soft-fp: Support more precise "invalid" exceptions.
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4         (FP_EX_INVALID_IMZ): Likewise.
5         (FP_EX_INVALID_IMZ_FMA): Likewise.
6         (FP_EX_INVALID_ISI): Likewise.
7         (FP_EX_INVALID_ZDZ): Likewise.
8         (FP_EX_INVALID_IDI): Likewise.
9         (FP_EX_INVALID_SQRT): Likewise.
10         (FP_EX_INVALID_CVI): Likewise.
11         (FP_EX_INVALID_VC): Likewise.
12         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13         "invalid" exceptions.
14         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15         (_FP_ADD_INTERNAL): Likewise.
16         (_FP_MUL): Likewise.
17         (_FP_FMA): Likewise.
18         (_FP_DIV): Likewise.
19         (_FP_CMP_CHECK_NAN): Likewise.
20         (_FP_SQRT): Likewise.
21         (_FP_TO_INT): Likewise.
22         (FP_EXTEND): Likewise.
23
24 2014-10-09  Allan McRae  <allan@archlinux.org>
25
26         * po/fr.po: Update French translation from translation project.
27
28 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29
30         [BZ #14132]
31         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32         of INTDEF.
33         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34         (__cxa_atexit): Use libc_hidden_proto.
35         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36
37         [BZ #14132]
38         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39         declaration.
40         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43         [!_ISOMAC] (__iswctype_internal): Likewise.
44         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
46         alias.
47         (fcntl): Remove __fcntl_internal alias.
48         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
49         __connect_internal alias.
50         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
51         Likewise.
52
53         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
54         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
55         FP_DENORM_ZERO.
56         (_FP_CHECK_FLUSH_ZERO): New macro.
57         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
58         (_FP_CMP): Likewise.
59         (_FP_CMP_EQ): Likewise.
60         (_FP_TO_INT): Do not set inexact for subnormal arguments if
61         FP_DENORM_ZERO.
62         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
63         (FP_TRUNC): Likewise.
64
65         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
66         treated as invalid conversion, not as normal exponent.
67
68         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
69         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
70         (_FP_CMP_EQ): Likewise.
71         (_FP_CMP_UNORD): Likewise.
72         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
73         (FP_CMP_EQ_D): Likewise.
74         (FP_CMP_UNORD_D): Likewise.
75         * soft-fp/extended.h (FP_CMP_E): Likewise.
76         (FP_CMP_EQ_E): Likewise.
77         (FP_CMP_UNORD_E): Likewise.
78         * soft-fp/quad.h (FP_CMP_Q): Likewise.
79         (FP_CMP_EQ_Q): Likewise.
80         (FP_CMP_UNORD_Q): Likewise.
81         * soft-fp/single.h (FP_CMP_S): Likewise.
82         (FP_CMP_EQ_S): Likewise.
83         (FP_CMP_UNORD_S): Likewise.
84         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
85         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
86         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
87         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
88         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
89         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
90         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
91         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
92         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
93         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
94         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
95         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
96         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
97         to FP_CMP_Q.
98         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
99         FP_CMP_Q.
100         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
101         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
102         FP_CMP_EQ_Q.
103         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
104         FP_CMP_Q.
105         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
106         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
107         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
108         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
109         FP_CMP_EQ_Q.
110         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
111         FP_CMP_Q.
112         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
113         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
114         FP_CMP_EQ_Q.
115         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
116         FP_CMP_Q.
117         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
118         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
119         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
120         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
121         FP_CMP_EQ_Q.
122
123         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
124         a subnormal result, set the underflow exception if trapping on
125         underflow is enabled.
126         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
127         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
128         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
129         redefine to 0.
130         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
131         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
132         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
133         * soft-fp/extendxftf2.c (__extendxftf2): Use
134         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
135
136         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
137         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
138         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
139         FP_HANDLE_EXCEPTIONS.
140         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
141         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
142         FP_HANDLE_EXCEPTIONS.
143         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
144         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
145         FP_HANDLE_EXCEPTIONS.
146         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
147         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
148         FP_HANDLE_EXCEPTIONS.
149
150 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
151
152         [BZ #14132]
153         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
154         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
155         use INTUSE.
156         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
157         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
158         Remove alias.
159         (__adjtimex): Define using libc_hidden_ver.
160         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
161         Remove declaration.
162         (ntp_gettime): Call __adjtimex directly.
163         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
164         Remove declaration.
165         (ntp_gettimex): Call __adjtimex directly.
166         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
167         __adjtimex_internal alias.
168
169 2014-10-08  Roland McGrath  <roland@hack.frob.com>
170
171         [BZ #17460]
172         * nscd/nscd.c (more_help): Rewrite list of tables collection
173         using xstrdup and asprintf.
174
175         * nscd/nscd_conf.c: Remove local xstrdup declaration.
176
177 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
178             Roland McGrath  <roland@hack.frob.com>
179
180         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
181         (do_lookup_unique): ... local function 'enter' here; update callers.
182
183 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
184
185         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
186         compat_symbol calls on [SHARED].
187         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
188         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
189         Remove.
190         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
191         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
192         (oldsetrlimit): Remove.
193         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
195         (lchown): New syscall entry.
196         (oldsetrlimit): Remove.
197         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
198         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
199         (oldsetrlimit): Remove.
200         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
201
202         [BZ #14138]
203         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
204         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
205         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
206         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
207         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
208         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
209         (fchown): Likewise.
210         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
211         (fchown): Likewise.
212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
213         Likewise.
214
215 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
216
217         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
218         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
219         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
220         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
221         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
222         Likewise.
223         (__old_sem_post): Likewise.
224
225 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
226
227         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
228         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
229         HAVE_CLOCK_GETTIME_VSYSCALL macros.
230         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
231         Use INLINE_VSYSCALL macro.
232         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
233         __vdso_clock_gettime.
234         * sysdeps/unix/sysv/linux/tile/init-first.c
235         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
236         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
237         __vdso_clock_gettime.
238
239         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
240         to set up frame more cleanly.
241
242         * sysdeps/tile/memcmp.c: New file.
243
244         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
245
246         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
247         * sysdeps/tile/tilegx/strcasestr.c: New file.
248         * sysdeps/tile/tilegx/strnlen.c: New file.
249         * sysdeps/tile/tilegx/strstr.c: New file.
250
251         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
252
253 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
254
255         * nptl/tst-setuid3.c: Write errors to stdout.
256
257 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
258
259         * elf/dl-deps.c
260         (preload): New functions broken out of _dl_map_object_deps.
261         (_dl_map_object_deps):  Remove a nested function. Update call sites.
262
263 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
264
265         [BZ #14138]
266         * sysdeps/unix/sysv/linux/execve.c: Remove file.
267         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
268
269 2014-10-01  Steve Ellcey  <sellcey@mips.com>
270
271         * sysdeps/mips/strcmp.S: New.
272
273 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
274
275         [BZ #14138]
276         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
277         (linkat): Likewise.
278         (mkdirat): Likewise.
279         (readlinkat): Likewise.
280         (renameat): Likewise.
281         (symlinkat): Likewise.
282         (unlinkat): Likewise.
283         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
284         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
285         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
286         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
287         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
288         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
289         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
290
291 2014-09-30  Will Newton  <will.newton@linaro.org>
292
293         * math/math.h: Define long double math functions if
294         _LIBC_TEST is defined.
295         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
296
297         * localedata/Makefile: Move assignment to tests-special
298         into an ifdef testing run-built-tests.
299         * timezone/Makefile: Likewise.
300
301 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
302
303         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
304         with $(BASH) not $(SHELL).
305
306 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
307             Matthew LeGendre  <legendre1@llnl.gov>
308
309         [BZ #17411]
310         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
311         l_reloc_result.
312
313 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
314
315         * stdio-common/printf_fp.c
316         (hack_digit): New function, broken out of ...
317         (__printf_fp): ... local function here.  Update call sites.
318         hack_digit now takes an additional parameter that is a pointer
319         to a struct of the referenced locals.  Those locals moved inside
320         the struct and references updated.
321
322 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
323
324         * aclocal.m4: Require autoconf 2.69.
325         * configure: Regenerated.
326         * sysdeps/aarch64/configure: Likewise.
327         * sysdeps/alpha/configure: Likewise.
328         * sysdeps/arm/armv7/configure: Likewise.
329         * sysdeps/arm/configure: Likewise.
330         * sysdeps/ia64/configure: Likewise.
331         * sysdeps/mach/configure: Likewise.
332         * sysdeps/mips/configure: Likewise.
333         * sysdeps/s390/configure: Likewise.
334         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
336
337         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
338         file.
339         * sysdeps/ia64/configure.ac: Likewise.
340
341 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
342
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
344         specify symbol version for ld.so.  Do not include entry for
345         libpthread.
346         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
347         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
348         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
349
350         [BZ #14171]
351         * Makeconfig [$(build-shared) = yes]
352         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
353         makefiles.
354         [$(build-shared) = yes && $(soversions.mk-done) = t]
355         ($(common-objpfx)gnu/lib-names.h): Remove rule.
356         [$(build-shared) = yes && $(soversions.mk-done) = t]
357         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
358         to Makerules.
359         [$(build-shared) = yes && $(soversions.mk-done) = t]
360         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
361         here.
362         [$(build-shared) = yes && $(soversions.mk-done) = t]
363         (common-generated): Don't append gnu/lib-names.h and
364         gnu/lib-names.stmp here.
365         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
366         (lib-names-h-abi): New variable.
367         [$(build-shared) = yes && $(soversions.mk-done) = t]
368         (lib-names-stmp-abi): Likewise.
369         [$(build-shared) = yes && $(soversions.mk-done) = t &&
370         abi-variants] (before-compile): Append
371         $(common-objpfx)$(lib-names-h-abi).
372         [$(build-shared) = yes && $(soversions.mk-done) = t &&
373         abi-variants] (common-generated): Append gnu/lib-names.h.
374         [$(build-shared) = yes && $(soversions.mk-done) = t &&
375         abi-variants] (install-others-nosubdir): Depend on
376         $(inst_includedir)/$(lib-names-h-abi).
377         [$(build-shared) = yes && $(soversions.mk-done) = t &&
378         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
379         [$(build-shared) = yes && $(soversions.mk-done) = t]
380         ($(common-objpfx)$(lib-names-h-abi)): New rule.
381         [$(build-shared) = yes && $(soversions.mk-done) = t]
382         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
383         [$(build-shared) = yes && $(soversions.mk-done) = t]
384         (common-generated): Append $(lib-names-h-abi) and
385         $(lib-names-stmp-abi).
386         * scripts/lib-names.awk: Do not handle multi being set.
387         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
388         Remove variable.
389         (abi-lp64_be-ld-soname): Likewise.
390         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
391         Likewise.
392         (abi-hard-ld-soname): Likewise.
393         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
394         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
395         Remove variable.
396         (abi-o32_hard-ld-soname): Likewise.
397         (abi-o32_soft_2008-ld-soname): Likewise.
398         (abi-o32_hard_2008-ld-soname): Likewise.
399         (abi-n32_soft-ld-soname): Likewise.
400         (abi-n32_hard-ld-soname): Likewise.
401         (abi-n32_soft_2008-ld-soname): Likewise.
402         (abi-n32_hard_2008-ld-soname): Likewise.
403         (abi-n64_soft-ld-soname): Likewise.
404         (abi-n64_hard-ld-soname): Likewise.
405         (abi-n64_soft_2008-ld-soname): Likewise.
406         (abi-n64_hard_2008-ld-soname): Likewise.
407         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
408         Likewise.
409         (abi-64-v2-ld-soname): Likewise.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
411         ld.so entries.
412         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
413         variable.
414         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
415         entry.
416         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
417         variable.
418         (abi-64-ld-soname): Likewise.
419         (abi-x32-ld-soname): Likewise.
420         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
421         entry.
422         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
423
424 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
425
426         [BZ #14138]
427         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
428         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
429         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
430         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
431         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
432         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
433         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
434         syscall entry for GLIBC_2.2 symbol version.
435         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
436         Likewise.
437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
438         (setrlimit): Likewise.
439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
440         Likewise.
441
442 2014-09-23  Will Newton  <will.newton@linaro.org>
443
444         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
445         _LINUX_ARM_SYSDEP_H include guard too.
446         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
447         define.
448
449 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
450
451         * sysdeps/unix/sysv/linux/eventfd.c:
452         Make first argument unsigned.
453         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
454         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
455
456 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
457
458         * socket/recvmmsg.c (recvmmsg): Drop const argument.
459         * socket/sys/socket.h: Likewise
460         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
461
462 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
463
464         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
465
466 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
467
468         * time/tst-ftime.c: New test.
469         * time/Makefile (tests): Add tst-ftime.
470
471 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
472
473         * soft-fp/extended.h: Fix comment formatting.
474         * soft-fp/op-1.h: Likewise.
475         * soft-fp/op-2.h: Likewise.
476         * soft-fp/op-4.h: Likewise.
477         * soft-fp/op-8.h: Likewise.
478         * soft-fp/op-common.h: Likewise.
479         * soft-fp/soft-fp.h: Likewise.
480
481         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
482
483 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
484
485         [BZ #6652]
486         * Makeconfig (soversions-default-setname): Remove variable.
487         ($(common-objpfx)soversions.i): Don't pass default_setname to
488         soversions.awk.
489         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
490         oldest_abi to abi-versions.awk.
491         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
492         * config.make.in (oldest-abi): Remove variable.
493         * configure.ac (--enable-oldest-abi): Remove configure option.
494         * configure: Regenerated.
495         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
496         text.
497         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
498         * scripts/soversions.awk: Do not handle default_setname variable.
499         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
500         variable.
501         * sysdeps/mach/hurd/configure: Regenerated.
502         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
503         variable.
504         * sysdeps/unix/sysv/linux/configure: Regenerated.
505
506 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
507
508         * elf/Makefile (CFLAGS-interp.c): Remove.
509         ($(elf-objpfx)runtime-linker.h): Generate header with linker
510         path string.
511         * elf/interp.c: Include generated runtime-linker.h
512
513         * Makerules (lib%.so): Don't include $(+interp) in
514         prerequisites.
515         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
516         * dlfcn/eval.c: Remove file.
517
518         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
519         macros.
520
521         [BZ #17266]
522         * misc/sys/cdefs.h: Define __extern_always_inline for clang
523         4.2 and newer.
524
525         [BZ #17370]
526         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
527
528 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
529             Jakub Jelinek  <jakub@redhat.com>
530
531         [BZ #17266]
532         * libio/stdio.h: Check definition of __fortify_function
533         instead of __extern_always_inline to include bits/stdio2.h.
534         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
535         check if __extern_always_inline is defined.
536         [__USE_MISC || __USE_XOPEN]: Likewise.
537         [__USE_ISOC99] Likewise.
538         * misc/sys/cdefs.h (__fortify_function): Define only if
539         __extern_always_inline is defined.
540         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
541         __extern_always_inline and __extern_inline only for g++-4.3
542         and newer or a compatible gcc.
543
544 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
545
546         [BZ #17371]
547         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
548         last change to handle zero prefix length.
549
550 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
551
552         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
553         _SC_REGEX_VERSION.
554
555         * posix/getconf.c (vars): Add _POSIX_IPV6 and
556         _POSIX_RAW_SOCKETS.
557
558 2014-09-13  Allan McRae  <allan@archlinux.org>
559
560         * po/ru.po: Update Russian translation from translation project.
561
562 2014-09-12  Roland McGrath  <roland@hack.frob.com>
563
564         * locale/programs/locale.c (show_locale_vars): Inline local function
565         into its sole call site.  Clean up some style nits.
566         (print_item): New function, broken out of ...
567         (show_info): ... local function here.  Clean up style nits.
568
569         * locale/programs/ld-ctype.c (set_one_default): New function, broken
570         out of ...
571         (set_class_defaults): ... local function set_default here.
572         Define set_default as a macro locally to pass constant parameters.
573         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
574         rather than a shared local.
575
576         * stdlib/rpmatch.c (try): New function, broken out of ...
577         (rpmatch): ... local function here.  Also, prototypify definition.
578
579 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
580
581         * scripts/soversions.awk: Do not handle configuration names.
582         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
583         vendor and os variables to soversions.awk.
584         * configure.ac: Do not modify gnu-* host_os.
585         * configure: Regenerated
586         * shlib-versions: Remove first column with configuration names.
587         * nptl/shlib-versions: Likewise.
588         * nptl_db/shlib-versions: Likewise.
589         * sysdeps/hppa/shlib-versions: Likewise.
590         * sysdeps/m68k/shlib-versions: Likewise.
591         * sysdeps/mach/hurd/shlib-versions: Likewise.
592         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
593         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
594         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
595         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
596         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
597         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
598         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
599         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
601         Likewise.
602         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
603         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
604         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
605         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
606         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
607         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
608         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
609         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
610
611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
612         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
614         Regenerated.
615         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
617         Condition symbol version definitions on [HAVE_ELFV2_ABI].
618
619         * shlib-versions: Remove OS-specific entries.  Moved to files in
620         sysdeps.
621         * sysdeps/mach/hurd/shlib-versions: New file.
622         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
623
624         * nptl/shlib-versions: Remove architecture-specific entries.
625         Moved to files in sysdeps.
626         * shlib-versions: Likewise.
627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
628         file.
629         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
630         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
631         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
632         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
633
634         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
635         (UDP_NO_CHECK6_RX): Likewise.
636
637 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
638
639         * sysdeps/posix/sysconf.c (__sysconf): Spell
640         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
641
642 2014-08-12  Florian Weimer  <fweimer@redhat.com>
643
644         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
645         loading.
646         * iconv/Versions (__gconv_transliterate): Export for use from
647         gconv modules.
648         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
649         (struct __gconv_trans_data, __gconv_trans_fct,
650         __gconv_trans_context_fct, __gconv_trans_query_fct,
651         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
652         definitions.
653         (struct __gconv_step_data): Remove __trans member.
654         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
655         longer hidden.  Remove unused trans_data argument.
656         * iconv/gconv_int.h (struct trans_struct): Remove definition.
657         (__gconv_translit_find): Remove declaration.
658         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
659         prototype.
660         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
661         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
662         trans_data argument.  Add hidden definition.
663         (__gconv_translit_find): Remove.
664         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
665         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
666         * iconv/skeleton.c: Remove transliteration initialization.
667         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
668         __gconv_step_data initialization.
669         * libio/iofwide.c (__libio_translit_): Remove.
670         (_IO_fwide): Adjust struct __gconv_step_data initialization.
671         * wcsmbs/btowc.c (__btowc): Likewise.
672         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
673         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
674         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
675         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
676         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
677         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
678         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
679         * wcsmbs/wctob.c (wctob): Likewise.
680
681 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
682
683         [BZ #16194]
684         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
685         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
686         register usage.
687         * sysdeps/x86/Makefile: Adjust.
688
689 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
690             Roland McGrath  <roland@hack.frob.com>
691
692         * locale/weight.h: Add include guard.
693         (findidx): Make static rather than auto; take new parameters
694         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
695         * locale/weightwc.h: Likewise.
696         * posix/fnmatch_loop.c
697         (FCT): Change type of EXTRA from int32_t to wint_t.
698         Don't include either header inside the function.
699         Call FINDIDX rather than findidx, and pass new arguments.
700         #undef FINDIDX at the end of the file.
701         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
702         FINDIDX before including fnmatch_loop.c for the non-wide version.
703         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
704         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
705         for the wide version.
706         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
707         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
708         Pass new arguments to findidx.
709         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
710         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
711         Don't #include it inside the function.  Pass new arguments to findidx.
712         * posix/regex_internal.h
713         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
714         (re_string_elem_size_at): Don't #include it inside the function.
715         Pass new arguments to findidx.
716         * string/strcoll_l.c: #include WEIGHT_H at top level.
717         (get_next_seq): Don't #include it inside the function.
718         Pass new arguments to findidx.
719         (get_next_seq_nocache): Likewise.
720         * string/strxfrm_l.c: #include WEIGHT_H at top level.
721         (STRXFRM): Don't #include it inside the function.
722         Pass new arguments to findidx.
723
724 2014-09-11  Florian Weimer  <fweimer@redhat.com>
725
726         [BZ #17344]
727         * malloc/malloc.c (unlink): Turn asserts into a call to
728         malloc_printerr.
729
730 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
731
732         [BZ #17370]
733         * libio/wfileops (do_ftell_wide): Free OUT.
734
735 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
736
737         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
738
739 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
740
741         [BZ #17363]
742         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
743         group if the current group is empty.
744
745 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
746
747         * benchtests/bench-memset.c (test_main): Add more test from size
748         from 32 to 512 bytes.
749         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
750         Add POWER8 memset object.
751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
752         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
753         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
754         implementation.
755         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
756         Likewise.
757         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
758         multiarch POWER8 memset optimization.
759         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
760         POWER8 memset optimization.
761
762         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
763         Remove bzero multiarch objects.
764         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
765         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
766         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
767         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
768         Remove define.
769         [__bzero]: Redefine to specific name.
770         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
771         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
772         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
773         define.
774         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
775         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
776
777 2014-09-10  Florian Weimer  <fweimer@redhat.com>
778
779         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
780         warnings into errors.
781
782         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
783         __cxa_thread_atexit_impl prototype.
784
785 2014-09-09  Steve Ellcey  <sellcey@mips.com>
786
787         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
788         Fix capitalization of error message.
789
790 2014-09-09  Steve Ellcey  <sellcey@mips.com>
791
792         * sysdeps/mips/preconfigure: Modify ABI tests.
793
794 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
795
796         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
797
798 2014-09-07  Roland McGrath  <roland@hack.frob.com>
799             Carlos O'Donell  <carlos@systemhalted.org>
800
801         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
802         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
803         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
804         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
805         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
806         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
807         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
808         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
809         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
810         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
811         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
814         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
816         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
818         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
820         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
822         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
823         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
824         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
825         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
826         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
827         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
828         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
829         Deconditionalize the code that was previously under [RESET_PID].
830         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
831         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
832         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
833         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
834         include sysdep.h.
835
836 2014-09-08  Allan McRae  <allan@archlinux.org>
837
838         * version.h (RELEASE): Set to "development".
839         (VERSION): Set to "2.20.90"
840
841 2014-09-07  Allan McRae  <allan@archlinux.org
842
843         * version.h (RELEASE): Set to "stable".
844         (VERSION): Set to "2.20"
845         * include/features.h (__GLIBC_MINOR__): Set to 20.
846
847         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
848         Liebler.
849
850         * po/ko.po: Update Korean translation from translation project.
851
852 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
853
854         [BZ #17354]
855         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
856         macro for handling signed relocations.
857
858 2014-09-03  Florian Weimer  <fweimer@redhat.com>
859
860         [BZ #17325]
861         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
862         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
863         assert.
864         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
865         * iconvdata/ibm935.c (BODY): Likewise.
866         * iconvdata/ibm937.c (BODY): Likewise.
867         * iconvdata/ibm939.c (BODY): Likewise.
868         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
869         assert.
870         * iconvdata/Makefile (iconv-test.out): Pass module list to test
871         script.
872         * iconvdata/run-iconv-test.sh: New test loop for checking for
873         decoder crashers.
874
875 2014-09-02  Khem Raj  <raj.khem@gmail.com>
876
877         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
878         libm_hidden_ver.
879
880 2014-09-01  Allan McRae  <allan@archlinux.org>
881
882         * po/eo.po: Update Esperanto translation from translation project.
883
884         * po/ca.po: Update Catalan translation from translation project.
885
886 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
887
888         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
889         __proc_dostop call.
890
891 2014-08-27  Mark Wielaard  <mjw@redhat.com>
892
893         [BZ #17319]
894         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
895         to call set_thread_area instead of hand written asm.
896         (__NR_set_thread_area): Removed define.
897         (TLS_FLAG_WRITABLE): Likewise.
898         (__ASSUME_SET_THREAD_AREA): Remove check.
899         (TLS_EBX_ARG): Remove define.
900         (TLS_LOAD_EBX): Likewise.
901
902 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
903
904         Simplify atomicity of socket creation in bind.
905
906         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
907         looking up the name after linking the file.
908
909 2014-08-27  Allan McRae  <allan@archlinux.org>
910
911         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
912
913 2014-08-26  Florian Weimer  <fweimer@redhat.com>
914
915         [BZ #17187]
916         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
917         trans_compare, open_translit, __gconv_translit_find):
918         Remove module loading code.
919
920 2014-08-26  Allan McRae  <allan@archlinux.org>
921
922         * po/vi.po: Update Vietnamese translation from translation project.
923
924         * po/uk.po: Update Ukrainian translation from translation project.
925
926         * po/fr.po: Update French translation from translation project.
927
928         * po/ru.po: Update Russian translation from translation project.
929
930         * po/pl.po: Update Polish translation from translation project.
931
932         * po/cs.po: Update Czech translation from translation project.
933
934         * po/de.po: Update German translation from translation project.
935
936         * po/bg.po: Update Bulgarian translation from translation project.
937
938         * po/sv.po: Update Sweedish translation from translation project.
939
940         * po/nl.po: Update Dutch translation from translation project.
941
942         * po/es.po: Update Spanish translation from translation project.
943
944 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
945
946         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
947
948         * catgets/Makefile (CPPFLAGS-gencat): Remove.
949         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
950         (CPPFLAGS-iconvconfig): Likewise.
951         * timezone/Makefile (CPPFLAGS-zic): Likewise.
952
953         * include/libc-symbols.h: Remove unnecessary check for
954         NOT_IN_libc.
955         * nptl/pthreadP.h: Likewise.
956         * sysdeps/aarch64/setjmp.S: Likewise.
957         * sysdeps/alpha/setjmp.S: Likewise.
958         * sysdeps/arm/sysdep.h: Likewise.
959         * sysdeps/i386/setjmp.S: Likewise.
960         * sysdeps/m68k/setjmp.c: Likewise.
961         * sysdeps/posix/getcwd.c: Likewise.
962         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
963         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
964         * sysdeps/s390/s390-32/setjmp.S: Likewise.
965         * sysdeps/s390/s390-64/setjmp.S: Likewise.
966         * sysdeps/sh/sh3/setjmp.S: Likewise.
967         * sysdeps/sh/sh4/setjmp.S: Likewise.
968         * sysdeps/unix/alpha/sysdep.h: Likewise.
969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
970         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
971         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
972         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
975         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
976         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
977         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
978         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
980         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
982         * sysdeps/x86_64/setjmp.S: Likewise.
983
984 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
985
986         [BZ #17263]
987         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
988         <stdint.h>.
989         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
990         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
991
992 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
993
994         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
995
996         [BZ #17262]
997         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
998         and __x86_64__ when disabling x87 inline functions.
999
1000 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1001
1002         [BZ #17259]
1003         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1004         asm statement with __cpuid_count.
1005
1006 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1007
1008         * configure.ac: Change __ehdr_start code to dereference the struct.
1009         Run readelf on the output to look for relocations.
1010         * configure: Regenerated.
1011
1012 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1013
1014         [BZ #17261]
1015         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1016         value to 0.
1017         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1018
1019 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1020
1021         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1022
1023 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1024
1025         [BZ #16892]
1026         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1027         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1028
1029 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1030
1031         * malloc/malloc.c: Fix typo in comment.
1032
1033 2014-08-09  Allan McRae  <allan@archlinux.org>
1034
1035         * Regenerate libc.po.
1036
1037 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1038
1039         * intl/tst-gettext2.sh: Check every lang file for creation.
1040
1041 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1042
1043         * sysdeps/aarch64/fpu/math_private.h
1044         (libc_feholdsetround_noex_aarch64_ctx): New function.
1045
1046 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1047
1048         * sysdeps/arm/armv6/strcpy.S (strcpy):
1049         Fix performance issue in misaligned cases.
1050
1051 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1052
1053         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1054         Move definition from termios.h.
1055         (struct termio): Likewise.
1056         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1057         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1058         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1059         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1062         Move definition to ioctl-types.h
1063         (struct termio): Likewise.
1064         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1065         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1066         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1067         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1068         Likewise.
1069
1070 2014-08-05  Richard Henderson  <rth@redhat.com>
1071
1072         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1073         exceptions.
1074         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1075         Add fraiseexcpt.
1076         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1077         Use __feraiseexcept.
1078         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1079         Protect libm symbols with IS_IN_libm.
1080
1081         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1082
1083 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1084
1085         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1086
1087 2014-08-04  Will Newton  <will.newton@linaro.org>
1088
1089         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1090         file.
1091
1092 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1093
1094         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1095         variants for each function.
1096
1097 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1098
1099         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1100         appended ...
1101         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1102         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1103         appended ...
1104         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1105         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1106         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1107         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1108         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1109         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1110         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1111         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1112         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1113         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1114         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1115         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1116         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1117         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1118         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1130         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1131         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1132         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1133         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1134         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1135         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1136         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1137         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1138         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1139         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1140         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1141         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1142         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1143         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1144         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1146         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1148         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1149         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1150         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1152         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1154         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1155         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1156         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1157         Update #include.
1158         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1159         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1160
1161 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1162
1163         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1164         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1165         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1166         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1167         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1168         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1169
1170 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1171
1172         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1173         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1174         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1175         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1176
1177 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1178
1179         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1180         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1181         (__libc_vfork): Define function under this name.
1182         (__vfork): Define as an alias.
1183         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1184         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1185
1186 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1187
1188         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1189         that was previously under [RESET_PID].
1190         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1191
1192 2014-08-04  Andreas Schwab  <schwab@suse.de>
1193
1194         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1195
1196 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1197
1198         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1199         (main): Likewise.
1200
1201 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1202
1203         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1204
1205 2014-08-01  Richard Henderon  <rth@redhat.com>
1206
1207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1208         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1209         typo in exact zero test.
1210         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1211         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1213
1214 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1215
1216         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1217         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1218         * sysdeps/arm/sysdep.h: ... here.
1219         [!__ASSEMBLER__]: Include <stdint.h>.
1220
1221 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1222
1223         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1224         (HAVE_WCTYPE_H): Likewise.
1225         (HAVE_ISWCTYPE): Likewise.
1226         (ENABLE_NLS): Likewise.
1227         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1228         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1229
1230         * posix/regex_internal.c: Check if DEBUG is defined and is
1231         set.
1232
1233         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1234         (HAVE_MBSRTOWCS): Likewise.
1235         * posix/fnmatch.c: Include string.h unconditionally.
1236
1237 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1238
1239         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1240         reversal.
1241
1242 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1243
1244         * sysdeps/generic/safe-fatal.h: New file.
1245         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1246         * nptl/forward.c: Include it.
1247         (__pthread_unwind): Use __safe_fatal as default action, rather
1248         than a bogus use of INTERNAL_SYSCALL that could never work.
1249
1250         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1251         * configure.ac (libc_cv_builtin_trap): New test.
1252         * configure: Regenerated.
1253         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1254         (ABORT_INSTRUCTION): Define using __builtin_trap.
1255
1256         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1257         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1258         * sysdeps/nptl/nptl-signals.h: New file.
1259         * nptl/pthreadP.h: Include <nptl-signals.h>.
1260
1261 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1262
1263         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1264         (ONE_DIRECTION): Define.
1265         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1266         (ONE_DIRECTION): Define.
1267         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1268         (ONE_DIRECTION): Define.
1269
1270 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1271
1272         * sysdeps/s390/Makefile: Delete file.
1273         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1274         * sysdeps/s390/__longjmp.c: Delete file.
1275         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1276         Remove fields __flags and __reserved.
1277         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1278         and add versioning.
1279         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1280         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1281         * sysdeps/s390/rtld-setjmp.S: Likewise.
1282         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1283         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1284         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1285         * sysdeps/s390/s390-32/setjmp.S: ... here.
1286         Add versioning.
1287         (__sigsetjmp): Remove setting __flags field.
1288         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1289         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1290         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1291         * sysdeps/s390/s390-64/setjmp.S: ... here.
1292         Add versioning.
1293         (__sigsetjmp): Remove setting __flags field.
1294         * sysdeps/s390/setjmp.S: Delete file.
1295         * sysdeps/s390/sigjmp.c: Likewise.
1296         * sysdeps/s390/v1-longjmp.c: Likewise.
1297         * sysdeps/s390/v1-setjmp.h: Likewise.
1298         * sysdeps/s390/v1-sigjmp.c: Likewise.
1299         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1300         Remove v1-longjmp_chk.
1301         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1302         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1303         Include debug/longjmp_chk.c and add versioning.
1304         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1305         Include nptl/pt-longjmp.c and add versioning.
1306         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1307         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1308         Include __longjmp.c.
1309         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1310         Move to ...
1311         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1312         (__getcontext): Remove setting __flags field.
1313         Add versioning.
1314         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1315         Don't restore upper high grps.
1316         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1317         Likewise.
1318         (__swapcontext): Remove setting uc_flags field.
1319         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1320         Delete file.
1321         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1322         Include __longjmp.c.
1323         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1324         Move to ...
1325         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1326         (__getcontext): Remove setting __flags field.
1327         Add versioning.
1328         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1329         (__swapcontext): Remove setting uc_flags field.
1330         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1331         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1332         Remove fields uc_high_gprs and __reserved.
1333         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1334         New file with reverted content.
1335         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1336         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1337         Regenerated.
1338         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1339         Regenerated.
1340
1341 2014-07-31  Andreas Schwab  <schwab@suse.de>
1342
1343         * config.h.in (HAVE_IFUNC): Define to 0.
1344         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1345         definedness.
1346
1347 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1348
1349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1350         memmove-avx-unaligned, memcpy-avx-unaligned and
1351         mempcpy-avx-unaligned.
1352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1353         Add tests for AVX memcpy functions.
1354         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1355         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1356         memcpy_chk.
1357         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1358         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1359         memmove_chk.
1360         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1361         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1362         mempcpy_chk.
1363         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1364         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1365         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1366
1367 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1368
1369         [BZ #17213]
1370         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1371         powerpc64le.
1372
1373 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1374
1375         [BZ #16839]
1376         * manual/llio.texi: Add section about open file description locks.
1377         * manual/examples/ofdlocks.c: Example of open file description
1378         lock usage.
1379         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1380         F_OFD_SETLK, and F_OFD_SETLKW.
1381
1382 2014-07-23  Allan McRae  <allan@archlinux.org>
1383
1384         * po/es.po: Update Spanish translation from translation project.
1385
1386 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1387
1388         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1389
1390 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1391
1392         [BZ #17078]
1393         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1394         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1395         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1396
1397 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1398
1399         [BZ #17088]
1400         * math/fesetenv.c (__fesetenv)
1401         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1402         * math/feupdateenv.c (__feupdateenv)
1403         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1404
1405         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1406         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1407         (__ASSUME_SOCKETCALL): Do not define.
1408
1409         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1410         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1411         (__ASSUME_SOCKETCALL): Do not define.
1412         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1413         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1414         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1415         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1417         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1418         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1419         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1420
1421         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1422         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1423         (__ASSUME_SOCKETCALL): Do not define.
1424         (__ASSUME_IPC64): Define unconditionally.
1425         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1426         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1427         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1428         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1429         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1430         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1431         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1432         Likewise.
1433
1434         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1435         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1436         (__ASSUME_SOCKETCALL): Do not define.
1437         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1438         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1439         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1440         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1441         (__ASSUME_REQUEUE_PI): Define unconditionally.
1442         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1443         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1444         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1445         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1447         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1448
1449         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1450         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1451         (__ASSUME_SOCKETCALL): Do not define.
1452         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1454         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1455         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1456         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1457         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1458
1459         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1460         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1461         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1462         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1463         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1464         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1466         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1467         (__ASSUME_GETCPU_SYSCALL): Likewise.
1468
1469         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1470         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1471         cases for individual architectures.
1472         * sysdeps/gnu/configure: Regenerated.
1473         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1474         LIBC_SLIBDIR_RTLDDIR.
1475         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1476         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1477         LIBC_SLIBDIR_RTLDDIR.
1478         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1480         LIBC_SLIBDIR_RTLDDIR.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1482         Regenerated.
1483         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1484         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1485         file.
1486         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1487         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1488         file.
1489         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1490         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1491         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1492         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1493
1494         * sysdeps/aarch64/shlib-versions: Move to ...
1495         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1496         * sysdeps/alpha/shlib-versions: Move to ...
1497         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1498         * sysdeps/arm/shlib-versions: Move to ...
1499         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1500         * sysdeps/hppa/shlib-versions: Move all contents except for
1501         libgcc_s entry to ...
1502         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1503         entry from ...
1504         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1505         * sysdeps/ia64/shlib-versions: Move to ...
1506         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1507         entry from ...
1508         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1509         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1510         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1511         * sysdeps/microblaze/shlib-versions: Move to ...
1512         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1513         * sysdeps/mips/shlib-versions: Move to ...
1514         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1515         entry from ...
1516         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1517         * sysdeps/tile/shlib-versions: Move to ...
1518         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1519         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1520         from ...
1521         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1522         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1523         entry from ...
1524         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1525
1526 2014-07-17  Will Newton  <will.newton@linaro.org>
1527
1528         * sysdeps/arm/bits/atomic.h
1529         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1530         (__arch_compare_and_exchange_bool_16_int): Likewise.
1531         (__arch_compare_and_exchange_bool_64_int): Likewise.
1532
1533         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1534         into an #else block.
1535
1536 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1537
1538         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1539         just Linux configurations.  Test empirically that the compiler sets
1540         __ARM_EABI__, rather than using the tuple to decide.
1541         * sysdeps/arm/preconfigure: Regenerated.
1542         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1543         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1544         contents appended ...
1545         * sysdeps/arm/configure.ac: ... here.
1546         * sysdeps/arm/configure: Regenerated.
1547
1548 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1549
1550         * nptl/pthread_kill.c: New file.
1551         * nptl/pthread_sigmask.c: New file.
1552         * nptl/pthread_sigqueue.c: New file.
1553
1554         * sysdeps/nptl/lowlevellock.h: New file.
1555         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1556         * sysdeps/nptl/lowlevellock-futex.h: New file.
1557
1558         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1559         Remove dead declarations.
1560
1561 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1562
1563         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1564         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1565         config-cflags-avx2.
1566         * sysdeps/x86_64/configure.ac: Likewise.
1567         * sysdeps/i386/configure: Regenerated.
1568         * sysdeps/x86_64/configure: Likewise.
1569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1570         memset-avx2 only if config-cflags-avx2 is yes.
1571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1572         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1573         defined.
1574         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1575         only if HAVE_AVX2_SUPPORT is defined.
1576         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1577
1578 2014-07-14  Alan Modra  <amodra@gmail.com>
1579
1580         [BZ #17153]
1581         * elf/elf.h (DT_PPC64_NUM): Correct value.
1582         * NEWS: Add to fixed bug list.
1583
1584 2014-07-13  Jim Meyering  <meyering@fb.com>
1585
1586         [BZ 17150]
1587         regex: don't deref NULL upon heap allocation failure
1588         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1589         failure in one more place.
1590         To trigger the segfault, configure grep -with-included-regex,
1591         build it, and run these commands:
1592         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1593
1594 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1595
1596         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1597
1598 2014-07-11  Richard Henderson  <rth@redhat.com>
1599
1600         * sysdeps/aarch64/libm-test-ulps: Update.
1601
1602 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1603
1604         [BZ #17135]
1605         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1606         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1607         (__nptl_setxid): Initialize error member.  Call
1608         __nptl_setxid_error.
1609         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1610         * nptl/descr.h (struct xid_command): Add error member.
1611         * nptl/tst-setuid3.c: New file.
1612         * nptl/Makefile (tests): Add it.
1613
1614 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1615
1616         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1617         New define.
1618         (__lll_trylock): Use __lll_base_trylock.
1619         (__lll_cond_trylock): Likewise.
1620
1621 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1622
1623         * nptl/pthread_create.c (start_thread): Use atomic_or and
1624         lll_futex_wake directly rather than lll_robust_dead.
1625         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1626         (lll_robust_dead): Macro removed.
1627         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1628         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1629         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1630         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1631         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1632         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1633         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1634         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1635         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1636         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1638         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1639         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1640         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1641         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1642
1643         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1644         Use atomic_compare_and_exchange_val_acq directly rather than
1645         lll_robust_trylock.
1646         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1647         (__lll_robust_trylock, lll_robust_trylock): Removed.
1648         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1649         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1650         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1651         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1652         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1653         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1654         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1655         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1656         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1657         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1658         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1659         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1660         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1662
1663 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1664
1665         * manual/locale.texi (Locale Names): New section documenting
1666         locale name syntax.  Adjust menu and node chaining accordingly.
1667         (Choosing Locale): Reference Locale Names, Locale Categories.
1668         Mention setting LC_ALL=C.  Reflect that name syntax is now
1669         documented.
1670         (Locale Categories): New section title.  Reference Locale Names.
1671         LC_ALL is an environment variable, but not a category.
1672         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1673         description, now in Locale Name.  Reference that section.  Locale
1674         name syntax is now documented.
1675
1676 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1677
1678         [BZ #17137]
1679         * locale/findlocale.c (name_present, valid_locale_name): New
1680         functions.
1681         (_nl_find_locale): Use the loc_name variable to store name
1682         candidates.  Call name_present and valid_locale_name to check and
1683         validate locale names.  Return an error if the locale is invalid.
1684
1685 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1686
1687         * locale/setlocale.c (setlocale): Use strdup for allocating
1688         composite name copy.
1689
1690 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1691
1692         Sync up with gnulib.
1693         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1694         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1695         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1696         and _GL_ARG_NONNULL.
1697         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1698         [!_LIBC]: Include code for Windows and Cygwin.
1699         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1700         Include prototype for int strerror_r.
1701         [!_LIBC] (is_open): New function.
1702         (flush_stdout): New function.
1703         (print_errno_message): Use it.
1704         (error): Likewise.
1705         (error_at_line): Likewise.
1706         (error_tail) Add function attribute macros.  Use
1707         __builtin_expect.
1708
1709         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1710
1711         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1712
1713         * io/ftw.c: Include sys/param.h unconditionally.
1714
1715         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1716
1717         [BZ #17125]
1718         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1719         libc_freeres_ptr.
1720         (freecache): New function to free CACHE on exit.
1721
1722         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1723         initialization.
1724
1725 2014-07-09  David S. Miller  <davem@davemloft.net>
1726
1727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1728
1729         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1730         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1731         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1732         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1733         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1734         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1735         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1736         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1737         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1738         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1739         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1740         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1741         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1742
1743 2014-07-09  Andreas Schwab  <schwab@suse.de>
1744
1745         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1746         output.
1747         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1748         (do_test): Likewise.
1749
1750         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1751
1752 2014-07-09  Will Newton  <will.newton@linaro.org>
1753
1754         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1755         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1756         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1757         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1758         * sysdeps/hppa/start.S (_start): Likewise.
1759
1760 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1761
1762         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1763
1764         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1765         defined.
1766
1767 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1768
1769         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1770         after checking that it is non-NULL.
1771
1772         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1773
1774 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1775
1776         * sysdeps/powerpc/memmove.c: Remove file.
1777         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1778         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1779         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1780         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1781         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1782         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1783         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1784         string memmove instead of removed powerpc one.
1785
1786         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1787         [weak_alias]: Fix compiler warning due trailing data.
1788         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1789         [weak_alias]: Likewise.
1790         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1791         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1792
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1794         (__libc_ifunc_impl_list): Add memmove functions.
1795
1796 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1797
1798         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1799         Remove code.
1800         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1801         Likewise
1802         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1803         Likewise
1804         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1805         Likewise
1806         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1807         Likewise
1808         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1809         Likewise
1810         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1811         Likewise
1812         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1813         Likewise
1814         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1815         Likewise
1816         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1817         Likewise
1818         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1819         Likewise
1820         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1821         Likewise
1822         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1823         Likewise
1824         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1825         Likewise
1826         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1827         Likewise
1828         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1829         Likewise
1830         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1831         Likewise
1832
1833 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1834
1835         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1836         to avoid alignment traps in non-cacheable memory.
1837         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1838
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1840         multiarch objects.
1841         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1842         file: multiarch power7 memmove.
1843         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1844         multiarch default memmove.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1846         multiarch memove for powerpc32/power4.
1847
1848         * string/bcopy.c: Use full path to include memmove.c.
1849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1850         multiarch objects.
1851         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1852         bcopy for powerpc64.
1853         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1854         bcopy for powerpc64.
1855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1856         and memmove implementations.
1857         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1858         optimized multiarch memmove for POWER7/powerpc64.
1859         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1860         default multiarch memmove for powerpc64.
1861         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1862         multiarch for powerpc64.
1863         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1864         for POWER7/powerpc64.
1865         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1866         memmove for POWER7/powerpc64.
1867
1868         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1869         glibc default one.
1870
1871         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1872         __ELF_NATIVE_CLASS equal to 64.
1873
1874 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1875
1876         * sysdeps/nptl/lowlevellock.h: File removed.
1877
1878         * NEWS: NPTL is no longer an add-on!
1879         * nptl/internaltypes.h: Moved ...
1880         * sysdeps/nptl/internaltypes.h: ... here.
1881         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1882         * sysdeps/nptl/fork.c: Likewise.
1883         * sysdeps/nptl/gai_misc.h: Likewise.
1884         * sysdeps/nptl/librt-cancellation.c: Likewise.
1885         * sysdeps/nptl/jmp-unwind.c: Likewise.
1886         * sysdeps/nptl/setxid.h: Likewise.
1887         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1888         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1889         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1890         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1891         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1892         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1893         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1894         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1895         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1896         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1897         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1898         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1899         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1900         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1901         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1902         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1903         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1904         * nptl/Makeconfig: Moved ...
1905         * sysdeps/nptl/Makeconfig: ... here.
1906         * nptl/configure: File removed.
1907         * nptl/ANNOUNCE: File removed.
1908         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1909         * sysdeps/unix/sysv/linux/configure: Regenerated.
1910
1911         * nptl/Makefile (routines): Add libc_pthread_init,
1912         libc_multiple_threads, register-atfork and unregister-atfork.
1913         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1914         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1915         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1916         pthread-pi-defines.sym, structsem.sym.
1917         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1918         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1919         [$(subdir) = nptl] (tests): Add tst-setgetname.
1920         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1921         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1922         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1923         [!LIBC_SIGACTION]: Remove aliases.
1924         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1925         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1926         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1927         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1928         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1929         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1930         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1932         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1933         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1934         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1935         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1936         __libc_allocate_rtsig_private.
1937         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1938         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1939         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1940         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1941         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1942         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1943         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1944         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1945         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1946         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1947         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1948         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1949         * nptl/internaltypes.h: ... here.
1950         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1951         * sysdeps/nptl/jmp-unwind.c: ... here.
1952         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1953         * nptl/libc-lowlevellock.c: ... here.
1954         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1955         * nptl/libc_multiple_threads.c: ... here.
1956         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1957         * nptl/libc_pthread_init.c: ... here.
1958         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1959         * nptl/lowlevelbarrier.sym: ... here.
1960         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1961         * nptl/lowlevelcond.sym: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1963         * nptl/lowlevellock.c: ... here.
1964         * nptl/lowlevellock.h: Moved ...
1965         * sysdeps/nptl/lowlevellock.h: ... here.
1966         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1967         * nptl/lowlevelrobustlock.c: ... here.
1968         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1969         * nptl/lowlevelrobustlock.sym: ... here.
1970         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1971         * nptl/lowlevelrwlock.sym: ... here.
1972         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1973         * nptl/pt-fork.c: ... here.
1974         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1975         * nptl/pthread-pi-defines.sym: ... here.
1976         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1977         * nptl/pthread_attr_getaffinity.c: ... here.
1978         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1979         * nptl/pthread_attr_setaffinity.c: ... here.
1980         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1981         * nptl/pthread_mutex_cond_lock.c: ... here.
1982         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1983         Update #include.
1984         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1985         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1986         * nptl/pthread_once.c: ... here, replacing old file.
1987         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1988         * nptl/pthread_yield.c: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1990         * nptl/register-atfork.c: ... here.
1991         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1992         * nptl/sem_post.c: ... here.
1993         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1994         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1995         * nptl/sem_timedwait.c: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1997         * nptl/sem_trywait.c: ... here.
1998         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1999         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2000         * nptl/sem_wait.c: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2002         * nptl/structsem.sym: ... here.
2003         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2004         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2005         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2006         * nptl/unregister-atfork.c: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2008         * nptl/unwindbuf.sym: ... here.
2009         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2010         * sysdeps/nptl/fork.c: ... here.
2011         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2012         * sysdeps/nptl/fork.h: ... here.
2013         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2014         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2015         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2016         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2017         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2018         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2019         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2020         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2021         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2022         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2023         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2024         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2025         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2026         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2027         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2028         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2029         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2030         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2031         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2032         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2033         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2034         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2035         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2036         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2037         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2039         * sysdeps/unix/sysv/linux/raise.c: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2041         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2042         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2043         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2045         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2047         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2048         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2049         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2050         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2051         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2053         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2054         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2055
2056 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2057
2058         * sysdeps/generic/memcopy.h: Add comment for
2059         MEMCPY_OK_FOR_FWD_MEMMOVE.
2060
2061 2014-07-04  Will Newton  <will.newton@linaro.org>
2062
2063         * string/memchr.c: Merge from gnulib.
2064         [_LIBC]: Remove conditionals.
2065         (__ptr_t): Remove define.
2066         (LONG_MAX_32_BITS): Likewise.
2067         (LONG_MAX): Likewise.
2068         (MEMCHR): Use ANSI prototype and optimize algorithm.
2069
2070         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2071
2072 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2073
2074         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2075         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2076
2077         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2078         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2079         in a bare environment with no <stdlib.h> installed.
2080         * sysdeps/nptl/configure: Regenerated.
2081
2082         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2083
2084         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2085         AC_EGREP_CPP for kernel header checks, so they only succeed if
2086         including <linux/version.h> actually works right.
2087         * sysdeps/unix/sysv/linux/configure: Regenerated.
2088
2089         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2090         value so it's not diagnosed as unused.
2091
2092         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2093         thing) with "ifeq ($(subdir),rt)".
2094
2095 2014-07-03  Richard Henderson  <rth@redhat.com>
2096
2097         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2098         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2099         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2100
2101         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2102         (math_force_eval): New.
2103
2104         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2105         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2106
2107         * sysdeps/alpha/fpu/s_round.c: Remove file.
2108         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2109
2110         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2111         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2112         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2113         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2114         (_dl_start, print_statistics): Likewise.
2115         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2116         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2117
2118         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2119         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2120         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2121         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2122         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2123         (HP_SMALL_TIMING_AVAIL): Define.
2124         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2125         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2126         (HP_SMALL_TIMING_AVAIL): Define.
2127         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2128         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2129
2130         * sysdeps/aarch64/hp-timing.h: New file.
2131
2132         * sysdeps/generic/hp-timing.h: Remove dead comment.
2133         * sysdeps/generic/hp-timing-common.h: New file.
2134         * sysdeps/alpha/hp-timing.h: Include it.
2135         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2136         * sysdeps/i386/i686/hp-timing.h: Likewise.
2137         * sysdeps/ia64/hp-timing.h: Likewise.
2138         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2139         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2140         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2141         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2142         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2143         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2144         (hp_timing_t): New.
2145
2146         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2147         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2148         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2149         * elf/rtld.c (_dl_start_final): Likewise.
2150         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2151         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2152         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2153         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2154         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2155         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2156         (HP_TIMING_DIFF_INIT): Remove.
2157         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2159         (HP_TIMING_DIFF_INIT): Remove.
2160         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2161         * sysdeps/i386/i686/hp-timing.c: Remove file.
2162         * sysdeps/x86_64/hp-timing.c: Remove file.
2163         * sysdeps/ia64/hp-timing.c: Remove file.
2164         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2165         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2166         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2167         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2168
2169         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2170         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2171         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2172         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2173         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2174         (HP_TIMING_ACCUM): Remove.
2175         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2176         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2177         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2178
2179         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2180         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2181         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2182         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2183         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2184         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2185         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2186         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2187
2188         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2189
2190 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2191
2192         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2193
2194 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2195
2196         Sync up with gettext.
2197         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2198         [_MSC_VER]: Include malloc.h
2199         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2200         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2201         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2202         TEMP_FAILURE_RETRY.  Cast return of alloca.
2203         [!_LIBC] Call gl_rwlock_init.
2204         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2205
2206 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2207
2208         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2209         before checking its value.
2210
2211 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2212
2213         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2214
2215         * debug/memcpy_chk.c: Don't include pagecopy.h.
2216         * debug/mempcpy_chk.c: Likewise.
2217         * string/memcpy.c: Likewise.
2218         * string/memmove.c: Likewise.
2219         * sysdeps/powerpc/memmove.c: Likewise.
2220         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2221         definition of PAGE_COPY_FWD_MAYBE here...
2222         * sysdeps/generic/pagecopy.h: ... from here.
2223         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2224
2225 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2226             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2227
2228         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2230         optimizations.
2231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2232         (__libc_ifunc_impl_list): Likewise.
2233         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2234         multiarch strcat for PPC64.
2235         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2236         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2237
2238 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2239
2240         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2241
2242 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2243
2244         * intl/loadmsgcat.c: Remove declaration of
2245         get_sysdep_segment_value.
2246         (get_sysdep_segment_value): Use ISO C style.
2247         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2248         semicolon.  Fix typo and formatting in comment.
2249         (_nl_unload_domain): Use ISO C style.
2250
2251         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2252
2253 2014-07-02  Will Newton  <will.newton@linaro.org>
2254
2255         * malloc/obstack.c: Merge from gnulib master.
2256         [HAVE_CONFIG_H]: Remove conditional code.
2257         [!_LIBC]: Include config.h.
2258         [!ELIDE_CODE]: Don't include inttypes.h, include
2259         stdint.h unconditionally.
2260         (print_and_abort): Mark as _Noreturn.
2261         (_obstack_allocated_p): Mark as __attribute_pure__.
2262         (obstack_free): Rename to __obstack_free.
2263         [!__attribute__]: Remove conditional code.
2264         * malloc/obstack.h: Merge from gnulib master.
2265         [__cplusplus]: Move conditional down.
2266         [!__attribute_pure__]: Define __attribute_pure__ here
2267         if it is not already defined.
2268         (_obstack_memory_used): Mark as __attribute_pure__.
2269         [!__obstack_free]: Define as obstack_free.
2270         [__GNUC__]: Remove check for ancient NeXT gcc.
2271
2272 2014-07-02  Will Newton  <will.newton@linaro.org>
2273             Paul Eggert  <eggert@cs.ucla.edu>
2274
2275         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2276
2277 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2278
2279         * resolv/gethnamaddr.c: Add comment warning that the file is
2280         not maintained.
2281
2282 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2283
2284         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2285         entries.
2286
2287         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2288         entry for aio_cancel and aio_cancel64.
2289         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2290         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2291         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2292         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2293         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2294         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2295         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2296         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2297         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2298         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2299         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2300         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2301         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2302
2303 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2304
2305         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2306         * nptl/pthread_mutex_lock.c: Likewise.
2307         * nptl/pthread_mutex_timedlock.c: Likewise.
2308         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2309
2310 2014-07-01  Richard henderson  <rth@redhat.com>
2311
2312         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2313         (__isnan, __isnanl): Remove.
2314         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2315
2316         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2317
2318 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2319
2320         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2321
2322 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2323
2324         * resolv/nss_dns/dns-host.c (getanswer_r)
2325         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2326
2327 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2328
2329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2330         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2331         undefine.
2332         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2333         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2334
2335 2014-07-01  Roland McGrath <roland@hack.frob.com>
2336
2337         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2338         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2339
2340         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2341         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2342
2343         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2344         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2345         ... here.
2346         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2347         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2348
2349         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2350         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2351         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2352         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2353
2354         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2355         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2356         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2359         Moved ...
2360         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2361         ... here.
2362         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2365         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2379         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2381         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2382         ... here.
2383         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2384         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2386         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2387         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2388         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2389         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2390         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2391
2392 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2393
2394         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2395         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2396         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2397         Add sysdep.
2398
2399 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2400
2401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2402
2403 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2404
2405         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2406         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2407
2408         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2409
2410         * sysdeps/arm/libm-test-ulps: Regenerated.
2411
2412 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2413             Roland McGrath <roland@hack.frob.com>
2414
2415         * test-skeleton.c (signal_handler): Kill the whole process group
2416         before killing the child individually.
2417         (main): Report any failure on `setpgid'.
2418
2419 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2420
2421         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2422         from _TLS_H to _ARM_NPTL_TLS_H.
2423         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2424         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2425
2426 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2427
2428         [BZ #16539]
2429         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2430         (__expm1l): Return argument unchanged when small but not
2431         subnormal.
2432
2433         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2434         include macro name.
2435         (_FP_UNPACK_RAW_1_P): Likewise.
2436         (_FP_PACK_RAW_1): Likewise.
2437         (_FP_PACK_RAW_1_P): Likewise.
2438         (_FP_MUL_MEAT_1_wide): Likewise.
2439         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2440         (_FP_MUL_MEAT_1_hard): Likewise.
2441         (_FP_DIV_MEAT_1_imm): Likewise.
2442         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2443         (_FP_DIV_MEAT_1_udiv): Likewise.
2444         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2445         (_FP_UNPACK_RAW_2): Likewise.
2446         (_FP_UNPACK_RAW_2_P): Likewise.
2447         (_FP_PACK_RAW_2): Likewise.
2448         (_FP_PACK_RAW_2_P): Likewise.
2449         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2450         (_FP_MUL_MEAT_2_wide): Likewise.
2451         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2452         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2453         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2454         (_FP_MUL_MEAT_2_gmp): Likewise.
2455         (_FP_DIV_MEAT_2_udiv): Likewise.
2456         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2457         (_FP_FRAC_SRL_4): Likewise.
2458         (_FP_FRAC_SRST_4): Likewise.
2459         (_FP_FRAC_SRS_4): Likewise.
2460         (_FP_UNPACK_RAW_4): Likewise.
2461         (_FP_UNPACK_RAW_4_P): Likewise.
2462         (_FP_PACK_RAW_4): Likewise.
2463         (_FP_PACK_RAW_4_P): Likewise.
2464         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2465         (_FP_MUL_MEAT_4_wide): Likewise.
2466         (_FP_MUL_MEAT_4_gmp): Likewise.
2467         (umul_ppppmnnn): Likewise.
2468         (_FP_DIV_MEAT_4_udiv): Likewise.
2469         (__FP_FRAC_ADD_4): Likewise.
2470         (__FP_FRAC_SUB_3): Likewise.
2471         (__FP_FRAC_SUB_4): Likewise.
2472         (__FP_FRAC_DEC_3): Likewise.
2473         (__FP_FRAC_DEC_4): Likewise.
2474         (__FP_FRAC_ADDI_4): Likewise.
2475         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2476         (_FP_FRAC_SRL_8): Likewise.
2477         (_FP_FRAC_SRS_8): Likewise.
2478
2479         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2480         include macro name.
2481         (FP_UNPACK_RAW_EP): Likewise.
2482         (FP_PACK_RAW_E): Likewise.
2483         (FP_PACK_RAW_EP): Likewise.
2484         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2485         (_FP_ISSIGNAN): Likewise.
2486         (_FP_ADD_INTERNAL): Likewise.
2487         (_FP_FMA): Likewise.
2488         (_FP_CMP): Likewise.
2489         (_FP_SQRT): Likewise.
2490         (_FP_TO_INT): Likewise.
2491         (_FP_FROM_INT): Likewise.
2492         (FP_EXTEND): Likewise.
2493         (_FP_DIV_MEAT_N_loop): Likewise.
2494
2495 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2496
2497         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2498         throughout.
2499
2500 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2501
2502         [BZ #17097]
2503         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2504         result with correct sign in case of exponents that produce
2505         overflow except for X very close to 1.
2506
2507 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2508
2509         mktime: merge #if/#ifdef usage from glibc
2510         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2511         as that works with both Glibc's and Gnulib's style.
2512         See thread starting at Siddhesh Poyarekar's bug report at:
2513         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2514
2515 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2516
2517         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2518         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2519         * sysdeps/tile/tilegx/memmove.c: Remove file.
2520
2521 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2522
2523         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2524         abi-name definition.
2525         * scripts/soversions.awk: Do not handle or generate ABI lines.
2526         * shlib-versions: Remove ABI entries.
2527         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2528         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2529
2530 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2531
2532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2533         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2534         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2541         ... here.
2542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2543         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2545         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2547         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2549         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2551         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2553         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2555         Moved ...
2556         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2558         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2560         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2562         Moved ...
2563         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2565         Moved ...
2566         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2568         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2569         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2570         Moved ...
2571         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2572         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2573         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2575         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2577         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2579         Moved ...
2580         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2582         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2583         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2584         Moved ...
2585         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2586         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2587         Moved ...
2588         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2590         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2592         Moved ...
2593         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2594         ... here.
2595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2596         Identical file removed.
2597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2598         Moved ...
2599         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2601         Identical file removed.
2602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2603         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2604         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2605         Moved ...
2606         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2608         Identical file removed.
2609         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2610         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2612         Identical file removed.
2613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2614         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2615         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2616         Identical file removed.
2617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2618         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2619         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2620         Identical file removed.
2621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2622         Moved ...
2623         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2625         Identical file removed.
2626         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2627         Moved ...
2628         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2630         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2632         Identical file removed.
2633         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2634         Moved ...
2635         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2636         ... here.
2637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2638         Identical file removed.
2639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2640         Moved ...
2641         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2642         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2643         Identical file removed.
2644         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2645         Moved ...
2646         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2647         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2648         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2650         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2651         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2652         Moved ...
2653         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2654         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2655         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2656
2657         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2658         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2659         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2660         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2661         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2662
2663 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2664
2665         [BZ #17092]
2666         * nscd/nscd.c (monitor_child): Return exit status of child
2667         instead of return value from wait syscall.
2668
2669 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2670
2671         * configure.ac (libc_commonpagesize): Remove variable.
2672         (libc_relro_required): Likewise.
2673         (libc_cv_z_relro): Remove configure test.
2674         * configure: Regenerated.
2675         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2676         variable.
2677         (libc_relro_required): Likewise.
2678         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2679         (libc_relro_required): Likewise.
2680         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2681         (libc_relro_required): Likewise.
2682         * sysdeps/arm/preconfigure: Regenerated.
2683         * sysdeps/ia64/preconfigure: Remove file.
2684         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2685         variable.
2686         (libc_relro_required): Likewise.
2687
2688         [BZ #16561]
2689         [BZ #16562]
2690         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2691         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2692         recompute overflowing results in original rounding mode.
2693         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2694         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2695         recompute overflowing results in original rounding mode.
2696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2697         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2698         recompute overflowing results in original rounding mode.
2699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2700         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2701         recompute overflowing results in original rounding mode.
2702         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2703         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2704         recompute overflowing results in original rounding mode.
2705         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2706         (libc_feholdsetround_ctx): New macro.
2707         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2708         * sysdeps/i386/fpu/libm-test-ulps: Update.
2709         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2710
2711 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2712
2713         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2714         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2715         corresponding .cpsetup call.
2716
2717 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2718
2719         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2720         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2721         * sysdeps/arm/Makefile [$(subdir) = csu]
2722         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2723         (static-only-routines): Add aeabi_read_tp here.
2724         (shared-only-routines): Add libc-aeabi_read_tp here.
2725         (CFLAGS-libc-start.c): Add -fexceptions here.
2726         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2727         (sysdep_routines, static-only-routines, shared-only-routines):
2728         Don't add to these here.
2729         (CFLAGS-libc-start.c): Likewise.
2730
2731         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2732         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2733         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2734         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2735         * sysdeps/arm/Makefile [$(subdir) = rt]
2736         (librt-sysdep_routines, librt-shared-only-routines):
2737         Append rt-aeabi_unwind_cpp_pr1 here.
2738         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2739         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2740         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2741         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2742         Append nptl-aeabi_unwind_cpp_pr1 here.
2743         (tests): Filter out tst-cleanupx4 here.
2744         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2745         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2746         Don't do those here.
2747
2748 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2749
2750         * scripts/list-sources.sh: Do not handle ports specially.
2751
2752 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2753
2754         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2755         * sysdeps/arm/feupdateenv.c: Likewise.
2756
2757         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2758
2759 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2760
2761         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2762         trailing whitespace removed.
2763         * scripts/config.guess: Update to version 2014-03-23.
2764         * scripts/config.sub: Update to version 2014-05-01
2765         * scripts/install-sh: Update to version 2013-12-25.23.
2766         * scripts/move-if-change: Update from gnulib.
2767
2768 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2769
2770         * debug/memmove_chk.c: Remove pagecopy.h include.
2771
2772 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2773
2774         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2775         identical to gnulib mktime.
2776
2777 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2778
2779         * configure.ac: Do not test for machine being rs6000.  Do not test
2780         for powerpc*-*soft.
2781         * configure: Regenerated.
2782
2783         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2784         test.
2785         * configure: Regenerated.
2786         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2787         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2788         Remove configure test.
2789         * sysdeps/arm/configure: Regenerated.
2790         * sysdeps/nptl/configure.ac: Do not check
2791         libc_cv_asm_cfi_directives.
2792         * sysdeps/nptl/configure: Regenerated.
2793         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2794         * sysdeps/x86_64/nptl/configure: Remove generated file.
2795         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2796         unconditional.
2797         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2798
2799 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2800
2801         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2802         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2803         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2804         it is defined.
2805
2806         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2807         instead of whether it is defined.
2808         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2809         * sysdeps/hppa/dl-machine.h: Likewise.
2810         * sysdeps/ia64/dl-machine.h: Likewise.
2811         * sysdeps/m68k/dl-machine.h: Likewise.
2812         * sysdeps/microblaze/dl-machine.h: Likewise.
2813         * sysdeps/mips/dl-machine.: Likewise.
2814         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2815         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2816         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2817         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2818         * sysdeps/sh/dl-machine.h: Likewise.
2819         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2820         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2821         * sysdeps/tile/dl-machine.h: Likewise.
2822         * sysdeps/x86_64/dl-machine.h: Likewise.
2823
2824         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2825         code.
2826         (verify_persistent_db): Likewise.
2827
2828 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2829
2830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2831         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2833         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2835         Moved ...
2836         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2837         ... here.
2838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2839         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2841         Identical file removed.
2842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2843         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2845         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2847         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2849         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2851         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2853         Moved ...
2854         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2856         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2858         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2860         Moved ...
2861         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2863         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2865         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2867         Identical file removed.
2868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2869         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2871         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2873         Moved ...
2874         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2875         ... here.
2876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2879         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2881         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2883         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2885         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2887         Moved ...
2888         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2890         Moved ...
2891         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2893         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2895         Moved ...
2896         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2898         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2899
2900         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2901         folded into ...
2902         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2903         * sysdeps/unix/sysv/linux/s390/Versions
2904         (libpthread: GLIBC_2.19): New version set.
2905         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2906         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2907         (librt: GLIBC_2.3.3): New version set.
2908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2909         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2910         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2911         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2912         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2913         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2914         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2915         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2916         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2917         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2918         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2919         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2920         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2921         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2922         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2923         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2924         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2925         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2926         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2927         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2928         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2930         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2931         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2932         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2933         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2934         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2935         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2936         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2937         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2938         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2939         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2940         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2944         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2946         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2947         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2948         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2950         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2952         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2953
2954         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2955         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2956         (__libc_vfork): Define the function under this name.
2957         [!NOT_IN_libc] (__vfork): Make this an alias.
2958         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2959         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2960         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2961         (__libc_vfork): Define the function under this name.
2962         [!NOT_IN_libc] (__vfork): Make this an alias.
2963         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2964         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2965         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2967         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2968         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2969
2970         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2971         code that was previously under [RESET_PID].
2972         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2973         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2974         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2975
2976         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2977         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2978         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2979         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2980         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2981         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2982         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2983         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2984         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2987         Moved ...
2988         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2989         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2990         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2991         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2992         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2993         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2994         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2995         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2996         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2997         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2998         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2999         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3000         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3001         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3002         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3004         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3006         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3007         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3008         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3010         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3011         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3012         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3013         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3014         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3016         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3017
3018 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3019
3020         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3021         that was previously under [RESET_PID].
3022         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3023
3024 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3025
3026         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3027         not undefine and redefine.
3028         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3029         [O_CLOEXEC]: Make code unconditional.
3030         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3031         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3032         <kernel-features.h>.
3033         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3034         conditional variable definition.
3035         (shm_open) [O_CLOEXEC]: Make code unconditional.
3036         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3037         code.
3038
3039         * configure.ac (USE_REGPARMS): Don't define here.
3040         * configure: Regenerated.
3041         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3042         * sysdeps/i386/configure: Regenerated.
3043
3044         * nptl/createthread.c: Don't include kernel-features.h.
3045         * nptl/pthread_cancel.c: Likewise.
3046         * nptl/pthread_condattr_setclock.c: Likewise.
3047         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3048         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3049         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3050         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3051         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3052         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3053         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3056         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3057         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3058         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3059         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3060         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3061         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3062         * nscd/gai.c: Likewise.
3063         * nss/nss_db/db-open.c: Likewise.
3064         * sysdeps/generic/ldsodefs.h: Likewise.
3065         * sysdeps/sh/nptl/tls.h: Likewise.
3066         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3067         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3068         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3069         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3070         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3071         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3072         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3073         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3074         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3075         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3076         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3077         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3078         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3079         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3080         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3081         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3082         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3083         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3084         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3085         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3086         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3088         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3089         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3090         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3091         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3092         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3094         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3095         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3096         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3097         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3098         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3099         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3100         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3101         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3102         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3103         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3104         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3105         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3106         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3107         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3108         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3109         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3110         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3111         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3112         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3113         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3114         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3115         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3116         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3117         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3118         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3119         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3120         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3121         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3122         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3123         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3146         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3147         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3148         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3149         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3150         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3151         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3152         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3153         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3154         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3155         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3156         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3157         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3158         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3159         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3160         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3161         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3162         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3163         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3164         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3165         * sysdeps/unix/sysv/linux/system.c: Likewise.
3166         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3167         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3168         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3169         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3170         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3171         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3172         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3173
3174         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3175         * configure: Regenerated.
3176         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3177
3178         * configure.ac (base_machine): Do not set specially for particular
3179         machines here.
3180         * configure: Regenerated.
3181         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3182         settings from configure.ac.
3183         * sysdeps/i386/preconfigure: New file.
3184         * sysdeps/s390/preconfigure: Likewise.
3185         * sysdeps/sh/preconfigure: Likewise.
3186         * sysdeps/sparc/preconfigure: Likewise.
3187
3188 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3189
3190         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3191         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3192         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3193         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3194         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3195         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3196         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3197         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3198         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3199         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3200         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3201         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3202         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3203         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3204         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3205         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3207         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3208         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3209
3210         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3211         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3212         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3213         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3214         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3215         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3216         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3217         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3218         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3219         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3220         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3221         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3222         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3223         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3224         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3225         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3226         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3227         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3228         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3229         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3230         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3231         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3232         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3233         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3234         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3235         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3236         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3237         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3238         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3239         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3240         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3241         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3242         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3243         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3244         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3245         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3246         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3247         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3248
3249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3250         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3252         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3254         Moved ...
3255         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3256         ... here.
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3258         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3260         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3262         Moved ...
3263         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3265         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3267         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3269         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3271         Moved ...
3272         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3274         Moved ...
3275         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3277         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3279         Moved ...
3280         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3282         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3284         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3286         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3290         Moved ...
3291         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3292         ... here.
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3294         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3298         Moved ...
3299         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3301         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3303         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3305         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3307         Moved ...
3308         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3310         Moved ...
3311         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3313         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3315         Moved ...
3316         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3318         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3320         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3321
3322 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3323
3324         * timezone/checktab.awk: Update from tzcode 2014e.
3325         * timezone/private.h: Likewise.
3326         * timezone/tzfile.h: Likewise.
3327         * timezone/zdump.c: Likewise.
3328         * timezone/zic.c: Likewise.
3329
3330         * sysdeps/unix/sysv/linux/kernel-features.h
3331         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3332         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3333         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3334         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3335         Remove conditional code.
3336
3337 2014-06-25  Will Newton  <will.newton@linaro.org>
3338
3339         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3340         (_dl_arm_cap_flags): Add HWCAP2 values.
3341         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3342         (_DL_HWCAP_COUNT): Increase to 37.
3343         (_DL_HWCAP_LAST): New define.
3344         (_DL_HWCAP2_LAST): New define.
3345         (_dl_procinfo): Add support for printing
3346         AT_HWCAP2 entries.
3347         (_dl_string_hwcap): Use _dl_hwcap_string.
3348
3349 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3350
3351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3352
3353 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3354
3355         * README: Do not mention ports directory.
3356
3357         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3358         Remove macro.
3359         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3360         <kernel-features.h>.
3361         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3362         conditional variable definition.
3363         (__futimes): Update comment.
3364         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3365         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3366
3367         [BZ #16560]
3368         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3369         arguments close to 0.
3370         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3371         Likewise.
3372         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3373         Likewise.
3374         * math/auto-libm-test-in: Add more tests of exp10.
3375         * math/auto-libm-test-out: Regenerated.
3376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3377
3378         * sysdeps/unix/sysv/linux/kernel-features.h
3379         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3380         * sysdeps/unix/sysv/linux/readv.c: Do not include
3381         <kernel-features.h>.
3382         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3383         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3384         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3385         unconditional.
3386         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3387         conditional code.
3388         * sysdeps/unix/sysv/linux/writev.c: Do not include
3389         <kernel-features.h>.
3390         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3391         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3392         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3393         unconditional.
3394         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3395         conditional code.
3396
3397 2014-06-25  Will Newton  <will.newton@linaro.org>
3398
3399         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3400         comment changes throughout the file.  Remove checks
3401         for HAVE_*_H definitions that are not required.
3402         (__gen_tempname): Call abort if an unknown kind value is
3403         passed.
3404
3405 2014-06-25  Andreas Schwab  <schwab@suse.de>
3406
3407         [BZ #17086]
3408         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3409         scalbln, scalblnf, scalblnl in libc.
3410
3411 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3412
3413         [BZ #17086]
3414         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3415         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3416         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3417
3418 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3419
3420         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3421         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3422         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3423         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3424         Update #include.
3425         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3426         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3427         Update #include.
3428         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3429         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3430         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3431         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3432         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3433         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3434         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3435         * sysdeps/x86/bits/semaphore.h: ... here.
3436         * sysdeps/x86/nptl/elide.h: Moved ...
3437         * sysdeps/x86/elide.h: ... here.
3438         * sysdeps/x86_64/nptl/Implies: File removed.
3439         * sysdeps/i386/nptl/Implies: File removed.
3440
3441 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3442
3443         [BZ #16539]
3444         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3445         return the argument for normal arguments with exponent below -64.
3446         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3447         Likewise.
3448         * math/auto-libm-test-in: Add another test of expm1.
3449         * math/auto-libm-test-out: Regenerated.
3450
3451         [BZ #16287]
3452         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3453         calling __erfcl for arguments at least 16.
3454         * math/auto-libm-test-in: Add more tests of erf.
3455         * math/auto-libm-test-out: Regenerated.
3456
3457         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3458         individual architectures.
3459         * sysdeps/unix/sysv/linux/configure: Regenerated.
3460         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3461         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3462         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3463         (ldd_rewrite_script): Define variable.
3464         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3466         file.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3468         generated file.
3469         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3470         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3471         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3472         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3473         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3474         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3475         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3476         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3477
3478 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3479
3480         [BZ #17084]
3481         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3482         Rename member __data.d to __data.__elision_data.
3483
3484 2014-06-24  Wilco  <wdijkstr@arm.com>
3485
3486         * NEWS: Add 16918 to fixed bug list.
3487
3488 2014-06-24  Wilco  <wdijkstr@arm.com>
3489
3490         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3491
3492 2014-06-24  Wilco  <wdijkstr@arm.com>
3493
3494         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3495         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3496         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3497         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3498         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3499         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3500         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3501         Use _FPU_MASK_RM.
3502
3503 2014-06-24  Wilco  <wdijkstr@arm.com>
3504
3505         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3506
3507 2014-06-24  Wilco  <wdijkstr@arm.com>
3508
3509         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3510         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3511         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3512         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3513
3514 2014-06-24  Wilco  <wdijkstr@arm.com>
3515
3516         [BZ #16918]
3517         * sysdeps/arm/feupdateenv.c (feupdateenv):
3518         Rewrite to reduce FPSCR accesses and fix return value.
3519
3520 2014-06-24  Wilco  <wdijkstr@arm.com>
3521
3522         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3523         Optimize to avoid unnecessary FPSCR writes.
3524         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3525         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3526         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3527         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3528
3529 2014-06-24  Wilco  <wdijkstr@arm.com>
3530
3531         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3532         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3533         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3534         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3535         Call libc_fetestexcept_vfp.
3536         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3537         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3538         __SOFTFP__ ifdef so that they can be built for softfp.
3539
3540 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3541
3542         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3543         argument type signed char.
3544
3545         * Makerules (check-abi): Dump diff of symlist if the test
3546         fails.
3547
3548 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3549
3550         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3551         using abort.
3552
3553         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3554         Remove unused variable ST.
3555
3556 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3557
3558         [BZ #16354]
3559         [BZ #17061]
3560         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3561         small arguments before calling __expm1.
3562         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3563         small arguments before calling __expm1f.
3564         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3565         small arguments before calling __expm1l.
3566         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3567         Likewise.
3568         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3569         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3570         spurious underflow for some cosh tests.
3571         * math/auto-libm-test-out: Regenerated.
3572         * sysdeps/i386/fpu/libm-test-ulps: Update.
3573
3574         [BZ #17050]
3575         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3576         (__ieee754_y1): Set errno if return value overflows.
3577         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3578         (__ieee754_y1f): Set errno if return value overflows.
3579         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3580         (__ieee754_y1l): Set errno if return value overflows.
3581         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3582         (__ieee754_y1l): Set errno if return value overflows.
3583         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3584         * math/auto-libm-test-out: Regenerated.
3585
3586         * math/gen-auto-libm-tests.c: Document use of
3587         ignore-zero-inf-sign.
3588         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3589         (input_flags): Add ignore-zero-inf-sign.
3590         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3591         * math/gen-libm-test.pl (generate_testfile): Handle
3592         ignore-zero-inf-sign.
3593         * math/auto-libm-test-in: Mark some cpow tests with
3594         ignore-zero-inf-sign and some with xfail-rounding.
3595         * math/auto-libm-test-out: Regenerated.
3596         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3597         * sysdeps/i386/fpu/libm-test-ulps: Update.
3598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3599
3600         [BZ #16315]
3601         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3602         overflowing or underflowing operations take place with sign of
3603         result.
3604         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3605         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3606         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3607         (__ieee754_pow): Recompute overflowing and underflowing results in
3608         original rounding mode.
3609         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3610         (__powl_helper): Allow negative argument X and scale negated value
3611         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3612         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3613         overflowing or underflowing operations take place with sign of
3614         result.
3615         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3616         Include <math.h>.
3617         * math/auto-libm-test-in: Add more tests of pow.
3618         * math/auto-libm-test-out: Regenerated.
3619         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3620         (pow_tonearest_test_data): Remove.
3621         (pow_test_tonearest): Likewise.
3622         (pow_towardzero_test_data): Likewise.
3623         (pow_test_towardzero): Likewise.
3624         (pow_downward_test_data): Likewise.
3625         (pow_test_downward): Likewise.
3626         (pow_upward_test_data): Likewise.
3627         (pow_test_upward): Likewise.
3628         (main): Don't call removed functions.
3629         * sysdeps/i386/fpu/libm-test-ulps: Update.
3630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3631
3632 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3633
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3635         Moved ...
3636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3638         Moved ...
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3641         Moved ...
3642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3644         Moved ...
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3647         File removed.
3648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3649         File removed.
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3651         File removed.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3653         File removed.
3654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3655         File removed.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3657         File removed.
3658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3659         File removed.
3660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3661         File removed.
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3663         File removed.
3664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3665         File removed.
3666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3667         File removed.
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3669         File removed.
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3671         Moved ...
3672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3674         Moved ...
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3676         ... here.
3677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3678         Moved ...
3679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3681         Moved ...
3682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3684         Moved ...
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3687         Moved ...
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3693         Moved ...
3694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3696         Moved ...
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3700         ... here.
3701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3702         Moved ...
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3705         Moved ...
3706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3707         ... here.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3709         Moved ...
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3711         ... here.
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3713         Moved ...
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3715         ... here.
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3717         Moved ...
3718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3720         Moved ...
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3725         Moved ...
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3727         ... here.
3728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3729         Moved ...
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3731         ... here.
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3733         Moved ...
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3736         Moved ...
3737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3739         Moved ...
3740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3742         Moved ...
3743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3745         Moved ...
3746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3747         ... here.
3748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3749         Moved ...
3750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3752         Moved ...
3753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3755         Moved ...
3756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3758         Moved ...
3759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3769         Moved ...
3770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3771         ... here.
3772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3773         Moved ...
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3775         ... here.
3776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3777         Moved ...
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3779         ... here.
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3781         Moved ...
3782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3784         Moved ...
3785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3787         Moved ...
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3790         Moved ...
3791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3792         ... here.
3793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3794         Moved ...
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3796         ... here.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3798         Moved ...
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3800         ... here.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3802         Moved ...
3803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3805         Moved ...
3806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3807
3808 2014-06-23  Will Newton  <will.newton@linaro.org>
3809             Wilco  <wdijkstr@arm.com>
3810
3811         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3812         implementation.  Include get-rounding-mode.h.
3813         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3814         [!libc_feholdsetround_noex_ctx]: Define
3815         libc_feholdsetround_noex_ctx.
3816         [!libc_feholdsetround_noexf_ctx]: Define
3817         libc_feholdsetround_noexf_ctx.
3818         [!libc_feholdsetround_noexl_ctx]: Define
3819         libc_feholdsetround_noexl_ctx.
3820         (libc_feholdsetround_ctx): New function.
3821         (libc_feresetround_ctx): New function.
3822         (libc_feholdsetround_noex_ctx): New function.
3823         (libc_feresetround_noex_ctx): New function.
3824
3825 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3826
3827         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3828         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3829         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3830         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3831         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3832         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3833
3834         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3835         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3836         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3837         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3838         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3839         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3841         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3843         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3845         Moved ...
3846         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3847         ... here.
3848         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3849         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3851         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3852         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3853         Moved ...
3854         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3856         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3858         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3860         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3861         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3862         Moved ...
3863         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3865         Moved ...
3866         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3870         Moved ...
3871         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3872         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3873         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3874         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3875         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3876         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3877         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3879         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3881         Moved ...
3882         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3883         ... here.
3884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3885         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3887         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3888         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3889         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3890         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3891         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3892         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3893         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3895         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3896         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3897         Moved ...
3898         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3900         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3902         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3904         Moved ...
3905         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3907         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3908         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3909         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3910
3911         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3912         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3913         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3914         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3915         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3916         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3917         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3918         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3919         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3920         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3921         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3922         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3923         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3924         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3925         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3926         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3927         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3928         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3929         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3930         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3931         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3932         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3933         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3934         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3935         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3936         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3937         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3938         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3939
3940 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3941
3942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3943         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3944         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3945         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3946         (IPV6_PMTUDISC_INTERFACE): Likewise.
3947         (IPV6_PMTUDISC_OMIT): Likewise.
3948
3949 2014-06-23  Andreas Schwab  <schwab@suse.de>
3950
3951         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3952         Remove unused errout label.
3953
3954 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3955
3956         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3957         macro: hardware supports Vector Crypto instructions.
3958
3959 2014-06-23  Will Newton  <will.newton@linaro.org>
3960
3961         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3962         rather than __builtin_expect.
3963
3964         * elf/dl-lookup.c (undefined_msg): Remove variable.
3965         (_dl_lookup_symbol_x): Replace undefined_msg with string
3966         literal.
3967
3968         * elf/dl-lookup.c (do_lookup_unique): New function.
3969         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3970         to a separate function.
3971
3972 2014-06-23  Andreas Schwab  <schwab@suse.de>
3973
3974         [BZ #17079]
3975         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3976         before reading the next line.
3977
3978 2014-06-23  Will Newton  <will.newton@linaro.org>
3979
3980         * test-skeleton.c (signal_handler): Use printf and %m
3981         rather than perror.  Use printf rather than fprintf to
3982         stderr.  Use puts rather than fputs to stderr.
3983         (main): Likewise.
3984
3985 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3986
3987         * nscd/nscd.c (thread_info_t): Remove typedef.
3988         (thread_info): Remove variable.
3989
3990 2014-06-21  Allan McRae  <allan@archlinux.org>
3991
3992         * NEWS: Mention CVE-2014-4043.
3993
3994 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3995
3996         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3997         * nptl/smp.h: ... here.
3998
3999         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4000
4001         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4002         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4003         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4004         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4005
4006         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4007         * nptl/stack-aliasing.h: New file.
4008         * sysdeps/i386/i686/stack-aliasing.h: New file.
4009         * sysdeps/i386/i686/nptl/Makefile: File removed.
4010         * sysdeps/x86_64/stack-aliasing.h: New file.
4011         * sysdeps/x86_64/nptl/Makefile
4012         (CFLAGS-pthread_create.c): Variable removed.
4013
4014         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4015         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4016         old file.
4017         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4018         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4019         old file.
4020
4021 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4022
4023         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4024         (__ASSUME_SIGFRAME_V2): Remove macro.
4025         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4026         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4027         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4028         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4029         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4030         Declare as function.  Remove conditional macro definitions.
4031         (__default_rt_sa_restorer): Likewise.
4032         (__default_sa_restorer_v1): Remove declaration.
4033         (__default_sa_restorer_v2): Likewise.
4034         (__default_rt_sa_restorer_v1): Likewise.
4035         (__default_rt_sa_restorer_v2): Likewise.
4036         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4037         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4038         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4039
4040 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4041
4042         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4043         (libpthread-routines): Add sysdep.
4044         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4045         * sysdeps/unix/sysv/linux/sparc/Versions
4046         (libpthread: GLIBC_2.3.3): New version set.
4047         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4048         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4049         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4050         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4051         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4052         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4053         Moved ...
4054         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4055         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4056         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4057         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4058         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4059         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4060         * sysdeps/sparc/nptl/sem_init.c: ... here.
4061         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4062         * sysdeps/sparc/nptl/sem_post.c: ... here.
4063         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4064         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4065         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4066         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4067         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4069         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4070         (libpthread-routines): Add cpu_relax.
4071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4072         File removed.
4073         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4074         (librt: GLIBC_2.3.3): New version set.
4075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4076         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4077         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4078         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4081         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4083         Moved ...
4084         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4086         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4088         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4090         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4092         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4094         Moved ...
4095         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4096         Update #include.
4097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4098         Moved ...
4099         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4100         Update #include.
4101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4102         Moved ...
4103         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4104         Update #include.
4105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4106         Moved ...
4107         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4108         Update #include.
4109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4110         Moved ...
4111         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4112         Update #include.
4113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4114         Moved ...
4115         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4116         Update #include.
4117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4118         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4124         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4126         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4128         Moved ...
4129         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4131         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4133         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4134
4135 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4136
4137         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4138         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4139         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4140         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4141         * nscd/nscd.c: Likewise.
4142         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4143         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4144         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4145         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4146
4147         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4148         <kernel-features.h>.
4149         (init_mq_netlink): Remove conditional have_sock_cloexec
4150         definitions.  Remove code conditional on have_sock_cloexec < 0.
4151         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4152         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4153         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4154         <kernel-features.h>.
4155         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4156         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4157
4158 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4159
4160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4161         Add tests for memset_chk and memset.
4162
4163         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4164         with AVX2_Usable.
4165
4166 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4167
4168         [BZ #16046]
4169         * elf/tst-dl-iter-static.c: New file.
4170         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4171
4172         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4173         error.
4174
4175 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4176
4177         * sysdeps/unix/sysv/linux/kernel-features.h
4178         (__ASSUME_F_GETOWN_EX): Remove macro.
4179         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4180         <kernel-features.h>.
4181         (miss_F_GETOWN_EX): Remove variable or macro.
4182         (do_fcntl): Do not check miss_F_GETOWN_EX.
4183         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4184
4185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4186         Remove macro.
4187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4188         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4189         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4190
4191         * sysdeps/unix/sysv/linux/kernel-features.h
4192         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4193         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4194         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4195         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4196
4197 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4198
4199         [BZ #17075]
4200         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4201         Fix calculation of the symbol's value.
4202         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4203         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4204         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4205         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4206         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4207         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4208         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4209         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4210         (modules-names): Add `tst-armtlsdescmod',
4211         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4212         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4213         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4214         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4215         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4216         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4217         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4218         ($(objpfx)tst-armtlsdescloc): New dependency.
4219         ($(objpfx)tst-armtlsdescextnow): Likewise.
4220         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4221         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4222         TLS scheme support.
4223         * sysdeps/arm/configure: Regenerate.
4224
4225 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4226
4227         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4228         (__atfct_seterrno_2): Likewise.
4229         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4230         <kernel-features.h>.
4231         (__ASSUME_ATFCTS): Do not undefine and redefine.
4232         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4233         (__have_atfcts): Remove conditional definition.
4234         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4235         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4236         unreachable if [__ASSUME_ATFCTS].
4237         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4238         not undefine and redefine.
4239         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4240         <kernel-features.h>.
4241         (faccessat) [__NR_faccessat]: Make code unconditional.
4242         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4243         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4244         <kernel-features.h>.
4245         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4246         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4247         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4248         <kernel-features.h>.
4249         (fchownat) [__NR_fchownat]: Make code unconditional.
4250         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4251         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4252         <kernel-features.h>.
4253         (futimesat) [__NR_futimesat]: Make code unconditional.
4254         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4255         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4256         <kernel-features.h>.
4257         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4258         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4259         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4260         <kernel-features.h>.
4261         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4262         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4263         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4264         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4265         <kernel-features.h>.
4266         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4267         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4268         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4269         <kernel-features.h>.
4270         (linkat) [__NR_linkat]: Make code unconditional.
4271         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4272         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4273         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4274         <kernel-features.h>.
4275         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4276         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4277         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4278         <kernel-features.h>.
4279         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4280         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4281         * sysdeps/unix/sysv/linux/openat.c: Do not include
4282         <kernel-features.h>.
4283         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4284         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4285         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4286         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4287         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4288         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4289         <kernel-features.h>.
4290         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4291         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4292         result of INLINE_SYSCALL directly, not via int variable.
4293         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4294         <kernel-features.h>.
4295         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4296         (renameat) [__NR_renameat]: Make code unconditional.
4297         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4298         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4299         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4300         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4301         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4302         (__ASSUME_ATFCTS): Do not undefine and redefine.
4303         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4304         <kernel-features.h>.
4305         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4306         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4307         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4308         <kernel-features.h>.
4309         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4310         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4311         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4312         (__ASSUME_ATFCTS): Do not undefine and redefine.
4313         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4314         <kernel-features.h>.
4315         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4316         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4317         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4318         <kernel-features.h>.
4319         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4320         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4321
4322 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4323
4324         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4325
4326 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4327
4328         [BZ #17069]
4329         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4330         constructed tree before returning error.
4331         * posix/bug-regexp36.c: Expand test case.
4332
4333 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4334
4335         [BZ #6803]
4336         * math/libm-test.inc (scalbln_test_date):
4337         Add errno expectations.
4338         * math/w_scalblnf.c: New File.
4339         Add wrapper which checks for setting errno to ERANGE.
4340         Add weak_alias for corresponding scalbln function.
4341         * math/w_scalbln.c: Likewise.
4342         * math/w_scalblnl.c: Likewise.
4343         * math/Makefile (libm-calls): Add w_scalbln.
4344         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4345         Remove weak_alias for corresponding scalbln function.
4346         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4347         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4348         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4349         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4350         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4351         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4352         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4353         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4354         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4355         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4356         Remove long_double_symbol for scalblnl function in libm, libc.
4357         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4358         Add wrapper which checks for setting errno to ERANGE.
4359         Add long_double_symbol for scalblnl function in libm, libc.
4360         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4361         Remove long_double_symbol for scalblnl in libm.
4362         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4363         Add wrapper which checks for setting errno to ERANGE.
4364         Add long_double_symbol for scalblnl function in libm.
4365         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4366         Do not use wrapper because of own implementation.
4367
4368 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4369
4370         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4371         3 bytes for __pad1 for x32.
4372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4373
4374 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4375             H.J. Lu  <hongjiu.lu@intel.com>
4376
4377         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4378         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4379         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4380         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4381         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4382
4383 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4384
4385         [BZ #17069]
4386         * posix/regcomp.c (parse_expression): Deallocate partially
4387         constructed tree before returning error.
4388         * posix/Makefile.c (tests): Add bug-regex36.
4389         (generated): Add bug-regex36.mtrace.
4390         (tests-special): Add $(objpfx)bug-regex36-mem.out
4391         (bug-regex36-ENV): New variable.
4392         ($(objpfx)bug-regex36-mem.out): New rule.
4393         * posix/bug-regex36.c: New file.
4394
4395 2014-06-19  Will Newton  <will.newton@linaro.org>
4396
4397         * malloc/malloc.c (systrim): If extra is zero then return
4398         early.
4399
4400 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4401
4402         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4403
4404 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4405
4406         * sysdeps/aarch64/strchr.S: New file.
4407
4408 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4409
4410         [BZ #17022]
4411         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4412         from arguments -2 or below.
4413         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4414         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4415
4416 2014-06-18  Andreas Schwab  <schwab@suse.de>
4417
4418         [BZ #17062]
4419         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4420         of a bracket expr not to run off the end of the string.
4421         * posix/Makefile (tests): Add tst-fnmatch3.
4422         * posix/tst-fnmatch3.c: New file.
4423
4424 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4425
4426         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4427         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4428         [$(cross-compiling) = no]: Likewise.
4429         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4430         [$(cross-compiling) = no]: Likewise.
4431
4432 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4433
4434         [BZ #17031]
4435         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4436         double, adjusted for any remainder from the high double.
4437         * math/libm-test.inc (nearbyint): Add tests.
4438         (rint): Likewise.
4439
4440 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4441
4442         * nptl/sysdeps/powerpc/Makefile: Moved ...
4443         * sysdeps/powerpc/nptl/Makefile: ... here.
4444         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4445         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4446         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4447         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4448         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4449         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4450         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4451         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4452         * nptl/sysdeps/powerpc/tls.h: Moved ...
4453         * sysdeps/powerpc/nptl/tls.h: ... here.
4454
4455 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4456
4457         [BZ #16681]
4458         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4459         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4460         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4461         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4462         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4463         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4464         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4465         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4466         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4467
4468 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4469
4470         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4471
4472 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4473
4474         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4475         defined operator.
4476
4477         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4478         $TIMEOUTFACTOR.
4479
4480 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4481
4482         [BZ #17058]
4483         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4484         non-executed part of the test.
4485
4486 2014-06-16  Andreas Schwab  <schwab@suse.de>
4487
4488         * string/bits/string2.h (strdup, strndup): Update feature guard.
4489
4490 2014-06-14  David S. Miller  <davem@davemloft.net>
4491
4492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4493
4494 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4495
4496         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4497         that was previously under [RESET_PID].
4498         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4499
4500         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4501         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4502         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4503         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4504         (__libc_vfork): New strong alias.
4505         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4506
4507 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4508
4509         * sysdeps/generic/elide.h: New file.
4510
4511 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4512
4513         * Makefile (installed-headers): Adjust path of pthread.h header.
4514
4515 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4516
4517         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4518         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4519         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4520         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4521
4522         * nptl/sysdeps/s390/Makefile: Moved ...
4523         * sysdeps/s390/nptl/Makefile: ... here.
4524         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4525         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4526         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4527         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4528         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4529         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4530         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4531         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4532         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4533         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4534         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4535         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4536         * nptl/sysdeps/s390/tls.h: Moved ...
4537         * sysdeps/s390/nptl/tls.h: ... here.
4538
4539         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4540         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4541
4542 2014-06-13  David S. Miller  <davem@davemloft.net>
4543
4544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4547         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4551         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4552         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4553         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4554         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4555         Remove RESET_PID cpp guards.
4556         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4557         Remove RESET_PID cpp guards.
4558         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4559
4560 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4561
4562         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4563         __sp to uintptr_t.
4564
4565 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4566
4567         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4568         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4569         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4571         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4572         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4573         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4574         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4575         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4576         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4577         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4578         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4579         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4580         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4582         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4585         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4586         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4587
4588         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4589         (pthread_rwlock_rdlock): Add elision.
4590         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4591         (pthread_rwlock_wrlock): Add elision.
4592         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4593         (pthread_rwlock_trywrlock): Add elision.
4594         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4595         (pthread_rwlock_tryrdlock): Add elision.
4596         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4597         (pthread_rwlock_tryrdlock): Add elision unlock.
4598         * nptl/sysdeps/pthread/pthread.h:
4599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4600         (PTHREAD_RWLOCK_INITIALIZER,
4601         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4602         Handle new elision field.
4603         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4604         * sysdeps/arm/nptl/bits/pthreadtypes.h
4605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4606         * sysdeps/sh/nptl/bits/pthreadtypes.h
4607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4608         * sysdeps/tile/nptl/bits/pthreadtypes.h
4609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4610         * sysdeps/a/nptl/bits/pthreadtypes.h
4611         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4612         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4614         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4616         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4618         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4619         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4620         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4622         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4624         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4626         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4627         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4628         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4629         (elision_init): Set try_xbegin to zero when no RTM.
4630         * sysdeps/x86/nptl/bits/pthreadtypes.h
4631         (pthread_rwlock_t): Change __pad1 to __rwelision.
4632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4633
4634 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4635
4636         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4637         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4638         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4639         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4640
4641 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4642
4643         [BZ #16996]
4644         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4645         that the cached result has been set before returning it.
4646
4647 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4648
4649         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4650         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4651         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4652         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4653         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4654         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4655
4656         * nptl/sysdeps/sparc/Makefile: Moved ...
4657         * sysdeps/sparc/nptl/Makefile: ... here.
4658         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4659         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4660         * nptl/sysdeps/sparc/tls.h: Moved ...
4661         * sysdeps/sparc/nptl/tls.h: ... here.
4662         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4663         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4664         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4665         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4666         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4667         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4668         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4669         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4670         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4671         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4672         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4673         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4674         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4675         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4676         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4677         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4678         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4680         Update #include.
4681         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4682         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4683         Update #include.
4684         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4686         Update #include.
4687         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4688         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4689         Update #include.
4690
4691         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4692
4693         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4694         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4695
4696         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4697         (struct list_links): Type removed.
4698         (struct thread_node, struct timer_node): Replace struct list_links
4699         with struct list_head.
4700         (list_unlink_ip): Likewise.
4701         * sysdeps/pthread/timer_routines.c
4702         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4703         (list_append, list_insbefore): Likewise.
4704         (list_init): Function removed.
4705         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4706         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4707         * sysdeps/pthread/Makefile: ... here, new file.
4708
4709         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4710         * sysdeps/nptl/Implies: ... here.
4711         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4712         * nptl/sysdeps/pthread/list.h: Moved ...
4713         * include/list.h: ... here.
4714         * nptl/sysdeps/pthread/createthread.c: Moved ...
4715         * nptl/createthread.c: ... here.
4716         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4717         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4718         * nptl/pt-longjmp.c: ... here.
4719         * nptl/sysdeps/pthread/Makefile: Moved ...
4720         * sysdeps/nptl/Makefile: ... here.
4721         * nptl/sysdeps/pthread/Subdirs: Moved ...
4722         * sysdeps/nptl/Subdirs: ... here.
4723         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4724         * sysdeps/nptl/aio_misc.h: ... here.
4725         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4726         * sysdeps/nptl/bits/libc-lock.h: ... here.
4727         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4728         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4729         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4730         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4731         * nptl/sysdeps/pthread/configure: Moved ...
4732         * sysdeps/nptl/configure: ... here.
4733         * nptl/sysdeps/pthread/configure.ac: Moved ...
4734         * sysdeps/nptl/configure.ac: ... here.
4735         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4736         * sysdeps/nptl/gai_misc.h: ... here.
4737         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4738         * sysdeps/nptl/librt-cancellation.c: ... here.
4739         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4740         * sysdeps/nptl/malloc-machine.h: ... here.
4741         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4742         * sysdeps/nptl/pthread-functions.h: ... here.
4743         * nptl/sysdeps/pthread/pthread.h: Moved ...
4744         * sysdeps/nptl/pthread.h: ... here.
4745         * nptl/sysdeps/pthread/setxid.h: Moved ...
4746         * sysdeps/nptl/setxid.h: ... here.
4747         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4748         * sysdeps/nptl/sigfillset.c: ... here.
4749         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4750         * sysdeps/nptl/tcb-offsets.h: ... here.
4751         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4752         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4753         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4754         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4755         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4756         * sysdeps/pthread/allocalim.h: ... here.
4757         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4758         * sysdeps/pthread/bits/sigthread.h: ... here.
4759         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4760         * sysdeps/pthread/flockfile.c: ... here.
4761         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4762         * sysdeps/pthread/ftrylockfile.c: ... here.
4763         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4764         * sysdeps/pthread/funlockfile.c: ... here.
4765         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4766         * sysdeps/pthread/posix-timer.h: ... here.
4767         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4768         * sysdeps/pthread/timer_create.c: ... here.
4769         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4770         * sysdeps/pthread/timer_delete.c: ... here.
4771         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4772         * sysdeps/pthread/timer_getoverr.c: ... here.
4773         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4774         * sysdeps/pthread/timer_gettime.c: ... here.
4775         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4776         * sysdeps/pthread/timer_routines.c: ... here.
4777         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4778         * sysdeps/pthread/timer_settime.c: ... here.
4779         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4780         * sysdeps/pthread/tst-timer.c: ... here.
4781         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4782         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4783
4784         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4785         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4786
4787         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4788         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4789         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4790         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4791         Update #include target.
4792         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4793         * sysdeps/i386/i686/nptl/Makefile: ... here.
4794         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4795         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4796         Update #include target.
4797         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4798         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4799         * nptl/sysdeps/i386/Makefile: Moved ...
4800         * sysdeps/i386/nptl/Makefile: ... here.
4801         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4802         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4803         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4804         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4805         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4806         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4807         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4808         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4809         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4810         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4811         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4812         * nptl/sysdeps/i386/tls.h: Moved ...
4813         * sysdeps/i386/nptl/tls.h: ... here.
4814
4815         * sysdeps/sh/Makefile [$(subdir) = csu]
4816         (gen-as-const-headers): Add tcb-offsets.sym.
4817         * nptl/sysdeps/sh/Makefile: File removed.
4818         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4819         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4820         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4821         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4822         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4823         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4824         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4825         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4826         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4827         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4828         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4829         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4830         * nptl/sysdeps/sh/tls.h: Moved ...
4831         * sysdeps/sh/nptl/tls.h: ... here.
4832         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4833         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4834         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4835         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4836         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4837         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4838         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4840         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4841         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4843         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4844         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4845         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4846         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4847         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4848         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4849         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4850         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4851         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4852         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4853         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4854         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4856         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4857         Moved ...
4858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4860         Moved ...
4861         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4862         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4863         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4864         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4865         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4866         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4867         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4868         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4869         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4870         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4871         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4872         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4873         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4874         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4875         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4876         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4877         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4878         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4879         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4880
4881 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4882
4883         * posix/spawn_faction_addopen.c: Include string.h.
4884
4885 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4886
4887         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4888         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4889         * nptl/sysdeps/x86_64/Makefile: Moved ...
4890         * sysdeps/x86_64/nptl/Makefile: ... here.
4891         * nptl/sysdeps/x86_64/configure: Moved ...
4892         * sysdeps/x86_64/nptl/configure: ... here.
4893         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4894         * sysdeps/x86_64/nptl/configure.ac: ... here.
4895         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4896         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4897         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4898         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4899         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4900         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4901         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4902         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4903         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4904         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4905         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4906         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4907         * nptl/sysdeps/x86_64/tls.h: Moved ...
4908         * sysdeps/x86_64/nptl/tls.h: ... here.
4909         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4910         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4911         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4912         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4913
4914         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4915
4916 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4917
4918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4919
4920 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4921
4922         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4923         type.
4924         [POSIX] (off_t): Likewise.
4925         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4926         [POSIX] (S_ISBLK): Require macro.
4927         [POSIX] (S_ISCHR): Likewise.
4928         [POSIX] (S_ISDIR): Likewise.
4929         [POSIX] (S_ISFIFO): Likewise.
4930         [POSIX] (S_ISREG): Likewise.
4931         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4932         optional-macro.
4933         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4934         type.
4935         [POSIX] (time_t): Likewise.
4936         [POSIX] (timer_t): Likewise.
4937
4938 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4939
4940         [BZ #17048]
4941         * posix/spawn_int.h (struct __spawn_action): Make the path string
4942         non-const to support deallocation.
4943         * posix/spawn_faction_addopen.c
4944         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4945         * posix/spawn_faction_destroy.c
4946         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4947         path in all spawn_do_open actions.
4948         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4949         posix_spawn_file_actions_addopen.
4950
4951 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4952
4953         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4954         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4955         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4956         conditional code always true.
4957         (__libc_vfork): New alias.
4958
4959 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4960
4961         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4962         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4963
4964         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4965
4966         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4967         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4968
4969         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4970         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4971
4972         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4973         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4974
4975 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4976
4977         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4978         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4979         multiarch strcmp for PPC64.
4980         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4981         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4983         multiarch optimizations.
4984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4985         (__libc_ifunc_impl_list): Likewise.
4986
4987 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4988
4989         * benchtests/scripts/validate_benchout.py: New script.
4990         * benchtests/Makefile (bench-func): Call it.
4991         * benchtests/scripts/benchout.schema.json: New file.
4992
4993 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4994
4995         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4996         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4997         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4998         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4999         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5000         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5001         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5002         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5003         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5004         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5005         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5006         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5007         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5008         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5009         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5010         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5012         Moved ...
5013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5014         ... here.
5015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5016         Moved ...
5017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5019         Moved ...
5020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5021         ... here.
5022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5023         Moved ...
5024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5025         ... here.
5026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5027         Moved ...
5028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5030         Moved ...
5031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5032         ... here.
5033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5034         Moved ...
5035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5036         ... here.
5037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5038         Moved ...
5039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5041         Moved ...
5042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5043         ... here.
5044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5045         Moved ...
5046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5047         ... here.
5048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5049         Moved ...
5050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5051         ... here.
5052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5053         Moved ...
5054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5056         Moved ...
5057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5058         ... here.
5059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5060         Moved ...
5061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5062         ... here.
5063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5064         Moved ...
5065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5066         ... here.
5067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5068         Moved ...
5069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5071         Moved ...
5072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5073         ... here.
5074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5075         Moved ...
5076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5077         ... here.
5078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5079         Moved ...
5080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5082         Moved ...
5083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5084         ... here.
5085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5086         Moved ...
5087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5089         Moved ...
5090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5092         Moved ...
5093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5094         ... here.
5095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5096         Moved ...
5097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5098         ... here.
5099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5100         Moved ...
5101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5102         ... here.
5103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5104         Moved ...
5105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5107         Moved ...
5108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5109         ... here.
5110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5111         Moved ...
5112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5113         ... here.
5114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5115         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5117         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5119         Moved ...
5120         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5121         ... here.
5122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5123         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5125         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5127         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5128         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5129         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5131         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5133         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5135         Moved ...
5136         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5138         Moved ...
5139         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5141         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5143         Moved ...
5144         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5146         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5147         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5148         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5149         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5150         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5151
5152 2014-06-10  Wilco  <wdijkstr@arm.com>
5153
5154         * math/test-fenv-return.c: New file.
5155         * math/Makefile: Add new test test-fenv-return.
5156
5157 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5158
5159         [BZ #17042]
5160         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5161         when x - 1 is zero.
5162         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5163         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5164         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5165         0.0L for an argument of 1.0L.
5166         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5167         Likewise.
5168         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5169         value when x - 1 is zero.
5170         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5171         * sysdeps/i386/fpu/libm-test-ulps: Update.
5172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5173
5174 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5175
5176         [BZ #15119]
5177         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5178
5179 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5180
5181         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5182         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5183
5184 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5185
5186         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5187         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5188
5189         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5190         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5191
5192         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5193         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5194
5195         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5196         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5197
5198         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5199         if not already defined.
5200         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5201         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5202         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5203         (TLS_INIT_TP): Use it.
5204         (TLS_DEFINE_INIT_TP): New macro.
5205         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5206
5207 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5208
5209         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5210         constant.
5211         [POSIX] (IXANY): Likewise.
5212         [POSIX] (OLCUC): Likewise.
5213         [POSIX || POSIX2008] (CBAUD): Do not allow.
5214         [POSIX || POSIX2008] (DEFECHO): Likewise.
5215         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5216         [POSIX || POSIX2008] (ECHOKE): Likewise.
5217         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5218         [POSIX || POSIX2008] (EXTA): Likewise.
5219         [POSIX || POSIX2008] (EXTB): Likewise.
5220         [POSIX || POSIX2008] (FLUSHO): Likewise.
5221         [POSIX || POSIX2008] (LOBLK): Likewise.
5222         [POSIX || POSIX2008] (PENDIN): Likewise.
5223         [POSIX || POSIX2008] (SWTCH): Likewise.
5224         [POSIX || POSIX2008] (VDISCARD): Likewise.
5225         [POSIX || POSIX2008] (VDSUSP): Likewise.
5226         [POSIX || POSIX2008] (VLNEXT): Likewise.
5227         [POSIX || POSIX2008] (VREPRINT): Likewise.
5228         [POSIX || POSIX2008] (VSTATUS): Likewise.
5229         [POSIX || POSIX2008] (VWERASE): Likewise.
5230         (B*): Change to B[0123456789]*.
5231         * conform/data/time.h-data [POSIX || UNIX98]
5232         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5233         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5234         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5235         [POSIX] (tm_*): Do not allow.
5236
5237 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5238
5239         * Makefile (install): Don't set LANGUAGE.
5240         * Makefile.in (install): Likewise.
5241         * assert/Makefile (test-assert-ENV): Remove variable.
5242         (test-assert-perr-ENV): Likewise.
5243         * elf/Makefile (neededtest4-ENV): Likewise.
5244         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5245         [$(cross-compiling) = no]: Don't set LANGUAGE.
5246         * io/ftwtest-sh (LANG): Remove variable.
5247         * libio/Makefile (tst-widetext-ENV): Likewise.
5248         * manual/install.texi (Running make install): Don't refer to
5249         environment settings for make install.
5250         * INSTALL: Regenerated.
5251         * nptl/tst-tls6.sh: Don't set LANG.
5252         * posix/globtest.sh (LANG): Remove variable.
5253         * string/Makefile (tester-ENV): Likewise.
5254         (inl-tester-ENV): Likewise.
5255         (noinl-tester-ENV): Likewise.
5256         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5257         [$(cross-compiling) = no]: Don't set LANGUAGE.
5258         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5259         without explicit environment settings.
5260
5261 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5262
5263         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5264         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5265         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5266         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5267
5268 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5269
5270         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5271         other files in the crypt directory.
5272         * crypt/crypt.c: Remove duplicate includes.
5273         * crypt/crypt-entry.c: Likewise.
5274         * crypt/crypt_util.c: Likewise.
5275
5276 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5277
5278         * Makeconfig (run-program-env): New variable.
5279         (run-program-prefix-before-env): Likewise.
5280         (run-program-prefix-after-env): Likewise.
5281         (run-program-prefix): Define in terms of new variables.
5282         (built-program-cmd-before-env): New variable.
5283         (built-program-cmd-after-env): Likewise.
5284         (built-program-cmd): Define in terms of new variables.
5285         (test-program-prefix-before-env): New variable.
5286         (test-program-prefix-after-env): Likewise.
5287         (test-program-prefix): Define in terms of new variables.
5288         (test-program-cmd-before-env): New variable.
5289         (test-program-cmd-after-env): Likewise.
5290         (test-program-cmd): Define in terms of new variables.
5291         * Rules (make-test-out): Use $(run-program-env).
5292         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5293         (help): Do not mention environment variables.  Mention
5294         --timeoutfactor option.
5295         (timeoutfactor): New variable.
5296         (blacklist_exports): Remove function.
5297         (exports): Remove variable.
5298         (command): Do not include ${exports}.
5299         * manual/install.texi (Configuring and compiling): Do not mention
5300         test wrappers preserving environment variables.  Mention that last
5301         assignment to a variable must take precedence.
5302         * INSTALL: Regenerated.
5303         * benchtests/Makefile (run-bench): Use $(run-program-env).
5304         * catgets/Makefile ($(objpfx)test1.cat): Use
5305         $(built-program-cmd-before-env), $(run-program-env) and
5306         $(built-program-cmd-after-env).
5307         ($(objpfx)test2.cat): Do not specify environment variables
5308         explicitly.
5309         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5310         $(run-program-env) and $(built-program-cmd-after-env).
5311         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5312         $(run-program-env) and $(test-program-cmd-after-env).
5313         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5314         explicitly.
5315         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5316         run_program_env and test_program_cmd_after_env arguments.
5317         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5318         * elf/tst-pathopt.sh: Use run_program_env argument.
5319         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5320         $(test-wrapper-env) and $(run-program-env).
5321         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5322         run_program_env arguments.
5323         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5324         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5325         $(test-program-prefix-before-env), $(run-program-env) and
5326         $(test-program-prefix-after-env).
5327         ($(objpfx)tst-gettext2.out): Likewise.
5328         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5329         run_program_env and test_program_prefix_after_env arguments.
5330         * intl/tst-gettext2.sh: Likewise.
5331         * intl/tst-gettext4.sh: Do not set environment variables
5332         explicitly.
5333         * intl/tst-gettext6.sh: Likewise.
5334         * intl/tst-translit.sh: Likewise.
5335         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5336         $(test-program-prefix-before-env), $(run-program-env) and
5337         $(test-program-prefix-after-env).
5338         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5339         run_program_env and test_program_prefix_after_env arguments.
5340         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5341         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5342         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5343         explicitly with each use of ${test_wrapper_env}.
5344         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5345         $(test-program-prefix-before-env), $(run-program-env) and
5346         $(test-program-prefix-after-env).
5347         * posix/tst-getconf.sh: Do not set environment variables
5348         explicitly.
5349         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5350         run_program_env and test_program_prefix_after_env arguments.
5351         * stdio-common/tst-printf.sh: Do not set environment variables
5352         explicitly.
5353         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5354         $(test-program-prefix-before-env), $(run-program-env) and
5355         $(test-program-prefix-after-env).
5356         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5357         run_program_env and test_program_prefix_after_env arguments.
5358         Split $test calls into $test_pre and $test.
5359         * timezone/Makefile (build-testdata): Use
5360         $(built-program-cmd-before-env), $(run-program-env) and
5361         $(built-program-cmd-after-env).
5362
5363 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5364
5365         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5366         strlen for non SHARED builds.
5367
5368 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5369
5370         * nptl/allocatestack.c (check_list): Inlined function...
5371         (__reclaim_stacks): ... here.
5372
5373 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5374
5375         [BZ #15698]
5376         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5377         memory overrun.
5378
5379 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5380
5381         * Rules (make-test-out): Include
5382         LOCPATH=$(common-objpfx)localedata in default environment.
5383         * debug/Makefile (tst-chk1-ENV): Remove variable.
5384         (tst-chk2-ENV): Likewise.
5385         (tst-chk3-ENV): Likewise.
5386         (tst-chk4-ENV): Likewise.
5387         (tst-chk5-ENV): Likewise.
5388         (tst-chk6-ENV): Likewise.
5389         (tst-lfschk1-ENV): Likewise.
5390         (tst-lfschk2-ENV): Likewise.
5391         (tst-lfschk3-ENV): Likewise.
5392         (tst-lfschk4-ENV): Likewise.
5393         (tst-lfschk5-ENV): Likewise.
5394         (tst-lfschk6-ENV): Likewise.
5395         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5396         (tst-iconv7-ENV): Likewise.
5397         * intl/Makefile (LOCPATH-ENV): Likewise.
5398         (tst-codeset-ENV): Likewise.
5399         (tst-gettext3-ENV): Likewise.
5400         (tst-gettext5-ENV): Likewise.
5401         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5402         (tst-fopenloc-ENV): Likewise.
5403         (tst-fgetws-ENV): Remove variable.
5404         (tst-ungetwc1-ENV): Likewise.
5405         (tst-ungetwc2-ENV): Likewise.
5406         (bug-ungetwc2-ENV): Likewise.
5407         (tst-swscanf-ENV): Likewise.
5408         (bug-ftell-ENV): Likewise.
5409         (tst-fgetwc-ENV): Likewise.
5410         (tst-fseek-ENV): Likewise.
5411         (tst-ftell-partial-wide-ENV): Likewise.
5412         (tst-ftell-active-handler-ENV): Likewise.
5413         (tst-ftell-append-ENV): Likewise.
5414         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5415         (tst-regexloc-ENV): Likewise.
5416         (bug-regex1-ENV): Likewise.
5417         (tst-regex-ENV): Likewise.
5418         (tst-regex2-ENV): Likewise.
5419         (bug-regex5-ENV): Likewise.
5420         (bug-regex6-ENV): Likewise.
5421         (bug-regex17-ENV): Likewise.
5422         (bug-regex18-ENV): Likewise.
5423         (bug-regex19-ENV): Likewise.
5424         (bug-regex20-ENV): Likewise.
5425         (bug-regex22-ENV): Likewise.
5426         (bug-regex23-ENV): Likewise.
5427         (bug-regex25-ENV): Likewise.
5428         (bug-regex26-ENV): Likewise.
5429         (bug-regex30-ENV): Likewise.
5430         (bug-regex32-ENV): Likewise.
5431         (bug-regex33-ENV): Likewise.
5432         (bug-regex34-ENV): Likewise.
5433         (bug-regex35-ENV): Likewise.
5434         (tst-rxspencer-ENV): Likewise.
5435         (tst-rxspencer-no-utf8-ENV): Likewise.
5436         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5437         (tst-sscanf-ENV): Likewise.
5438         (tst-swprintf-ENV): Likewise.
5439         (tst-swscanf-ENV): Likewise.
5440         (test-vfprintf-ENV): Likewise.
5441         (scanf13-ENV): Likewise.
5442         (bug14-ENV): Likewise.
5443         (tst-grouping-ENV): Likewise.
5444         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5445         (tst-strtod3-ENV): Likewise.
5446         (tst-strtod4-ENV): Likewise.
5447         (tst-strtod5-ENV): Likewise.
5448         (testmb2-ENV): Likewise./
5449         * string/Makefile (tst-strxfrm-ENV): Likewise.
5450         (tst-strxfrm2-ENV): Likewise.
5451         (bug-strcoll1-ENV): Likewise.
5452         (test-strcasecmp-ENV): Likewise.
5453         (test-strncasecmp-ENV): Likewise.
5454         * time/Makefile (tst-strptime-ENV): Likewise.
5455         (tst-ftime_l-ENV): Likewise.
5456         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5457         (tst-mbrtowc-ENV): Likewise.
5458         (tst-wcrtomb-ENV): Likewise.
5459         (tst-mbrtowc2-ENV): Likewise.
5460         (tst-c16c32-1-ENV): Likewise.
5461         (tst-mbsnrtowcs-ENV): Likewise.
5462
5463 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5464
5465         * manual/resource.texi (How to get information about the memory
5466         subsystem?): Fix typo.
5467         Reported by Peon de la Parra Ivan <peon@keba.com>
5468
5469 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5470
5471         [BZ #16882]
5472         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5473         (pthread_spin_lock): Branch out of spin loop to proper location.
5474         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5475         (pthread_spin_lock): Likewise.
5476
5477         * nptl/tst-spin4.c: New test.
5478         * nptl/Makefile (tests): Add tst-spin4.
5479
5480 2014-06-03  Andreas Schwab  <schwab@suse.de>
5481
5482         [BZ #15946]
5483         * resolv/res_send.c (send_dg): Reload file descriptor after
5484         calling reopen.
5485
5486 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5487
5488         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5489
5490 2014-06-03  Richard Henderson  <rth@redhat.com>
5491
5492         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5493         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5494         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5495         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5496         in the SAVE_PID block.
5497         (__libc_vfork): New alias.
5498         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5499
5500         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5501         child in registers, not on the stack.  Remove RESET_PID conditionals.
5502         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5503
5504 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5505
5506         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5507
5508 2014-06-03  Wilco  <wdijkstr@arm.com>
5509
5510         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5511         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5512         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5513         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5514         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5515         Likewise.
5516
5517 2014-06-03  Wilco  <wdijkstr@arm.com>
5518
5519         * sysdeps/aarch64/fpu/math_private.h
5520         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5521         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5522         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5523         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5524         Fix declarations.
5525
5526 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5527
5528         * crypt/crypt-private.h: Include ufc-crypt.h.
5529         (__b64_from_24bit): Declare extern.
5530         * crypt/crypt_util.c(__b64_from_24bit): New function.
5531         (b64t): New static const variable.
5532         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5533         (b64t): Remove variable.
5534         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5535         * crypt/sha256-crypt.c: Include crypt-private.h.
5536         (b64t): Remove variable.
5537         (__sha256_crypt_r): Remove b64_from_24bit and replace
5538         with __b64_from_24bit.
5539         * crypt/sha512-crypt.c: Likewise.
5540
5541 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5542
5543         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5544         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5545         Label the code __libc_vfork rather than __vfork.
5546         [!NOT_IN_libc] (vfork): Define as weak alias.
5547         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5548         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5549         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5550
5551 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5552
5553         * malloc/malloc.c (malloc_info): Fix format specifier for
5554         n_mmaps.
5555
5556 2014-06-02  Wilco  <wdijkstr@arm.com>
5557
5558         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5559         FPCR write.
5560
5561 2014-06-02  Wilco  <wdijkstr@arm.com>
5562
5563         [BZ #17009]
5564         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5565         Rewrite to reduce FPCR/FPSR accesses.
5566
5567 2014-06-01  David S. Miller  <davem@davemloft.net>
5568
5569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5570
5571 2014-05-31  David S. Miller  <davem@davemloft.net>
5572
5573         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5574         to occur in round to nearest mode when |x| >= 2.0
5575
5576 2014-05-30  Richard Henderson  <rth@twiddle.net>
5577
5578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5579         (PSEUDO_RET_NOERRNO): Remove.
5580         (ret): Don't redefine.
5581         (ret_NOERRNO): Define in terms of ret.
5582         (ret_ERRVAL): Likewise.
5583
5584         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5585         use of PSEUDO_RET; perform the error check directly.
5586
5587 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5588
5589         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5590         with __int128_t.
5591
5592 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5593
5594         * malloc/malloc (malloc_info): Fix formatting.
5595
5596 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5597             Roland McGrath  <roland@hack.frob.com>
5598
5599         * malloc/malloc (malloc_info): Also print mmapped statistics.
5600
5601 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5602
5603         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5604         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5605
5606 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5607
5608         * malloc/malloc.c (malloc_info): Inline mi_arena.
5609
5610 2014-05-29  Richard Henderson  <rth@twiddle.net>
5611
5612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5613         Remove comma before expanding ASM_ARGS_##nr.
5614         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5615         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5616         of ASM_ARGS_##nr.
5617         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5618         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5619         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5620         (ASM_ARGS_1): Add leading comma.
5621
5622         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5623         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5624         to __errno_location.
5625         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5626         Remove the expected plt for __errno_location.
5627
5628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5629         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5630         call to __read_tp.
5631
5632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5633         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5634         it and break it down.
5635         (DOCARGS_0, DOCARGS_1): Do nothing.
5636         (DOCARGS_2): Update to store into the new stack frame.
5637         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5638         (UNDOCARGS_1): Update to restore from the new stack frame.
5639         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5640         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5641
5642         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5643         (SINGLE_THREAD_P): New parameter for result regno.
5644         (PSEUDO): Update to match; use cbz instead of beq.
5645
5646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5647         Use ENTRY to define the _nocancel entry point.  Share the syscall
5648         and syscall error check paths with the cancel path.
5649         (PSEUDO_END): New.
5650
5651         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5652         whitespace; tabs before and after asm mnemonics.
5653
5654 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5655
5656         [BZ #15132]
5657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5658         Call fstat64 or stat64 internally, depending on arguments passed.
5659         Replace stat buffer argument with file descriptor argument.
5660         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5661         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5662         Pass fd to __internal_statvfs instead of calling fstat64.
5663         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5664         Pass fd to __internal_statvfs64 instead of calling fstat64.
5665         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5666         Pass -1 to __internal_statvfs instead of calling stat64.
5667         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5668         Pass -1 to __internal_statvfs64 instead of calling stat64.
5669
5670 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5671
5672         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5673         that was previously under [RESET_PID].
5674         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5675
5676         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5677         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5678
5679 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5680
5681         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5682
5683         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5684         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5685
5686 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5687
5688         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5689
5690 2014-05-27  Andreas Schwab  <schwab@suse.de>
5691
5692         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5693         TLS_INIT_TP macro.
5694         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5695         * elf/rtld.c (init_tls, dl_main): Likewise.
5696         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5697         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5698         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5699         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5700         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5701         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5702         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5703         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5704         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5705         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5706         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5707         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5708         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5709         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5710         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5711         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5712         * sysdeps/generic/tls.h: Update description.
5713
5714 2014-05-27  Will Newton  <will.newton@linaro.org>
5715
5716         [BZ #16990]
5717         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5718         and restore r2 rather than just restoring.
5719
5720 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5721
5722         [BZ #16724]
5723         * libio/tst-ftell-append.c: New test case.
5724         * libio/Makefile (tests): Add test case.
5725         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5726         append mode.
5727         * libio/wfileops.c (do_ftell_wide): Likewise.
5728
5729 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5730
5731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5732
5733         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5734         ...
5735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5737         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5738         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5740         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5742         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5744         Moved ...
5745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5747         Moved ...
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5749         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5750         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5752         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5753         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5754         ...
5755         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5756         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5757         Moved ...
5758         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5759         here.
5760         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5761         ...
5762         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5763         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5764         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5765
5766         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5767         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5768         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5769         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5770
5771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5772         merge into ...
5773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5775         ...
5776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5778         ...
5779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5781         Moved ...
5782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5783         here.
5784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5785         Moved ...
5786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5788         Moved ...
5789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5790
5791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5792         conditional [RESET_PID].
5793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5795         removed.
5796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5797         removed.
5798
5799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5800         <tcb-offsets.h>.
5801         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5802         (__libc_vfork): New strong alias.
5803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5804         removed.
5805         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5806         Removed.
5807
5808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5809         <tcb-offsets.h>.
5810         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5811         (__libc_vfork): New strong alias.
5812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5813         removed.
5814         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5815         removed.
5816
5817 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5818
5819         * malloc/malloc.c (mi_arena): New function.
5820         (malloc_info): Remove nested function mi_arena. Call non-nosted
5821         function mi_arena.
5822
5823 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5824
5825         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5826         by insrwi.
5827         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5828         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5829         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5830         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5831         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5832         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5833         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5834
5835 2014-05-26  Andreas Schwab  <schwab@suse.de>
5836
5837         [BZ #16984]
5838         * locale/programs/repertoire.c (repertoire_read): Add slash
5839         between I18NPATH element and file name.
5840         * locale/programs/locfile.c (locfile_read): Likewise.
5841
5842 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5843
5844         * nptl/pthread_mutexattr_settype.c
5845         (__pthread_mutexattr_settype):
5846         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5847
5848 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5849
5850         * nptl/tst-mutex5 (do_test):
5851         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5852
5853 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5854
5855         * benchtests/README: Document 'init' directive.
5856         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5857         BENCH_INIT.
5858         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5859         (parse_file): Recognize 'init' directive.
5860
5861 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5862
5863         [BZ #16796]
5864         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5865         alignment of struct pthread.
5866
5867 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5868
5869         [BZ #16878]
5870         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5871         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5872         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5873         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5874
5875 2014-05-25  Richard Henderson  <rth@twiddle.net>
5876
5877         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5878         (SINGLE_THREAD_P_PIC): Remove.
5879         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5880         (SINGLE_THREAD_P_PIC): Remove.
5881
5882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5883         branch to syscall error ...
5884         (PSEUDO): ... here.
5885         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5886         from __local_syscall_error to .Lsyscall_error.
5887         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5888         (SYSCALL_ERROR): Update label name.
5889
5890         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5891         Do not use DOARGS/UNDOARGS.
5892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5893         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5894         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5895         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5896         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5897
5898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5899         block comment.
5900
5901         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5902         define if !NOT_IN_libc.
5903         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5904         define with non-default symbol versions.
5905
5906 2014-05-23  Richard Henderson  <rth@twiddle.net>
5907
5908         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5909         (vfork, __vfork): Define via compat_symbol.
5910
5911         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5912         [!HAVE_IFUNC] (vfork_compat): Remove.
5913         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5914
5915 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5916
5917         [BZ #16978]
5918         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5919         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5920         variable.
5921
5922 2014-05-23  Richard Henderson  <rth@twiddle.net>
5923
5924         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5925         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5926         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5927         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5928
5929         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5930         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5931         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5932         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5933         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5934         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5935         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5936         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5937         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5938         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5939         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5940         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5941         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5942         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5943         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5944         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5945         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5946         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5947         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5948         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5949         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5950         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5951         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5952         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5953         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5954         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5955         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5956         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5957         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5958         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5959         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5960         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5961         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5962         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5963         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5964         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5965         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5966         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5967         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5968         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5969         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5970         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5971         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5972         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5973         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5974         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5975         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5976         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5977         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5978         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5979         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5980         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5981         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5982         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5983         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5984         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5985
5986         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5987         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5988         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5989         before exiting on error.
5990         (__libc_vfork): New strong alias.
5991         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5992         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5993
5994         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5995         that was previously under [RESET_PID].
5996         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5997
5998         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5999
6000 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6001
6002         [BZ #16977]
6003         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6004         value when x - 1 is zero.
6005         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6006         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6007         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6008         0.0L for an argument of 1.0L.
6009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6010         Likewise.
6011         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6012         value when x - 1 is zero.
6013         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6014         * sysdeps/i386/fpu/libm-test-ulps: Update.
6015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6016
6017 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6018
6019         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6020         alphasort and versionsort.
6021
6022 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6023
6024         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6025         macro.
6026         [copysignf]: Likewise.
6027
6028 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6029
6030         * crypt/md5-crypt.c: Fix formatting.
6031
6032 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6033
6034         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6035         (b64_from_24bit): New function.
6036
6037 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6038
6039         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6040         libc_hidden_builtin_def to ifunc.
6041         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6042         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6043
6044 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6045
6046         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6047         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6048
6049 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6050
6051         * nscd/Depend (linuxthreads): Remove.
6052         (nptl): Add.
6053         * resolv/Depend (linuxthreads): Remove.
6054         * rt/Depend (linuxthreads): Remove.
6055
6056         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6057         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6058         $(common-objpfx)elf/.
6059         (link-libc-before-gnulib): Likewise.
6060         (elfobjdir): Remove variable.
6061         * Makefile (install): Use $(elf-objpfx) instead of
6062         $(common-objpfx)elf/.
6063         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6064         $(elfobjdir)/.
6065         (link-libc-deps): Likewise.
6066         ($(common-objpfx)libc.so): Likewise.
6067         ($(common-objpfx)linkobj/libc.so): Likewise.
6068         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6069         instead of $(common-objpfx)elf/.
6070         (symbolic-link-list): Likewise.
6071         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6072         [$(cross-compiling) = no]: Likewise.
6073         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6074         $(elfobjdir)/.
6075         (static-gnulib-arch): Likewise.
6076         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6077         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6078         $(common-objpfx)elf/.
6079
6080 2014-05-21  Richard Henderson  <rth@redhat.com>
6081
6082         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6083         (SINGLE_THREAD_P): Use the correct width load.  Fold
6084         into the ldr offset.
6085
6086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6087         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6088
6089 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6090
6091         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6092         (libgcc_s_resume): Use __attribute_used__.
6093         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6094         Likewise.
6095
6096 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6097
6098         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6099         optimization when used with float constants.
6100
6101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6102
6103 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6104
6105         [BZ #16915]
6106         * locale/nl_langinfo_l.c: Make direct reference to every
6107         _nl_current_CATEGORY symbol.
6108         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6109         (tests-static): Add tst-langinfo-static.
6110         (tests-special): Add tst-langinfo-static.out.
6111         ($(objpfx)tst-langinfo.out): Redirect output.
6112         ($(objpfx)tst-langinfo-static.out): New.
6113         * localedata/tst-langinfo.sh: Send output to stdout.
6114         * localedata/tst-langinfo-static.c: New file.
6115
6116         [BZ #16965]
6117         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6118         when the shift amount is modulo the limb size.
6119
6120 2014-05-20  Richard Henderson  <rth@redhat.com>
6121
6122         [BZ #16967]
6123         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6124         Change type of sa_flags from unsigned int to int.
6125
6126         [BZ #16966]
6127         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6128
6129         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6130
6131 2014-05-20  Will Newton  <will.newton@linaro.org>
6132
6133         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6134         Test the return value of the system call in the nocancel case.
6135
6136 2014-05-20  Will Newton  <will.newton@linaro.org>
6137             Yvan Roux  <yvan.roux@linaro.org>
6138
6139         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6140         #include of asm/ptrace.h.
6141         (PTRACE_GET_THREAD_AREA): Remove #undef.
6142         (PTRACE_GETHBPREGS): Likewise.
6143         (PTRACE_SETHBPREGS): Likewise.
6144         (struct user_regs_struct): New structure.
6145         (struct user_fpsimd_struct): New structure.
6146         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6147         #include of asm/ptrace.h and second #include of sys/user.h.
6148         (PTRACE_GET_THREAD_AREA): Remove #undef.
6149         (PTRACE_GETHBPREGS): Likewise.
6150         (PTRACE_SETHBPREGS): Likewise.
6151         (ELF_NGREG): Use new struct user_regs_struct.
6152         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6153
6154 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6155
6156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6157         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6158
6159 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6160
6161         [BZ #16958]
6162         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6163         membar to avoid block loads/stores to overlap previous stores.
6164
6165 2014-05-17  Richard Henderson  <rth@redhat.com>
6166
6167         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6168         Create the __##syscall_name##_nocancel entry point.
6169         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6170         Remove; let the sysdep-cancel.h code create it.
6171
6172 2014-05-17  David S. Miller  <davem@davemloft.net>
6173
6174         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6175         Protect with __USE_GNU.
6176         (TIOCSET_TEMPT): Likewise.
6177         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6178         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6179         these are already provided in bits/ioctl-types.h
6180
6181 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6182
6183         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6184         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6185
6186         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6187         Use wait4 regardless of [__NR_waitpid].
6188
6189 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6190
6191         PR libgcc/60166
6192         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6193         (_FP_NANSIGN_Q): Set the quiet bit.
6194
6195 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6196
6197         * benchtests/Makefile
6198         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6199         not $(common-objpfx)math/libm.so.
6200         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6201         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6202         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6203         $(common-objpfx)dlfcn/libdl.so.
6204         ($(objpfx)tst-audit8): Depend on $(libm), not
6205         $(common-objpfx)math/libm.so.
6206         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6207         not $(common-objpfx)dlfcn/libdl.so.
6208         * math/Makefile
6209         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6210         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6211         [$(build-shared) = yes].
6212         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6213         $(common-objpfx)nptl/libpthread.so.
6214         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6215         $(common-objpfx)math/libm.so$(libm.so-version) or
6216         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6217         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6218         $(common-objpfx)dlfcn/libdl.so.
6219         * setjmp/Makefile (link-libm): Remove variable.
6220         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6221         * stdio-common/Makefile (link-libm): Remove variable.
6222         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6223         * stdlib/Makefile (link-libm): Remove variable.
6224         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6225         ($(objpfx)tst-strtod-round): Likewise.
6226         ($(objpfx)tst-tininess): Likewise.
6227         ($(objpfx)tst-strtod-underflow): Likewise.
6228         ($(objpfx)tst-strtod6): Likewise.
6229         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6230         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6231         $(common-objpfx)dlfcn/libdl.so.
6232
6233 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6234
6235         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6236         BSD terminal modes definitions.
6237
6238 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6239
6240         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6241         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6242
6243         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6244         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6245         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6246         Don't do #include_next.
6247         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6248         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6249         Don't do #include_next.
6250         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6251         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6252         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6253         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6254
6255 2014-05-16  Allan McRae  <allan@archlinux.org>
6256
6257         * po/sv.po: Update Swedish translation from translation project.
6258
6259         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6260         in sed expression.
6261
6262 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6263
6264         [BZ #16917]
6265         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6266         errno if the TIOCGPTN ioctl fails with an error different than
6267         EINVAL.
6268         * login/tst-ptsname.c: New file.
6269         * login/Makefile (tests): Add tst-ptsname.
6270
6271         [BZ #16943]
6272         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6273         and prlimit64.
6274
6275 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6276
6277         [BZ #16849]
6278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6279         herrno to return EAI_AGAIN.
6280
6281 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6282
6283         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6284         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6285         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6286         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6288         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6289         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6290         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6292         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6293         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6294         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6295         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6296         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6298         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6300         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6301         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6302         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6303         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6304         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6306         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6307         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6308         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6309         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6310         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6312         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6314         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6316         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6318         Moved ...
6319         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6321         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6323         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6325         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6327         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6329         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6331         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6333         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6335         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6337         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6339         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6341         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6343         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6345         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6347         Moved ...
6348         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6350         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6352         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6354         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6356         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6358         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6360         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6362         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6364         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6366         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6368         Moved ...
6369         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6371         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6372
6373         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6374         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6375         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6376         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6377         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6378         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6379         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6381         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6382         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6383         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6384         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6385         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6386         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6387         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6388         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6389         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6390         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6391         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6392         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6393         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6394         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6395         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6397         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6398         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6399         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6400         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6401         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6403         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6404
6405         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6406         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6407
6408         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6409         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6410         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6412         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6414         Moved ...
6415         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6417         Moved ...
6418         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6420         Moved ...
6421         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6423         Moved ...
6424         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6426         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6428         Moved ...
6429         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6430         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6431         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6432         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6433         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6434         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6435         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6436         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6437         Moved ...
6438         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6440         Moved ...
6441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6442         ... here.
6443         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6444         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6446         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6448         Moved ...
6449         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6450         ... here.
6451         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6452         Moved ...
6453         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6455         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6457         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6459         Moved ...
6460         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6462         Moved ...
6463         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6465         Moved ...
6466         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6468         Moved ...
6469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6470         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6471         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6473         Moved ...
6474         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6475         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6476         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6477         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6478         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6479         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6480         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6481         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6482         Moved ...
6483         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6485         Moved ...
6486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6487         ... here.
6488         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6489         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6490         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6491         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6492         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6493         Moved ...
6494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6495         ... here.
6496         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6497         Moved ...
6498         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6499         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6500         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6501         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6502         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6503         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6504         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6505         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6506         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6507         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6508         Moved ...
6509         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6511         Moved ...
6512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6514         Moved ...
6515         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6517         Moved ...
6518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6519         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6520         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6521         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6522         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6524         Moved ...
6525         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6526         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6527         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6528         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6529         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6530         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6531         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6533         Moved ...
6534         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6536         Moved ...
6537         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6538         ... here.
6539         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6540         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6541         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6542         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6544         Moved ...
6545         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6546         ... here.
6547         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6548         Moved ...
6549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6550         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6551         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6552         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6553         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6554         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6555         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6556         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6557         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6558         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6559         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6560
6561         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6562         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6563
6564         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6565         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6566
6567         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6568         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6569         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6570         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6571         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6572         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6573         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6574         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6575         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6576         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6577         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6578         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6580         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6581         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6583         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6585         Moved ...
6586         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6588         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6590         Moved ...
6591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6592         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6595         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6597         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6599         Moved ...
6600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6602         Moved ...
6603         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6604         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6605         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6607         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6609         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6610         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6611         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6612         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6613         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6614         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6615         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6616         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6617         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6618         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6619         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6620
6621         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6622         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6623         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6624         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6625         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6626
6627         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6628         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6629         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6630         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6631         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6632         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6633         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6634         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6635         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6636         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6637
6638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6639         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6640
6641         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6642         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6643         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6644         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6645         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6646         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6647         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6648         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6649         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6650         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6651         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6652         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6653         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6654         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6656         Update #include.
6657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6658         Likewise.
6659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6660         Likewise.
6661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6662         Likewise.
6663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6664         Likewise.
6665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6666         Likewise.
6667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6668         Likewise.
6669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6670         Likewise.
6671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6672         Likewise.
6673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6674         Likewise.
6675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6680         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6681         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6682         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6683         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6684         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6685         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6686         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6687         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6688         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6689         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6690
6691         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6692         that was previously under [RESET_PID].
6693         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6694         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6695         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6696
6697         * sysdeps/i386/nptl/Implies: New file.
6698         * sysdeps/x86_64/nptl/Implies: New file.
6699         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6700         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6701         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6702         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6703
6704         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6705         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6706         (__libc_vfork): New strong alias.
6707         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6708         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6709
6710         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6711         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6712         (__libc_vfork): New strong alias.
6713         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6714         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6715
6716         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6717         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6718         (__libc_vfork): New strong alias.
6719         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6720         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6721         * nptl/pt-vfork.c: New file.
6722         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6723         (libpthread: GLIBC_2.20): New version set (empty).
6724
6725 2014-05-14  Will Newton  <will.newton@linaro.org>
6726
6727         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6728         rather than #if.
6729
6730 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6731
6732         [BZ #16564]
6733         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6734         arguments with exponent 65 or above.
6735         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6736         arguments 0x1p113L or above.
6737         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6738         to arguments 0x1p107L or above.
6739         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6740         positive arguments with exponent 65 or above.
6741         * math/auto-libm-test-in: Add more tests of log1p.
6742         * math/auto-libm-test-out: Regenerated.
6743
6744         [BZ #16928]
6745         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6746         non-finite arguments is +0.
6747         * math/s_cacosf.c (__cacosf): Likewise.
6748         * math/s_cacosl.c (__cacosl): Likewise.
6749         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6750         * sysdeps/i386/fpu/libm-test-ulps: Update.
6751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6752
6753         [BZ #16927]
6754         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6755         value.
6756         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6757         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6758         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6759         for explicit high bit of mantissa when testing for argument equal
6760         to 1.
6761         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6762         * sysdeps/i386/fpu/libm-test-ulps: Update.
6763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764
6765         [BZ #16516]
6766         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6767         (__erf): Scale by 16 instead of 8 in potentially underflowing
6768         case.  Ensure exception if result actually underflows.
6769         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6770         (__erff): Scale by 16 instead of 8 in potentially underflowing
6771         case.  Ensure exception if result actually underflows.
6772         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6773         (efx8): Remove variable.
6774         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6775         case.  Ensure exception if result actually underflows.
6776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6777         (efx8): Remove variable.
6778         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6779         case.  Ensure exception if result actually underflows.
6780         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6781         (efx8): Remove variable.
6782         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6783         case.  Ensure exception if result actually underflows.
6784         * math/auto-libm-test-in: Add more tests of erf.
6785         * math/auto-libm-test-out: Regenerated.
6786
6787 2014-05-14  Andreas Schwab  <schwab@suse.de>
6788
6789         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6790         Remove code conditionalized on USE___THREAD.
6791
6792         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6793         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6794         not definedness.
6795
6796 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6797
6798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6799         Define unconditionally.
6800         (__ASSUME_O_CLOEXEC): Likewise.
6801         (__ASSUME_SOCK_CLOEXEC): Likewise.
6802         (__ASSUME_IN_NONBLOCK): Likewise.
6803         (__ASSUME_PIPE2): Likewise.
6804         (__ASSUME_EVENTFD2): Likewise.
6805         (__ASSUME_SIGNALFD4): Likewise.
6806         (__ASSUME_DUP3): Likewise.
6807         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6808         (__ASSUME_DUP3): Do not define.
6809         (__ASSUME_EVENTFD2): Likewise.
6810         (__ASSUME_IN_NONBLOCK): Likewise.
6811         (__ASSUME_O_CLOEXEC): Likewise.
6812         (__ASSUME_PIPE2): Likewise.
6813         (__ASSUME_SIGNALFD4): Likewise.
6814         (__ASSUME_SOCK_CLOEXEC): Likewise.
6815         (__ASSUME_UTIMES): Undefine.
6816         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6817         (__ASSUME_UTIMES): Do not define.
6818         (__ASSUME_O_CLOEXEC): Likewise.
6819         (__ASSUME_SOCK_CLOEXEC): Likewise.
6820         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6821         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6822         0x020621].
6823         (__ASSUME_PIPE2): Likewise.
6824         (__ASSUME_EVENTFD2): Likewise.
6825         (__ASSUME_SIGNALFD4): Likewise.
6826         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6827         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6828         Do not define.
6829         (__ASSUME_EVENTFD2): Likewise.
6830         (__ASSUME_SIGNALFD4): Likewise.
6831         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6832         (__ASSUME_32BITUIDS): Likewise.
6833         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6834         (__ASSUME_IPC64): Likewise.
6835         (__ASSUME_ST_INO_64_BIT): Likewise.
6836         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6837         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6838         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6839         (__ASSUME_UTIMES): Do not define.
6840         (__ASSUME_PSELECT): Likewise.
6841         (__ASSUME_PPOLL): Likewise.
6842         (__ASSUME_O_CLOEXEC): Likewise.
6843         (__ASSUME_SOCK_CLOEXEC): Likewise.
6844         (__ASSUME_IN_NONBLOCK): Likewise.
6845         (__ASSUME_PIPE2): Likewise.
6846         (__ASSUME_EVENTFD2): Likewise.
6847         (__ASSUME_SIGNALFD4): Likewise.
6848         (__ASSUME_DUP3): Likewise.
6849         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6850         (__ASSUME_UTIMES): Likewise.
6851         (__ASSUME_O_CLOEXEC): Likewise.
6852         (__ASSUME_SOCK_CLOEXEC): Likewise.
6853         (__ASSUME_IN_NONBLOCK): Likewise.
6854         (__ASSUME_PIPE2): Likewise.
6855         (__ASSUME_EVENTFD2): Likewise.
6856         (__ASSUME_SIGNALFD4): Likewise.
6857         (__ASSUME_DUP3): Likewise.
6858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6859         (__ASSUME_UTIMES): Likewise.
6860         (__ASSUME_O_CLOEXEC): Likewise.
6861         (__ASSUME_SOCK_CLOEXEC): Likewise.
6862         (__ASSUME_IN_NONBLOCK): Likewise.
6863         (__ASSUME_PIPE2): Likewise.
6864         (__ASSUME_EVENTFD2): Likewise.
6865         (__ASSUME_SIGNALFD4): Likewise.
6866         (__ASSUME_DUP3): Likewise.
6867         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6868         Likewise.
6869         (__ASSUME_UTIMES): Likewise.
6870         (__ASSUME_EVENTFD2): Likewise.
6871         (__ASSUME_SIGNALFD4): Likewise.
6872         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6873         (__ASSUME_O_CLOEXEC): Likewise.
6874         (__ASSUME_SOCK_CLOEXEC): Likewise.
6875         (__ASSUME_IN_NONBLOCK): Likewise.
6876         (__ASSUME_PIPE2): Likewise.
6877         (__ASSUME_EVENTFD2): Likewise.
6878         (__ASSUME_SIGNALFD4): Likewise.
6879         (__ASSUME_DUP3): Likewise.
6880         (__ASSUME_UTIMES): Undefine.
6881
6882         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6883         feclearexcept.  Remove symbol versioning code.
6884         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6885         symbol versioning code.
6886         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6887         symbol versioning code.
6888         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6889         feupdateenv.  Remove symbol versioning code.
6890         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6891         fegetexceptflag.  Remove symbol versioning code.
6892         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6893         fesetexceptflag.  Remove symbol versioning code.
6894         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6895         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6896         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6897         (__posix_fadvise64_l32): Remove prototype.
6898         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6899         code.
6900
6901 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6902
6903         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6904         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6905         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6906         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6907
6908 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6909
6910         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6911         current working directory
6912
6913 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6914
6915         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6916         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6917         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6918         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6919         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6920         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6921         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6922         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6923         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6924         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6925         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6926         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6927         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6928         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6930         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6931         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6932         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6933         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6934         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6935         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6936         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6937         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6938         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6939         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6940         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6941         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6942         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6943         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6944         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6945         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6946         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6947         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6948         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6949         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6950         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6951         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6952         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6953         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6954         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6955         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6956         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6957
6958         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6959         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6960
6961         * sysdeps/unix/sysv/linux/arm/Makefile
6962         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6963         Add rt-aeabi_unwind_cpp_pr1.
6964         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6965         Add nptl-aeabi_unwind_cpp_pr1.
6966         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6967         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6968         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6969         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6970         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6971         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6972
6973         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6974         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6975         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6976         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6977
6978         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6979         Deconditionalize the code that was previously under [RESET_PID].
6980         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6981
6982         * sysdeps/generic/exit-thread.h: New file.
6983         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6984         * include/unistd.h (__exit_thread): Remove declaration.
6985         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6986         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6987         * csu/libc-start.c: Include <exit-thread.h>.
6988         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6989         * nptl/pthread_create.c: Include <exit-thread.h>.
6990         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6991         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6992         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6993         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6994         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6995         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6996         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6997         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6998         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6999         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7000         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7001         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7002         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7003         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7004         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7005         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7006         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7007
7008 2014-05-13  Andreas Schwab  <schwab@suse.de>
7009
7010         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7011
7012 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7013
7014         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7015         (__ASSUME_UTIMES): Do not condition on kernel version.
7016         (__ASSUME_PSELECT): Define unconditionally.
7017         (__ASSUME_PPOLL): Likewise.
7018         (__ASSUME_ATFCTS): Likewise.
7019         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7020         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7021         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7022         (__ASSUME_UTIMENSAT): Define unconditionally.
7023         (__ASSUME_PRIVATE_FUTEX): Likewise.
7024         (__ASSUME_FALLOCATE): Likewise.
7025         (__ASSUME_O_CLOEXEC): Likewise.
7026         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7027         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7028         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7029         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7030         (__ASSUME_IN_NONBLOCK): Likewise.
7031         (__ASSUME_PIPE2): Likewise.
7032         (__ASSUME_EVENTFD2): Likewise.
7033         (__ASSUME_SIGNALFD4): Likewise.
7034         (__ASSUME_DUP3): Likewise.
7035         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7036         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7037         (__ASSUME_AT_RANDOM): Likewise.
7038         (__ASSUME_PREADV): Likewise.
7039         (__ASSUME_PWRITEV): Likewise.
7040         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7041         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7042         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7043         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7044         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7046         (__ASSUME_O_CLOEXEC): Define unconditionally.
7047         (__ASSUME_PSELECT): Do not undefine conditionally.
7048         (__ASSUME_PPOLL): Likewise.
7049         (__ASSUME_ATFCTS): Likewise.
7050         (__ASSUME_SET_ROBUST_LIST): Likewise.
7051         (__ASSUME_UTIMENSAT): Likewise.
7052         (__ASSUME_FDATASYNC): Define unconditionally.
7053         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7054         (__ASSUME_SIGFRAME_V2): Likewise.
7055         )__ASSUME_EVENTFD2): Likewise.
7056         (__ASSUME_SIGNALFD4): Likewise.
7057         (__ASSUME_PSELECT): Do not undefine conditionally.
7058         (__ASSUME_PPOLL): Likewise.
7059         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7060         (__ASSUME_PSELECT): Define unconditionally.
7061         (__ASSUME_PPOLL): Likewise.
7062         (__ASSUME_O_CLOEXEC): Likewise.
7063         (__ASSUME_SOCK_CLOEXEC): Likewise.
7064         (__ASSUME_IN_NONBLOCK): Likewise.
7065         (__ASSUME_PIPE2): Likewise.
7066         (__ASSUME_EVENTFD2): Likewise.
7067         (__ASSUME_SIGNALFD4): Likewise.
7068         (__ASSUME_DUP3): Likewise.
7069         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7070         (__ASSUME_O_CLOEXEC): Likewise.
7071         (__ASSUME_SOCK_CLOEXEC): Likewise.
7072         (__ASSUME_IN_NONBLOCK): Likewise.
7073         (__ASSUME_PIPE2): Likewise.
7074         (__ASSUME_EVENTFD2): Likewise.
7075         (__ASSUME_SIGNALFD4): Likewise.
7076         (__ASSUME_DUP3): Likewise.
7077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7078         (__ASSUME_EVENTFD2): Likewise.
7079         (__ASSUME_SIGNALFD4): Likewise.
7080         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7081
7082 2014-05-12  Andreas Schwab  <schwab@suse.de>
7083
7084         [BZ #16932]
7085         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7086         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7087         than maximum RPC packet size.
7088         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7089         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7090         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7091         (_nss_nis_getservbyport_r): Likewise.
7092
7093 2014-05-12  Will Newton  <will.newton@linaro.org>
7094
7095         * malloc/Makefile (tests): Add tst-mallopt.
7096         * malloc/tst-mallopt.c: New file.
7097
7098 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7099
7100         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7101         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7102
7103 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7104
7105         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7106         (tst-tlsmod6.so): Likewise.
7107
7108 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7109
7110         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7111
7112 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7113
7114         [BZ #16064]
7115         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7116         and <dl-procinfo.h>.
7117         (__fegetenv): Save SSE state in envp->__eip if supported.
7118         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7119         envp->__eip if supported.
7120         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7121         and <dl-procinfo.h>.
7122         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7123         __data_offset and __data_selector in environment to 0.  Set SSE
7124         state if supported.
7125         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7126         test-fenv-sse.
7127         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7128         -mfpmath=sse.
7129         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7130
7131 2014-05-09  Will Newton  <will.newton@linaro.org>
7132
7133         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7134         and libc_relro_required for ARM.
7135         * sysdeps/arm/preconfigure: Regenerate.
7136
7137 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7138             Stefan Liebler  <stli@linux.vnet.ibm.com>
7139
7140         * config.make.in (enable-lock-elision): New Makefile variable.
7141         * configure.ac: Likewise.
7142         * configure: Regenerate.
7143         * sysdeps/s390/configure.ac:
7144         Add check for gcc transactions support.
7145         * sysdeps/s390/configure: Regenerate.
7146         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7147         Build elision files if enabled.
7148         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7149         Add lock elision support for s390.
7150         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7151         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7152         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7153         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7154         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7155         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7156         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7157         Likewise.
7158         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7159         Likewise.
7160         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7161         Likewise.
7162         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7163         Likewise.
7164         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7165         (__lll_timedlock_elision, __lll_lock_elision)
7166         (__lll_unlock_elision, __lll_trylock_elision)
7167         (lll_timedlock_elision, lll_lock_elision)
7168         (lll_unlock_elision, lll_trylock_elision): Add.
7169         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7170         (pthread_mutex_t): Add lock elision support for s390.
7171
7172 2014-05-14  Wilco  <wdijkstr@arm.com>
7173
7174         * sysdeps/arm/fclrexcpt.c: Cleanup.
7175         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7176         * sysdeps/arm/feenablxcpt.c: Cleanup.
7177         * sysdeps/arm/fegetenv.c: Cleanup.
7178         * sysdeps/arm/fegetexcept.c: Cleanup.
7179         * sysdeps/arm/fegetround.c: Cleanup.
7180         * sysdeps/arm/feholdexcpt.c: Cleanup.
7181         * sysdeps/arm/fesetenv.c: Cleanup.
7182         * sysdeps/arm/fesetround.c: Cleanup.
7183         * sysdeps/arm/feupdateenv.c: Cleanup.
7184         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7185         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7186         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7187         * sysdeps/arm/ftestexcept.c: Cleanup.
7188         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7189         * sysdeps/arm/setfpucw.c: Cleanup.
7190
7191 2014-05-09  Will Newton  <will.newton@linaro.org>
7192
7193         * sysdeps/arm/armv7/strcmp.S: New file.
7194         * NEWS: Mention addition of ARMv7 optimized strcmp.
7195
7196 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7197
7198         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7199         look for %.ac rather than %.in.
7200
7201         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7202         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7203         * sysdeps/mach/hurd/configure: Regenerated.
7204         * sysdeps/unix/sysv/linux/configure: Regenerated.
7205
7206         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7207
7208 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7209
7210         [BZ# 16922]
7211         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7212         (LONG_SUB): Ditto.
7213         (PTR_SUB): Ditto.
7214
7215 2014-05-07  Andreas Schwab  <schwab@suse.de>
7216
7217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7218         when skipping over non-matching result from nscd.
7219
7220 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7221
7222         [BZ #16876]
7223         * nptl/sockperf.c (client): Check socket return value.
7224
7225         [BZ #16877]
7226         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7227         nscd security class.
7228
7229 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7230
7231         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7232         * sysdeps/arm/unwind.h: ... here.
7233
7234 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7235
7236         [BZ# 16916]
7237         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7238         Define.
7239
7240 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7241
7242         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7243         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7244         multiarch strncpy for PPC64.
7245         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7246         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7248         multiarch optimizations.
7249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7250         (__libc_ifunc_impl_list): Likewise.
7251         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7252         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7253         multiarch stpncpy for PPC64.
7254         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7255         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7256
7257 2014-05-06  Andreas Schwab  <schwab@suse.de>
7258
7259         [BZ #16912]
7260         * gmon/mcount.c (_MCOUNT_DECL): Use
7261         atomic_compare_and_exchange_bool_acq instead of
7262         catomic_compare_and_exchange_bool_acq.
7263
7264 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7265
7266         * elf/Makefile (others, install-bin): Remove pldd.
7267         (pldd-modules): Variable removed.
7268         ($(objpfx)pldd): Target removed.
7269         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7270         (others, install-bin): Append pldd here.
7271         ($(objpfx)pldd): New target.
7272
7273         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7274         to 0, so the first #if test emitted later doesn't see it undefined.
7275         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7276         * sysdeps/gnu/errlist.c: Regenerated.
7277
7278 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7279
7280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7281         [libc_hidden_builtin_def]: Define to empty value.
7282         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7283         [libc_hidden_builtin_def]: Likewise.
7284         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7285         [libc_hidden_builtin_def]: Likewise.
7286         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7287         [libc_hidden_builtin_def]: Likewise.
7288         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7289         __redirect_memcpy and define ifunc as default hidden symbol.
7290         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7291         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7292
7293 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7294
7295         * locale/iso-4217.def: Reintroduce XDR currency.
7296
7297 2014-05-04  Allan McRae  <allan@archlinux.org>
7298
7299         * po/eo.po: Update Esperanto translation from translation project.
7300
7301 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7302
7303         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7304         and FEATURE_INDEX_MAX to 1.
7305         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7306
7307 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7308
7309         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7310         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7311         * iconvdata/big5.c (ONE_DIRECTION): Define.
7312         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7313         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7314         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7315         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7316         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7317         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7318         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7319         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7320         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7321         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7322         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7323         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7324         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7325         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7326         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7327         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7328         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7329         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7330         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7331         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7332         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7333         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7334         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7335         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7336         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7337         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7338         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7339         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7340         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7341         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7342         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7343         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7344         * iconvdata/johab.c (ONE_DIRECTION): Define.
7345         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7346         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7347         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7348         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7349         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7350         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7351         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7352         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7353         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7354         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7355
7356 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7357
7358         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7359         (_IO_JUMPS_OFFSET): Define to 0.
7360
7361         * nptl/sysdeps/pthread/bits/libc-lock.h
7362         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7363         (__libc_lock_define_initialized_recursive): Always define using
7364         initializer.  Modern compilers treat uninitialized (implicit zero) and
7365         explicit zero initializers the same (i.e. put the datum in bss).
7366
7367 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7368
7369         * nscd/nscd-client.h: Include <string.h>.
7370
7371 2014-05-01  David S. Miller  <davem@davemloft.net>
7372
7373         [BZ #16885]
7374         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7375         multiple zero bytes exist at the end of a string.
7376         Reported by Aurelien Jarno <aurelien@aurel32.net>
7377
7378         * string/test-strcmp.c (check): Add explicit test for situations where
7379         there are multiple zero bytes after the first.
7380
7381 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7382
7383         [BZ #16890]
7384         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7385         when compiling wprintf.
7386         * stdio-common/tstdiomisc.c (t3): New function.
7387         (main): Call it.
7388
7389 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7390
7391         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7392         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7393         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7394         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7395
7396 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7397
7398         * stdlib/longlong.h: Updated from GCC.
7399
7400 2014-05-01  Will Newton  <will.newton@linaro.org>
7401             Bernard Ogden  <bernie.ogden@linaro.org>
7402
7403         * NEWS: Update fixed bug list.
7404
7405         [BZ #15119]
7406         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7407
7408 2014-04-30  David S. Miller  <davem@davemloft.net>
7409
7410         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7411         (libc_feholdexcept_setround_sparc_ctx): New function.
7412         (libc_fesetenv_sparc_ctx): Likewise.
7413         (libc_feupdateenv_sparc_ctx): Likewise.
7414         (libc_feholdsetround_sparc_ctx): Likewise.
7415         (libc_feholdexcept_setround_ctx): Define.
7416         (libc_feholdexcept_setroundf_ctx): Likewise.
7417         (libc_feholdexcept_setroundl_ctx): Likewise.
7418         (libc_fesetenv_ctx): Likewise.
7419         (libc_fesetenvf_ctx): Likewise.
7420         (libc_fesetenvl_ctx): Likewise.
7421         (libc_feupdateenv_ctx): Likewise.
7422         (libc_feupdateenvf_ctx): Likewise.
7423         (libc_feupdateenvl_ctx): Likewise.
7424         (libc_feresetround_ctx): Likewise.
7425         (libc_feresetroundf_ctx): Likewise.
7426         (libc_feresetroundl_ctx): Likewise.
7427         (libc_feholdsetround_ctx): Likewise.
7428         (libc_feholdsetroundf_ctx): Likewise.
7429         (libc_feholdsetroundl_ctx): Likewise.
7430
7431         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7432         with __USE_GNU instead of XOPEN cpp guards.
7433
7434         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7435         0.
7436
7437         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7438         with XOPEN cpp guards.
7439
7440 2014-04-30  Julian Brown  <julian@codesourcery.com>
7441
7442         [BZ #16888]
7443         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7444         handling.
7445
7446 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7447
7448         [BZ #9894]
7449         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7450         Change to 2.6.32.
7451         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7452         * sysdeps/unix/sysv/linux/configure: Regenerated.
7453         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7454         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7455         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7456         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7457         * README: Update reference to required Linux kernel version.
7458         * manual/install.texi (Linux): Update reference to required Linux
7459         kernel headers version.
7460         * INSTALL: Regenerated.
7461
7462         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7463         header inclusion.
7464         [POSIX] (limits.h): Likewise.
7465         [POSIX] (math.h): Likewise.
7466         [POSIX] (sys/wait.h): Likewise.
7467         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7468         function.
7469         [POSIX] (stddef.h): Do not allow header inclusion.
7470
7471 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7472
7473         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7474
7475 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7476
7477         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7478         Return immediately after lll_futex_wake.
7479
7480 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7481
7482         [BZ #16791]
7483         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7484         structure.
7485         (datahead_init_pos): Call datahead_init_common early.
7486         (datahead_init_neg): Likewise.
7487
7488         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7489         datahead_init_neg): New functions.
7490         * nscd/aicache.c (addhstaiX): Use them.
7491         * nscd/grpcache.c (cache_addgr): Likewise.
7492         * nscd/hstcache.c (cache_addhst): Likewise.
7493         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7494         * nscd/netgroupcache.c (do_notfound): Likewise.
7495         (addgetnetgrentX): Likewise.
7496         (addinnetgrX): Likewise.
7497         * nscd/pwdcache.c (cache_addpw): Likewise.
7498         * nscd/servicescache.c (cache_addserv): Likewise.
7499
7500 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7501             Atsushi Onoe  <atsushi@onoe.org>
7502
7503         [BZ #14308]
7504         [BZ #12994]
7505         [BZ #13651]
7506         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7507         one response is valid.
7508         * resolv/res_send.c (send_dg): Check for validity of other
7509         response if the current response is a referral.
7510
7511 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7512
7513         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7514
7515 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7516
7517         [BZ #16823]
7518         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7519         Always divide by positive zero when computing -Inf result.
7520         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7521         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7522
7523 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7524
7525         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7526         FPSCR if value do not change.
7527         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7528         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7529         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7530         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7531         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7532         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7533         function.
7534
7535 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7536
7537         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7538         * sysdeps/unix/sysv/linux/hppa: Move directory from
7539         ports/systeps/unix/sysv/linux/hppa.
7540         * README: Update listing for hppa-*-linux-gnu.
7541
7542 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7543
7544         [BZ #16754]
7545         * manual/stdio.texi (Hook functions): Fix types of stream hook
7546         functions.
7547         [BZ #16854]
7548         * socket/sys/socket.h: Fix typo in comment.
7549
7550 2014-04-28  Wilco  <wdijkstr@arm.com>
7551
7552         * sysdeps/arm/fenv_private.h: New file.
7553         * sysdeps/arm/math_private.h: New file.
7554         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7555
7556 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7557
7558         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7559         with __int128_t.
7560         (La_x86_64_retval): Likewise.
7561
7562 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7563
7564         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7565         fpsr if value didn't change.
7566         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7567         to fpcr if value didn't change.
7568         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7569         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7570         fpsr or fpcr if value didn't change.
7571         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7572         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7573         fpcr if value didn't change.
7574         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7575         to fpsr if value didn't change.
7576
7577 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7578
7579         * nptl/tst-sem3.c: Use test-skeleton.c
7580         (main): Rename to do_test.  Use return instead of
7581         exit.
7582         * nptl/tst-sem4.c: Use test-skeleton.c
7583         (main): Rename to do_test.
7584
7585 2014-04-22  David S. Miller  <davem@davemloft.net>
7586
7587         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7588         (struct sigaction): New struct member __glibc_reserved0, change
7589         type of sa_flags to int.
7590
7591 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7592
7593         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7594         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7595
7596 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7597
7598         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7599         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7600
7601 2014-04-22  Will Newton  <will.newton@linaro.org>
7602             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7603
7604         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7605         (__longjmp): Add longjmp and longjmp_target SystemTap
7606         probes.
7607         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7608         (__sigsetjmp): Add setjmp SystemTap probe.
7609
7610 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7611
7612         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7613         match manual order.
7614
7615 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7616
7617         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7618
7619         * sysdeps/powerpc/fpu/fenv_private.h
7620         (libc_feholdexcept_setroundl_ctx): Define to
7621         libc_feholdexcept_setround_ppc_ctx.
7622         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7623         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7624         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7625         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7626
7627 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7628
7629         * sysdeps/aarch64/math-tests.h: New file.
7630
7631 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7632
7633         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7634         New.
7635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7636         Check and set bit_AVX2_Usable.
7637         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7638         macro.
7639         (bit_AVX2): Likewise.
7640         (index_AVX2_Usable): Likewise.
7641         (CPUID_AVX2): Likewise.
7642         (HAS_AVX2): Likewise.
7643
7644 2014-04-17  Will Newton  <will.newton@linaro.org>
7645
7646         * manual/setjmp.texi (System V contexts): Add note that
7647         calling setcontext on a context created by a call to a
7648         signal handler is undefined.  Update text to note that
7649         setcontext from a signal handler is possible but not
7650         recommended.
7651
7652         [BZ #16629]
7653         * stdlib/tst-setcontext.c: Include signal.h.
7654         (main): Check that the signal stack before and
7655         after swapcontext is the same.
7656
7657         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7658         Re-implement to restore registers in user code and avoid
7659         rt_sigreturn system call.
7660
7661 2014-04-17  Wilco  <wdijkstr@arm.com>
7662
7663         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7664         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7665         * math/test-fenv.c: Skip exception trap tests on targets which only
7666         support non-stop mode.
7667
7668 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7669             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7670
7671         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7672         (libc_feholdsetround_aarch64_ctx)
7673         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7674         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7675         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7676         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7677         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7678         (libc_feresetround_noexl_ctx): Define.
7679
7680 2014-04-16  Richard Henderson  <rth@redhat.com>
7681
7682         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7683
7684         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7685         unwind tables.
7686
7687         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7688         const from the non-libc, non-ldso copy.
7689
7690         * sysdeps/alpha/libm-test-ulps: Regenerate.
7691
7692 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7693             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7694
7695         * sysdeps/aarch64/fpu/math_private.h: New file.
7696
7697 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7698
7699         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7700
7701 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7702
7703         [BZ #16275]
7704         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7705         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7706         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7707         Intel MPX bound registers before _dl_profile_fixup.
7708         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7709         registers after _dl_profile_fixup.  Save and restore bound
7710         registers bnd0/bnd1 when calling _dl_call_pltexit.
7711         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7712         (LR_BND_OFFSET): Likewise.
7713         (LRV_BND0_OFFSET): Likewise.
7714         (LRV_BND1_OFFSET): Likewise.
7715
7716 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7717
7718         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7719         to...
7720         * sysdeps/mach/hurd/i386/tls.h: ... here.
7721         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7722         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7723         fields.
7724
7725 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7726
7727         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7728
7729 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7730
7731         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7732
7733 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7734
7735         [BZ #14770]
7736         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7737         * sysdeps/s390/configure: Regenerate.
7738
7739         [BZ #16824]
7740         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7741         Set round-to-nearest internally to reduce error accumulation.
7742
7743 2014-04-16  Alan Modra  <amodra@gmail.com>
7744
7745         [BZ #16740]
7746         [BZ #16619]
7747         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7748         * math/libm-test.inc (frexp_test_data): Add tests.
7749         * NEWS: Update fixed bug list.
7750
7751 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7752
7753         * benchtests/Makefile: Depend on libraries in build directory.
7754         (bench-math): Separate out math tests.
7755         (bench-pthread): Separate out pthread tests.
7756         (bench): Include math and pthread tests.
7757
7758 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7759
7760         [BZ #16831]
7761         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7762         _dl_debug_initialize.
7763
7764         * configure.ac: Remove SELinux header check.
7765         * configure: Regenerate.
7766         * nscd/selinux.c (perms): Array of const char* to permission names.
7767         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7768         default policy. Call string_to_security_class and string_to_av_perm to
7769         translate strings. Enforce default policy and call avs_has_perm with
7770         results of translated strings.
7771
7772 2014-04-13  David S. Miller  <davem@davemloft.net>
7773
7774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7775
7776 2014-04-12  Allan McRae  <allan@archlinux.org>
7777
7778         [BZ #16838]
7779         * manual/string.texi (Collation Functions): Fix qsort argument
7780         order in example.
7781         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7782
7783 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7784
7785         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7786         Make the test a no-op if there are no exceptions defined.
7787
7788 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7789
7790         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7791         enable-hardcoded-path-in-tests
7792
7793 2014-04-11  Will Newton  <will.newton@linaro.org>
7794
7795         * benchtests/Makefile (extra-objs): Add json-lib.o.
7796         (bench-func): Tidy up JSON output.
7797         * benchtests/bench-skeleton.c: Include json-lib.h.
7798         (main): Use JSON library functions to do output of
7799         benchmark results.
7800         * benchtests/bench-timing-type.c (main): Output the
7801         timing type simply, leaving formatting to the user.
7802         * benchtests/json-lib.c: New file.
7803         * benchtests/json-lib.h: Likewise.
7804
7805 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7806
7807         [BZ #15215]
7808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7809         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7810         memory barriers.  Add comments.
7811         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7812         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7813         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7814         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7815         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7816         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7817
7818 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7819
7820         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7821         * sysdeps/s390/s390-64/configure.ac: ... this ...
7822         * sysdeps/s390/configure.ac: ... to here.
7823         * sysdeps/s390/s390-32/configure: Delete file.
7824         * sysdeps/s390/s390-64/configure: Delete file.
7825         * sysdeps/s390/configure: Regenerate.
7826
7827 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7828
7829         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7830
7831 2014-04-11  Will Newton  <will.newton@linaro.org>
7832
7833         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7834         to zero if it is not defined elsewhere.  (mtrim): Test
7835         the value of MALLOC_DEBUG with #if rather than #ifdef.
7836
7837 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7838
7839         * benchtests/pthread_once-inputs: New file.
7840         * benchtests/pthread_once-source.c: New file.
7841         * benchtests/README: Update documentation.
7842
7843 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7844             H.J. Lu  <hongjiu.lu@intel.com>
7845
7846         [BZ #16275]
7847         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7848         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7849         * sysdeps/x86_64/configure: Regenerated.
7850         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7851         macro.
7852         (REGISTER_SAVE_RAX): Likewise.
7853         (REGISTER_SAVE_RCX): Likewise.
7854         (REGISTER_SAVE_RDX): Likewise.
7855         (REGISTER_SAVE_RSI): Likewise.
7856         (REGISTER_SAVE_RDI): Likewise.
7857         (REGISTER_SAVE_R8): Likewise.
7858         (REGISTER_SAVE_R9): Likewise.
7859         (REGISTER_SAVE_BND0): Likewise.
7860         (REGISTER_SAVE_BND1): Likewise.
7861         (REGISTER_SAVE_BND2): Likewise.
7862         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7863         bound registers when calling _dl_fixup.
7864
7865 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7866
7867         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7868         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7869         of its definition.
7870         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7871         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7872         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7873         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7874         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7875         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7876         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7877
7878 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7879
7880         [BZ #15514]
7881         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7882         pathconf(_PC_NAME_MAX).
7883
7884 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7885
7886         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7887         Remove macro usage.
7888         (__PTHREAD_SPINS): Move definition to ...
7889         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7890         (__PTHREAD_SPINS): ... here.
7891         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7892         (__PTHREAD_SPIN): Likewise.
7893         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7894         (__PTHREAD_SPIN): Likewise.
7895         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7896         (__PTHREAD_SPIN): Likewise.
7897         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7898         (__PTHREAD_SPIN): Likewise.
7899         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7900         (__PTHREAD_SPIN): Likewise.
7901         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7902         (__PTHREAD_SPIN): Likewise.
7903         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7904         (__PTHREAD_SPIN): Likewise.
7905         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7906         (__PTHREAD_SPIN): Likewise.
7907         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7908         (__PTHREAD_SPIN): Likewise.
7909         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7910         (__PTHREAD_SPIN): Likewise.
7911         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7912         (__PTHREAD_SPIN): Likewise.
7913         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7914         (__PTHREAD_SPIN): Likewise.
7915
7916         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7917         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7918         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7919         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7920         imply folder.
7921         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7922         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7923         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7924         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7925         correct imply path.
7926         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7927         strlen symbol for non multi-arch builds.
7928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7929         missing hidden_def and weak_alias.
7930
7931 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7932
7933         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7934
7935 2014-04-07  Will Newton  <will.newton@linaro.org>
7936
7937         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7938         and contents.  [!_LIBC] Remove #ifndef and contents.
7939         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7940         * string/memccpy.c (__memccpy): Use ANSI prototype.
7941         * string/memfrob.c (memfrob): Likewise.
7942         * string/strcoll.c (STRCOLL): Likewise.
7943         * string/strlen.c (strlen): Likewise.
7944         * string/strtok.c (STRTOK): Likewise.
7945         * string/strcat.c: Remove unused #include of memcopy.h.
7946         (strcat): Use ANSI prototype.
7947         * string/strchr.c: Remove unused #include of memcopy.h.
7948         (strchr): Use ANSI prototype.
7949         * string/strcmp.c: Remove unused #include of memcopy.h.
7950         (strcmp): Use ANSI prototype.
7951         * string/strcpy.c: Remove unused #include of memcopy.h.
7952         (strcpy): Use ANSI prototype.
7953
7954 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7955
7956         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7957         * config.make.in (config-extra-cppflags): Set it from
7958         libc_extra_cppflags.
7959         * configure.ac (libc_extra_cflags): Make it accumulate over
7960         configure fragments.
7961         (libc_extra_cppflags): New flag.
7962         * configure. Regenerate.
7963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7964         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7965         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7967
7968         [BZ #16815]
7969         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7970         result for FE_DOWNWARD rounding mode.
7971         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7972         Likewise.
7973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7974
7975 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7976
7977         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7978         in function argument name.
7979
7980 2014-04-03  David Svoboda  <svoboda@cert.org>
7981
7982         [BZ #5666]
7983         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7984         explicitly.
7985
7986 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7987
7988         * elf/dl-unmap-segments.h: New file.
7989         * sysdeps/generic/ldsodefs.h
7990         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7991         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7992         * elf/dl-fptr.c: Likewise.
7993         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7994         * sysdeps/aarch64/tlsdesc.c: Likewise.
7995         * sysdeps/arm/tlsdesc.c: Likewise.
7996         * sysdeps/i386/tlsdesc.c: Likewise.
7997         * sysdeps/tile/dl-runtime.c: Likewise.
7998         * sysdeps/x86_64/tlsdesc.c: Likewise.
7999         * elf/dl-load.h: New file.
8000         * elf/dl-load.c: Include it.
8001         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8002         Macros moved to dl-load.h.
8003         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8004         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8005         Use _dl_unmap_segments in place of __munmap.
8006         Break out segment-mapping loop into ...
8007         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8008
8009 2014-04-03  Will Newton  <will.newton@linaro.org>
8010
8011         * elf/dl-lookup.c (do_lookup_x): Remove comment
8012         referring to nested function and move variable
8013         declarations down to before first use.
8014
8015 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8016
8017         [BZ #16799]
8018         [BZ #16800]
8019         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8020         with 0 numerator.
8021         * math/s_catanf.c (__catanf): Likewise.
8022         * math/s_catanh.c (__catanh): Likewise.
8023         * math/s_catanhf.c (__catanhf): Likewise.
8024         * math/s_catanhl.c (__catanhl): Likewise.
8025         * math/s_catanl.c (__catanl): Likewise.
8026         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8027         by positive zero when computing -Inf result.
8028         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8029         (catanh_test): Likewise.
8030         * sysdeps/i386/fpu/libm-test-ulps: Update.
8031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032
8033         [BZ #16789]
8034         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8035         instead of using underflowing value in computing result.
8036         * math/s_clog10.c (__clog10): Likewise.
8037         * math/s_clog10f.c (__clog10f): Likewise.
8038         * math/s_clog10l.c (__clog10l): Likewise.
8039         * math/s_clogf.c (__clogf): Likewise.
8040         * math/s_clogl.c (__clogl): Likewise.
8041         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8042         (clog10_test): Likewise.
8043         * sysdeps/i386/fpu/libm-test-ulps: Update.
8044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8045
8046 2014-04-02  Alan Modra  <amodra@gmail.com>
8047
8048         [BZ #16739]
8049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8050         output when value is near a power of two.  Use int64_t for lx and
8051         remove casts.  Use decimal rather than hex exponent constants.
8052         Don't use long double multiplication when double will suffice.
8053         * math/libm-test.inc (nextafter_test_data): Add tests.
8054         * NEWS: Add 16739 and 16786 to bug list.
8055
8056         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8057
8058         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8059
8060 2014-04-01  Will Newton  <will.newton@linaro.org>
8061
8062         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8063         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8064
8065 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8066
8067         [BZ #13347]
8068         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8069         * nptl/tst-setuid2.c: New file.
8070         * nptl/Makefile (xtests): Add tst-setuid2.
8071
8072 2014-04-01  Alan Modra  <amodra@gmail.com>
8073
8074         [BZ #16786]
8075         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8076
8077 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8078
8079         [BZ #6803]
8080         [BZ #6804]
8081         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8082         set errno as appropriate.
8083         * math/w_scalbf.c (__scalbf): Likewise.
8084         * math/w_scalbl.c (__scalbl): Likewise.
8085         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8086         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8087         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8088         Add more NaN tests.
8089
8090         [BZ #16349]
8091         * math/w_atan2.c: Include <errno.h>.
8092         (__atan2): Set errno for result underflowing to zero.
8093         * math/w_atan2f.c: Include <errno.h>.
8094         (__atan2f): Set errno for result underflowing to zero.
8095         * math/w_atan2l.c: Include <errno.h>.
8096         (__atan2l): Set errno for result underflowing to zero.
8097         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8098         tests.
8099         * math/auto-libm-test-out: Regenerated.
8100
8101 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8102
8103         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8104         Encode instruction correctly in little endian.
8105         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8106         Likewise.
8107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8108         Likewise.
8109         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8110         Likewise.
8111         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8112         Likewise.
8113
8114 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8115
8116         [BZ #9894]
8117         * sysdeps/unix/sysv/linux/kernel-features.h
8118         [__sparc__ && !__arch64__ && !__sparc_v9__]
8119         (__ASSUME_SET_ROBUST_LIST): Do not define.
8120         [__sparc__ && !__arch64__ && !__sparc_v9__]
8121         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8122         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8123         Likewise.
8124         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8125         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8126         (__ASSUME_REQUEUE_PI): Likewise.
8127         (__ASSUME_SET_ROBUST_LIST): Likewise.
8128         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8129         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8130         Undefine.
8131         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8132         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8133         Likewise.
8134         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8135         Likewise.
8136         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8137         Likewise.
8138         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8139         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8140         Undefine.
8141         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8142         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8143         Likewise.
8144
8145         [BZ #16648]
8146         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8148         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8149
8150 2014-03-31  Will Newton  <will.newton@linaro.org>
8151
8152         * benchtests/Makefile (bench): Add ffs and ffsll to list
8153         of tests.
8154         * benchtests/ffs-inputs: New file.
8155         * benchtests/ffsll-inputs: Likewise.
8156
8157 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8158
8159         [BZ #16770]
8160         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8161         too large before casting to int.
8162         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8163         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8164         * math/libm-test.inc (scalb_test_data): Add more tests.
8165
8166 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8167
8168         * benchtests/Makefile (DETAILED_OPT): New make option.
8169         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8170         set.
8171         * benchtests/bench-skeleton.c: Include stdbool.h.
8172         (main): Store and print timings per input.
8173         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8174         member to each argument value.
8175         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8176         (_print_arg_data): Initialize per-input timing to 0.
8177
8178         * benchtests/Makefile (timing-type): New binary.
8179         (bench-clean): Also remove bench-timing-type.
8180         (bench): New target for timing-type.
8181         (bench-func): Print output in JSON format.
8182         * benchtests/bench-skeleton.c (main): Print output in JSON
8183         format.
8184         * benchtests/bench-timing-type.c: New file.
8185         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8186         (TIMING_PRINT_STATS): Remove.
8187         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8188         name separately.
8189
8190         * benchtests/bench-modf.c: Remove.
8191         * benchtests/modf-inputs: New inputs file.
8192
8193 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8194
8195         [BZ #16362]
8196         * math/s_clog10.c (M_PI_LOG10E): New macro.
8197         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8198         imaginary parts are 0.
8199         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8200         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8201         imaginary parts are 0.
8202         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8203         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8204         imaginary parts are 0.
8205         * math/libm-test.inc (clog10_test_data): Update expected results
8206         for when real and imaginary parts are 0.
8207
8208 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8209
8210         * elf/dl-load.c: Finish conversion of __builtin_expect into
8211         __glibc_{un}likely.
8212
8213 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8214
8215         [BZ #16348]
8216         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8217         1+x for argument with exponent below -67.
8218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8219         Likewise.
8220         * math/auto-libm-test-in: Add more tests of exp.
8221         * math/auto-libm-test-out: Regenerated.
8222
8223 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8224
8225         [BZ #16759]
8226         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8227         (nscd_getnetgrent): Use it.
8228
8229         [BZ #16760]
8230         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8231         of stpcpy.
8232
8233 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8234
8235         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8236         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8237         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8238         (lll_robust_unlock): Remove out of line section. Use cfi
8239         intrinsics.
8240         (LLL_STUB_UNWIND_INFO*): Remove.
8241         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8242         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8243         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8244         (lll_robust_unlock): Remove out of line section. Use cfi
8245         intrinsics.
8246         (LLL_STUB_UNWIND_INFO*): Remove.
8247
8248 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8249
8250         [BZ #16758]
8251         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8252         blank values.
8253
8254 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8255
8256         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8257
8258 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8259
8260         [BZ #16198]
8261         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8262         fnstenv.
8263         * math/test-fenv-preserve.c: New file.
8264         * math/Makefile (tests): Add test-fenv-preserve.
8265
8266 2014-03-26  Will Newton <will.newton@linaro.org>
8267
8268         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8269
8270 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8271
8272         * scripts/versionlist.awk: Partition the version sets and emit all
8273         GLIBC_* (sorted) before all others (sorted).
8274
8275 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8276
8277         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8278         GLIBC_2.2.5 version.
8279
8280 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8281
8282         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8283         calls.
8284
8285         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8286         previous change.
8287
8288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8289
8290 2014-03-25  Andreas Schwab  <schwab@suse.de>
8291
8292         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8293         label to be used after in6ailist is initialized.
8294
8295 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8296
8297         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8298         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8299
8300 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8301
8302         [BZ #16357]
8303         [BZ #16599]
8304         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8305         min_plus_half.
8306         (fp_formats): Update initializers.
8307         (init_fp_formats): Initialize new field.
8308         (output_for_one_input_case): Allow underflow for results up to
8309         min_plus_half.
8310         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8311         * math/auto-libm-test-in: Don't mark some underflows from asin and
8312         atanh as spurious.
8313         * math/auto-libm-test-out: Regenerated.
8314         * sysdeps/i386/fpu/libm-test-ulps: Update.
8315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8316
8317 2014-03-25  Andreas Schwab  <schwab@suse.de>
8318
8319         * libio/Makefile (tst-ftell-partial-wide-ENV)
8320         (tst-ftell-active-handler-ENV): Define.
8321
8322 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8323
8324         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8325
8326 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8327
8328         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8329
8330 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8331
8332         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8333         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8334         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8335
8336 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8337
8338         [BZ #16634]
8339         * elf/dl-load.c (open_verify): Add mode parameter.
8340         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8341         (open_path): Change from boolean 'secure' to complete flag 'mode'
8342         (_dl_map_object): Adjust.
8343         * elf/Makefile (tests): Add tst-dlopen-aout.
8344         * elf/tst-dlopen-aout.c: New test.
8345
8346 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8347
8348         [BZ #16714]
8349         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8350         (struct stat): Rename member pad0 to __glibc_reserved0.
8351
8352         [BZ #16712]
8353         * sysdeps/s390/s390-32/bits/wordsize.h
8354         (__WORDSIZE32_SIZE_ULONG): New define.
8355         * sysdeps/s390/s390-64/bits/wordsize.h
8356         (__WORDSIZE32_SIZE_ULONG): Likewise.
8357         * sysdeps/generic/stdint.h (SIZE_MAX):
8358         Define as UL if __WORDSIZE32_SIZE_ULONG.
8359
8360         [BZ #16713]
8361         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8362         (__glibc_reserved0): New variable.
8363         (sa_flags): Change type to int.
8364
8365         * posix/Makefile (before-compile): Use += before-compile instead
8366         of a :=.
8367
8368         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8369         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8370
8371 2014-03-20  Andreas Schwab  <schwab@suse.de>
8372
8373         [BZ #16743]
8374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8375         non-matching result from nscd.
8376
8377 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8378
8379         * scripts/bench.py: Moved to ...
8380         * benchtests/scripts/bench.py: ... here.
8381         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8382
8383 2014-03-24  Andreas Schwab  <schwab@suse.de>
8384
8385         [BZ #16002]
8386         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8387         alloca_account and account alloca use for struct in6ailist.
8388
8389 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8390
8391         [BZ #16284]
8392         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8393         rounding mode to recompute results that overflow to infinity or
8394         underflow to zero.
8395         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8396         bug 16284.
8397         * math/auto-libm-test-out: Regenerated.
8398         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8399         (ccosh_test): Likewise.
8400         (csin_test_data): Use plus_oflow.
8401         (csin_test): Use ALL_RM_TEST.
8402         (csinh_test_data): Use plus_oflow.
8403         (csinh_test): Use ALL_RM_TEST.
8404         * sysdeps/i386/fpu/libm-test-ulps: Update.
8405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8406
8407 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8408
8409         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8410         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8411         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8412
8413         [BZ #16731]
8414         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8415         when x - 1 is zero.
8416         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8417         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8418         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8419         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8420         argument is 1.
8421         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8422         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8423         zero.
8424         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8425         * sysdeps/i386/fpu/libm-test-ulps: Update.
8426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8427
8428 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8429
8430         * scripts/bench.pl: Remove file.
8431         * scripts/bench.py: New benchmark script.
8432         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8433         * benchtests/README: Mention python dependency.
8434         * scripts/pylintrc: New file.
8435         * scripts/pylint: New file.
8436
8437         * bits/mathdef.h: Use #ifdef instead of #if.
8438         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8439         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8440         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8441         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8442         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8443         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8444
8445 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8446             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8447
8448         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8450         and strpbrk-ppc64 objects.
8451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8452         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8453         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8454         multiarch strpbrk for POWER7.
8455         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8456         multiarch strpbrk for PPC64.
8457         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8458         ifunc selector.
8459         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8460         strpbrk for POWER7.
8461
8462 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8463
8464         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8465         (atan_test): Likewise.
8466         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8467         (atanh_test): Use ALL_RM_TEST.
8468         (atan2_test_data): Likewise.
8469         (cabs_test): Likewise.
8470         (cacosh_test): Likewise.
8471         (carg_test): Likewise.
8472         (casin_test): Likewise.
8473         (casinh_test): Likewise.
8474         (cbrt_test): Likewise.
8475         (csqrt_test): Likewise.
8476         (erf_test): Likewise.
8477         (erfc_test): Likewise.
8478         (pow10_test): Likewise.
8479         (exp2_test): Likewise.
8480         (hypot_test): Likewise.
8481         (j0_test): Likewise.
8482         (j1_test): Likewise.
8483         (lgamma_test): Likewise.
8484         (gamma_test): Likewise.
8485         (sincos_test): Likewise.
8486         (tanh_test): Likewise.
8487         (y0_test): Likewise.
8488         (y1_test): Likewise.
8489         * sysdeps/i386/fpu/libm-test-ulps: Update.
8490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8491
8492 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8493
8494         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8496         and strcspn-ppc64 objects.
8497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8498         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8499         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8500         multiarch strcspn for POWER7.
8501         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8502         multiarch strcspn for PPC64.
8503         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8504         ifunc selector.
8505         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8506         strcspn for POWER7.
8507
8508 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8509
8510         * math/gen-libm-test.pl (generate_testfile): Expect only function
8511         name as argument to AUTO_TESTS_* and pass results for all rounding
8512         modes to parse_args.
8513         (parse_auto_input): Separate inputs of automatic tests from
8514         outputs before storing in %auto_tests.
8515         * math/libm-test.inc (acos_test_data): Update call to
8516         AUTO_TESTS_f_f.
8517         (acos_test): Use ALL_RM_TEST.
8518         (acos_tonearest_test_data): Remove.
8519         (acos_test_tonearest): Likewise.
8520         (acos_towardzero_test_data): Likewise.
8521         (acos_test_towardzero): Likewise.
8522         (acos_downward_test_data): Likewise.
8523         (acos_test_downward): Likewise.
8524         (acos_upward_test_data): Likewise.
8525         (acos_test_upward): Likewise.
8526         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8527         (asin_test_data): Likewise.
8528         (asin_test): Use ALL_RM_TEST.
8529         (asin_tonearest_test_data): Remove.
8530         (asin_test_tonearest): Likewise.
8531         (asin_towardzero_test_data): Likewise.
8532         (asin_test_towardzero): Likewise.
8533         (asin_downward_test_data): Likewise.
8534         (asin_test_downward): Likewise.
8535         (asin_upward_test_data): Likewise.
8536         (asin_test_upward): Likewise.
8537         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8538         (atan_test_data): Likewise.
8539         (atanh_test_data): Likewise.
8540         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8541         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8542         (carg_test_data): Likewise.
8543         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8544         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8545         (ccosh_test_data): Likewise.
8546         (cexp_test_data): Likewise.
8547         (clog_test_data): Likewise.
8548         (clog10_test_data): Likewise.
8549         (cos_test_data): Update call to AUTO_TESTS_f_f.
8550         (cos_test): Use ALL_RM_TEST.
8551         (cos_tonearest_test_data): Remove.
8552         (cos_test_tonearest): Likewise.
8553         (cos_towardzero_test_data): Likewise.
8554         (cos_test_towardzero): Likewise.
8555         (cos_downward_test_data): Likewise.
8556         (cos_test_downward): Likewise.
8557         (cos_upward_test_data): Likewise.
8558         (cos_test_upward): Likewise.
8559         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8560         (cosh_test): Use ALL_RM_TEST.
8561         (cosh_tonearest_test_data): Remove.
8562         (cosh_test_tonearest): Likewise.
8563         (cosh_towardzero_test_data): Likewise.
8564         (cosh_test_towardzero): Likewise.
8565         (cosh_downward_test_data): Likewise.
8566         (cosh_test_downward): Likewise.
8567         (cosh_upward_test_data): Likewise.
8568         (cosh_test_upward): Likewise.
8569         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8570         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8571         (ctan_test_data): Likewise.
8572         (ctan_test): Use ALL_RM_TEST.
8573         (ctan_tonearest_test_data): Remove.
8574         (ctan_test_tonearest): Likewise.
8575         (ctan_towardzero_test_data): Likewise.
8576         (ctan_test_towardzero): Likewise.
8577         (ctan_downward_test_data): Likewise.
8578         (ctan_test_downward): Likewise.
8579         (ctan_upward_test_data): Likewise.
8580         (ctan_test_upward): Likewise.
8581         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8582         (ctanh_test): Use ALL_RM_TEST.
8583         (ctanh_tonearest_test_data): Remove.
8584         (ctanh_test_tonearest): Likewise.
8585         (ctanh_towardzero_test_data): Likewise.
8586         (ctanh_test_towardzero): Likewise.
8587         (ctanh_downward_test_data): Likewise.
8588         (ctanh_test_downward): Likewise.
8589         (ctanh_upward_test_data): Likewise.
8590         (ctanh_test_upward): Likewise.
8591         (erf_test_data): Update call to AUTO_TESTS_f_f.
8592         (erfc_test_data): Likewise.
8593         (exp_test_data): Likewise.
8594         (exp_test): Use ALL_RM_TEST.
8595         (exp_tonearest_test_data): Remove.
8596         (exp_test_tonearest): Likewise.
8597         (exp_towardzero_test_data): Likewise.
8598         (exp_test_towardzero): Likewise.
8599         (exp_downward_test_data): Likewise.
8600         (exp_test_downward): Likewise.
8601         (exp_upward_test_data): Likewise.
8602         (exp_test_upward): Likewise.
8603         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8604         (exp10_test): Use ALL_RM_TEST.
8605         (exp10_tonearest_test_data): Remove.
8606         (exp10_test_tonearest): Likewise.
8607         (exp10_towardzero_test_data): Likewise.
8608         (exp10_test_towardzero): Likewise.
8609         (exp10_downward_test_data): Likewise.
8610         (exp10_test_downward): Likewise.
8611         (exp10_upward_test_data): Likewise.
8612         (exp10_test_upward): Likewise.
8613         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8614         (expm1_test_data): Likewise.
8615         (expm1_test): Use ALL_RM_TEST.
8616         (expm1_tonearest_test_data): Remove.
8617         (expm1_test_tonearest): Likewise.
8618         (expm1_towardzero_test_data): Likewise.
8619         (expm1_test_towardzero): Likewise.
8620         (expm1_downward_test_data): Likewise.
8621         (expm1_test_downward): Likewise.
8622         (expm1_upward_test_data): Likewise.
8623         (expm1_test_upward): Likewise.
8624         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8625         (fma_test): Use ALL_RM_TEST.
8626         (fma_towardzero_test_data): Remove.
8627         (fma_test_towardzero): Likewise.
8628         (fma_downward_test_data): Likewise.
8629         (fma_test_downward): Likewise.
8630         (fma_upward_test_data): Likewise.
8631         (fma_test_upward): Likewise.
8632         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8633         (j0_test_data): Update call to AUTO_TESTS_f_f.
8634         (j1_test_data): Likewise.
8635         (jn_test_data): Update call to AUTO_TESTS_if_f.
8636         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8637         (log_test_data): Update call to AUTO_TESTS_f_f.
8638         (log10_test_data): Likewise.
8639         (log1p_test_data): Likewise.
8640         (log2_test_data): Likewise.
8641         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8642         (pow_tonearest_test_data): Likewise.
8643         (sin_test_data): Update call to AUTO_TESTS_f_f.
8644         (sin_test): Use ALL_RM_TEST.
8645         (sin_tonearest_test_data): Remove.
8646         (sin_test_tonearest): Likewise.
8647         (sin_towardzero_test_data): Likewise.
8648         (sin_test_towardzero): Likewise.
8649         (sin_downward_test_data): Likewise.
8650         (sin_test_downward): Likewise.
8651         (sin_upward_test_data): Likewise.
8652         (sin_test_upward): Likewise.
8653         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8654         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8655         (sinh_test): Use ALL_RM_TEST.
8656         (sinh_tonearest_test_data): Remove.
8657         (sinh_test_tonearest): Likewise.
8658         (sinh_towardzero_test_data): Likewise.
8659         (sinh_test_towardzero): Likewise.
8660         (sinh_downward_test_data): Likewise.
8661         (sinh_test_downward): Likewise.
8662         (sinh_upward_test_data): Likewise.
8663         (sinh_test_upward): Likewise.
8664         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8665         (sqrt_test): Use ALL_RM_TEST.
8666         (sqrt_tonearest_test_data): Remove.
8667         (sqrt_test_tonearest): Likewise.
8668         (sqrt_towardzero_test_data): Likewise.
8669         (sqrt_test_towardzero): Likewise.
8670         (sqrt_downward_test_data): Likewise.
8671         (sqrt_test_downward): Likewise.
8672         (sqrt_upward_test_data): Likewise.
8673         (sqrt_test_upward): Likewise.
8674         (tan_test_data): Update call to AUTO_TESTS_f_f.
8675         (tan_test): Use ALL_RM_TEST.
8676         (tan_tonearest_test_data): Remove.
8677         (tan_test_tonearest): Likewise.
8678         (tan_towardzero_test_data): Likewise.
8679         (tan_test_towardzero): Likewise.
8680         (tan_downward_test_data): Likewise.
8681         (tan_test_downward): Likewise.
8682         (tan_upward_test_data): Likewise.
8683         (tan_test_upward): Likewise.
8684         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8685         (tgamma_test_data): Likewise.
8686         (y0_test_data): Likewise.
8687         (y1_test_data): Likewise.
8688         (yn_test_data): Update call to AUTO_TESTS_if_f.
8689         (main): Do not call removed functions.
8690
8691 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8692
8693         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8694         (ldexp_test_data): Remove.
8695         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8696         scalbn_test_data.
8697         (scalb_test): Use ALL_RM_TEST.
8698
8699 2014-03-19  Andreas Schwab  <schwab@suse.de>
8700
8701         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8702
8703 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8704
8705         [BZ #16649]
8706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8707         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8708         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8710         (__ASSUME_PREADV): Undefine.
8711         (__ASSUME_PWRITEV): Likewise.
8712
8713 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8714
8715         * bits/mman-linux.h: Add comment about non-Linux use.
8716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8717         bits/mman-linux.h resting place.
8718
8719         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8720         * bits/mman-linux.h: ... here.
8721
8722 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8723
8724         * conform/conformtest.pl: Add standard definition when calling C
8725         preprocessor on data files.
8726         (checknamespace): Remove unused variable.
8727
8728 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8729
8730         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8731         minus_oflow, plus_uflow and minus_uflow in expected results.
8732         * math/libm-test.inc (scalbn_test_data): Add more tests of
8733         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8734         minus_uflow.
8735         (scalbn_test): Use ALL_RM_TEST.
8736         (scalbln_test_data): Add more tests of negative arguments.  Use
8737         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8738         (scalbln_test): Use ALL_RM_TEST.
8739
8740 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8741
8742         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8743
8744 2014-03-18  Will Newton  <will.newton@linaro.org>
8745
8746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8747         inaccurate comment.
8748
8749 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8750
8751         * Makerules [!subdir] (check-abi): Exit with error status if a
8752         test failed.
8753
8754 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8755
8756         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8757         for rint.  Include results for all rounding modes.
8758         (nearbyint_test): Use ALL_RM_TEST.
8759         (rint_test_data): Include all tests used for nearbyint.
8760
8761 2014-03-17  Will Newton  <will.newton@linaro.org>
8762
8763         * nptl/sysdeps/pthread/pthread.h: Revert previous
8764         change.
8765
8766         * sysdeps/generic/ldsodefs.h: Revert previous
8767         change.
8768
8769         * libio/genops.c: Revert previous change.
8770         * libio/libioP.h: Likewise.
8771         * stdio-common/vfprintf.c: Likewise.
8772
8773         * sysdeps/generic/math_private.h: Revert previous
8774         change.
8775
8776         * sysdeps/generic/math_private.h: Check whether
8777         HAVE_RM_CTX is defined with #ifdef rather
8778         than #if.
8779
8780         * argp/argp-fmtstream.h: Check whether
8781         __STRICT_ANSI__ is defined with #ifdef rather
8782         than #if.
8783         * argp/argp.h: Likewise.
8784
8785         * libio/genops.c: Check whether
8786         _IO_JUMPS_OFFSET is defined with #ifdef rather
8787         than #if.
8788         * libio/libioP.h: Likewise.
8789         * stdio-common/vfprintf.c: Likewise.
8790
8791         * sysdeps/generic/ldsodefs.h: Check whether
8792         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8793         than #if.
8794
8795         * nptl/sysdeps/pthread/pthread.h: Check
8796         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8797         its value.
8798
8799 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8800
8801         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8802         setting O_APPEND.
8803         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8804         test case.
8805
8806         [BZ #16680]
8807         * libio/fileops.c (_IO_file_open): Seek to end of file but
8808         don't cache the offset.
8809         (get_file_offset): Remove function.
8810         (do_ftell): Use cached offset when available.
8811         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8812         don't cache the offset.
8813         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8814         case.
8815         (do_one_test): Call it.
8816         (do_ftell_test): Fix up expected old offset for a+ mode.
8817         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8818         available.
8819
8820         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8821         up test status with function return status.
8822         (do_write_test): Likewise.
8823         (do_append_test): Likewise.
8824
8825         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8826         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8827         Remove.
8828
8829 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8830
8831         * math/gen-libm-test.pl (parse_args): Handle results specified for
8832         each rounding mode separately.
8833         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8834         tests and results from lrint_tonearest_test_data,
8835         lrint_towardzero_test_data, lrint_downward_test_data and
8836         lrint_upward_test_data.
8837         (lrint_test): Use ALL_RM_TEST.
8838         (lrint_tonearest_test_data): Remove.
8839         (lrint_test_tonearest): Likewise.
8840         (lrint_towardzero_test_data): Likewise.
8841         (lrint_test_towardzero): Likewise.
8842         (lrint_downward_test_data): Likewise.
8843         (lrint_test_downward): Likewise.
8844         (lrint_upward_test_data): Likewise.
8845         (lrint_test_upward): Likewise.
8846         (llrint_test_data): Merge in per-rounding-mode tests and results
8847         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8848         llrint_downward_test_data and llrint_upward_test_data.
8849         (llrint_test): Use ALL_RM_TEST.
8850         (llrint_tonearest_test_data): Remove.
8851         (llrint_test_tonearest): Likewise.
8852         (llrint_towardzero_test_data): Likewise.
8853         (llrint_test_towardzero): Likewise.
8854         (llrint_downward_test_data): Likewise.
8855         (llrint_test_downward): Likewise.
8856         (llrint_upward_test_data): Likewise.
8857         (llrint_test_upward): Likewise.
8858         (rint_test_data): Merge in per-rounding-mode tests and results
8859         from rint_tonearest_test_data, rint_towardzero_test_data,
8860         rint_downward_test_data and rint_upward_test_data.  Add
8861         per-rounding-mode results for tests not in those arrays.
8862         (rint_test): Use ALL_RM_TEST.
8863         (rint_tonearest_test_data): Remove.
8864         (rint_test_tonearest): Likewise.
8865         (rint_towardzero_test_data): Likewise.
8866         (rint_test_towardzero): Likewise.
8867         (rint_downward_test_data): Likewise.
8868         (rint_test_downward): Likewise.
8869         (rint_upward_test_data): Likewise.
8870         (rint_test_upward): Likewise.
8871         (main): Don't call removed functions.
8872
8873 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8874
8875         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8876         "Compiled on ..." crapola.  It is anti-useful.
8877
8878 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8879
8880         * scripts/evaluate-test.sh: Handle fourth argument to determine
8881         whether test run should stop on failure.
8882         * Makeconfig (stop-on-test-failure): New variable.
8883         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8884         $(stop-on-test-failure).
8885         * Makefile (tests): Give a summary of results from testing and
8886         exit with failure status if they include an ERROR or FAIL.
8887         (xtests): Likewise.
8888         * manual/install.texi (Configuring and compiling): Mention
8889         stop-on-test-failure=y.
8890         * INSTALL: Regenerated.
8891
8892 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8893
8894         * scripts/versionlist.awk: New file.
8895         * Makerules [$(build-shared) = yes]
8896         (postclean-generated): Add Versions.def, not Versions.def.v and
8897         Versions.def.v.i.
8898         ($(common-objpfx)Versions.def.v.i): Target removed.
8899         ($(common-objpfx)Versions.def): New target.
8900         ($(common-objpfx)Versions.all): Depend on that rather that
8901         $(common-objpfx)Versions.def.v.
8902         * Versions.def: File removed.
8903
8904         * Makeconfig (+gccwarn): Add -Wundef.
8905         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8906         a dl-sysdep.h breaking its contract.
8907         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8908         * include/stackinfo.h: New file.
8909         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8910         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8911         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8912         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8913         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8914         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8915         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8916         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8917         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8918         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8919         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8920         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8921         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8922         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8923         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8924
8925 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8926
8927         [BZ #16707]
8928         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8929         implementation.
8930         * math/libm-test.inc (round_test_data): Add more tests.
8931
8932         [BZ #16706]
8933         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8934         implementation.
8935         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8936
8937         [BZ #16701]
8938         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8939         implementation.
8940         * math/libm-test.inc (ceil_test_data): Add more tests.
8941
8942         * math/libm-test.inc (trunc_test_data): Add more tests related to
8943         BZ#16414.
8944
8945 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8946
8947         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8948         with #if rather than #ifdef.
8949         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8950
8951 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8952
8953         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8954         first.  Disable AVX-512 GCC support if assembler doesn't support
8955         it.
8956         * sysdeps/x86_64/configure: Regenerated.
8957
8958 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8959
8960         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8961         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8962         (__old_pthread_attr_setstack): Likewise.
8963         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8964         [!_STACK_GROWS_DOWN]: Likewise.
8965
8966 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8967
8968         * config.make.in (have-bash2): Delete.
8969         * configure.ac (libc_cv_have_bash2): Delete.
8970         * configure: Regenerate.
8971         * elf/Makefile (common-ldd-rewrite): Rename to ...
8972         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8973         (sh-ldd-rewrite): Delete.
8974         (bash-ldd-rewrite): Delete.
8975         (have-bash2): Delete checks.
8976         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8977         ldd-rewrite.
8978
8979         * config.make.in (have-ksh): Delete.
8980         (KSH): Delete.
8981         * configure.ac (libc_cv_have_ksh): Delete.
8982         * configure: Regenerate.
8983
8984         * elf/Makefile: Delete $(have-ksh) check.
8985         ($(objpfx)sotruss): Change KSH to BASH.
8986         * elf/sotruss.ksh: Rename to ...
8987         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8988         function style to match POSIX.  Drop ksh vim mode setting.
8989
8990         * manual/time.texi (Specifying the Time Zone with TZ): Change
8991         Tuesday to Thursday.
8992
8993         * debug/tst-longjmp_chk2.c: Update header comment.
8994         (stackoverflow_handler): Add comment.  Call assert on pass value.
8995
8996 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8997
8998         [BZ #16194]
8999         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9000         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9001         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9002         (La_x86_64_vector): Add zmm.
9003         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9004         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9005         ($(objpfx)tst-audit10): New target.
9006         ($(objpfx)tst-audit10.out): Likewise.
9007         (tst-audit10-ENV): New.
9008         (AVX512-CFLAGS): Likewise.
9009         (CFLAGS-tst-audit10.c): Likewise.
9010         (CFLAGS-tst-auditmod10a.c): Likewise.
9011         (CFLAGS-tst-auditmod10b.c): Likewise.
9012         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9013         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9014         * sysdeps/x86_64/configure: Regenerated.
9015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9016         AVX-512 zmm register support.
9017         (_dl_x86_64_save_sse): Likewise.
9018         (_dl_x86_64_restore_sse): Likewise.
9019         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9020         size vector registers.
9021         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9022         (ZMM_SIZE): Likewise.
9023         * sysdeps/x86_64/tst-audit10.c: New file.
9024         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9025         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9026
9027 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9028
9029         * configure.ac (HAVE_EHDR_START): New check.
9030         * configure: Regenerated.
9031         * config.h.in (HAVE_EHDR_START): New #undef.
9032         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9033         assuming the lowest-addressed segment maps the start of the file.
9034
9035 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9036
9037         * INSTALL: Regenerated.
9038
9039 2014-03-13  Will Newton  <will.newton@linaro.org>
9040
9041         * manual/setjmp.texi (System V contexts): Improve
9042         clarity and grammar of documentation.
9043
9044 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9045
9046         [BZ #16381]
9047         * elf/Makefile (tests): Add tst-pie2.
9048         (tests-pie): Add tst-pie2.
9049         * elf/tst-pie2.c: New file.
9050         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9051         for ET_EXEC.
9052         * elf/rtld.c (map_doit): Load executable as lt_executable.
9053         (dl_main): Likewise.
9054
9055 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9056
9057         [BZ #16642]
9058         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9059         (__ASSUME_PSELECT): Undefine.
9060
9061 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9062
9063         [BZ #16689]
9064         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9065         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9066         static build.
9067         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9068         selector for static builds.
9069
9070 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9071
9072         [BZ #16695]
9073         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9074         key in the buffer.
9075
9076 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9077
9078         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9079         IFUNC selector for static builds.
9080
9081 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9082
9083         * sysdeps/mips/math_private.h [__mips_hard_float]
9084         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9085         libc_feresetround_mips_ctx.
9086         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9087         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9088         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9089
9090         [BZ #16677]
9091         * math/s_nextafter.c (__nextafter): Do not return value from
9092         overflowing computation.
9093         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9094         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9095         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9096         Likewise.
9097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9098         Likewise.
9099         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9100         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9101
9102 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9103
9104         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9105         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9106         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9107         the new mov targetting sp.
9108
9109 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9110
9111         [BZ #16683]
9112         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9113         Define it for static builds as well.
9114         (NO_BZERO_IMPL): Likewise.
9115
9116 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9117
9118         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9119         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9120         multiarch strspn for PPC64.
9121         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9122         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9124         (__libc_ifunc_impl_list): Likewise.
9125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9126         multiarch optimizations
9127         * string/strspn.c (strspn): Using macro to redefine symbol name.
9128
9129 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9130             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9131
9132         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9133         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9134         multiarch strncat for PPC64.
9135         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9136         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9138         (__libc_ifunc_impl_list): Likewise.
9139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9140         multiarch optimizations
9141
9142 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9143
9144         [BZ #16639]
9145         * nscd/nscd.service: Make service type forking.
9146
9147 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9148
9149         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9150         sign in non default rounding modes.
9151         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9152
9153 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9154
9155         * math/libm-test.inc (ALL_RM_TEST): New macro.
9156         (ceil_test): Use ALL_RM_TEST.
9157         (cimag_test): Likewise.
9158         (conj_test): Likewise.
9159         (copysign_test): Likewise.
9160         (cproj_test): Likewise.
9161         (creal_test): Likewise.
9162         (fabs_test): Likewise.
9163         (floor_test): Likewise.
9164         (fmax_test): Likewise.
9165         (fmin_test): Likewise.
9166         (fmod_test): Likewise.
9167         (fpclassify_test): Likewise.
9168         (frexp_test): Likewise.
9169         (ilogb_test): Likewise.
9170         (isfinite_test): Likewise.
9171         (finite_test): Likewise.
9172         (isgreater_test): Likewise.
9173         (isgreaterequal_test): Likewise.
9174         (isinf_test): Likewise.
9175         (isless_test): Likewise.
9176         (islessequal_test): Likewise.
9177         (islessgreater_test): Likewise.
9178         (isnan_test): Likewise.
9179         (isnormal_test): Likewise.
9180         (issignaling_test): Likewise.
9181         (isunordered_test): Likewise.
9182         (logb_test): Likewise.
9183         (logb_downward_test_data): Remove.
9184         (logb_test_downward): Likewise.
9185         (lround_test): Use ALL_RM_TEST.
9186         (llround_test): Likewise.
9187         (modf_test): Likewise.
9188         (nexttoward_test): Likewise.
9189         (remainder_test): Likewise.
9190         (drem_test): Likewise.
9191         (remainder_tonearest_test_data): Likewise.
9192         (remainder_test_tonearest): Likewise.
9193         (drem_test_tonearest): Likewise.
9194         (remainder_towardzero_test_data): Likewise.
9195         (remainder_test_towardzero): Likewise.
9196         (drem_test_towardzero): Likewise.
9197         (remainder_downward_test_data): Likewise.
9198         (remainder_test_downward): Likewise.
9199         (drem_test_downward): Likewise.
9200         (remainder_upward_test_data): Likewise.
9201         (remainder_test_upward): Likewise.
9202         (drem_test_upward): Likewise.
9203         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9204         (round_test): Use ALL_RM_TEST.
9205         (signbit_test): Likewise.
9206         (trunc_test): Likewise.
9207         (significand_test): Likewise.
9208         (main): Don't call removed functions.
9209
9210 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9211
9212         [BZ #16674]
9213         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9214         || __USE_XOPEN2K8].
9215         (ILL_ILLOPN): Likewise.
9216         (ILL_ILLADR): Likewise.
9217         (ILL_ILLTRP): Likewise.
9218         (ILL_PRVOPC): Likewise.
9219         (ILL_PRVREG): Likewise.
9220         (ILL_COPROC): Likewise.
9221         (ILL_BADSTK): Likewise.
9222         (FPE_INTDIV): Likewise.
9223         (FPE_INTOVF): Likewise.
9224         (FPE_FLTDIV): Likewise.
9225         (FPE_FLTOVF): Likewise.
9226         (FPE_FLTUND): Likewise.
9227         (FPE_FLTRES): Likewise.
9228         (FPE_FLTINV): Likewise.
9229         (FPE_FLTSUB): Likewise.
9230         (SEGV_MAPERR): Likewise.
9231         (SEGV_ACCERR): Likewise.
9232         (BUS_ADRALN): Likewise.
9233         (BUS_ADRERR): Likewise.
9234         (BUS_OBJERR): Likewise.
9235         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9236         (TRAP_TRACE): Likewise.
9237         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9238         __USE_XOPEN2K8].
9239         (CLD_KILLED): Likewise.
9240         (CLD_DUMPED): Likewise.
9241         (CLD_TRAPPED): Likewise.
9242         (CLD_STOPPED): Likewise.
9243         (CLD_CONTINUED): Likewise.
9244         (POLL_IN): Likewise.
9245         (POLL_OUT): Likewise.
9246         (POLL_MSG): Likewise.
9247         (POLL_ERR): Likewise.
9248         (POLL_PRI): Likewise.
9249         (POLL_HUP): Likewise.
9250         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9251         Likewise.
9252         (ILL_ILLOPN): Likewise.
9253         (ILL_ILLADR): Likewise.
9254         (ILL_ILLTRP): Likewise.
9255         (ILL_PRVOPC): Likewise.
9256         (ILL_PRVREG): Likewise.
9257         (ILL_COPROC): Likewise.
9258         (ILL_BADSTK): Likewise.
9259         (FPE_INTDIV): Likewise.
9260         (FPE_INTOVF): Likewise.
9261         (FPE_FLTDIV): Likewise.
9262         (FPE_FLTOVF): Likewise.
9263         (FPE_FLTUND): Likewise.
9264         (FPE_FLTRES): Likewise.
9265         (FPE_FLTINV): Likewise.
9266         (FPE_FLTSUB): Likewise.
9267         (SEGV_MAPERR): Likewise.
9268         (SEGV_ACCERR): Likewise.
9269         (BUS_ADRALN): Likewise.
9270         (BUS_ADRERR): Likewise.
9271         (BUS_OBJERR): Likewise.
9272         (BUS_MCEERR_AR): Likewise.
9273         (BUS_MCEERR_AO): Likewise.
9274         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9275         (TRAP_TRACE): Likewise.
9276         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9277         __USE_XOPEN2K8].
9278         (CLD_KILLED): Likewise.
9279         (CLD_DUMPED): Likewise.
9280         (CLD_TRAPPED): Likewise.
9281         (CLD_STOPPED): Likewise.
9282         (CLD_CONTINUED): Likewise.
9283         (POLL_IN): Likewise.
9284         (POLL_OUT): Likewise.
9285         (POLL_MSG): Likewise.
9286         (POLL_ERR): Likewise.
9287         (POLL_PRI): Likewise.
9288         (POLL_HUP): Likewise.
9289         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9290         (ILL_ILLOPN): Likewise.
9291         (ILL_ILLADR): Likewise.
9292         (ILL_ILLTRP): Likewise.
9293         (ILL_PRVOPC): Likewise.
9294         (ILL_PRVREG): Likewise.
9295         (ILL_COPROC): Likewise.
9296         (ILL_BADSTK): Likewise.
9297         (FPE_INTDIV): Likewise.
9298         (FPE_INTOVF): Likewise.
9299         (FPE_FLTDIV): Likewise.
9300         (FPE_FLTOVF): Likewise.
9301         (FPE_FLTUND): Likewise.
9302         (FPE_FLTRES): Likewise.
9303         (FPE_FLTINV): Likewise.
9304         (FPE_FLTSUB): Likewise.
9305         (SEGV_MAPERR): Likewise.
9306         (SEGV_ACCERR): Likewise.
9307         (BUS_ADRALN): Likewise.
9308         (BUS_ADRERR): Likewise.
9309         (BUS_OBJERR): Likewise.
9310         (BUS_MCEERR_AR): Likewise.
9311         (BUS_MCEERR_AO): Likewise.
9312         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9313         (TRAP_TRACE): Likewise.
9314         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9315         __USE_XOPEN2K8].
9316         (CLD_KILLED): Likewise.
9317         (CLD_DUMPED): Likewise.
9318         (CLD_TRAPPED): Likewise.
9319         (CLD_STOPPED): Likewise.
9320         (CLD_CONTINUED): Likewise.
9321         (POLL_IN): Likewise.
9322         (POLL_OUT): Likewise.
9323         (POLL_MSG): Likewise.
9324         (POLL_ERR): Likewise.
9325         (POLL_PRI): Likewise.
9326         (POLL_HUP): Likewise.
9327         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9328         Likewise.
9329         (ILL_ILLOPN): Likewise.
9330         (ILL_ILLADR): Likewise.
9331         (ILL_ILLTRP): Likewise.
9332         (ILL_PRVOPC): Likewise.
9333         (ILL_PRVREG): Likewise.
9334         (ILL_COPROC): Likewise.
9335         (ILL_BADSTK): Likewise.
9336         (ILL_BADIADDR): Likewise.
9337         (ILL_BREAK): Likewise.
9338         (FPE_INTDIV): Likewise.
9339         (FPE_INTOVF): Likewise.
9340         (FPE_FLTDIV): Likewise.
9341         (FPE_FLTOVF): Likewise.
9342         (FPE_FLTUND): Likewise.
9343         (FPE_FLTRES): Likewise.
9344         (FPE_FLTINV): Likewise.
9345         (FPE_FLTSUB): Likewise.
9346         (FPE_DECOVF): Likewise.
9347         (FPE_DECDIV): Likewise.
9348         (FPE_DECERR): Likewise.
9349         (FPE_INVASC): Likewise.
9350         (FPE_INVDEC): Likewise.
9351         (SEGV_MAPERR): Likewise.
9352         (SEGV_ACCERR): Likewise.
9353         (SEGV_PSTKOVF): Likewise.
9354         (BUS_ADRALN): Likewise.
9355         (BUS_ADRERR): Likewise.
9356         (BUS_OBJERR): Likewise.
9357         (BUS_MCEERR_AR): Likewise.
9358         (BUS_MCEERR_AO): Likewise.
9359         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9360         (TRAP_TRACE): Likewise.
9361         (TRAP_BRANCH): Likewise.
9362         (TRAP_HWBKPT): Likewise.
9363         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9364         __USE_XOPEN2K8].
9365         (CLD_KILLED): Likewise.
9366         (CLD_DUMPED): Likewise.
9367         (CLD_TRAPPED): Likewise.
9368         (CLD_STOPPED): Likewise.
9369         (CLD_CONTINUED): Likewise.
9370         (POLL_IN): Likewise.
9371         (POLL_OUT): Likewise.
9372         (POLL_MSG): Likewise.
9373         (POLL_ERR): Likewise.
9374         (POLL_PRI): Likewise.
9375         (POLL_HUP): Likewise.
9376         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9377         (ILL_ILLOPN): Likewise.
9378         (ILL_ILLADR): Likewise.
9379         (ILL_ILLTRP): Likewise.
9380         (ILL_PRVOPC): Likewise.
9381         (ILL_PRVREG): Likewise.
9382         (ILL_COPROC): Likewise.
9383         (ILL_BADSTK): Likewise.
9384         (FPE_INTDIV): Likewise.
9385         (FPE_INTOVF): Likewise.
9386         (FPE_FLTDIV): Likewise.
9387         (FPE_FLTOVF): Likewise.
9388         (FPE_FLTUND): Likewise.
9389         (FPE_FLTRES): Likewise.
9390         (FPE_FLTINV): Likewise.
9391         (FPE_FLTSUB): Likewise.
9392         (SEGV_MAPERR): Likewise.
9393         (SEGV_ACCERR): Likewise.
9394         (BUS_ADRALN): Likewise.
9395         (BUS_ADRERR): Likewise.
9396         (BUS_OBJERR): Likewise.
9397         (BUS_MCEERR_AR): Likewise.
9398         (BUS_MCEERR_AO): Likewise.
9399         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9400         (TRAP_TRACE): Likewise.
9401         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9402         __USE_XOPEN2K8].
9403         (CLD_KILLED): Likewise.
9404         (CLD_DUMPED): Likewise.
9405         (CLD_TRAPPED): Likewise.
9406         (CLD_STOPPED): Likewise.
9407         (CLD_CONTINUED): Likewise.
9408         (POLL_IN): Likewise.
9409         (POLL_OUT): Likewise.
9410         (POLL_MSG): Likewise.
9411         (POLL_ERR): Likewise.
9412         (POLL_PRI): Likewise.
9413         (POLL_HUP): Likewise.
9414         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9415         (ILL_ILLOPN): Likewise.
9416         (ILL_ILLADR): Likewise.
9417         (ILL_ILLTRP): Likewise.
9418         (ILL_PRVOPC): Likewise.
9419         (ILL_PRVREG): Likewise.
9420         (ILL_COPROC): Likewise.
9421         (ILL_BADSTK): Likewise.
9422         (FPE_INTDIV): Likewise.
9423         (FPE_INTOVF): Likewise.
9424         (FPE_FLTDIV): Likewise.
9425         (FPE_FLTOVF): Likewise.
9426         (FPE_FLTUND): Likewise.
9427         (FPE_FLTRES): Likewise.
9428         (FPE_FLTINV): Likewise.
9429         (FPE_FLTSUB): Likewise.
9430         (SEGV_MAPERR): Likewise.
9431         (SEGV_ACCERR): Likewise.
9432         (BUS_ADRALN): Likewise.
9433         (BUS_ADRERR): Likewise.
9434         (BUS_OBJERR): Likewise.
9435         (BUS_MCEERR_AR): Likewise.
9436         (BUS_MCEERR_AO): Likewise.
9437         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9438         (TRAP_TRACE): Likewise.
9439         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9440         __USE_XOPEN2K8].
9441         (CLD_KILLED): Likewise.
9442         (CLD_DUMPED): Likewise.
9443         (CLD_TRAPPED): Likewise.
9444         (CLD_STOPPED): Likewise.
9445         (CLD_CONTINUED): Likewise.
9446         (POLL_IN): Likewise.
9447         (POLL_OUT): Likewise.
9448         (POLL_MSG): Likewise.
9449         (POLL_ERR): Likewise.
9450         (POLL_PRI): Likewise.
9451         (POLL_HUP): Likewise.
9452         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9453         (ILL_ILLOPN): Likewise.
9454         (ILL_ILLADR): Likewise.
9455         (ILL_ILLTRP): Likewise.
9456         (ILL_PRVOPC): Likewise.
9457         (ILL_PRVREG): Likewise.
9458         (ILL_COPROC): Likewise.
9459         (ILL_BADSTK): Likewise.
9460         (FPE_INTDIV): Likewise.
9461         (FPE_INTOVF): Likewise.
9462         (FPE_FLTDIV): Likewise.
9463         (FPE_FLTOVF): Likewise.
9464         (FPE_FLTUND): Likewise.
9465         (FPE_FLTRES): Likewise.
9466         (FPE_FLTINV): Likewise.
9467         (FPE_FLTSUB): Likewise.
9468         (SEGV_MAPERR): Likewise.
9469         (SEGV_ACCERR): Likewise.
9470         (BUS_ADRALN): Likewise.
9471         (BUS_ADRERR): Likewise.
9472         (BUS_OBJERR): Likewise.
9473         (BUS_MCEERR_AR): Likewise.
9474         (BUS_MCEERR_AO): Likewise.
9475         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9476         (TRAP_TRACE): Likewise.
9477         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9478         __USE_XOPEN2K8].
9479         (CLD_KILLED): Likewise.
9480         (CLD_DUMPED): Likewise.
9481         (CLD_TRAPPED): Likewise.
9482         (CLD_STOPPED): Likewise.
9483         (CLD_CONTINUED): Likewise.
9484         (POLL_IN): Likewise.
9485         (POLL_OUT): Likewise.
9486         (POLL_MSG): Likewise.
9487         (POLL_ERR): Likewise.
9488         (POLL_PRI): Likewise.
9489         (POLL_HUP): Likewise.
9490         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9491         (ILL_ILLOPN): Likewise.
9492         (ILL_ILLADR): Likewise.
9493         (ILL_ILLTRP): Likewise.
9494         (ILL_PRVOPC): Likewise.
9495         (ILL_PRVREG): Likewise.
9496         (ILL_COPROC): Likewise.
9497         (ILL_BADSTK): Likewise.
9498         (ILL_DBLFLT): Likewise.
9499         (ILL_HARDWALL): Likewise.
9500         (FPE_INTDIV): Likewise.
9501         (FPE_INTOVF): Likewise.
9502         (FPE_FLTDIV): Likewise.
9503         (FPE_FLTOVF): Likewise.
9504         (FPE_FLTUND): Likewise.
9505         (FPE_FLTRES): Likewise.
9506         (FPE_FLTINV): Likewise.
9507         (FPE_FLTSUB): Likewise.
9508         (SEGV_MAPERR): Likewise.
9509         (SEGV_ACCERR): Likewise.
9510         (BUS_ADRALN): Likewise.
9511         (BUS_ADRERR): Likewise.
9512         (BUS_OBJERR): Likewise.
9513         (BUS_MCEERR_AR): Likewise.
9514         (BUS_MCEERR_AO): Likewise.
9515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9516         (TRAP_TRACE): Likewise.
9517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9518         __USE_XOPEN2K8].
9519         (CLD_KILLED): Likewise.
9520         (CLD_DUMPED): Likewise.
9521         (CLD_TRAPPED): Likewise.
9522         (CLD_STOPPED): Likewise.
9523         (CLD_CONTINUED): Likewise.
9524         (POLL_IN): Likewise.
9525         (POLL_OUT): Likewise.
9526         (POLL_MSG): Likewise.
9527         (POLL_ERR): Likewise.
9528         (POLL_PRI): Likewise.
9529         (POLL_HUP): Likewise.
9530         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9531         (ILL_ILLOPN): Likewise.
9532         (ILL_ILLADR): Likewise.
9533         (ILL_ILLTRP): Likewise.
9534         (ILL_PRVOPC): Likewise.
9535         (ILL_PRVREG): Likewise.
9536         (ILL_COPROC): Likewise.
9537         (ILL_BADSTK): Likewise.
9538         (FPE_INTDIV): Likewise.
9539         (FPE_INTOVF): Likewise.
9540         (FPE_FLTDIV): Likewise.
9541         (FPE_FLTOVF): Likewise.
9542         (FPE_FLTUND): Likewise.
9543         (FPE_FLTRES): Likewise.
9544         (FPE_FLTINV): Likewise.
9545         (FPE_FLTSUB): Likewise.
9546         (SEGV_MAPERR): Likewise.
9547         (SEGV_ACCERR): Likewise.
9548         (BUS_ADRALN): Likewise.
9549         (BUS_ADRERR): Likewise.
9550         (BUS_OBJERR): Likewise.
9551         (BUS_MCEERR_AR): Likewise.
9552         (BUS_MCEERR_AO): Likewise.
9553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9554         (TRAP_TRACE): Likewise.
9555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9556         __USE_XOPEN2K8].
9557         (CLD_KILLED): Likewise.
9558         (CLD_DUMPED): Likewise.
9559         (CLD_TRAPPED): Likewise.
9560         (CLD_STOPPED): Likewise.
9561         (CLD_CONTINUED): Likewise.
9562         (POLL_IN): Likewise.
9563         (POLL_OUT): Likewise.
9564         (POLL_MSG): Likewise.
9565         (POLL_ERR): Likewise.
9566         (POLL_PRI): Likewise.
9567         (POLL_HUP): Likewise.
9568         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9569         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9570
9571         [BZ #16670]
9572         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9573         before #include of <time.h>.
9574         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9575         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9576         (test-xfail-UNIX98/sched.h/conform): Likewise.
9577
9578 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9579
9580         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9581         error absence of trapping exception support.
9582         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9583
9584 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9585
9586         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9587         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9588         * timezone/Makefile (testdata): Move definition above include of
9589         Rules.
9590         (test-zones): New variable.
9591         (tests-special): Add zone files.
9592         (build-testdata): Use $(evaluate-test).
9593
9594         * elf/Makefile (tests-special): Rename tests to end with .out.
9595         ($(objpfx)noload-mem): Likewise.
9596         ($(objpfx)tst-leaks1-mem): Likewise.
9597         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9598         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9599         $(objpfx)test-iconvconfig.out.
9600         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9601         set -e inside subshell and redirect output to file.
9602         * iconvdata/Makefile (generated): Rename tests to end with .out.
9603         Correct type.
9604         (tests-special): Rename tests to end with .out.
9605         ($(objpfx)mtrace-tst-loading): Likewise.
9606         * intl/Makefile (generated): Likewise.
9607         (tests-special): Likewise.
9608         ($(objpfx)mtrace-tst-gettext): Likewise.
9609         * misc/Makefile (generated): Likewise.
9610         (tests-special): Likewise.
9611         ($(objpfx)tst-error1-mem): Likewise.
9612         * nptl/Makefile (tests-special): Likewise.
9613         ($(objpfx)tst-stack3-mem): Likewise.
9614         (generated): Likewise.
9615         * posix/Makefile (generated): Likewise.
9616         (tests-special): Likewise.
9617         (xtests-special): Likewise.
9618         ($(objpfx)tst-fnmatch-mem): Likewise.
9619         ($(objpfx)bug-regex2-mem): Likewise.
9620         ($(objpfx)bug-regex14-mem): Likewise.
9621         ($(objpfx)bug-regex21-mem): Likewise.
9622         ($(objpfx)bug-regex31-mem): Likewise.
9623         ($(objpfx)tst-vfork3-mem): Likewise.
9624         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9625         ($(objpfx)tst-pcre-mem): Likewise.
9626         ($(objpfx)tst-boost-mem): Likewise.
9627         ($(objpfx)bug-ga2-mem): Likewise.
9628         ($(objpfx)bug-glob2-mem): Likewise.
9629         * resolv/Makefile (generate): Likewise.
9630         (tests-special): Likewise.
9631         (xtests-special): Likewise.
9632         (generated): Likewise.
9633         ($(objpfx)mtrace-tst-leaks): Likewise.
9634         ($(objpfx)mtrace-tst-leaks2): Likewise.
9635
9636         * scripts/merge-test-results.sh: New file.
9637         * Makefile (tests-special-notdir): New variable.
9638         (tests): Run merge-test-results.sh.
9639         (xtests): Likewise.
9640         * Rules (tests-special-notdir): New variable.
9641         (xtests-special-notdir): Likewise.
9642         (tests): Run merge-test-results.sh
9643         (xtests): Likewise.
9644
9645         * Makeconfig (test-xfail-name): New variable.
9646         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9647         compute variable name for expected failures.
9648         * conform/Makefile (conformtest-headers-data): New variable.
9649         (conformtest-standards): Likewise.
9650         (conformtest-headers-ISO): Likewise.
9651         (conformtest-headers-ISO99): Likewise.
9652         (conformtest-headers-ISO11): Likewise.
9653         (conformtest-headers-POSIX): Likewise.
9654         (conformtest-headers-XPG3): Likewise.
9655         (conformtest-headers-XPG4): Likewise.
9656         (conformtest-headers-UNIX98): Likewise.
9657         (conformtest-headers-XOPEN2K): Likewise.
9658         (conformtest-headers-POSIX2008): Likewise.
9659         (conformtest-headers-XOPEN2K8): Likewise.
9660         (conformtest-header-list-base): Likewise.
9661         (conformtest-header-list-tests): Likewise.
9662         (conformtest-header-base): Likewise.
9663         (conformtest-header-tests): Likewise.
9664         (tests-special): Add $(conformtest-header-list-tests).  If
9665         [$(fast-check) && !$(cross-compiling)], add
9666         $(conformtest-header-tests) instead of
9667         $(objpfx)run-conformtest.out.
9668         (generated): Add $(conformtest-header-list-base).  If
9669         [$(fast-check) && !$(cross-compiling)], add
9670         $(conformtest-header-base).  Remove previous setting.
9671         ($(conformtest-header-list-tests)): New target.
9672         (test-xfail-run-conformtest): Remove variable.
9673         ($(objpfx)run-conformtest.out): Remove target.
9674         (test-xfail-ISO11/complex.h/conform): New variable.
9675         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9676         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9677         (test-xfail-XPG3/varargs.h/conform): Likewise.
9678         (test-xfail-XPG4/varargs.h/conform): Likewise.
9679         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9680         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9681         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9682         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9683         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9684         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9685         (test-xfail-XPG3/ftw.h/conform): Likewise.
9686         (test-xfail-XPG3/grp.h/conform): Likewise.
9687         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9688         (test-xfail-XPG3/limits.h/conform): Likewise.
9689         (test-xfail-XPG3/pwd.h/conform): Likewise.
9690         (test-xfail-XPG3/search.h/conform): Likewise.
9691         (test-xfail-XPG3/signal.h/conform): Likewise.
9692         (test-xfail-XPG3/stdio.h/conform): Likewise.
9693         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9694         (test-xfail-XPG3/string.h/conform): Likewise.
9695         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9696         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9697         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9698         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9699         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9700         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9701         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9702         (test-xfail-XPG3/termios.h/conform): Likewise.
9703         (test-xfail-XPG3/time.h/conform): Likewise.
9704         (test-xfail-XPG3/unistd.h/conform): Likewise.
9705         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9706         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9707         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9708         (test-xfail-XPG4/netdb.h/conform): Likewise.
9709         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9710         (test-xfail-XPG4/signal.h/conform): Likewise.
9711         (test-xfail-XPG4/stdio.h/conform): Likewise.
9712         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9713         (test-xfail-XPG4/stropts.h/conform): Likewise.
9714         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9715         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9716         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9717         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9718         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9719         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9720         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9721         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9722         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9723         (test-xfail-XPG4/termios.h/conform): Likewise.
9724         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9725         (test-xfail-XPG4/unistd.h/conform): Likewise.
9726         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9727         (test-xfail-POSIX/sched.h/conform): Likewise.
9728         (test-xfail-POSIX/signal.h/conform): Likewise.
9729         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9730         (test-xfail-POSIX/tar.h/conform): Likewise.
9731         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9732         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9733         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9734         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9735         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9736         (test-xfail-UNIX98/sched.h/conform): Likewise.
9737         (test-xfail-UNIX98/signal.h/conform): Likewise.
9738         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9739         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9740         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9741         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9742         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9743         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9744         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9745         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9746         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9747         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9748         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9749         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9750         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9751         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9752         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9753         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9754         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9755         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9756         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9757         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9758         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9759         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9760         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9761         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9762         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9763         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9764         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9765         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9766         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9767         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9768         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9769         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9770         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9771         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9772         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9773         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9774         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9775         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9776         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9777         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9778         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9779         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9780         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9781         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9782         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9783         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9784         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9785         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9786         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9787         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9788         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9789         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9790         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9791         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9792         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9793         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9794         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9795         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9796         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9797         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9798         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9799         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9800         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9801         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9802         (conformtest-cc-flags): Likewise.
9803         ($(conformtest-header-tests): New target.
9804         * conform/check-header-lists.sh: New file.
9805         * conform/run-conformtest.sh: Remove.
9806
9807         * conform/conformtest.pl: Allow ' and \ in values given for
9808         constants.
9809         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9810         inclusion.
9811         [POSIX] (sys/types.h): Likewise.
9812         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9813         inclusion.
9814         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9815         inclusion.
9816         * conform/data/signal.h-data (SIGIO): Remove expectation.
9817         [XPG3] (SIGBUS): Do not expect.
9818         [POSIX || XPG3] (SIGPOLL): Likewise.
9819         [POSIX || XPG3] (SIGPROF): Likewise.
9820         [POSIX || XPG3] (SIGSYS): Likewise.
9821         [XPG3] (SIGTRAP): Likewise.
9822         [POSIX || XPG3] (SIGURG): Likewise.
9823         [POSIX || XPG3] (SIGVTALRM): Likewise.
9824         [POSIX || XPG3] (SIGXCPU): Likewise.
9825         [POSIX || XPG3] (SIGXFSZ): Likewise.
9826         [POSIX] (SA_SIGINFO): Expect.
9827         [XPG3] (siginfo_t): Do not expect type or contents.
9828         [POSIX] (si_pid): Do not expect element.
9829         [POSIX] (si_uid): Likewise.
9830         [POSIX] (si_addr): Likewise.
9831         [POSIX] (si_status): Likewise.
9832         [POSIX] (si_band): Likewise.
9833         [XPG4] (si_value): Likewise.
9834         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9835         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9836         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9837         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9838         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9839         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9840         [POSIX || XPG3] (ILL_COPROC): Likewise.
9841         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9842         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9843         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9844         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9845         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9846         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9847         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9848         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9849         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9850         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9851         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9852         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9853         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9854         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9855         [POSIX || XPG3] (CLD_EXITED): Likewise.
9856         [POSIX || XPG3] (CLD_KILLED): Likewise.
9857         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9858         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9859         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9860         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9861         [POSIX || XPG3] (POLL_IN): Likewise.
9862         [POSIX || XPG3] (POLL_OUT): Likewise.
9863         [POSIX || XPG3] (POLL_MSG): Likewise.
9864         [POSIX || XPG3] (POLL_ERR): Likewise.
9865         [POSIX || XPG3] (POLL_PRI): Likewise.
9866         [POSIX || XPG3] (POLL_HUP): Likewise.
9867         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9868         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9869         (SIG*): Do not allow.
9870         [XPG3] (si_*): Likewise.
9871         [XPG3] (SI_*): Likewise.
9872         [XPG3 || XPG4] (sigev_*): Likewise.
9873         [XPG3 || XPG4] (SIGEV_*): Likewise.
9874         [XPG3 || XPG4] (sival_*): Likewise.
9875         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9876         [POSIX || XPG3] (BUS_*): Likewise.
9877         [POSIX || XPG3] (CLD_*): Likewise.
9878         [POSIX || XPG3] (FPE_*): Likewise.
9879         [POSIX || XPG3] (ILL_*): Likewise.
9880         [POSIX || XPG3] (POLL_*): Likewise.
9881         [POSIX || XPG3] (SEGV_*): Likewise.
9882         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9883         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9884         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9885         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9886         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9887         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9888         Specify type and value.
9889         (TVERSLEN): Likewise.
9890         (REGTYPE): Likewise.
9891         (AREGTYPE): Likewise.
9892         (LNKTYPE): Likewise.
9893         (SYMTYPE): Likewise.
9894         (CHRTYPE): Likewise.
9895         (BLKTYPE): Likewise.
9896         (DIRTYPE): Likewise.
9897         (FIFOTYPE): Likewise.
9898         (CONTTYPE): Likewise.
9899         (TSUID): Likewise.
9900         (TSGID): Likewise.
9901         (TSVTX): Likewise.
9902         (TUREAD): Likewise.
9903         (TUWRITE): Likewise.
9904         (TUEXEC): Likewise.
9905         (TGREAD): Likewise.
9906         (TGWRITE): Likewise.
9907         (TGEXEC): Likewise.
9908         (TOREAD): Likewise.
9909         (TOWRITE): Likewise.
9910         (TOEXEC): Likewise.
9911         [POSIX] (TSVTX): Expect constant.
9912
9913 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9914
9915         * Makefile (tests): Change dependencies to ....
9916         (tests-special): ... additions to this variable.
9917         (tests): Depend on $(tests-special).
9918         * Makerules (check-abi-list): New variable.
9919         (check-abi): Depend on $(check-abi-list).
9920         [$(subdir) = elf] (tests-special): Add
9921         $(objpfx)check-abi-libc.out.
9922         [$(build-shared) = yes && subdir] (tests-special): Add
9923         $(check-abi-list).
9924         [$(build-shared) = yes && subdir] (tests): Do not depend on
9925         check-abi.
9926         * Rules (tests): Depend on $(tests-special).
9927         (xtests): Depend on $(xtests-special).
9928         * catgets/Makefile (tests): Change dependencies to ....
9929         (tests-special): ... additions to this variable.
9930         * conform/Makefile (tests): Change dependencies to ....
9931         (tests-special): ... additions to this variable.
9932         * elf/Makefile (tests): Change dependencies to ....
9933         (tests-special): ... additions to this variable.
9934         * grp/Makefile (tests): Change dependencies to ....
9935         (tests-special): ... additions to this variable.
9936         * iconv/Makefile (xtests): Change dependencies to ....
9937         (xtests-special): ... additions to this variable.
9938         * iconvdata/Makefile (tests): Change dependencies to ....
9939         (tests-special): ... additions to this variable.
9940         * intl/Makefile (tests): Change dependencies to ....
9941         (tests-special): ... additions to this variable.  Also add
9942         $(objpfx)tst-gettext.out.
9943         * io/Makefile (tests): Change dependencies to ....
9944         (tests-special): ... additions to this variable.
9945         * libio/Makefile (tests): Change dependencies to ....
9946         (tests-special): ... additions to this variable.
9947         * malloc/Makefile (tests): Change dependencies to ....
9948         (tests-special): ... additions to this variable.
9949         * misc/Makefile (tests): Change dependencies to ....
9950         (tests-special): ... additions to this variable.
9951         * nptl/Makefile (tests): Change dependencies to ....
9952         (tests-special): ... additions to this variable.
9953         * nptl_db/Makefile (tests): Change dependencies to ....
9954         (tests-special): ... additions to this variable.
9955         * posix/Makefile (tests): Change dependencies to ....
9956         (tests-special): ... additions to this variable.
9957         (xtests): Change dependencies to ....
9958         (xtests-special): ... additions to this variable.
9959         * resolv/Makefile (tests): Change dependencies to ....
9960         (tests-special): ... additions to this variable.
9961         (xtests): Change dependencies to ....
9962         (xtests-special): ... additions to this variable.
9963         * stdio-common/Makefile (tests): Change dependencies to ....
9964         (tests-special): ... additions to this variable.
9965         (do-tst-unbputc): Remove target.
9966         (do-tst-printf): Likewise.
9967         * stdlib/Makefile (tests): Change dependencies to ....
9968         (tests-special): ... additions to this variable.
9969         * string/Makefile (tests): Change dependencies to ....
9970         (tests-special): ... additions to this variable.
9971         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9972         (tests-special): ... additions to this variable.
9973
9974         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9975         whole file.
9976         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9977         whole file.
9978         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9979         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9980
9981         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9982         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9983         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9984         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9985         * conform/data/libgen.h-data [XPG3]: Likewise.
9986         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9987         * conform/data/ndbm.h-data [XPG3]: Likewise.
9988         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9989         * conform/data/netdb.h-data [XPG3]: Likewise.
9990         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9991         * conform/data/poll.h-data [XPG3]: Likewise.
9992         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9993         * conform/data/strings.h-data [XPG3]: Likewise.
9994         * conform/data/stropts.h-data [XPG3]: Likewise.
9995         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9996         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9997         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9998         Likewise.
9999         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10000         * conform/data/sys/time.h-data [XPG3]: Likewise.
10001         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10002         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10003         * conform/data/sys/un.h-data [XPG3]: Likewise.
10004         * conform/data/syslog.h-data [XPG3]: Likewise.
10005         * conform/data/ucontext.h-data [XPG3]: Likewise.
10006         * conform/data/utmpx.h-data [XPG3]: Likewise.
10007         * conform/data/varargs.h-data [UNIX98]: Enable file.
10008
10009         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10010
10011         * math/libm-test.inc (struct test_f_f_data): Move expected results
10012         into structure for each rounding mode.
10013         (struct test_ff_f_data): Likewise.
10014         (struct test_ff_f_data_nexttoward): Likewise.
10015         (struct test_fi_f_data): Likewise.
10016         (struct test_fl_f_data): Likewise.
10017         (struct test_if_f_data): Likewise.
10018         (struct test_fff_f_data): Likewise.
10019         (struct test_c_f_data): Likewise.
10020         (struct test_f_f1_data): Likewise.
10021         (struct test_fF_f1_data): Likewise.
10022         (struct test_ffI_f1_data): Likewise.
10023         (struct test_c_c_data): Likewise.
10024         (struct test_cc_c_data): Likewise.
10025         (struct test_f_i_data): Likewise.
10026         (struct test_ff_i_data): Likewise.
10027         (struct test_f_l_data): Likewise.
10028         (struct test_f_L_data): Likewise.
10029         (struct test_fFF_11_data): Likewise.
10030         (RM_): New macro.
10031         (RM_FE_DOWNWARD): Likewise.
10032         (RM_FE_TONEAREST): Likewise.
10033         (RM_FE_TOWARDZERO): Likewise.
10034         (RM_FE_UPWARD): Likewise.
10035         (RUN_TEST_LOOP_f_f): Update references to expected results.
10036         (RUN_TEST_LOOP_2_f): Likewise.
10037         (RUN_TEST_LOOP_fff_f): Likewise.
10038         (RUN_TEST_LOOP_c_f): Likewise.
10039         (RUN_TEST_LOOP_f_f1): Likewise.
10040         (RUN_TEST_LOOP_fF_f1): Likewise.
10041         (RUN_TEST_LOOP_fI_f1): Likewise.
10042         (RUN_TEST_LOOP_ffI_f1): Likewise.
10043         (RUN_TEST_LOOP_c_c): Likewise.
10044         (RUN_TEST_LOOP_cc_c): Likewise.
10045         (RUN_TEST_LOOP_f_i): Likewise.
10046         (RUN_TEST_LOOP_f_i_tg): Likewise.
10047         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10048         (RUN_TEST_LOOP_f_b): Likewise.
10049         (RUN_TEST_LOOP_f_b_tg): Likewise.
10050         (RUN_TEST_LOOP_f_l): Likewise.
10051         (RUN_TEST_LOOP_f_L): Likewise.
10052         (RUN_TEST_LOOP_fFF_11): Likewise.
10053         * math/gen-libm-test.pl (parse_args): Output four copies of
10054         expected results for each test.
10055
10056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10057         (__ASSUME_UTIMES): Remove.
10058         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10059         (__ASSUME_UTIMES): Likewise.
10060
10061         * math/gen-auto-libm-tests.c: Update comment on output format.
10062         (output_for_one_input_case): Generate before-rounding and
10063         after-rounding information as conditions on output flags not
10064         floating-point format.
10065         * math/auto-libm-test-out: Regenerated.
10066         * math/gen-libm-test.pl (cond_value): New function.
10067         (or_cond_value): Use cond_value.
10068         (generate_testfile): Handle conditional exceptions.
10069
10070 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10071
10072         * math/libm-test.inc (max_valid_error): New variable.
10073         (init_max_error): Take new argument specifying whether function
10074         results are exactly determined.  Set max_valid_error and bound
10075         other variables for errors based on this argument.
10076         (set_max_error): Do not record results above max_valid_error.
10077         (check_float_internal): Only accept errors of up to 0.5ulps if
10078         also at most max_valid_error.
10079         (START): Take new argument EXACT and pass it to init_max_error.
10080         (acos_test): Update call to START.
10081         (acos_test_tonearest): Likewise.
10082         (acos_test_towardzero): Likewise.
10083         (acos_test_downward): Likewise.
10084         (acos_test_upward): Likewise.
10085         (acosh_test): Likewise.
10086         (asin_test): Likewise.
10087         (asin_test_tonearest): Likewise.
10088         (asin_test_towardzero): Likewise.
10089         (asin_test_downward): Likewise.
10090         (asin_test_upward): Likewise.
10091         (asinh_test): Likewise.
10092         (atan_test): Likewise.
10093         (atanh_test): Likewise.
10094         (atan2_test): Likewise.
10095         (cabs_test): Likewise.
10096         (cacos_test): Likewise.
10097         (cacosh_test): Likewise.
10098         (carg_test): Likewise.
10099         (casin_test): Likewise.
10100         (casinh_test): Likewise.
10101         (catan_test): Likewise.
10102         (catanh_test): Likewise.
10103         (cbrt_test): Likewise.
10104         (ccos_test): Likewise.
10105         (ccosh_test): Likewise.
10106         (ceil_test): Likewise.
10107         (cexp_test): Likewise.
10108         (cimag_test): Likewise.
10109         (clog_test): Likewise.
10110         (clog10_test): Likewise.
10111         (conj_test): Likewise.
10112         (copysign_test): Likewise.
10113         (cos_test): Likewise.
10114         (cos_test_tonearest): Likewise.
10115         (cos_test_towardzero): Likewise.
10116         (cos_test_downward): Likewise.
10117         (cos_test_upward): Likewise.
10118         (cosh_test): Likewise.
10119         (cosh_test_tonearest): Likewise.
10120         (cosh_test_towardzero): Likewise.
10121         (cosh_test_downward): Likewise.
10122         (cosh_test_upward): Likewise.
10123         (cpow_test): Likewise.
10124         (cproj_test): Likewise.
10125         (creal_test): Likewise.
10126         (csin_test): Likewise.
10127         (csinh_test): Likewise.
10128         (csqrt_test): Likewise.
10129         (ctan_test): Likewise.
10130         (ctan_test_tonearest): Likewise.
10131         (ctan_test_towardzero): Likewise.
10132         (ctan_test_downward): Likewise.
10133         (ctan_test_upward): Likewise.
10134         (ctanh_test): Likewise.
10135         (ctanh_test_tonearest): Likewise.
10136         (ctanh_test_towardzero): Likewise.
10137         (ctanh_test_downward): Likewise.
10138         (ctanh_test_upward): Likewise.
10139         (erf_test): Likewise.
10140         (erfc_test): Likewise.
10141         (exp_test): Likewise.
10142         (exp_test_tonearest): Likewise.
10143         (exp_test_towardzero): Likewise.
10144         (exp_test_downward): Likewise.
10145         (exp_test_upward): Likewise.
10146         (exp10_test): Likewise.
10147         (exp10_test_tonearest): Likewise.
10148         (exp10_test_towardzero): Likewise.
10149         (exp10_test_downward): Likewise.
10150         (exp10_test_upward): Likewise.
10151         (pow10_test): Likewise.
10152         (exp2_test): Likewise.
10153         (expm1_test): Likewise.
10154         (expm1_test_tonearest): Likewise.
10155         (expm1_test_towardzero): Likewise.
10156         (expm1_test_downward): Likewise.
10157         (expm1_test_upward): Likewise.
10158         (fabs_test): Likewise.
10159         (fdim_test): Likewise.
10160         (floor_test): Likewise.
10161         (fma_test): Likewise.
10162         (fma_test_towardzero): Likewise.
10163         (fma_test_downward): Likewise.
10164         (fma_test_upward): Likewise.
10165         (fmax_test): Likewise.
10166         (fmin_test): Likewise.
10167         (fmod_test): Likewise.
10168         (fpclassify_test): Likewise.
10169         (frexp_test): Likewise.
10170         (hypot_test): Likewise.
10171         (ilogb_test): Likewise.
10172         (isfinite_test): Likewise.
10173         (finite_test): Likewise.
10174         (isgreater_test): Likewise.
10175         (isgreaterequal_test): Likewise.
10176         (isinf_test): Likewise.
10177         (isless_test): Likewise.
10178         (islessequal_test): Likewise.
10179         (islessgreater_test): Likewise.
10180         (isnan_test): Likewise.
10181         (isnormal_test): Likewise.
10182         (issignaling_test): Likewise.
10183         (isunordered_test): Likewise.
10184         (j0_test): Likewise.
10185         (j1_test): Likewise.
10186         (jn_test): Likewise.
10187         (ldexp_test): Likewise.
10188         (lgamma_test): Likewise.
10189         (gamma_test): Likewise.
10190         (lrint_test): Likewise.
10191         (lrint_test_tonearest): Likewise.
10192         (lrint_test_towardzero): Likewise.
10193         (lrint_test_downward): Likewise.
10194         (lrint_test_upward): Likewise.
10195         (llrint_test): Likewise.
10196         (llrint_test_tonearest): Likewise.
10197         (llrint_test_towardzero): Likewise.
10198         (llrint_test_downward): Likewise.
10199         (llrint_test_upward): Likewise.
10200         (log_test): Likewise.
10201         (log10_test): Likewise.
10202         (log1p_test): Likewise.
10203         (log2_test): Likewise.
10204         (logb_test): Likewise.
10205         (logb_test_downward): Likewise.
10206         (lround_test): Likewise.
10207         (llround_test): Likewise.
10208         (modf_test): Likewise.
10209         (nearbyint_test): Likewise.
10210         (nextafter_test): Likewise.
10211         (nexttoward_test): Likewise.
10212         (pow_test): Likewise.
10213         (pow_test_tonearest): Likewise.
10214         (pow_test_towardzero): Likewise.
10215         (pow_test_downward): Likewise.
10216         (pow_test_upward): Likewise.
10217         (remainder_test): Likewise.
10218         (drem_test): Likewise.
10219         (remainder_test_tonearest): Likewise.
10220         (drem_test_tonearest): Likewise.
10221         (remainder_test_towardzero): Likewise.
10222         (drem_test_towardzero): Likewise.
10223         (remainder_test_downward): Likewise.
10224         (drem_test_downward): Likewise.
10225         (remainder_test_upward): Likewise.
10226         (drem_test_upward): Likewise.
10227         (remquo_test): Likewise.
10228         (rint_test): Likewise.
10229         (rint_test_tonearest): Likewise.
10230         (rint_test_towardzero): Likewise.
10231         (rint_test_downward): Likewise.
10232         (rint_test_upward): Likewise.
10233         (round_test): Likewise.
10234         (scalb_test): Likewise.
10235         (scalbn_test): Likewise.
10236         (scalbln_test): Likewise.
10237         (signbit_test): Likewise.
10238         (sin_test): Likewise.
10239         (sin_test_tonearest): Likewise.
10240         (sin_test_towardzero): Likewise.
10241         (sin_test_downward): Likewise.
10242         (sin_test_upward): Likewise.
10243         (sincos_test): Likewise.
10244         (sinh_test): Likewise.
10245         (sinh_test_tonearest): Likewise.
10246         (sinh_test_towardzero): Likewise.
10247         (sinh_test_downward): Likewise.
10248         (sinh_test_upward): Likewise.
10249         (sqrt_test): Likewise.
10250         (sqrt_test_tonearest): Likewise.
10251         (sqrt_test_towardzero): Likewise.
10252         (sqrt_test_downward): Likewise.
10253         (sqrt_test_upward): Likewise.
10254         (tan_test): Likewise.
10255         (tan_test_tonearest): Likewise.
10256         (tan_test_towardzero): Likewise.
10257         (tan_test_downward): Likewise.
10258         (tan_test_upward): Likewise.
10259         (tanh_test): Likewise.
10260         (tgamma_test): Likewise.
10261         (trunc_test): Likewise.
10262         (y0_test): Likewise.
10263         (y1_test): Likewise.
10264         (yn_test): Likewise.
10265         (significand_test): Likewise.
10266
10267         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10268         individual tests in comment.
10269         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10270         (prev_max_error): New variable.
10271         (prev_real_max_error): Likewise.
10272         (prev_imag_max_error): Likewise.
10273         (compare_ulp_data): Don't refer to test names in comment.
10274         (find_test_ulps): Remove function.
10275         (find_function_ulps): Likewise.
10276         (find_complex_function_ulps): Likewise.
10277         (init_max_error): Take function name as argument.  Look up ulps
10278         for that function.
10279         (print_ulps): Remove function.
10280         (print_max_error): Use prev_max_error instead of calling
10281         find_function_ulps.
10282         (print_complex_max_error): Use prev_real_max_error and
10283         prev_imag_max_error instead of calling find_complex_function_ulps.
10284         (check_float_internal): Take max_ulp parameter instead of calling
10285         find_test_ulps.  Don't call print_ulps.
10286         (check_float): Update call to check_float_internal.
10287         (check_complex): Update calls to check_float_internal.
10288         (START): Pass argument to init_max_error.
10289         * math/gen-libm-test.pl (%results): Don't include "kind"
10290         information.
10291         (parse_ulps): Don't handle ulps of individual tests.
10292         (print_ulps_file): Likewise.
10293         (output_ulps): Likewise.
10294         * math/README.libm-test: Update.
10295         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10296         individual tests.
10297         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10298         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10299         * sysdeps/arm/libm-test-ulps: Likewise.
10300         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10301         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10302         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10303         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10304         * sysdeps/microblaze/libm-test-ulps: Likewise.
10305         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10306         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10307         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10308         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10309         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10310         * sysdeps/sh/libm-test-ulps: Likewise.
10311         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10312         * sysdeps/tile/libm-test-ulps: Likewise.
10313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10314
10315 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10316
10317         * math/libm-test.inc (print_complex_max_error): Check separately
10318         whether real and imaginary errors are within allowed range and
10319         pass 0 to print_complex_function_ulps instead of value within
10320         allowed range.
10321
10322 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10323
10324         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10325         formatting.
10326         (get_handles_fopen): Likewise.
10327         (do_write_test): Likewise.
10328
10329         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10330
10331         * libio/fileops.c (do_ftell): Use cached offset when
10332         available.
10333         * libio/iofwide.c (do_ftell_wide): Likewise.
10334         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10335         _IO_file_attach.
10336         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10337
10338         [BZ #16532]
10339         * libio/libioP.h (get_file_offset): New function.
10340         * libio/fileops.c (get_file_offset): Likewise.
10341         (do_ftell): Likewise.
10342         (_IO_new_file_seekoff): Split out ftell logic.
10343         * libio/wfileops.c (do_ftell_wide): Likewise.
10344         (_IO_wfile_seekoff): Split out ftell logic.
10345         * libio/tst-ftell-active-handler.c: New test case.
10346         * libio/Makefile (tests): Add it.
10347
10348 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10349
10350         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10351         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10352
10353 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10354
10355         [BZ #16639]
10356         * nscd/connections.c (nscd_init): Call do_exit.
10357         (start_threads): Call do_exit and notify_parent.
10358         (begin_drop_privileges): Call do_exit.
10359         (finish_drop_privileges): Likewise.
10360         * nscd/selinux.c (preserve_capabilities): Likewise.
10361         (install_real_capabilities): Likewise.
10362         (nscd_selinux_enabled): Likewise.
10363         (avc_create_thread): Likewise.
10364         (avc_alloc_lock): Likewise.
10365         (nscd_avc_init): Likewise.
10366         * nscd/nscd.c (parent_fd): New static variable.
10367         (main): Create a pipe between parent and child processes.
10368         Skip closing parent_fd.
10369         (monitor_child): New function.
10370         (do_exit): Likewise.
10371         (notify_parent): Likewise.
10372         * nscd/nscd.h (notify_parent): Likewise.
10373         (do_exit): Likewise.
10374
10375 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10376
10377         * malloc/malloc.c (__libc_calloc): Revert last change.
10378
10379 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10380
10381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10382
10383 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10384
10385         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10387         implementation.
10388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10389         (__libc_ifunc_impl_list): Likewise.
10390         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10391         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10392         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10393         * string/strrchr.c: Define STRRCHR.
10394
10395 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10396
10397         * benchtest/bench-strtok.c (simple_strtok): Delete.
10398         (strtok_string): Use as benchmark.
10399         * string/strtok (STRTOK): New macro.
10400
10401 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10402
10403         * manual/threads.texi: Add header and standard comments to all
10404         functions.
10405
10406         * elf/dl-lookup.c (check_match): New function.
10407         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10408         (do_lookup_x): Remove nested function check_match. Use non-nested
10409         function check_match.
10410
10411 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10412
10413         * csu/Makefile (generated, before-compile): Use += rather than =.
10414         * catgets/Makefile (generated, generated-dirs): Likewise.
10415         * debug/Makefile (generated): Likewise.
10416         * dlfcn/Makefile (generated): Likewise.
10417         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10418         * iconvdata/Makefile (before-compile, generated): Likewise.
10419         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10420         * libio/Makefile (generated): Likewise.
10421         * malloc/Makefile (generated): Likewise.
10422         * manual/Makefile (generated, generated-dirs): Likewise.
10423         * misc/Makefile (generated): Likewise.
10424         * posix/Makefile (generated): Likewise.
10425         * resolv/Makefile (generated): Likewise.
10426         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10427         * timezone/Makefile (generated, generated-dirs): Likewise.
10428
10429         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10430
10431 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10432
10433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10434         power8 implementation.
10435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10436         file: POWER8 llround ifunc implementation.
10437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10438         (__lllround): Add POWER8 implementation.
10439         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10440         POWER8 llround implementation.
10441
10442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10443         power8 implementation.
10444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10445         file: POWER8 llrint ifunc implementation.
10446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10447         Add POWER8 implementation.
10448         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10449         POWER8 llrint implementation.
10450
10451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10452         power8 implementation.
10453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10454         file: POWER8 finite ifunc implementation.
10455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10456         Add POWER8 implementation.
10457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10458         Likewise.
10459         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10460         POWER8 finite implementation.
10461         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10462
10463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10464         power8 implementation.
10465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10466         file: POWER8 isinf ifunc implementation.
10467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10468         POWER8 implementation.
10469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10470         Likewise.
10471         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10472         isinf implementation.
10473         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10474
10475         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10476         (INIT_ARCH): Add hwcap2 initialization.
10477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10478         power8 implementation.
10479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10480         file: POWER8 isnan ifunc implementation.
10481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10482         POWER8 implementation.
10483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10484         Likewise.
10485         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10486         isnan implementation.
10487         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10488
10489 2014-02-27  Joey Ye  <joey.ye@arm.com>
10490
10491         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10492         (_FP_NANFRAC_Q): Set to zero.
10493
10494 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10495
10496         [BZ #16623]
10497         * math/auto-libm-test-in: New test inputs.
10498         * math/auto-libm-test-out: Regenerate.
10499         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10500         and DA.
10501         (__cos): Likewise.
10502         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10503
10504 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10505
10506         * scripts/evaluate-test.sh: Take new argument indicating whether
10507         failure is expected.
10508         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10509         indicating whether failure is expected.
10510         * conform/Makefile (test-xfail-run-conformtest): New variable.
10511         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10512         level.
10513         * posix/Makefile (test-xfail-annexc): New variable.
10514         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10515
10516 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10517
10518         * argp/Makefile: Include Makeconfig immediately after defining
10519         subdir.
10520         * assert/Makefile: Likewise.
10521         * benchtests/Makefile: Likewise.
10522         * catgets/Makefile: Likewise.
10523         * conform/Makefile: Likewise.
10524         * crypt/Makefile: Likewise.
10525         * csu/Makefile: Likewise.
10526         (all): Remove target.
10527         * ctype/Makefile: Include Makeconfig immediately after defining
10528         subdir.
10529         * debug/Makefile: Likewise.
10530         * dirent/Makefile: Likewise.
10531         * dlfcn/Makefile: Likewise.
10532         * gmon/Makefile: Likewise.
10533         * gnulib/Makefile: Likewise.
10534         * grp/Makefile: Likewise.
10535         * gshadow/Makefile: Likewise.
10536         * hesiod/Makefile: Likewise.
10537         * hurd/Makefile: Likewise.
10538         (all): Remove target.
10539         * iconvdata/Makefile: Include Makeconfig immediately after
10540         defining subdir.
10541         * inet/Makefile: Likewise.
10542         * intl/Makefile: Likewise.
10543         * io/Makefile: Likewise.
10544         * libio/Makefile: Likewise.
10545         (all): Remove target.
10546         * locale/Makefile: Include Makeconfig immediately after defining
10547         subdir.
10548         * login/Makefile: Likewise.
10549         * mach/Makefile: Likewise.
10550         (all): Remove target.
10551         * malloc/Makefile: Include Makeconfig immediately after defining
10552         subdir.
10553         (all): Remove target.
10554         * manual/Makefile: Include Makeconfig immediately after defining
10555         subdir.
10556         * math/Makefile: Likewise.
10557         * misc/Makefile: Likewise.
10558         * nis/Makefile: Likewise.
10559         * nss/Makefile: Likewise.
10560         * po/Makefile: Likewise.
10561         (all): Remove target.
10562         * posix/Makefile: Include Makeconfig immediately after defining
10563         subdir.
10564         * pwd/Makefile: Likewise.
10565         * resolv/Makefile: Likewise.
10566         * resource/Makefile: Likewise.
10567         * rt/Makefile: Likewise.
10568         * setjmp/Makefile: Likewise.
10569         * shadow/Makefile: Likewise.
10570         * signal/Makefile: Likewise.
10571         * socket/Makefile: Likewise.
10572         * soft-fp/Makefile: Likewise.
10573         * stdio-common/Makefile: Likewise.
10574         * stdlib/Makefile: Likewise.
10575         * streams/Makefile: Likewise.
10576         * string/Makefile: Likewise.
10577         * sunrpc/Makefile: Likewise.
10578         (all): Remove target.
10579         * sysvipc/Makefile: Include Makeconfig immediately after defining
10580         subdir.
10581         * termios/Makefile: Likewise.
10582         * time/Makefile: Likewise.
10583         * timezone/Makefile: Likewise.
10584         (all): Remove target.
10585         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10586         subdir.
10587         * wctype/Makefile: Likewise.
10588
10589 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10590
10591         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10592         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10593         (libc_feholdexcept_setround_mips): Ditto.
10594         (libc_feholdsetround): New.
10595         (libc_feholdsetroundf): New.
10596         (libc_feholdsetroundl): New.
10597         (libc_feupdateenv_test_mips): New.
10598         (libc_feupdateenv_test): New.
10599         (libc_feupdateenv_testf): New.
10600         (libc_feupdateenv_testl): New.
10601         (libc_feresetround): New.
10602         (libc_feresetroundf): New.
10603         (libc_feresetroundl): New.
10604         (libc_fetestexcept_mips): New.
10605         (libc_fetestexcept): New.
10606         (libc_fetestexceptf): New.
10607         (libc_fetestexceptl): New.
10608         (HAVE_RM_CTX): New.
10609         (libc_feholdexcept_setround_mips_ctx): New.
10610         (libc_feholdexcept_setround_ctx): New.
10611         (libc_feholdexcept_setroundf_ctx): New.
10612         (libc_feholdexcept_setroundl_ctx): New.
10613         (libc_fesetenv_mips_ctx): New.
10614         (libc_fesetenv_ctx): New.
10615         (libc_fesetenv_ctxf): New.
10616         (libc_fesetenv_ctxl): New.
10617         (libc_feupdateenv_mips_ctx): New.
10618         (libc_feupdateenv_ctx): New.
10619         (libc_feupdateenvf_ctx): New.
10620         (libc_feupdateenvl_ctx): New.
10621         (libc_feholdsetround_mips_ctx): New.
10622         (libc_feholdsetround_ctx): New.
10623         (libc_feholdsetroundf_ctx): New.
10624         (libc_feholdsetroundl_ctx): New.
10625         (libc_feresetround_mips_ctx): New.
10626         (libc_feresetround_ctx): New.
10627         (libc_feresetroundf_ctx): New.
10628         (libc_feresetroundl_ctx): New.
10629
10630 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10631
10632         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10633
10634         * manual/ipc.texi: New file.
10635         * manual/Makefile (chapters): Add ipc.
10636         * manual/job.texi: Add "Inter-Process Communication" to next.
10637         * manual/process.texi: Add "Inter-Process Communication" to prev.
10638
10639 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10640
10641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10642
10643 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10644
10645         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10646
10647         * manual/arith.texi: Fix spaces after sentences.
10648         * manual/charset.texi: Likewise.
10649         * manual/errno.texi: Likewise.
10650         * manual/install.texi: Likewise.
10651         * manual/llio.texi: Likewise.
10652         * manual/locale.texi: Likewise.
10653         * manual/maint.texi: Likewise.
10654         * manual/math.texi: Likewise.
10655         * manual/memory.texi: Likewise.
10656         * manual/message.texi: Likewise.
10657         * manual/probes.texi: Likewise.
10658         * manual/resource.texi: Likewise.
10659         * manual/signal.texi: Likewise.
10660         * manual/socket.texi: Likewise.
10661         * manual/stdio.texi: Likewise.
10662         * manual/string.texi: Likewise.
10663         * manual/time.texi: Likewise.
10664         * manual/users.texi: Likewise.
10665
10666 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10667
10668         [BZ #16632]
10669         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10670         _DEFAULT_SOURCE is defined.
10671
10672 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10673             Carlos O'Donell  <carlos@redhat.com>
10674
10675         [BZ #16613]
10676         * elf/dl-tls.c (_dl_count_modids): New function.
10677         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10678         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10679         audit library and increment generation counter.
10680         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10681         * elf/tst-audit9.c: New file.
10682         * elf/tst-auditmod9a.c: New file.
10683         * elf/tst-auditmod9b.c: New file.
10684         * elf/Makefile: Add rules to build and run tst-audit9.
10685
10686 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10687
10688         [BZ #15347]
10689         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10690
10691 2014-02-25  Will Newton  <will.newton@linaro.org>
10692
10693         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10694         (__longjmp): Restore sp and lr before restoring callee
10695         saved registers.  Add longjmp and longjmp_target
10696         SystemTap probe point.
10697         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10698         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10699         Define to zero to match jmpbuf layout.
10700         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10701         (__sigsetjmp): Save sp and lr before saving callee
10702         saved registers.  Add setjmp SystemTap probe point.
10703
10704 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10705
10706         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10707
10708 2014-02-24  Andreas Schwab  <schwab@suse.de>
10709
10710         [BZ #15804]
10711         * elf/pldd.c (wait_for_ptrace_stop): New function.
10712         (main): Call it after attaching.
10713
10714 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10715
10716         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10717         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10718         Versions files is now verboten.
10719         * hurd/Versions (libc: GLIBC_2.0):
10720         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10721         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10722         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10723         * mach/Versions: Likewise.
10724
10725         * csu/Versions: Remove unused %include.
10726         * resolv/Versions: Likewise.
10727
10728 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10729
10730         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10731         ($(objpfx)check-local-headers.out): Likewise.
10732         ($(objpfx)begin-end-check.out): Likewise.
10733         * Makerules (check-abi-%.out): Likewise.
10734         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10735         ($(objpfx)test2.cat): Likewise.
10736         ($(objpfx)de/libc.cat): Likewise.
10737         ($(objpfx)test-gencat.out): Likewise.
10738         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10739         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10740         ($(objpfx)noload-mem): Likewise.
10741         ($(objpfx)tst-pathopt.out): Likewise.
10742         ($(objpfx)tst-rtld-load-self.out): Likewise.
10743         ($(objpfx)tst-array1-cmp.out): Likewise.
10744         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10745         ($(objpfx)tst-array2-cmp.out): Likewise.
10746         ($(objpfx)tst-array3-cmp.out): Likewise.
10747         ($(objpfx)tst-array4-cmp.out): Likewise.
10748         ($(objpfx)tst-array5-cmp.out): Likewise.
10749         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10750         ($(objpfx)check-textrel.out): Likewise.
10751         ($(objpfx)check-execstack.out): Likewise.
10752         ($(objpfx)check-localplt.out): Likewise.
10753         ($(objpfx)order2-cmp.out): Likewise.
10754         ($(objpfx)tst-leaks1-mem): Likewise.
10755         ($(objpfx)tst-leaks1-static-mem): Likewise.
10756         ($(objpfx)tst-initorder-cmp.out): Likewise.
10757         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10758         ($(objpfx)tst-unused-dep.out): Likewise.
10759         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10760         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10761         * iconv/Makefile (test-iconvconfig): Likewise.
10762         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10763         ($(objpfx)iconv-test.out): Likewise.
10764         ($(objpfx)tst-tables.out): Likewise.
10765         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10766         ($(objpfx)tst-gettext.out): Likewise.
10767         ($(objpfx)tst-translit.out): Likewise.
10768         ($(objpfx)tst-gettext2.out): Likewise.
10769         ($(objpfx)tst-gettext4.out): Likewise.
10770         ($(objpfx)tst-gettext6.out): Likewise.
10771         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10772         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10773         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10774         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10775         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10776         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10777         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10778         ($(objpfx)wordexp-tst.out): Likewise.
10779         ($(objpfx)annexc.out): Likewise.
10780         ($(objpfx)tst-fnmatch-mem): Likewise.
10781         ($(objpfx)bug-regex2-mem): Likewise.
10782         ($(objpfx)bug-regex14-mem): Likewise.
10783         ($(objpfx)bug-regex21-mem): Likewise.
10784         ($(objpfx)bug-regex31-mem): Likewise.
10785         ($(objpfx)tst-vfork3-mem): Likewise.
10786         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10787         ($(objpfx)tst-pcre-mem): Likewise.
10788         ($(objpfx)tst-boost-mem): Likewise.
10789         ($(objpfx)tst-getconf.out): Likewise.
10790         ($(objpfx)bug-ga2-mem): Likewise.
10791         ($(objpfx)bug-glob2-mem): Likewise.
10792         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10793         ($(objpfx)mtrace-tst-leaks2): Likewise.
10794         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10795         ($(objpfx)tst-printf.out): Likewise.
10796         ($(objpfx)tst-setvbuf1.out): Likewise.
10797         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10798         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10799         ($(objpfx)tst-fmtmsg.out): Likewise.
10800         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10801         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10802
10803         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10804         * bits/sigaction.h [__USE_MISC]: Likewise.
10805         * bits/waitstatus.h: Update #endif comments.
10806         * ctype/ctype.h: Likewise.
10807         * dirent/dirent.h: Likewise.
10808         [__USE_MISC]: Remove redundant conditionals.
10809         * grp/grp.h: Update #endif comments.
10810         [__USE_GNU]: Remove redundant conditionals.
10811         [__USE_MISC]: Likewise.
10812         * inet/netinet/in.h [__USE_GNU]: Likewise.
10813         * io/sys/stat.h [__USE_MISC]: Likewise.
10814         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10815         * libio/bits/stdio.h: Update #endif comments.
10816         [__USE_MISC]: Remove redundant conditionals.
10817         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10818         * libio/stdio.h: Update #endif comments.
10819         [__USE_MISC]: Remove redundant conditionals.
10820         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10821         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10822         * math/math.h: Update #else and #endif comments.
10823         [__USE_MISC]: Remove redundant conditionals.
10824         * misc/sys/uio.h: Update #endif comments.
10825         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10826         * posix/glob.h [__USE_MISC]: Likewise.
10827         * posix/sys/types.h: Update #endif comments.
10828         [__USE_MISC]: Remove redundant conditionals.
10829         * posix/sys/wait.h: Update #endif comments.
10830         [__USE_MISC]: Remove redundant conditionals.
10831         * posix/unistd.h: Update #endif comments.
10832         [__USE_MISC]: Remove redundant conditionals.
10833         * pwd/pwd.h [__USE_GNU]: Likewise.
10834         [__USE_MISC]: Likewise.
10835         * resolv/netdb.h [__USE_GNU]: Likewise.
10836         * signal/signal.h: Update #endif comments.
10837         [__USE_MISC]: Remove redundant conditionals.
10838         * stdlib/stdlib.h: Update #else and #endif comments.
10839         [__USE_MISC]: Remove redundant conditionals.
10840         [__USE_GNU]: Likewise.
10841         * string/bits/string2.h [__USE_MISC]: Likewise.
10842         * string/string.h: Update #endif comments.
10843         [__USE_MISC]: Remove redundant conditionals.
10844         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10845         Likewise.
10846         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10847         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10848         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10849         Likewise.
10850         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10851         Likewise.
10852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10853         comments.
10854         [__USE_MISC]: Remove redundant conditionals.
10855         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10856         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10857         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10858         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10859         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10860         Likewise.
10861         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10862         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10863         Likewise.
10864         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10865         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10866         Likewise.
10867         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10868         Likewise.
10869         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10870         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10871         Likewise.
10872         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10873         Likewise.
10874         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10875         * sysdeps/x86/bits/string.h: Update #endif comments.
10876         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10877         conditionals.
10878         * time/sys/time.h: Update #endif comments.
10879         * time/time.h: Likewise.
10880         [__USE_MISC]: Remove redundant conditionals.
10881
10882 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10883
10884         [BZ #16600]
10885         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10886
10887 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10888
10889         * Versions.def (librt): Add GLIBC_2.17.
10890
10891 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10892
10893         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10894         synonym for _SYS_AUXV_H to allow direct inclusion.
10895         * sysdeps/sparc/bits/hwcap.h: Likewise.
10896         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10897         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10898         * sysdeps/sparc/sysdep.h: Likewise.
10899
10900 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10901
10902         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10903
10904 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10905
10906         * benchtests/bench-strrchr.c: Print length instead of position.
10907
10908 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10909
10910         [BZ #16611]
10911         * sysdeps/unix/sysv/linux/kernel-features.h
10912         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10913         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10914         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10915         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10916         Likewise.
10917         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10918         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10919         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10920         (__ASSUME_SENDMMSG): Define instead of using previous
10921         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10922         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10923         (__ASSUME_SENDMMSG_SYSCALL): Define.
10924         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10925         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10926         Likewise.
10927         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10928         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10931         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10932         Likewise.
10933         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10934         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10935         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10936         [__ASSUME_SENDMMSG]: Change conditionals to
10937         [__ASSUME_SENDMMSG_SOCKETCALL].
10938         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10939         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10940         Define.
10941         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10942         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10943         Likewise.
10944         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10945         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10946         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10947         [!__ASSUME_SENDMMSG]: Change conditional to
10948         [!__ASSUME_SENDMMSG_SOCKETCALL].
10949         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10950         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10951         Define.
10952
10953         [BZ #16610]
10954         * sysdeps/unix/sysv/linux/kernel-features.h
10955         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10956         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10957         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10958         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10959         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10960         [__i386__ || __sparc__]
10961         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10962         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10963         (__ASSUME_RECVMMSG): Define instead of using previous
10964         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10965         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10966         (__ASSUME_RECVMMSG_SYSCALL): Define.
10967         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10968         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10969         Likewise.
10970         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10971         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10972         Likewise.
10973         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10974         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10975         Likewise.
10976         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10977         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10978         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10979         [__ASSUME_RECVMMSG]: Change condition to
10980         [__ASSUME_RECVMMSG_SOCKETCALL].
10981         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10983         Define.
10984         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10985         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10986         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10987         Likewise.
10988         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10989         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10990         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10991         [!__ASSUME_RECVMMSG]: Change condition to
10992         [!__ASSUME_RECVMMSG_SOCKETCALL].
10993         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10994         (__ASSUME_RECVMMSG_SYSCALL): Define.
10995
10996         [BZ #16609]
10997         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10998         __powerpc__ || __s390__ || __sh__ || __sparc__]
10999         (__ASSUME_SOCKETCALL): Define.
11000         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11001         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11002         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11003         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11004         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11005         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11006         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11007         (__ASSUME_ACCEPT4): Define instead of using previous
11008         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11009         __powerpc__ || __sparc__ || __s390__)] condition.
11010         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11011         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11012         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11013         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11014         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11015         [!__ASSUME_ACCEPT4]: Change condition to
11016         [!__ASSUME_ACCEPT4_SOCKETCALL].
11017         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11018         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11019         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11020         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11021         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11022         __ASSUME_ACCEPT4_SYSCALL.
11023         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11024         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11025         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11026         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11027         __ASSUME_ACCEPT4_SYSCALL.
11028         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11029         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11030         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11031         [__ASSUME_ACCEPT4]: Change condition to
11032         [__ASSUME_ACCEPT4_SOCKETCALL].
11033         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11034         (__ASSUME_SOCKETCALL): Define.
11035         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11036         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11037         (__ASSUME_SOCKETCALL): Define.
11038         (__ASSUME_ACCEPT4): Remove.
11039         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11040         Define.
11041         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11042         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11043         Likewise.
11044         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11045         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11046
11047         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11048         macro.
11049         (HWCAP_ARM_LPAE): Likewise.
11050         (HWCAP_ARM_EVTSTRM): Likewise.
11051         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11052         Add vpfd32, lpae and evtstrm.
11053         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11054         Increase to 22.
11055
11056 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11057
11058         * math/auto-libm-test-in: Add tests of clog10.
11059         * math/auto-libm-test-out: Regenerated.
11060         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11061         * sysdeps/i386/fpu/libm-test-ulps: Update.
11062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063
11064 2014-02-18  Andreas Schwab  <schwab@suse.de>
11065
11066         [BZ #16574]
11067         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11068         Store non-zero if the second buffer was newly allocated.
11069         (send_dg): Likewise.
11070         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11071         to send_vc and send_dg.
11072         (res_nsend): Pass NULL for ansp2_malloced.
11073         * resolv/res_query.c (__libc_res_nquery): Add parameter
11074         answerp2_malloced and pass it down to __libc_res_nsend.
11075         (res_nquery): Pass additional NULL to __libc_res_nquery.
11076         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11077         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11078         second answer buffer if answerp2_malloced was set.
11079         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11080         (__libc_res_nquerydomain): Add parameter
11081         answerp2_malloced and pass it down to __libc_res_nquery.
11082         (res_nquerydomain): Pass additional NULL to
11083         __libc_res_nquerydomain.
11084         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11085         additional NULL to __libc_res_nsend and __libc_res_nquery.
11086         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11087         additional NULL to __libc_res_nsearch.
11088         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11089         parameter of __libc_res_nsearch to check for separately allocated
11090         second buffer.
11091         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11092         __libc_res_nquery.
11093         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11094         additional NULL to __libc_res_nquery.
11095         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11096         __libc_res_nsearch.
11097         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11098         * include/resolv.h: Update prototypes of __libc_res_nquery,
11099         __libc_res_nsearch, __libc_res_nsend.
11100
11101 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11102
11103         * math/auto-libm-test-in: Add tests of fma.
11104         * math/auto-libm-test-out: Regenerated.
11105         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11106         (fma_towardzero_test_data): Likewise.
11107         (fma_downward_test_data): Likewise.
11108         (fma_upward_test_data): Likewise.
11109         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11110         mpc_mode.
11111         (rounding_modes): Add values for new field.
11112         (func_calc_method): Add value mpfr_fff_f.
11113         (func_calc_desc): Add mpfr_fff_f union field.
11114         (test_function): Add field exact_args.
11115         (FUNC): Add macro argument EXACT_ARGS.
11116         (FUNC_mpfr_f_f): Update call to FUNC.
11117         (FUNC_mpfr_f_f): Likewise.
11118         (FUNC_mpfr_ff_f): Likewise.
11119         (FUNC_mpfr_if_f): Likewise.
11120         (FUNC_mpc_c_f): Likewise.
11121         (FUNC_mpc_c_c): Likewise.
11122         (test_functions): Add fma.  Update calls to FUNC.
11123         (handle_input_arg): Add argument exact_args.
11124         (add_test): Update call to handle_input_arg.
11125         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11126         (output_for_one_input_case): Update call to calc_generic_results.
11127         Recalculate exact zero results in each rounding mode.
11128
11129         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11130         non-negative before setting low bit.
11131         * math/auto-libm-test-in: Mark one asin test possibly having
11132         spurious underflow.
11133         * math/auto-libm-test-out: Regenerated.
11134         * sysdeps/i386/fpu/libm-test-ulps: Update.
11135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11136
11137 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11138
11139         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11140         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11141         ports/sysdeps/unix/sysv/linux/microblaze.
11142         * README: Add missing listing for microblaze*-*-linux-gnu.
11143
11144 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11145
11146         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11147         duplicate code
11148
11149 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11150
11151         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11152         * sysdeps/unix/sysv/linux/ia64: Move directory from
11153         ports/sysdeps/unix/sysv/linux/ia64.
11154         * README: Update listing for ia64-*-linux-gnu.
11155
11156 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11157             Joseph Myers  <joseph@codesourcery.com>
11158
11159         * Makeconfig (test-name): New variable.
11160         (evaluate-test): Likewise.
11161         * Makerules (do-test-clean): Remove .test-result files.
11162         (common-mostlyclean): Likewise.
11163         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11164         * scripts/evaluate-test.sh: New file.
11165
11166 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11167
11168         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11169         separate $(objpfx)tst-fopenloc-cmp.out and
11170         $(objpfx)tst-fopenloc-mem.out targets.
11171         (tests): Update dependencies.
11172         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11173         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11174         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11175         (tst-rxspencer-no-utf8-ARGS): New variable.
11176         (tst-rxspencer-no-utf8-ENV): Likewise.
11177         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11178         instead of $(objpfx)tst-rxspencer-mem.
11179         ($(objpfx)tst-rxspencer-mem): Change target to
11180         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11181         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11182         * posix/tst-rxspencer-no-utf8.c: New file.
11183
11184         * elf/Makefile ($(objpfx)order.out): Remove rule.
11185         [$(run-built-tests) = yes] (tests): Depend on
11186         $(objpfx)order-cmp.out.
11187         ($(objpfx)order-cmp.out): New rule.
11188         [$(run-built-tests) = yes] (tests): Depend on
11189         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11190         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11191         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11192         $(objpfx)tst-array5-static-cmp.out.
11193         ($(objpfx)tst-array1.out): Remove rule.
11194         ($(objpfx)tst-array1-cmp.out): New rule.
11195         ($(objpfx)tst-array1-static.out): Remove rule.
11196         ($(objpfx)tst-array1-static-cmp.out): New rule.
11197         ($(objpfx)tst-array2.out): Remove rule.
11198         ($(objpfx)tst-array2-cmp.out): New rule.
11199         ($(objpfx)tst-array3.out): Remove rule.
11200         ($(objpfx)tst-array3-cmp.out): New rule.
11201         ($(objpfx)tst-array4.out): Remove rule.
11202         ($(objpfx)tst-array4-cmp.out): New rule.
11203         ($(objpfx)tst-array5.out): Remove rule.
11204         ($(objpfx)tst-array5-cmp.out): New rule.
11205         ($(objpfx)tst-array5-static.out): Remove rule.
11206         ($(objpfx)tst-array5-static-cmp.out): New rule.
11207         [$(run-built-tests) = yes] (tests): Depend on
11208         $(objpfx)order2-cmp.out.
11209         ($(objpfx)order2.out): Remove rule.
11210         ($(objpfx)order2-cmp.out): New rule.
11211         ($(objpfx)tst-initorder.out): Remove rule.
11212         [$(run-built-tests) = yes] (tests): Depend on
11213         $(objpfx)tst-initorder-cmp.out.
11214         ($(objpfx)tst-initorder-cmp.out): New rule.
11215         ($(objpfx)tst-initorder2.out): Remove rule.
11216         [$(run-built-tests) = yes] (tests): Depend on
11217         $(objpfx)tst-initorder2-cmp.out.
11218         ($(objpfx)tst-initorder2-cmp.out): New rule.
11219         [$(run-built-tests) = yes] (tests): Depend on
11220         $(objpfx)tst-unused-dep-cmp.out.
11221         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11222         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11223         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11224         on $(objpfx)tst-setvbuf1-cmp.out.
11225         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11226         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11227         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11228         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11229         ($(objpfx)tst-svc.out): Remove rule.
11230         ($(objpfx)tst-svc-cmp.out): New rule.
11231
11232 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11233
11234         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11235         * ctype/ctype.h [__USE_MISC]: Likewise.
11236         * dirent/dirent.h [__USE_MISC]: Likewise.
11237         * grp/grp.h [__USE_MISC]: Likewise.
11238         * io/fcntl.h [__USE_MISC]: Likewise.
11239         * io/sys/stat.h [__USE_MISC]: Likewise.
11240         * libio/stdio.h [__USE_MISC]: Likewise.
11241         * posix/unistd.h [__USE_MISC]: Likewise.
11242         * pwd/pwd.h [__USE_MISC]: Likewise.
11243         * stdlib.h [__USE_MISC]: Likewise.
11244         * string/bits/string2.h [__USE_MISC]: Likewise.
11245         * string/string.h [__USE_MISC]: Likewise.
11246         * time/time.h [__USE_MISC]: Likewise.
11247
11248 2014-02-13  Andreas Schwab  <schwab@suse.de>
11249
11250         [BZ #16574]
11251         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11252         second answer buffer if it was separately allocated.
11253
11254 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11255
11256         * sysdeps/mips/math-tests.h: Include <features.h>.
11257         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11258         (ROUNDING_TESTS_long_double): Do not define.
11259         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11260         (EXCEPTION_TESTS_long_double): Likewise.
11261         * sysdeps/mips/mips64/libm-test-ulps: Update.
11262
11263         * include/features.h (__USE_BSD): Remove macro definitions.
11264         (__USE_SVID): Likewise.
11265         (_BSD_SOURCE): Likewise.
11266         (_SVID_SOURCE): Likewise.
11267         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11268         from definition of _DEFAULT_SOURCE.
11269         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11270         [_DEFAULT_SOURCE].
11271         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11272         * bits/mman.h [__USE_BSD]: Likewise.
11273         * bits/termios.h [__USE_BSD]: Likewise.
11274         * bits/waitstatus.h [__USE_BSD]: Likewise.
11275         * ctype/ctype.h [__USE_SVID]: Likewise.
11276         * dirent/dirent.h [__USE_BSD]: Likewise.
11277         * grp/grp.h [__USE_SVID]: Likewise.
11278         [__USE_BSD]: Likewise.
11279         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11280         * io/fcntl.h [__USE_BSD]: Likewise.
11281         * io/ftw.h [__USE_BSD]: Likewise.
11282         * io/sys/stat.h [__USE_BSD]: Likewise.
11283         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11284         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11285         * libio/stdio.h [__USE_SVID]: Likewise.
11286         [__USE_BSD]: Likewise.
11287         * math/math.h [__USE_SVID]: Likewise.
11288         [__USE_BSD]: Likewise.
11289         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11290         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11291         * misc/search.h [__USE_SVID]: Likewise.
11292         * misc/sys/mman.h [__USE_BSD]: Likewise.
11293         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11294         * misc/sys/uio.h [__USE_BSD]: Likewise.
11295         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11296         * posix/glob.h [__USE_BSD]: Likewise.
11297         * posix/regex.h [__USE_BSD]: Likewise.
11298         * posix/sys/types.h [__USE_BSD]: Likewise.
11299         [__USE_SVID]: Likewise.
11300         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11301         * posix/sys/wait.h [__USE_BSD]: Likewise.
11302         [__USE_SVID]: Likewise.
11303         * posix/unistd.h [__USE_BSD]: Likewise.
11304         [__USE_SVID]: Likewise.
11305         * pwd/pwd.h [__USE_SVID]: Likewise.
11306         * resolv/netdb.h [__USE_BSD]: Likewise.
11307         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11308         * signal/signal.h [__USE_BSD]: Likewise.
11309         [__USE_SVID]: Likewise.
11310         * socket/sys/socket.h [__USE_BSD]: Likewise.
11311         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11312         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11313         [__USE_SVID]: Likewise.
11314         * string/bits/string2.h [__USE_BSD]: Likewise.
11315         [__USE_SVID]: Likewise.
11316         * string/bits/string3.h [__USE_BSD]: Likewise.
11317         * string/endian.h [__USE_BSD]: Likewise.
11318         * string/string.h [__USE_SVID]: Likewise.
11319         [__USE_BSD]: Likewise.
11320         * string/strings.h [__USE_BSD]: Likewise.
11321         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11322         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11323         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11324         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11325         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11326         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11327         Likewise.
11328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11329         Likewise.
11330         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11331         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11332         Likewise.
11333         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11334         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11335         Likewise.
11336         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11337         Likewise.
11338         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11339         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11340         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11341         Likewise.
11342         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11343         Likewise.
11344         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11345         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11346         * termios/termios.h [__USE_BSD]: Likewise.
11347         * time/sys/time.h [__USE_BSD]: Likewise.
11348         * time/time.h [__USE_BSD]: Likewise.
11349         [__USE_SVID]: Likewise.
11350
11351         * Makefile (subdir_targets): Remove subdir_lint.out.
11352
11353         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11354         (do-tst-printf): Likewise.
11355         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11356         $(objpfx)tst-printf.out.
11357
11358         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11359
11360         * Makerules (check-abi-%): Change target to
11361         $(objpfx)check-abi-%.out.
11362         (check-abi target): Update dependencies.
11363         (check-abi-pattern variable): Redirect output of diff to $@.
11364         (check-abi variable): Likewise.
11365         * elf/Makefile (check-abi): Update dependencies.
11366
11367         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11368         unused.
11369         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11370         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11371         subnormal range.
11372         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11373         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11374         value has largest subnormal exponent.
11375         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11376         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11377         * sysdeps/aarch64/soft-fp/sfp-machine.h
11378         (_FP_TININESS_AFTER_ROUNDING): New macro.
11379         * sysdeps/alpha/soft-fp/sfp-machine.h
11380         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11381         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11382         Likewise.
11383         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11384         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11385         * sysdeps/mips/soft-fp/sfp-machine.h
11386         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11387         * sysdeps/powerpc/soft-fp/sfp-machine.h
11388         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11389         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11390         Likewise.
11391         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11392         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11393         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11394         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11395         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11396         Likewise.
11397
11398 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11399
11400         [BZ #16545]
11401         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11402         model 1.
11403
11404 2014-02-12  Richard Henderson  <rth@redhat.com>
11405
11406         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11407         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11408         * sysdeps/unix/sysv/linux/alpha: Move directory from
11409         ports/sysdeps/unix/sysv/linux/alpha.
11410         * README: Update listing for alpha-*-linux-gnu.
11411
11412 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11413
11414         * include/features.h: Update comment documenting feature test
11415         macros.
11416         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11417         _DEFAULT_SOURCE.
11418         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11419         (_SVID_SOURCE): Likewise.
11420         (_DEFAULT_SOURCE): Update description of default features.
11421         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11422         with _GNU_SOURCE.
11423         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11424         (S_ISVTX): Likewise.
11425         * manual/math.texi (Mathematical Constants): Likewise.
11426         * manual/signal.texi (Interrupted Primitives): Likewise.
11427         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11428         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11429         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11430         Don't refer to _SVID_SOURCE in warning text.
11431
11432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11433
11434         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11435         already defined.
11436         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11437         * sysdeps/mips/dl-lookup.c: Remove.
11438         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11439
11440 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11441
11442         [BZ #16447]
11443         * math/auto-libm-test-in: Add testcase for expl.
11444         * math/auto-libm-test-out: Regenerate.
11445         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11446         calculation of unsafe.
11447         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11448
11449 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11450
11451         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11452         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11453         ports/sysdeps/unix/sysv/linux/aarch64.
11454         * README: Update listing for aarch64*-*-linux-gnu.
11455
11456 2014-02-11  Will Newton  <will.newton@linaro.org>
11457
11458         * manual/probes.texi (Mathematical Function Probes): Use
11459         "triggered" instead of "hit".
11460
11461         * manual/probes.texi (Internal Probes): Add documentation
11462         of setjmp, longjmp and longjmp_target probes.
11463
11464         * include/stap-probe.h: Add comment about probe argument
11465         format.
11466
11467         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11468         definition.  (tr_where, tr_freehook, tr_mallochook,
11469         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11470
11471 2014-02-11  David S. Miller  <davem@davemloft.net>
11472
11473         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11474         processing int_tests.
11475
11476 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11477
11478         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11479         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11480         * sysdeps/unix/sysv/linux/mips: Move directory from
11481         ports/sysdeps/unix/sysv/linux/mips.
11482         * README: Update listing for mips-*-linux-gnu and
11483         mips64-*-linux-gnu.
11484
11485 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11486
11487         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11488         * sysdeps/unix/sysv/linux/m68k: Move directory from
11489         ports/sysdeps/unix/sysv/linux/m68k.
11490         * README: Update listing for m68k-*-linux-gnu.
11491
11492 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11493
11494         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11495         * sysdeps/unix/sysv/linux/generic: Move directory from
11496         ports/sysdeps/unix/sysv/linux/generic.
11497         * sysdeps/unix/sysv/linux/tile: Move directory from
11498         ports/sysdeps/unix/sysv/linux/tile.
11499         * README: Update listing for tile*-*-linux-gnu.
11500
11501 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11502
11503         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11504         __builtin_expect.
11505         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11506         * catgets/open_catalog.c (__open_catalog): Likewise.
11507         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11508         * debug/confstr_chk.c: Likewise.
11509         * debug/fread_chk.c (__fread_chk): Likewise.
11510         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11511         * debug/getgroups_chk.c: Likewise.
11512         * debug/mbsnrtowcs_chk.c: Likewise.
11513         * debug/mbsrtowcs_chk.c: Likewise.
11514         * debug/mbstowcs_chk.c: Likewise.
11515         * debug/memcpy_chk.c: Likewise.
11516         * debug/memmove_chk.c: Likewise.
11517         * debug/mempcpy_chk.c: Likewise.
11518         * debug/memset_chk.c: Likewise.
11519         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11520         * debug/strcat_chk.c (__strcat_chk): Likewise.
11521         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11522         * debug/strncat_chk.c (__strncat_chk): Likewise.
11523         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11524         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11525         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11526         * debug/wcpncpy_chk.c: Likewise.
11527         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11528         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11529         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11530         * debug/wcsncpy_chk.c: Likewise.
11531         * debug/wcsnrtombs_chk.c: Likewise.
11532         * debug/wcsrtombs_chk.c: Likewise.
11533         * debug/wcstombs_chk.c: Likewise.
11534         * debug/wmemcpy_chk.c: Likewise.
11535         * debug/wmemmove_chk.c: Likewise.
11536         * debug/wmempcpy_chk.c: Likewise.
11537         * debug/wmemset_chk.c: Likewise.
11538         * dirent/scandirat.c (SCANDIRAT): Likewise.
11539         * dlfcn/dladdr1.c (dladdr1): Likewise.
11540         * dlfcn/dladdr.c (dladdr): Likewise.
11541         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11542         * dlfcn/dlerror.c (__dlerror): Likewise.
11543         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11544         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11545         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11546         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11547         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11548         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11549         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11550         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11551         Likewise.
11552         * elf/dl-conflict.c: Likewise.
11553         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11554         * elf/dl-dst.h: Likewise.
11555         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11556         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11557         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11558         * elf/dl-init.c (call_init, _dl_init): Likewise.
11559         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11560         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11561         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11562         Likewise.
11563         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11564         Likewise.
11565         * elf/dl-minimal.c (__libc_memalign): Likewise.
11566         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11567         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11568         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11569         * elf/dl-sym.c (do_sym): Likewise.
11570         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11571         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11572         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11573         * elf/dl-writev.h (_dl_writev): Likewise.
11574         * elf/ldconfig.c (search_dir): Likewise.
11575         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11576         (dl_main): Likewise.
11577         * elf/setup-vdso.h (setup_vdso): Likewise.
11578         * grp/compat-initgroups.c (compat_call): Likewise.
11579         * grp/fgetgrent.c (fgetgrent): Likewise.
11580         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11581         * grp/putgrent.c (putgrent): Likewise.
11582         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11583         Likewise.
11584         * hurd/hurdinit.c: Likewise.
11585         * iconvdata/8bit-gap.c (struct): Likewise.
11586         * iconvdata/ansi_x3.110.c : Likewise.
11587         * iconvdata/big5.c : Likewise.
11588         * iconvdata/big5hkscs.c : Likewise.
11589         * iconvdata/cp1255.c: Likewise.
11590         * iconvdata/cp1258.c : Likewise.
11591         * iconvdata/cp932.c : Likewise.
11592         * iconvdata/euc-cn.c: Likewise.
11593         * iconvdata/euc-jisx0213.c : Likewise.
11594         * iconvdata/euc-jp.c: Likewise.
11595         * iconvdata/euc-jp-ms.c : Likewise.
11596         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11597         * iconvdata/gb18030.c : Likewise.
11598         * iconvdata/gbbig5.c (const): Likewise.
11599         * iconvdata/gbgbk.c: Likewise.
11600         * iconvdata/gbk.c : Likewise.
11601         * iconvdata/ibm1364.c : Likewise.
11602         * iconvdata/ibm930.c : Likewise.
11603         * iconvdata/ibm932.c: Likewise.
11604         * iconvdata/ibm933.c : Likewise.
11605         * iconvdata/ibm935.c : Likewise.
11606         * iconvdata/ibm937.c : Likewise.
11607         * iconvdata/ibm939.c : Likewise.
11608         * iconvdata/ibm943.c: Likewise.
11609         * iconvdata/iso_11548-1.c: Likewise.
11610         * iconvdata/iso-2022-cn.c : Likewise.
11611         * iconvdata/iso-2022-cn-ext.c : Likewise.
11612         * iconvdata/iso-2022-jp-3.c: Likewise.
11613         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11614         * iconvdata/iso-2022-kr.c : Likewise.
11615         * iconvdata/iso646.c (gconv_end): Likewise.
11616         * iconvdata/iso_6937-2.c : Likewise.
11617         * iconvdata/iso_6937.c : Likewise.
11618         * iconvdata/iso8859-1.c: Likewise.
11619         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11620         * iconvdata/shift_jisx0213.c : Likewise.
11621         * iconvdata/sjis.c : Likewise.
11622         * iconvdata/t.61.c : Likewise.
11623         * iconvdata/tcvn5712-1.c : Likewise.
11624         * iconvdata/tscii.c: Likewise.
11625         * iconvdata/uhc.c : Likewise.
11626         * iconvdata/unicode.c (gconv_end): Likewise.
11627         * iconvdata/utf-16.c (gconv_end): Likewise.
11628         * iconvdata/utf-32.c (gconv_end): Likewise.
11629         * iconvdata/utf-7.c (base64): Likewise.
11630         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11631         * iconv/gconv_close.c (__gconv_close): Likewise.
11632         * iconv/gconv_open.c (__gconv_open): Likewise.
11633         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11634         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11635         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11636         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11637         (ucs4le_internal_loop_single): Likewise.
11638         * iconv/iconv.c (iconv): Likewise.
11639         * iconv/iconv_close.c: Likewise.
11640         * iconv/loop.c (SINGLE): Likewise.
11641         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11642         * include/atomic.h: Likewise.
11643         * inet/inet6_option.c (option_alloc): Likewise.
11644         * intl/bindtextdom.c (set_binding_values): Likewise.
11645         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11646         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11647         * intl/localealias.c (read_alias_file): Likewise.
11648         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11649         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11650         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11651         * libio/fmemopen.c (fmemopen): Likewise.
11652         * libio/iofgets.c (_IO_fgets): Likewise.
11653         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11654         * libio/iofgetws.c (fgetws): Likewise.
11655         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11656         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11657         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11658         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11659         * locale/findlocale.c (_nl_find_locale): Likewise.
11660         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11661         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11662         Likewise.
11663         * locale/setlocale.c (setlocale): Likewise.
11664         * login/programs/pt_chown.c (main): Likewise.
11665         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11666         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11667         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11668         (mmap, mmap64, mremap, munmap): Likewise.
11669         * math/e_exp2l.c: Likewise.
11670         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11671         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11672         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11673         * math/s_catan.c (__catan): Likewise.
11674         * math/s_catanf.c (__catanf): Likewise.
11675         * math/s_catanh.c (__catanh): Likewise.
11676         * math/s_catanhf.c (__catanhf): Likewise.
11677         * math/s_catanhl.c (__catanhl): Likewise.
11678         * math/s_catanl.c (__catanl): Likewise.
11679         * math/s_ccosh.c (__ccosh): Likewise.
11680         * math/s_ccoshf.c (__ccoshf): Likewise.
11681         * math/s_ccoshl.c (__ccoshl): Likewise.
11682         * math/s_cexp.c (__cexp): Likewise.
11683         * math/s_cexpf.c (__cexpf): Likewise.
11684         * math/s_cexpl.c (__cexpl): Likewise.
11685         * math/s_clog10.c (__clog10): Likewise.
11686         * math/s_clog10f.c (__clog10f): Likewise.
11687         * math/s_clog10l.c (__clog10l): Likewise.
11688         * math/s_clog.c (__clog): Likewise.
11689         * math/s_clogf.c (__clogf): Likewise.
11690         * math/s_clogl.c (__clogl): Likewise.
11691         * math/s_csin.c (__csin): Likewise.
11692         * math/s_csinf.c (__csinf): Likewise.
11693         * math/s_csinh.c (__csinh): Likewise.
11694         * math/s_csinhf.c (__csinhf): Likewise.
11695         * math/s_csinhl.c (__csinhl): Likewise.
11696         * math/s_csinl.c (__csinl): Likewise.
11697         * math/s_csqrt.c (__csqrt): Likewise.
11698         * math/s_csqrtf.c (__csqrtf): Likewise.
11699         * math/s_csqrtl.c (__csqrtl): Likewise.
11700         * math/s_ctan.c (__ctan): Likewise.
11701         * math/s_ctanf.c (__ctanf): Likewise.
11702         * math/s_ctanh.c (__ctanh): Likewise.
11703         * math/s_ctanhf.c (__ctanhf): Likewise.
11704         * math/s_ctanhl.c (__ctanhl): Likewise.
11705         * math/s_ctanl.c (__ctanl): Likewise.
11706         * math/w_pow.c: Likewise.
11707         * math/w_powf.c: Likewise.
11708         * math/w_powl.c: Likewise.
11709         * math/w_scalb.c (sysv_scalb): Likewise.
11710         * math/w_scalbf.c (sysv_scalbf): Likewise.
11711         * math/w_scalbl.c (sysv_scalbl): Likewise.
11712         * misc/error.c (error_tail): Likewise.
11713         * misc/pselect.c (__pselect): Likewise.
11714         * nis/nis_callback.c (__nis_create_callback): Likewise.
11715         * nis/nis_call.c (__nisfind_server): Likewise.
11716         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11717         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11718         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11719         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11720         * nis/nis_lookup.c (nis_lookup): Likewise.
11721         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11722         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11723         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11724         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11725         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11726         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11727         * nis/nss_compat/compat-initgroups.c (add_group)
11728         (internal_getgrent_r): Likewise.
11729         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11730         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11731         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11732         (internal_getspnam_r): Likewise.
11733         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11734         (_nss_nis_getaliasbyname_r): Likewise.
11735         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11736         (_nss_nis_getntohost_r): Likewise.
11737         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11738         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11739         (_nss_nis_getgrgid_r): Likewise.
11740         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11741         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11742         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11743         (_nss_nis_gethostbyname4_r): Likewise.
11744         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11745         (initgroups_netid): Likewise.
11746         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11747         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11748         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11749         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11750         (_nss_nis_getprotobynumber_r): Likewise.
11751         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11752         (_nss_nis_getsecretkey): Likewise.
11753         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11754         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11755         (_nss_nis_getpwuid_r): Likewise.
11756         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11757         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11758         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11759         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11760         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11761         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11762         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11763         Likewise.
11764         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11765         (_nss_nisplus_getntohost_r): Likewise.
11766         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11767         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11768         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11769         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11770         Likewise.
11771         * nis/nss_nisplus/nisplus-initgroups.c
11772         (_nss_nisplus_initgroups_dyn): Likewise.
11773         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11774         (_nss_nisplus_getnetbyaddr_r): Likewise.
11775         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11776         (_nss_nisplus_getprotobynumber_r): Likewise.
11777         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11778         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11779         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11780         Likewise.
11781         * nis/nss_nisplus/nisplus-service.c
11782         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11783         (_nss_nisplus_getservbyport_r): Likewise.
11784         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11785         (_nss_nisplus_getspnam_r): Likewise.
11786         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11787         Likewise.
11788         * nscd/aicache.c (addhstaiX): Likewise.
11789         * nscd/cache.c (cache_search, prune_cache): Likewise.
11790         * nscd/connections.c (register_traced_file, send_ro_fd)
11791         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11792         (main_loop_epoll): Likewise.
11793         * nscd/grpcache.c (addgrbyX): Likewise.
11794         * nscd/hstcache.c (addhstbyX): Likewise.
11795         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11796         * nscd/mem.c (gc, mempool_alloc): Likewise.
11797         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11798         (addinnetgrX): Likewise.
11799         * nscd/nscd-client.h (__nscd_acquire_maplock)
11800         (__nscd_drop_map_ref): Likewise.
11801         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11802         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11803         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11804         Likewise.
11805         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11806         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11807         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11808         (__nscd_get_map_ref): Likewise.
11809         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11810         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11811         Likewise.
11812         * nscd/pwdcache.c (addpwbyX): Likewise.
11813         * nscd/selinux.c (preserve_capabilities): Likewise.
11814         * nscd/servicescache.c (addservbyX): Likewise.
11815         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11816         * posix/fnmatch.c (fnmatch): Likewise.
11817         * posix/getopt.c (_getopt_internal_r): Likewise.
11818         * posix/glob.c (glob, glob_in_dir): Likewise.
11819         * posix/wordexp.c (exec_comm_child): Likewise.
11820         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11821         (getanswer_r, gaih_getanswer_slice): Likewise.
11822         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11823         * resolv/res_init.c: Likewise.
11824         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11825         * resolv/res_query.c (__libc_res_nquery): Likewise.
11826         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11827         Likewise.
11828         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11829         * stdio-common/perror.c (perror): Likewise.
11830         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11831         * stdio-common/tmpnam.c (tmpnam): Likewise.
11832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11833         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11834         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11835         Likewise.
11836         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11837         * stdlib/putenv.c (putenv): Likewise.
11838         * stdlib/setenv.c (__add_to_environ): Likewise.
11839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11840         * stdlib/strtol_l.c (INTERNAL): Likewise.
11841         * string/memmem.c (memmem): Likewise.
11842         * string/strerror.c (strerror): Likewise.
11843         * string/strnlen.c (__strnlen): Likewise.
11844         * string/test-memmem.c (simple_memmem): Likewise.
11845         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11846         * sunrpc/pm_getport.c (__get_socket): Likewise.
11847         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11848         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11849         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11850         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11851         Likewise.
11852         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11853         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11854         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11855         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11856         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11857         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11858         Likewise.
11859         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11860         Likewise.
11861         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11862         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11863         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11864         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11865         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11867         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11868         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11869         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11870         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11871         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11872         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11873         Likewise.
11874         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11875         Likewise.
11876         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11877         Likewise.
11878         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11879         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11880         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11881         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11882         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11883         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11884         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11885         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11886         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11887         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11888         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11890         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11891         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11893         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11894         Likewise.
11895         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11896         Likewise.
11897         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11898         Likewise.
11899         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11900         Likewise.
11901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11903         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11904         Likewise.
11905         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11906         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11907         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11908         * sysdeps/posix/sleep.c: Likewise.
11909         * sysdeps/posix/tempname.c: Likewise.
11910         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11911         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11912         Likewise.
11913         * sysdeps/powerpc/powerpc32/dl-machine.h
11914         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11915         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11917         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11918         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11919         Likewise.
11920         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11921         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11922         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11923         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11924         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11925         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11926         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11927         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11928         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11929         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11930         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11931         (elf_machine_lazy_rel): Likewise.
11932         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11933         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11934         (elf_machine_lazy_rel): Likewise.
11935         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11936         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11937         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11938         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11939         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11940         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11941         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11943         Likewise.
11944         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11945         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11946         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11947         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11948         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11949         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11950         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11951         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11952         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11953         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11954         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11957         (__posix_fallocate64_l64): Likewise.
11958         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11959         (posix_fallocate): Likewise.
11960         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11961         Likewise.
11962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11963         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11964         (getifaddrs_internal): Likewise.
11965         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11966         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11967         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11968         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11969         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11970         (__posix_fallocate64_l64): Likewise.
11971         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11972         Likewise.
11973         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11974         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11975         (__get_clockfreq): Likewise.
11976         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11977         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11978         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11981         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11982         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11983         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11986         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11987         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11988         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11989         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11990         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11991         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11994         (posix_fallocate): Likewise.
11995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11996         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11997         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11998         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11999         (elf_machine_rela, elf_machine_rela_relative)
12000         (elf_machine_lazy_rel): Likewise.
12001         * time/asctime.c (asctime_internal): Likewise.
12002         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12003         * time/tzset.c (__tzset_parse_tz): Likewise.
12004         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12005         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12006         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12007         * wcsmbs/wcsmbsload.h: Likewise.
12008
12009         [BZ #15894]
12010         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12011
12012         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12013         (arena_get2): Remove THREAD_STATS conditionals.
12014         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12015         (__malloc_stats, int): Likewise.
12016
12017 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12018
12019         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12020         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12021
12022         * manual/setjmp.texi: Fix typos/grammar errors.
12023
12024         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12025         Only return early when n is <= 0.  Delete unused return statement.
12026
12027         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12028         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12029         * debug/tst-longjmp_chk3.c: New file.
12030
12031         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12032         (test_main): Replace code with set_fortify_handler call.
12033         * debug/test-strcpy_chk.c: Likewise.
12034         * debug/tst-chk1.c: Likewise.
12035         * debug/tst-longjmp_chk.c: Likewise.
12036         * test-skeleton.c: Include fcntl.h & paths.h
12037         (set_fortify_handler): Define.
12038
12039         * debug/tst-longjmp_chk.c: Add header comment and include
12040         ../test-skeleton.c.
12041         (do_test): Mark static.
12042         (TEST_FUNCTION): Define.
12043
12044         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12045         (IP_PMTUDISC_INTERFACE): Likewise.
12046         (IP_MULTICAST_IF): Likewise.
12047         (IP_MULTICAST_TTL): Likewise.
12048         (IP_MULTICAST_LOOP): Likewise.
12049         (IP_ADD_MEMBERSHIP): Likewise.
12050         (IP_DROP_MEMBERSHIP): Likewise.
12051         (IP_UNBLOCK_SOURCE): Likewise.
12052         (IP_BLOCK_SOURCE): Likewise.
12053         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12054         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12055         (IP_MSFILTER): Likewise.
12056         (MCAST_JOIN_GROUP): Likewise.
12057         (MCAST_BLOCK_SOURCE): Likewise.
12058         (MCAST_UNBLOCK_SOURCE): Likewise.
12059         (MCAST_LEAVE_GROUP): Likewise.
12060         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12061         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12062         (MCAST_MSFILTER): Likewise.
12063         (IP_MULTICAST_ALL): Likewise.
12064         (IP_UNICAST_IF): Likewise.
12065
12066         * timezone/Makefile: Delete $(have-ksh) check.
12067         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12068         * timezone/tzselect.ksh: Add +x mode bits.
12069
12070         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12071         (ANON_INODE_FS_MAGIC): Likewise.
12072         (BDEVFS_MAGIC): Likewise.
12073         (BINFMTFS_MAGIC): Likewise.
12074         (BTRFS_TEST_MAGIC): Likewise.
12075         (CRAMFS_MAGIC_WEND): Likewise.
12076         (DEBUGFS_MAGIC): Likewise.
12077         (ECRYPTFS_SUPER_MAGIC): Likewise.
12078         (EXT3_SUPER_MAGIC): Likewise.
12079         (EXT4_SUPER_MAGIC): Likewise.
12080         (FUTEXFS_SUPER_MAGIC): Likewise.
12081         (HOSTFS_SUPER_MAGIC): Likewise.
12082         (HUGETLBFS_MAGIC): Likewise.
12083         (MINIX3_SUPER_MAGIC): Likewise.
12084         (MTD_INODE_FS_MAGIC): Likewise.
12085         (NILFS_SUPER_MAGIC): Likewise.
12086         (OPENPROM_SUPER_MAGIC): Likewise.
12087         (PIPEFS_MAGIC): Likewise.
12088         (PSTOREFS_MAGIC): Likewise.
12089         (QNX6_SUPER_MAGIC): Likewise.
12090         (RAMFS_MAGIC): Likewise.
12091         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12092         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12093         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12094         (SECURITYFS_MAGIC): Likewise.
12095         (SELINUX_MAGIC): Likewise.
12096         (SMACK_MAGIC): Likewise.
12097         (SOCKFS_MAGIC): Likewise.
12098         (SQUASHFS_MAGIC): Likewise.
12099         (STACK_END_MAGIC): Likewise.
12100         (TMPFS_MAGIC): Likewise.
12101         (USBDEVICE_SUPER_MAGIC): Likewise.
12102         (V9FS_MAGIC): Likewise.
12103         (XENFS_SUPER_MAGIC): Likewise.
12104         (CRAMFS_MAGIC): Fix typo in comment.
12105         (EXT2_SUPER_MAGIC): Update comment.
12106         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12107
12108 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12109
12110         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12111         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12112         * sysdeps/unix/sysv/linux/arm: Move directory from
12113         ports/sysdeps/unix/sysv/linux/arm.
12114         * README: Update listing for arm-*-linux-gnueabi.
12115
12116         * README: Remove mention of am33.
12117
12118 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12119
12120         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12121         than the comma operator, to avoid "rhs of comma has no effect"
12122         compiler warnings.
12123         (__sigfillset, __sigandset, __sigorset): Likewise.
12124         * include/signal.h (__sigemptyset): Likewise.
12125         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12126
12127 2014-02-07  Allan McRae  <allan@archlinux.org>
12128
12129         * version.h (RELEASE): Set to "development".
12130         (VERSION): Set to "2.19.90"
12131         * NEWS: Add 2.20 section.
12132
12133 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12134
12135         [BZ #16529]
12136         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12137
12138 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139
12140         * manual/contrib.texi: Update entry for Carlos O'Donell,
12141         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12142
12143 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12144
12145         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12146
12147         * sysdeps/unix/sysv/linux/kernel-features.h
12148         [__LINUX_KERNEL_VERSION >= 0x020621]
12149         (__ASSUME_PROC_PID_TASK_COMM): Define.
12150
12151 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12152
12153         [BZ #16398]
12154         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12155         conversion when destination buffer does not have enough space.
12156         * libio/tst-ftell-partial-wide.c: New test case.
12157         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12158
12159         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12160         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12161         Leonard and Allan McRae.
12162
12163 2014-02-04  David S. Miller  <davem@davemloft.net>
12164
12165         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12166         32-bit.
12167
12168 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12169
12170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12171         New file
12172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12173         New file
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12175         New file.
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12177         New file.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12179         New file.
12180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12181         New file.
12182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12183         New file.
12184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12185         New file.
12186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12187         New file.
12188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12189         New file.
12190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12191         New file.
12192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12193         New file.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12195         New file.
12196
12197 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12198
12199         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12200         * shlib-versions: Likewise.
12201
12202 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12203             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12204
12205         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12206         (abilist-pattern): New variable, set to %-le.abilist.
12207
12208         * Makerules (abilist-pattern): New variable.
12209         (vpath): Use $(abilist-pattern) in place of %.abilist.
12210         (check-abi-% pattern rule): Likewise.
12211         (check-abi, update-abi): Likewise.
12212
12213 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12214
12215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12216
12217 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12218
12219         * manual/startup.texi: Add next, previous, and top entries for
12220         the `Program Arguments' and `Environment Variables' nodes.
12221
12222 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12223
12224         * manual/macros.texi: Add comments before MTASC-safety macros.
12225
12226         * manual/users.texi: Document MTASC-safety properties.
12227
12228         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12229         (pthread_getspecific, pthread_setspecific): Format with
12230         @deftypefun, and add @safety note.
12231         * manual/signal.texi: Move comments that analyze the above
12232         functions to their home place.
12233
12234 2014-02-03  Allan McRae  <allan@archlinux.org>
12235
12236         * po/sl.po: Update Slovenian translation from translation project.
12237
12238 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12239
12240         * manual/time.texi (timegm): Add missing blank after @c.
12241         Reported by Joseph Myers <joseph@codesourcery.com>.
12242
12243 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12244
12245         * manual/check-safety.sh: New.
12246         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12247
12248         * manual/terminal.texi: Document MTASC-safety properties.
12249
12250         * manual/filesys.texi: Document MTASC-safety properties.
12251
12252         * manual/errno.texi: Document MTASC-safety properties.
12253
12254         * manual/intro.texi: Document safety identifiers and
12255         conditionals.
12256
12257         * manual/string.texi (wcstok): Fix prototype.
12258         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12259
12260         * manual/time.texi: Document MTASC-safety properties.
12261
12262         * manual/string.texi: Document MTASC-safety properties.
12263
12264         * manual/threads.texi: Document MTASC-safety properties.
12265
12266         * manual/stdio.texi: Document MTASC-safety properties.
12267
12268         * manual/syslog.texi: Document MTASC-safety properties.
12269
12270         * manual/sysinfo.texi: Document MTASC-safety properties.
12271
12272         * manual/startup.texi: Document MTASC-safety properties.
12273
12274         * manual/socket.texi: Document MTASC-safety properties.
12275
12276         * manual/signal.texi: Document MTASC-safety properties.
12277
12278 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12279
12280         * manual/setjmp.texi: Document MTASC-safety properties.
12281
12282         * manual/search.texi: Document MTASC-safety properties.
12283
12284         * manual/resource.texi: Document MTASC-safety properties.
12285
12286         * manual/process.texi: Document MTASC-safety properties.
12287
12288         * manual/platform.texi: Document MTASC-safety properties.
12289
12290         * manual/pipe.texi: Document MTASC-safety properties.
12291
12292         * manual/pattern.texi: Document MTASC-safety properties.
12293
12294         * manual/message.texi: Document MTASC-safety properties.
12295
12296         [BZ #12751]
12297         * manual/memory.texi: Document MTASC-safety properties.
12298
12299         * manual/math.texi: Document MTASC-safety properties.
12300
12301         * manual/locale.texi: Document MTASC-safety properties.
12302
12303         * manual/llio.texi: Document MTASC-safety properties.
12304
12305         * manual/libdl.texi: New.
12306
12307         * manual/lang.texi: Document MTASC-safety properties.
12308
12309         * manual/job.texi: Document MTASC-safety properties.
12310
12311         * manual/getopt.texi: Document MTASC-safety properties.
12312
12313         * manual/ctype.texi: Document MTASC-safety properties.
12314
12315 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12316
12317         [BZ #16046]
12318         * csu/libc-tls.c (static_map): Remove variable.
12319         (__libc_setup_tls): Use main executable's link map for TLS data.
12320         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12321         casing for LM_ID_BASE and GL(dl_nns).
12322         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12323         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12324         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12325         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12326         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12327         member.
12328         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12329         l_phnum members.
12330
12331 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12332
12333         * manual/debug.texi: Document MTASC-safety properties.
12334
12335 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12336
12337         [BZ #16510]
12338         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12339         of __x86_64__ when disabling x87 inline functions.
12340
12341 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12342
12343         * manual/charset.texi: Document MTASC-safety properties.
12344
12345         * manual/crypt.texi: Document MTASC-safety properties.
12346
12347         * manual/conf.texi: Document MTASC-safety properties.
12348
12349         * manual/arith.texi: Document MTASC-safety properties.
12350
12351         * manual/argp.texi: Document MTASC-safety properties.
12352
12353         * manual/macros.texi: Introduce macros to document multi
12354         thread, asynchronous signal and asynchronous cancellation
12355         safety properties.
12356         * manual/intro.texi: Introduce the properties themselves.
12357
12358 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12359
12360         * sysdeps/sh/sh4/Makefile: New file.
12361
12362 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12363
12364         * math/gen-libm-test.pl ($srcdir): New variable.
12365         ($auto_input): Use it.
12366
12367 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12368
12369         [BZ #16506]
12370         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12371         access beyond array bounds when parsing netgroups file.
12372
12373         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12374         the old buffer before realloc.
12375
12376 2014-01-27  Allan McRae  <allan@archlinux.org>
12377
12378         * po/fr.po: Update French translation from translation project.
12379
12380 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12381
12382         * sysdeps/sh/libm-test-ulps: Regenerate.
12383
12384 2014-01-24  David S. Miller  <davem@davemloft.net>
12385
12386         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12387
12388 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12389
12390         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12391         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12392
12393 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12394
12395         [BZ #16474]
12396         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12397         string pointers after reallocation.
12398
12399 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12400
12401         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12402         __SH4A__ instead of __SH_FPU_ANY__.
12403
12404 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12405
12406         * sysdeps/sh/fpu_control.h: New file.
12407         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12408         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12409         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12410         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12411         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12412         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12413         * sysdeps/sh/sys/ucontext.h: Remove.
12414         * sysdeps/sh/sys: Remove directory.
12415
12416 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12417
12418         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12419         s390/sys/ucontext.h.
12420         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12421         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12422
12423 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12424
12425         [BZ #15605]
12426         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12427
12428 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12429
12430         [BZ#16431]
12431         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12432         Adjust the vDSO correctly for internal calls.
12433         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12434
12435 2014-01-20  Allan McRae  <allan@archlinux.org>
12436
12437         * po/ca.po: Update Catalan translation from translation project.
12438
12439 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12440
12441         * sysdeps/s390/sotruss-lib.c: New file.
12442
12443 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12444
12445         [BZ#16430]
12446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12447         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12448         local calls issues by not having a PLT stub required for IFUNC calls.
12449         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12450
12451 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12452
12453         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12454         * math/test-fpucw-static.c: Likewise.
12455
12456 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12457
12458         [BZ #16453]
12459         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12460
12461 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12462
12463         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12464         implementation for powerpc.
12465
12466 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12467
12468         [BZ #14782]
12469         * sysdeps/posix/system.c (__libc_system): Do not enable
12470         asynchronous cancellation.
12471
12472 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12473
12474         [BZ #16427]
12475         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12476         handling only for numbers special also in the IEEE case.
12477
12478 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12479
12480         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12481
12482 2014-01-11  Allan McRae  <allan@archlinux.org>
12483
12484         * po/bg.po: Update Bulgarian translation from translation project.
12485
12486         * po/de.po: Update German translation from translation project.
12487
12488 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12489
12490         * sysdeps/generic/gcc-compat.h: New file.
12491
12492 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12493
12494         * benchtests/asin-inputs: Correct slow inputs.
12495         * benchtests/acos-inputs: Likewise.
12496
12497 2014-01-10  Allan McRae  <allan@archlinux.org>
12498
12499         * po:sv.po: Update Swedish translation from translation project.
12500
12501         * po/vi.po: Update Vietnamese translation from translation project.
12502
12503         * po/eo.po: Update Esperanto translation from translation project.
12504
12505         * po/cs.po: Update Czech translation from translation project.
12506
12507         * po/nl.po: Update Dutch translation from translation project.
12508
12509         * po/pl.po: Update Polish translation from translation project.
12510
12511         * po/ru.po: Update Russian translation from translation project.
12512
12513         * po/uk.po: Update Ukrainian translation from translation project.
12514
12515 2014-01-08  Brooks Moses  <bmoses@google.com>
12516
12517         * elf/dl-load.c: Fix comment typo.
12518
12519 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12520
12521         * po/header.pot: Rename to...
12522         * po/pot.header: ... this.
12523         * po/Makefile: Use pot.header.
12524
12525 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12526             Maxim Kuvyrkov  <maxim@kugelworks.com>
12527
12528         [BZ #16394]
12529         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12530         SRC and DEST against LEN.
12531
12532 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12533
12534         [BZ #16414]
12535         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12536         implementation.
12537         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12538
12539 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12540
12541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12542
12543 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12544
12545         [BZ #16408]
12546         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12547         for large positive arguments.
12548
12549 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12550
12551         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12552
12553         * math/auto-libm-test-in: Mark various tests with
12554         xfail-rounding:ldbl-128ibm.
12555         * math/auto-libm-test-out: Regenerated.
12556
12557         [BZ #16407]
12558         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12559         Increase overflow threshold.
12560
12561 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12562
12563         [BZ #14286]
12564         * stdio-common/vfprintf.c: Check for integer overflow.
12565
12566 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12567
12568         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12569         the first argument and return value of __tls_get_addr_internal.
12570
12571 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12572
12573         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12574         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12575
12576 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12577
12578         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12579         * sysdeps/s390/rtld-global-offsets.sym: New file.
12580         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12581         GLIBC_2.19 symbol.
12582         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12583         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12585         ... this.
12586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12587         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12588         ... this.
12589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12590         Regenerate.
12591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12592         Regenerate.
12593         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12594         halfs of GPRs for high_gprs contexts.
12595         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12596         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12597         field.
12598         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12599         uc_flags field.
12600         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12601         64 bit versions:
12602         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12603         for high GPRs (uc_high_gprs) and for future extensions
12604         (__reserved).
12605         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12606         for future extensions (__reserved).
12607         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12608         64 bit versions:
12609         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12610         SC_HIGHGPRS offset definition.
12611         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12612         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12613
12614         * Versions.def: Add GLIBC_2.19 for libpthread.
12615         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12616         siglongjmp for libpthread with GLIBC_2.19 symver.
12617         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12618         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12619         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12620         * sysdeps/s390/__longjmp.c: New file.
12621         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12622         * sysdeps/s390/longjmp.c: New file.
12623         * sysdeps/s390/setjmp.S: New file.
12624         * sysdeps/s390/sigjmp.S: New file.
12625         * sysdeps/s390/v1-longjmp.c: New file.
12626         * sysdeps/s390/v1-setjmp.h: New file.
12627         * sysdeps/s390/v1-sigjmp.c: New file.
12628         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12629         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12630         GLIBC_2.19 version.
12631         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12632         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12633         versioned symbols for ____longjmp_chk.
12634         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12635         Likewise.
12636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12637         Regenerate.
12638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12639         Regenerate.
12640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12641         Regenerate.
12642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12643         Regenerate.
12644         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12645         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12646         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12647         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12648         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12649         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12650         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12651         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12652         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12653         * sysdeps/s390/rtld-__longjmp.c: New file.
12654         * sysdeps/s390/rtld-setjmp.S: New file.
12655
12656 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12657
12658         [BZ #16400]
12659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12660         Return -__logl (x) for small positive arguments without evaluating
12661         a polynomial.
12662
12663 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12664
12665         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12666         Rename to ...
12667         (__ptrace_peeksiginfo_args): ... this.
12668         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12669         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12670         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12671
12672 2014-01-06  Allan McRae  <allan@archlinux.org>
12673
12674         * inet/netinet/in.h: Fix typo in comment.
12675
12676 2014-01-05  Andreas Jaeger  <aj@suse.de>
12677
12678         * sysdeps/i386/fpu/libm-test-ulps: Update.
12679
12680 2014-01-05  Allan McRae  <allan@archlinux.org>
12681
12682         * po/libc.pot: Regenerated.
12683
12684         * malloc/memusagestat.c: Fix gettext call formatting.
12685
12686 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12687
12688         * nscd/nscd.c: Improve usage() output.
12689
12690 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12691
12692         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12693         * sysdeps/unix/sysv/linux/configure: Regenerated.
12694         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12695         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12696
12697 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12698
12699         [BZ #16390]
12700         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12701         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12702
12703 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12704
12705         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12706         extra tokens at end of #undef directive.
12707         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12708         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12709         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12710
12711 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12712
12713         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12714
12715         * math/auto-libm-test-in: Mark various tests with
12716         xfail-rounding:ldbl-128ibm.
12717         * math/auto-libm-test-out: Regenerated.
12718
12719 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12720
12721         [BZ #16386]
12722         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12723         numbers with subnormal high part when calculating exponent.
12724
12725         [BZ #16385]
12726         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12727         fabs.
12728
12729         [BZ #16384]
12730         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12731         M_LN2l.
12732         (__ieee754_acoshl): Use __log1pl not __log1p.
12733
12734 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12735
12736         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12737         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12738         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12739         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12740         (reused_arena, arena_get2): Convert to GNU style.
12741         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12742         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12743         (memalign_check, __malloc_set_state): Likewise.
12744         * malloc/mallocbug.c (main): Likewise.
12745         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12746         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12747         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12748         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12749         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12750         (__posix_memalign, malloc_info): Likewise.
12751         * malloc/malloc.h: Likewise.
12752         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12753         (mallochook, memalignhook, reallochook, mabort): Likewise.
12754         * malloc/mcheck.h: Likewise.
12755         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12756         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12757         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12758         * malloc/morecore.c (__default_morecore): Likewise.
12759         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12760         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12761         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12762         (print_and_abort): Likewise.
12763         * malloc/obstack.h: Likewise.
12764         * malloc/set-freeres.c (__libc_freeres): Likewise.
12765         * malloc/tst-mallocstate.c (main): Likewise.
12766         * malloc/tst-mtrace.c (main): Likewise.
12767         * malloc/tst-realloc.c (do_test): Likewise.
12768
12769 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12770
12771         [BZ #16366]
12772         * nscd/netgroupcache.c (do_notfound): New function.
12773         (addgetnetgrentX): Use it.
12774
12775         [BZ # 16365]
12776         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12777         NSS_STATUS_NOTFOUND.
12778
12779 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12780
12781         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12783
12784 2014-01-01  Allan McRae  <allan@archlinux.org>
12785
12786         * scripts/update-copyrights: Update configure input file suffix.
12787
12788         * NEWS: Update copyright year.
12789         * catgets/gencat.c: Likewise.
12790         * csu/version.c: Likewise.
12791         * debug/catchsegv.sh: Likewise.
12792         * debug/pcprofiledump.c: Likewise.
12793         * debug/xtrace.sh: Likewise.
12794         * elf/ldconfig.c: Likewise.
12795         * elf/ldd.bash.in: Likewise.
12796         * elf/pldd.c: Likewise.
12797         * elf/sotruss.ksh: Likewise.
12798         * elf/sprof.c: Likewise.
12799         * iconv/iconv_prog.c: Likewise.
12800         * iconv/iconvconfig.c: Likewise.
12801         * locale/programs/locale.c: Likewise.
12802         * locale/programs/localedef.c: Likewise.
12803         * login/programs/pt_chown.c: Likewise.
12804         * malloc/memusage.sh: Likewise.
12805         * malloc/memusagestat.c: Likewise.
12806         * malloc/mtrace.pl: Likewise.
12807         * manual/libc.texinfo: Likewise.
12808         * nscd/nscd.c: Likewise.
12809         * nss/getent.c: Likewise.
12810         * nss/makedb.c: Likewise.
12811         * posix/getconf.c: Likewise.
12812         * scripts/test-installation.pl: Likewise.
12813
12814         * All files with FSF copyright notices: Update copyright dates
12815         using scripts/update-copyrights.
12816         * intl/plural.c: Regenerated.
12817         * locale/programs/charmap-kw.h: Likewise.
12818         * locale/programs/locfile-kw.h: Likewise.
12819
12820 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12821
12822         * sysdeps/unix/sysv/linux/configure: Regenerated.
12823         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12824         the linux/fanotify.h header.
12825         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12826         HAVE_LINUX_FANOTIFY_H is defined.
12827
12828 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12829
12830         * benchtests/cos-inputs: New inputs.
12831         * benchtests/sin-inputs: Likewise.
12832
12833         * benchtests/atan-inputs: New inputs. Fix name of multiple
12834         precision fallback inputs.
12835
12836         * benchtests/atanh-inputs: New inputs.
12837         * benchtests/tanh-inputs: Likewise.
12838
12839         * benchtests/acosh-inputs: New inputs.
12840         * benchtests/asinh-inputs: Likewise.
12841
12842         * benchtests/cosh-inputs: New inputs.
12843         * benchtests/sinh-inputs: Likewise.
12844
12845         * benchtests/acos-inputs: Add more inputs.
12846         * benchtests/asin-inputs: Likewise.
12847
12848 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12849
12850         [BZ #16375]
12851         * manual/arith.texi: Fix spelling.
12852         * manual/charset.texi: Likewise.
12853         * manual/errno.texi: Likewise.
12854         * manual/filesys.texi: Likewise.
12855         * manual/lang.texi: Likewise.
12856         * manual/llio.texi: Likewise.
12857         * manual/locale.texi: Likewise.
12858         * manual/message.texi: Likewise.
12859         * manual/resource.texi: Likewise.
12860         * manual/search.texi: Likewise.
12861         * manual/setjmp.texi: Likewise.
12862         * manual/stdio.texi: Likewise.
12863         * manual/string.texi: Likewise.
12864         * manual/sysinfo.texi: Likewise.
12865         * manual/time.texi: Likewise.
12866
12867 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12868
12869         * po/sl.po: New file.
12870
12871 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12872
12873         * .gitignore: Add core/.gdbinit/.gdb_history.
12874
12875 2013-12-27  Allan McRae  <allan@archlinux.org>
12876
12877         [BZ #16369]
12878         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12879         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12880
12881 2013-12-24  Brooks Moses  <bmoses@google.com>
12882
12883         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12884         all compilers that claim C++98 compliance, not just GCC.
12885         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12886         Likewise.
12887
12888 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12889
12890         * NEWS: Restore accidentally deleted bug-fix entries.
12891
12892 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12893             Ondřej Bílka  <neleai@seznam.cz>
12894
12895         [BZ #15073]
12896         * malloc/malloc.c (_int_free): Perform sanity check only if we
12897         have_lock.
12898
12899 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12900
12901         [BZ #12986]
12902         * manual/stdio.texi (String Input Conversions): Clarify that character
12903         classes are not supported.
12904
12905 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12906
12907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12908
12909 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12910
12911         [BZ #16337]
12912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12913         Calculate results for small negative arguments directly rather
12914         than using reflection formula with special underflow handling.
12915
12916         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12917         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12918         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12919         (fchflags): Likewise.
12920         (revoke): Likewise.
12921         (setlogin): Likewise.
12922         (sigaltstack): Likewise.
12923         (wait4): Likewise.
12924         (sigblock): Remove.
12925         (sigsetmask): Likewise.
12926         (wait3): Likewise.
12927         (waitpid): Likewise.
12928         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12929         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12930         file.
12931         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12932         * sysdeps/unix/bsd/Makefile: ... here.
12933         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12934         * sysdeps/unix/bsd/Versions: ... here.
12935         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12936         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12937         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12938         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12939         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12940         * sysdeps/unix/bsd/sigblock.c: ... here.
12941         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12942         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12943         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12944         * sysdeps/unix/bsd/sigvec.c: ... here.
12945         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12946         * sysdeps/unix/bsd/tcdrain.c: ... here.
12947         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12948         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12949         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12950         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12951         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12952         * sysdeps/unix/bsd/wait.c: ... here.
12953         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12954         * sysdeps/unix/bsd/wait3.c: ... here.
12955         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12956         * sysdeps/unix/bsd/waitpid.c: ... here.
12957
12958 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12959
12960         [BZ #16356]
12961         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12962         round-to-nearest for [!USE_AS_EXPM1L].
12963         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12964         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12965         more tests of exp and exp10.  Expect some exp10 tests to miss
12966         exceptions or fail in directed rounding modes.
12967         * math/auto-libm-test-out: Regenerated.
12968         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12969         (exp10_test_tonearest): New function.
12970         (exp10_towardzero_test_data): New array.
12971         (exp10_test_towardzero): New function.
12972         (exp10_downward_test_data): New array.
12973         (exp10_test_downward): New function.
12974         (exp10_upward_test_data): New array.
12975         (exp10_test_upward): New function.
12976         (main): Call the new functions.
12977         * sysdeps/i386/fpu/libm-test-ulps: Update.
12978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12979
12980 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12981
12982         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12983         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12984         * math/auto-libm-test-out: Regenerated.
12985         * math/libm-test.inc (acosh_test_data): Add more tests.
12986         (atanh_test_data): Likewise.
12987         (ceil_test_data): Likewise.
12988         (copysign_test_data): Likewise.
12989         * sysdeps/i386/fpu/libm-test-ulps: Update.
12990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12991
12992         * timezone/checktab.awk: Update from tzcode 2013i.
12993         * timezone/private.h: Likewise.
12994         * timezone/scheck.c: Likewise.
12995         * timezone/tzfile.h: Likewise.
12996         * timezone/tzselect.ksh: Likewise.
12997         * timezone/zdump.c: Likewise.
12998         * timezone/zic.c: Likewise.
12999
13000         * math/auto-libm-test-in: Add tests of cpow.
13001         * math/auto-libm-test-out: Regenerated.
13002         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13004         mpc_cc_c.
13005         (func_calc_desc): Add mpc_cc_c union field.
13006         (test_functions): Add cpow.
13007         (special_fill_2pi): New function.
13008         (special_real_inputs): Add 2pi.
13009         (calc_generic_results): Handle mpc_cc_c.
13010         * sysdeps/i386/fpu/libm-test-ulps: Update.
13011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13012
13013         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13014         csqrt, ctan and ctanh.
13015         * math/auto-libm-test-out: Regenerated.
13016         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13017         (TEST_COND_x86): Likewise.
13018         (ccos_test_data): Use AUTO_TESTS_c_c.
13019         (ccosh_test_data): Likewise.
13020         (cexp_test_data): Likewise.
13021         (clog_test_data): Likewise.
13022         (csqrt_test_data): Likewise.
13023         (ctan_test_data): Likewise.
13024         (ctan_tonearest_test_data): Likewise.
13025         (ctan_towardzero_test_data): Likewise.
13026         (ctan_downward_test_data): Likewise.
13027         (ctan_upward_test_data): Likewise.
13028         (ctanh_test_data): Likewise.
13029         (ctanh_tonearest_test_data): Likewise.
13030         (ctanh_towardzero_test_data): Likewise.
13031         (ctanh_downward_test_data): Likewise.
13032         (ctanh_upward_test_data): Likewise.
13033         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13034         mpc_c_c.
13035         (func_calc_desc): Add mpc_c_c union field.
13036         (FUNC_mpc_c_c): New macro.
13037         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13038         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13039         ctanh.
13040         (special_fill_min_subnorm_p120): New function.
13041         (special_real_inputs): Add min_subnorm_p120.
13042         (calc_generic_results): Handle mpc_c_c.
13043         * sysdeps/i386/fpu/libm-test-ulps: Update.
13044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13045
13046 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13047
13048         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13049         (do_sin_slow): New functions.
13050         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13051         (cslow2, csloww1, csloww2): Use the new functions.
13052
13053         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13054         Use M to change sign of result instead of X.  Assume X is
13055         positive.
13056         (csloww1): Likewise.
13057         (__sin): Adjust.
13058         (__cos): Adjust.
13059
13060         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13061         arguments A and DA.
13062         (__sin): Adjust.
13063         (__cos): Likewise.
13064
13065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13066         (__cos): Likewise.
13067         (sloww1): Don't adjust sign of DX.
13068         (csloww1): Likewise.
13069         (sloww2): Use X directly and don't adjust sign of DX.
13070         (csloww2): Likewise.
13071
13072 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13073
13074         * math/auto-libm-test-in: Add tests of cabs and carg.
13075         * math/auto-libm-test-out: Regenerated.
13076         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13077         (carg_test_data): Likewise.
13078         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13079         mpc_c_f.
13080         (func_calc_desc): Add mpc_c_f union field.
13081         (test_functions): Add cabs and carg.
13082         (calc_generic_results): Handle mpc_c_f.
13083
13084         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13085         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13086         as a macro and a compat symbol.
13087         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13088         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13089         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13090         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13091         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13092         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13093         not use .hidden.
13094         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13095         Likewise.
13096         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13097         Likewise.
13098         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13099         Likewise.
13100         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13101         Likewise.
13102         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13103         Likewise.
13104         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13105         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13106         from GLIBC_2.3.2.
13107
13108 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13109
13110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13111
13112 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13113
13114         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13115         trailing whitespace removed.
13116         * scripts/config.guess: Update to version 2013-11-29.
13117         * scripts/config.sub: Update to version 2013-10-01.
13118
13119         * math/auto-libm-test-in: Add tests of sincos.
13120         * math/auto-libm-test-out: Regenerated.
13121         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13123         mpfr_f_11.
13124         (func_calc_desc): Add mpfr_f_11 union field.
13125         (test_functions): Add sincos.
13126         (calc_generic_results): Handle mpfr_f_11.
13127         * sysdeps/i386/fpu/libm-test-ulps: Update.
13128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13129
13130 2013-12-19  Andreas Schwab  <schwab@suse.de>
13131
13132         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13133         CALL_MCOUNT.
13134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13135         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13136         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13137
13138 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13139
13140         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13141         * sysdeps/i386/fpu/libm-test-ulps: Update.
13142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13143
13144         [BZ #16293]
13145         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13146         round-to-nearest mode when using frndint.
13147         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13148         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13149         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13150         Likewise.
13151         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13152         sinh test to fail.
13153         * math/auto-libm-test-out: Regenerated.
13154         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13155         (TEST_COND_x86): Likewise.
13156         (expm1_tonearest_test_data): New array.
13157         (expm1_test_tonearest): New function.
13158         (expm1_towardzero_test_data): New array.
13159         (expm1_test_towardzero): New function.
13160         (expm1_downward_test_data): New array.
13161         (expm1_test_downward): New function.
13162         (expm1_upward_test_data): New array.
13163         (expm1_test_upward): New function.
13164         (main): Run the new test functions.
13165         * sysdeps/i386/fpu/libm-test-ulps: Update.
13166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13167
13168         * include/features.h: Update comment documenting feature test
13169         macros.  Mention _DEFAULT_SOURCE in comment.
13170         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13171         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13172         _BSD_SOURCE and _SVID_SOURCE.
13173         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13174         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13175         !_SVID_SOURCE]: Likewise.
13176         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13177         (__USE_POSIX_IMPLICITLY): Define.
13178         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13179         (_POSIX_SOURCE): Undefine and redefine.
13180         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13181         (_POSIX_C_SOURCE): Likewise.
13182         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13183         (Feature Test Macros): Update documentation of default features.
13184
13185 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13186
13187         * benchtests/Makefile: Add bench-strtok.
13188         * benchtests/bench-strtok.c: New file: strtok benchtest.
13189
13190 2013-12-19  Allan McRae  <allan@archlinux.org>
13191
13192         * manual/install.texi: Suppress menu for plain text output.
13193         * INSTALL: Regenerated.
13194
13195 2013-12-18  Brooks Moses  <bmoses@google.com>
13196
13197         [BZ #15846]
13198         * misc/getauxval.c: Include errno.h.
13199         (__getauxval): Set errno to ENOENT if the requested type is not
13200         found.
13201         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13202         don't declare with __attribute_const__.
13203         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13204         * manual/startup.texi: Document that getauxval sets errno.
13205
13206 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13207
13208         * math/auto-libm-test-in: Add tests of jn and yn.
13209         * math/auto-libm-test-out: Regenerated.
13210         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13211         (yn_test_data): Likewise.
13212         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13213         mpfr_if_f.
13214         (func_calc_desc): Add mpfr_if_f union field.
13215         (FUNC_mpfr_if_f): New macro.
13216         (test_functions): Add jn and yn.
13217         (calc_generic_results): Assert type of second input for
13218         mpfr_ff_f.  Handle mpfr_if_f.
13219         (output_for_one_input_case): Disable all checking for arguments
13220         fitting floating-point types in case of an integer argument.
13221         * sysdeps/i386/fpu/libm-test-ulps: Update.
13222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13223
13224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13225         Don't expect fegetround reference in libm.so.
13226
13227 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13228
13229         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13230         $(config-cflags-nofma).
13231
13232 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13233
13234         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13235         * math/auto-libm-test-out: Regenerated.
13236
13237         [BZ #16338]
13238         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13239         to determine exponent and adjust argument to have exponent of -1.
13240         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13241         log2.
13242         * math/auto-libm-test-out: Regenerated.
13243         * sysdeps/i386/fpu/libm-test-ulps: Update.
13244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13245
13246 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13247
13248         * manual/probes.texi: Remove cases when per-thread arenas are
13249         disabled.
13250
13251 2013-12-18  Andreas Schwab  <schwab@suse.de>
13252
13253         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13254         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13255         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13256         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13257         * sysdeps/i386/i686/multiarch/Makefile: Update.
13258         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13259
13260 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13261
13262         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13263         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13264
13265 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13266
13267         [BZ #15968]
13268         Support TZ transition times < 00:00:00.
13269         This is needed for version-3 tz-format files; it supports time
13270         stamps past 2037 for America/Godthab (the only entry in the tz
13271         database for which this change is relevant).
13272         * manual/time.texi (TZ Variable): Document transition times
13273         from -167:59:59 through -00:00:01.
13274         * time/tzset.c (tz_rule): Time of day is now signed.
13275         (__tzset_parse_tz): Parse negative time of day.
13276
13277         Document TZ transition times >= 25:00:00.
13278         * manual/time.texi (TZ Variable): Document transition times from
13279         25:00:00 through 167:59:59.  These are already supported, and this
13280         support will help with version-3 tz-format files.
13281
13282         * manual/time.texi (TZ Variable): Modernize North America example
13283         to reflect current (i.e., 2007-and-later) daylight saving rules.
13284
13285         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13286
13287 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13288
13289         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13290         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13292         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13293         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13294         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13295         * sysdeps/unix/bsd/clock.c: Likewise.
13296         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13297         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13298         * sysdeps/unix/bsd/init-posix.c: Likewise.
13299         * sysdeps/unix/bsd/poll.c: Likewise.
13300         * sysdeps/unix/bsd/ptsname.c: Likewise.
13301         * sysdeps/unix/bsd/seekdir.c: Likewise.
13302         * sysdeps/unix/bsd/setegid.c: Likewise.
13303         * sysdeps/unix/bsd/seteuid.c: Likewise.
13304         * sysdeps/unix/bsd/setgid.c: Likewise.
13305         * sysdeps/unix/bsd/setrgid.c: Likewise.
13306         * sysdeps/unix/bsd/setruid.c: Likewise.
13307         * sysdeps/unix/bsd/setsid.c: Likewise.
13308         * sysdeps/unix/bsd/setuid.c: Likewise.
13309         * sysdeps/unix/bsd/sigaction.c: Likewise.
13310         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13311         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13312         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13313         * sysdeps/unix/bsd/telldir.c: Likewise.
13314         * sysdeps/unix/bsd/times.c: Likewise.
13315         * sysdeps/unix/bsd/usleep.c: Likewise.
13316
13317         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13318         ($(objpfx)libbsd-compat.a): Remove rule.
13319
13320         * include/features.h (__FAVOR_BSD): Do not define.
13321         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13322         features conflicting with POSIX.
13323         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13324         (_BSD_SOURCE): Remove description of not being a subset of other
13325         feature test macros.
13326         * manual/job.texi (getpgrp): Do not document BSD version.
13327         (getpgid): Do not document by reference to BSD getpgrp.
13328         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13329         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13330         * signal/signal.h [__FAVOR_BSD]: Likewise.
13331         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13332         instead of making contents conditional on [__FAVOR_BSD].
13333         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13334
13335 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13336
13337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13338
13339 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13340
13341         [BZ #16314]
13342         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13343         values below 2**-450, not 2**-500.
13344         * math/auto-libm-test-in: Don't allow spurious underflow from
13345         hypot.
13346         * math/auto-libm-test-out: Regenerated.
13347
13348         [BZ #16316]
13349         [BZ #16330]
13350         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13351         values of ha and hb and sort them after adjusting subnormal
13352         arguments.
13353         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13354         Likewise.
13355         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13356         values of ea and eb and sort them after adjusting subnormal
13357         arguments.
13358         * math/auto-libm-test-in: Do not expect some hypot tests of
13359         subnormals to fail.  Add more hypot tests.
13360         * math/auto-libm-test-out: Regenerated.
13361
13362 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13363
13364         [BZ #13304]
13365         * sysdeps/sh/s_fma.c: New file.
13366         * sysdeps/sh/s_fmaf.c: New file.
13367         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13368         version.
13369         * sysdeps/sh/Implies: Add sh/soft-fp.
13370
13371 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13372
13373         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13374         level of indirection to members `objname', `errstring', `malloced'.
13375         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13376         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13377         it as the __longjmp argument (just pass 1 instead).
13378         (_dl_catch_error): Initialize C with argument pointers and address of
13379         volatile local ERRCODE rather than copying values out of C at return.
13380
13381 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13382
13383         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13384         * math/auto-libm-test-out: Regenerated.
13385         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13386         (hypot_test_data): Likewise.
13387         (pow_test_data): Likewise.
13388         (pow_tonearest_test_data): Likewise.
13389         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13390         mpfr_ff_f.
13391         (func_calc_desc): Add mpfr_ff_f union field.
13392         (FUNC_mpfr_ff_f): New macro.
13393         (test_functions): Add atan2, hypot and pow.
13394         (special_fill_min): New function.
13395         (special_fill_minus_min): Likewise.
13396         (special_fill_min_subnorm): Likewise.
13397         (special_fill_minus_min_subnorm): Likewise.
13398         (special_real_inputs): Add min, -min, min_subnorm and
13399         -min_subnorm.
13400         (calc_generic_results): Handle mpfr_ff_f.
13401         * sysdeps/i386/fpu/libm-test-ulps: Update.
13402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13403
13404 2013-12-16  Will Newton  <will.newton@linaro.org>
13405
13406         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13407         (Aligned Memory Blocks): Add documentation for aligned_alloc
13408         and suggest it as an alternative to posix_memalign.
13409         (Hooks for Malloc): Document __memalign_hook is also called
13410         for aligned_alloc.  (Summary of Malloc): Add summary for
13411         aligned alloc.  Document __memalign_hook is also called
13412         for aligned_alloc.
13413
13414 2013-12-16  Will Newton  <will.newton@linaro.org>
13415
13416         * manual/memory.texi (Malloc Examples): Clarify default
13417         alignment documentation.  Suggest posix_memalign rather
13418         than memalign or valloc.
13419         (Aligned Memory Blocks): Remove suggestion to use memalign
13420         or valloc.  Remove obsolete comment about BSD.
13421         Document memalign errno values and mark the function obsolete.
13422         Document posix_memalign returned error codes.  Mark valloc
13423         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13424         called for posix_memalign and valloc.
13425         (Summary of Malloc): Add posix_memalign to function summary.
13426         __memalign_hook is also called for posix_memalign and valloc.
13427
13428 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13429
13430         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13431         TAYLOR_SIN.
13432         (__sin): Adjust.
13433         (__cos): Likewise.
13434         (sloww): Use mynumber union.  Expand ternary operator into
13435         if-else statements.
13436         (cslow): use mynumber union.
13437
13438 2013-12-16  Allan McRae  <allan@archlinux.org>
13439
13440         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13441         * configure: Regenerated.
13442
13443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13444
13445         [BZ #14120]
13446         * configure.ac: Added --enable-maintainer-mode. Check for
13447         autoconf when enabled.
13448         * configure: Regenerated.
13449
13450         * nscd/nscd.service: New file.
13451         * nscd/nscd.tmpfiles: New file.
13452
13453 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13454
13455         [BZ #12100]
13456         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13457         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13458         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13459         (strstr): Add __strstr_sse2_unaligned ifunc.
13460         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13461         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13462         (strcasestr): Remove __strcasestr_sse42 ifunc.
13463         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13466
13467 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13468
13469         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13470         * sysdeps/sh/bits/fenv.h: ... here.
13471         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13472
13473 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13474
13475         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13476
13477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13478         hypotf multiarch implementations.
13479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13481         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13482         multiarch hypot for PPC64.
13483         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13484         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13485         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13486         multiarch hypotf for PPC64.
13487
13488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13489         modff multiarch implementations.
13490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13493         multiarch modf for PPC64.
13494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13497         multiarch modff for PPC64.
13498
13499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13500         and logl multiarch implementations.
13501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13504         multiarch logb for PPC64.
13505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13508         multiarch logb for PPC64.
13509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13512         multiarch logb for PPC64.
13513
13514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13515         isinff multiarch implementation.
13516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13517         file.
13518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13520         multiarch isinf for PPC64.
13521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13522         file.
13523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13524         multiarch isinff for PPC64.
13525
13526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13527         finitef multiarch implementation.
13528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13529         file.
13530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13532         multiarch finite for PPC64.
13533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13534         file.
13535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13536         multiarch finitef for PPC64.
13537
13538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13539         lrint multiarch implementation.
13540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13541         file.
13542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13544         multiarch llrint for PPC64.
13545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13546         multiarch lrint for PPC64.
13547
13548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13549         copysignf multiarch implementation.
13550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13551         file.
13552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13553         file.
13554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13555         multiarch copysign for PPC64.
13556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13557         multiarch copysignf for PPC64.
13558
13559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13560         multiarch implementation.
13561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13562         file.
13563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13564         file.
13565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13566         file.
13567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13568         file.
13569         multiarch llround for PPC64.
13570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13571         multiarch trunc for PPC64.
13572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13573         multiarch truncf for PPC64.
13574
13575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13576         multiarch implementation.
13577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13578         file.
13579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13580         file.
13581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13582         file.
13583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13584         file.
13585         multiarch llround for PPC64.
13586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13587         multiarch round for PPC64.
13588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13589         multiarch roundf for PPC64.
13590
13591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13592         multiarch implementation.
13593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13594         file.
13595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13596         file.
13597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13598         file.
13599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13600         file.
13601         multiarch llround for PPC64.
13602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13603         multiarch floor for PPC64.
13604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13605         multiarch floorf for PPC64.
13606
13607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13608         multiarch implementation.
13609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13610         file.
13611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13612         file.
13613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13614         file.
13615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13616         file.
13617         multiarch llround for PPC64.
13618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13619         multiarch ceil for PPC64.
13620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13621         multiarch ceilf for PPC64.
13622
13623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13624         multiarch implementation.
13625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13626         file.
13627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13628         file.
13629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13630         file.
13631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13632         multiarch llround for PPC64.
13633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13634         multiarch lround for PPC64.
13635
13636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13637         multiarch implementation.
13638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13641         file.
13642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13645         multiarch isnan for PPC64.
13646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13647         multiarch isnanf for PPC64.
13648
13649         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13650         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13651         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13652         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13653         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13655
13656         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13657         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13658         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13659         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13660
13661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13662         multiarch implementations.
13663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13664         (__libc_ifunc_impl_list): Likewise.
13665         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13666         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13667         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13668         multiarch stpcpy for PPC64.
13669
13670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13671         multiarch implementations.
13672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13673         (__libc_ifunc_impl_list): Likewise.
13674         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13675         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13676         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13677         multiarch strcpy for PPC64.
13678
13679         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13680         redefine function name.
13681         (_wordcopy_fwd_dest_aligned): Likewise.
13682         (_wordcopy_bwd_aligned): Likewise.
13683         (_wordcopy_bwd_dest_aligned): Likewise.
13684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13685         multiarch implementations.
13686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13687         (__libc_ifunc_impl_list): Likewise.
13688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13689         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13690         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13692         multiarch wcscpy for PPC64.
13693
13694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13695         multiarch implementations.
13696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13697         (__libc_ifunc_impl_list): Likewise.
13698         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13699         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13700         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13701         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13702         multiarch wcscpy for PPC64.
13703
13704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13705         multiarch implementations.
13706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13707         (__libc_ifunc_impl_list): Likewise.
13708         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13709         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13710         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13711         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13712         multiarch wcsrchr for PPC64.
13713
13714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13715         multiarch implementations.
13716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13717         (__libc_ifunc_impl_list): Likewise.
13718         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13719         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13720         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13721         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13722         multiarch wcschr for PPC64.
13723
13724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13725         multiarch implementations.
13726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13727         (__libc_ifunc_impl_list): Likewise.
13728         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13729         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13730         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13731         multiarch strchrnul for PPC64.
13732
13733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13734         implementations.
13735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13736         (__libc_ifunc_impl_list): Likewise.
13737         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13738         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13739         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13740         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13741         strchr for PPC64.
13742
13743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13744         implementations.
13745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13746         (__libc_ifunc_impl_list): Likewise.
13747         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13748         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13749         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13750         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13751         strncmp for PPC64.
13752
13753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13754         multiarch implementations.
13755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13756         (__libc_ifunc_impl_list): Likewise.
13757         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13758         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13759         strncasecmp for PPC64.
13760         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13761         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13762         multiarch strncasecmp_l for PPC64.
13763
13764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13765         multiarch implementations.
13766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13767         (__libc_ifunc_impl_list): Likewise.
13768         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13769         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13770         multiarch strcasecmp for PPC64.
13771         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13772         file.
13773         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13774         multiarch strcasecmp_l for PPC64.
13775
13776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13777         implementations.
13778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13779         (__libc_ifunc_impl_list): Likewise.
13780         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13781         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13782         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13783         strnlen for PPC64.
13784
13785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13786         implementations.
13787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13788         (__libc_ifunc_impl_list): Likewise.
13789         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13790         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13791         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13792         strlen for PPC64.
13793
13794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13795         implementations.
13796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13797         (__libc_ifunc_impl_list): Likewise.
13798         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13799         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13800         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13801         rawmemrchr for PPC64.
13802
13803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13804         implementation.
13805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13806         (__libc_ifunc_impl_list): Likewise.
13807         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13808         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13809         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13810         memrchr for PPC64.
13811
13812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13813         implementation.
13814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13815         (__libc_ifunc_impl_list): Likewise.
13816         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13817         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13818         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13819         memchr for PPC64.
13820
13821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13822         implementation.
13823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13824         (__libc_ifunc_impl_list): Likewise.
13825         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13826         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13827         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13828         mempcpy for PPC64.
13829
13830         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13831         avoid cretion of __bzero symbol.
13832         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13833         Likewise.
13834         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13835         Likewise.
13836         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13837         Likewise.
13838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13839         multiarch implementations.
13840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13841         (__libc_ifunc_impl_list): Likewise.
13842         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13843         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13844         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13845         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13846         bzero for PPC32.
13847         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13848         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13849         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13850         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13851         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13852         memset for PPC64.
13853         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13854
13855         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13857         implementations.
13858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13859         (__libc_ifunc_impl_list): Likewise.
13860         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13861         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13862         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13863         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13864         memcmp for PPC64.
13865
13866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13867         multiarch for POWER/PPC64.
13868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13869         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13870         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13871         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13872         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13873         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13874         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13875         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13876         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13877         memcpy for PPC64.
13878
13879         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13880         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13881         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13882         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13883         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13884         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13885         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13886         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13887         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13888         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13889         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13890         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13891         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13892         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13893         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13901
13902 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13903
13904         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13905
13906 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13907
13908         * benchtests/Makefile (bench): Add exp2 and log2.
13909         (LDLIBS-bench-exp2): Add -lm.
13910         (LDLIBS-bench-log2): Likewise.
13911         * benchtests/exp2-inputs: New inputs file.
13912         * benchtests/log2-inputs: New inputs file.
13913         * benchtests/log-inputs: Add new inputs.
13914         * benchtests/tan-inputs: Likewise.
13915
13916 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917
13918         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13919         definition...
13920         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13921         (csloww2): ... from here.
13922
13923         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13924         instead of structures.
13925         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13926         (POLYNOMIAL): Likewise.
13927         (TAYLOR_SLOW): Likewise.
13928         (__sin): Likewise.
13929         (__cos): Likewise.
13930         (slow1): Likewise.
13931         (slow2): Likewise.
13932         (sloww): Likewise.
13933         (sloww1); Likewise.
13934         (sloww2): Likewise.
13935         (bsloww1): Likewise.
13936         (bsloww2): Likewise.
13937         (cslow2): Likewise.
13938         (csloww): Likewise.
13939         (csloww1): Likewise.
13940         (csloww2): Likewise.
13941
13942 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13943
13944         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13945         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13946         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13947         * malloc/hooks.c (realloc_check): Likewise.
13948
13949         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13950         * malloc/arena.c: Remove PER_THREAD conditional.
13951         [!PER_THREAD]: Remove code.
13952         (ptmalloc_unlock_all2): Likewise.
13953         (ptmalloc_init): Likewise.
13954         (_int_new_arena): Likewise.
13955         (arena_get2): Likewise.
13956         * malloc/hooks.c (__malloc_get_state): Likewise.
13957         (__malloc_set_state): Likewise.
13958         * malloc/malloc.c: Likewise.
13959         (struct malloc_state): Likewise.
13960         (struct malloc_par): Likewise.
13961         (__libc_realloc): Likewise.
13962         (__libc_mallopt): Likewise.
13963
13964 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13965
13966         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13967
13968 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13969
13970         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13971         macro to a function.  Check for zero perturb_byte.
13972         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13973
13974         * malloc/malloc.c: (force_reg): Remove.
13975         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13976         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13977         force_reg by atomic_forced_read.
13978         * malloc/arena.c (ptmalloc_init): Likewise.
13979         * malloc/hooks.c (top_check): Likewise.
13980
13981 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13982
13983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13984
13985 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13986
13987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13988
13989 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13990
13991         * math/auto-libm-test-in: Add tests of lgamma.
13992         * math/auto-libm-test-out: Regenerated.
13993         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13994         (M_LOG_2_SQRT_PIl): Likewise.
13995         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13996         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13997         mpfr_f_f1.
13998         (func_calc_desc): Add mpfr_f_f1 union field.
13999         (ARGS1): New macro.
14000         (ARGS2): Likewise.
14001         (ARGS3): Likewise.
14002         (ARGS4): Likewise.
14003         (RET1): Likewise.
14004         (RET2): Likewise.
14005         (CALC): Likewise.
14006         (FUNC): Likewise.
14007         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14008         (test_functions): Add lgamma.
14009         (calc_generic_results): Handle mpfr_f_f1.
14010         * sysdeps/i386/fpu/libm-test-ulps: Update.
14011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14012
14013 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14014
14015         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14016         __mpn_add_n for PowerPC64/POWER7.
14017         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14018         __mpn_sub_n for PowerPC64/POWER7.
14019
14020         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14021         __mpn_addmul_1 for PowerPC64.
14022         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14023         __mpn_submul_1 for PowerPC64.
14024         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14025         for PowerPC64.
14026         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14027         for PowerPC64.
14028
14029 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14030
14031         [BZ #15089]
14032         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14033
14034 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14035
14036         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14037
14038         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14039         add multiarch folders.
14040         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14041         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14042         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14043         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14044         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14045         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14046         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14047         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14048         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14049         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14050         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14057
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14059         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14061         New file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14063         New file.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14065         multiarch __ieee754_hypot for PowerPC32.
14066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14067         New file.
14068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14069         New file.
14070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14071         multiarch __ieee754_hypotf for PowerPC32.
14072
14073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14074         long_double_symbol only if __logbl is defined.
14075         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14076         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14077         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14078         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14079         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14080         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14081         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14082         path for implementation.
14083         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14084         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14086         logb, and logbl multiarch implementations for PowerPC32.
14087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14088         file.
14089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14090         file.
14091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14092         multiarch logb for PowerPC32.
14093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14094         file.
14095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14096         file.
14097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14098         multiarch logbf for PowerPC32.
14099         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14101         file.
14102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14103         multiarch logbl implementation for PowerPC32.
14104
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14106         and modff multiarch implementations.
14107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14108         New file.
14109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14110         New file.
14111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14112         multiarch modf for PowerPC32.
14113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14114         New file.
14115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14116         New file.
14117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14118         multiarch modff for PowerPC32.
14119
14120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14121         and lrintf multiarch implementations.
14122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14123         New file.
14124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14125         New file.
14126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14127         multiarch lrint for PowerPC32.
14128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14129         file: multiarch lrintf for PowerPC32.
14130
14131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14132         and lroundf multiarch implementations.
14133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14134         New file.
14135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14136         New file.
14137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14138         New file.
14139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14140         multiarch lround for PowerPC32.
14141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14142         file: multiarch lroundf for PowerPC32.
14143
14144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14145         copysign and copysignf multiarch implementations.
14146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14147         New file.
14148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14149         New file.
14150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14151         file: multiarch copysign for PowerPC32.
14152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14153         file: multiarch copysignf for PowerPC32.
14154
14155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14156         and truncf multiarch implementations.
14157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14158         New file.
14159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14160         file.
14161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14162         multiarch trunc for PowerPC32.
14163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14164         New file.
14165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14166         New file.
14167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14168         multiarch truncf for PowerPC32.
14169
14170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14171         and roundf multiarch implementations.
14172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14173         New file.
14174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14175         file.
14176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14177         multiarch round for PowerPC32.
14178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14179         New file.
14180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14181         New file.
14182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14183         multiarch roundf for PowerPC32.
14184
14185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14186         and floorf multiarch implementations.
14187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14188         New file.
14189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14190         file.
14191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14192         multiarch floor for PowerPC32.
14193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14194         New file.
14195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14196         New file.
14197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14198         multiarch floorf for PowerPC32.
14199
14200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14201         and ceilf multiarch implementations.
14202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14203         New file.
14204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14205         file.
14206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14207         multiarch ceil for PowerPC32.
14208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14209         New file.
14210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14211         file.
14212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14213         multiarch ceilf for PowerPC32.
14214
14215         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14216         is defined.
14217         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14218         FINITEF is defined.
14219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14220         and finitef multiarch implementations.
14221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14222         New file.
14223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14224         file.
14225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14226         multiarch finite for PowerPC32.
14227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14228         New file.
14229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14230         file: multiarch finitef for PowerPC32.
14231
14232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14233         and isinff multiarch implementations.
14234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14235         file.
14236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14237         file.
14238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14239         multiarch isinf for PowerPC32.
14240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14241         New file.
14242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14243         multiarch isinff for PowerPC32.
14244
14245         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14246         alias when __isnan is defined.
14247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14248         and isnanf multiarch implementations.
14249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14250         file.
14251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14252         file.
14253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14254         file.
14255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14256         file.
14257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14258         multiarch isnan for PowerPC32.
14259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14260         New file.
14261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14262         New file.
14263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14264         multiarch isnanf for PowerPC32.
14265
14266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14267         and sqrtf multiarch implementations.
14268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14269         file.
14270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14271         file.
14272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14273         multiarch sqrt for PowerPC32.
14274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14275         file.
14276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14277         file.
14278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14279         multiarch sqrtf for PowerPC32.
14280
14281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14282         and llroundf multiarch implementations.
14283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14284         New file.
14285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14286         New file.
14287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14288         New file.
14289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14290         file: multiarch llround for PowerPC32.
14291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14292         file: multiarch llroundf for PowerPC32.
14293
14294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14295         multiarch PowerPC32 fpu implementations.
14296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14297         New file.
14298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14299         New file.
14300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14301         multiarch llrint for PowerPC32.
14302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14303         New file.
14304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14305         New file.
14306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14307         file.
14308
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14310
14311         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14312         file.
14313         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14314         file.
14315         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14316         file.
14317         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14318         multiarch wordcopy for PPC32.
14319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14320         wordcopy objects.
14321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14322         (__libc_ifunc_impl_list): Likewise.
14323         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14324         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14325         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14326         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14327         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14328         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14329
14330         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14332         file.
14333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14334         file.
14335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14336         file.
14337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14338         multiarch wcscpy for PPC32.
14339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14340         multiarch objects.
14341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14342         (__libc_ifunc_impl_list): Likewise.
14343         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14344         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14345         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14346         sysdeps/powerpc/power6/wcscpy.c.
14347
14348         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14350         file.
14351         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14352         file.
14353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14354         file.
14355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14356         multiarch wcsrchr for PPC32.
14357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14358         multiarch objects.
14359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14360         (__libc_ifunc_impl_list): Likewise.
14361         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14362         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14363         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14364         sysdeps/powerpc/power6/wcsrchr.c.
14365
14366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14367         file.
14368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14369         file.
14370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14372         multiarch wcschr for PPc32.
14373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14374         multiarch objects.
14375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14376         (__libc_ifunc_impl_list): Likewise.
14377         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14378         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14379         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14380         sysdeps/powerpc/power6/wcschr.c.
14381
14382         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14383         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14384         file.
14385         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14386         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14387         file: multiarch strchr for PPC32.
14388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14389         multiarch objects.
14390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14391         (__libc_ifunc_impl_list): Likewise.
14392
14393         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14394         name.
14395         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14396         file.
14397         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14398         file.
14399         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14400         multiarch strchrnul for PPC32.
14401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14402         multiarch objects.
14403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14404         (__libc_ifunc_impl_list): Likewise.
14405
14406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14407         file.
14408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14409         multiarch strncasecmp for PPC32.
14410         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14411         file.
14412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14413         multiarch strncasecmp_l for PPC32.
14414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14415         strncasecmp multiarch objects.
14416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14417         (__libc_ifunc_impl_list): Likewise.
14418
14419         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14420         file.
14421         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14422         multiarch strncasecmp for PPC32.
14423         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14424         New file.
14425         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14426         multiarch strcasecmp_l for PPC32.
14427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14428         multiarch objects.
14429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14430         (__libc_ifunc_impl_list): Likewise.
14431
14432         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14433         file.
14434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14435         file.
14436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14437         multiarch strncmp for PPC32.
14438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14439         multiarch objects.
14440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14441         (__libc_ifunc_impl_list): Likewise.
14442
14443         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14444         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14445         file.
14446         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14447         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14448         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14449         multiarch objects.
14450         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14451         (__libc_ifunc_impl_list): Likewise.
14452
14453         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14454         file.
14455         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14456         file.
14457         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14459         multiarch objects.
14460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14461         (__libc_ifunc_impl_list): Likewise.
14462
14463         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14464         file.
14465         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14466         file.
14467         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14468         multiarch rawmemchr for PPC32.
14469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14470         multiarch objects.
14471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14472         (__libc_ifunc_impl_list): Likewise.
14473
14474         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14475         file.
14476         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14477         file.
14478         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14479         file: memrchr multiarch for PPC32.
14480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14481         multiarch objects.
14482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14483         (__libc_ifunc_impl_list): Likewise.
14484
14485         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14486         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14487         file.
14488         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14489         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14490         multiarch memchr for PPC32.
14491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14492         multiarch objects.
14493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14494         (__libc_ifunc_impl_list): Likewise.
14495
14496         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14497         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14498         file.
14499         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14500         file.
14501         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14502         file: multiarch mempcpy for PPC32.
14503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14504         multiarch objects.
14505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14506         (__libc_ifunc_impl_list): Likewise.
14507
14508         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14509         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14510         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14511         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14512         multiarch bzero for PPC32.
14513         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14514         file.
14515         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14516         file.
14517         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14518         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14519         file: multiarch memset for PPC32.
14520         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14522         memset multiarch objects.
14523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14524         (__libc_ifunc_impl_list): Likewise.
14525
14526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14527         file.
14528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14530         memcmp for PPC32.
14531         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14533         multiarch objects.
14534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14535         (__libc_ifunc_impl_list): Likewise.
14536
14537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14540         file.
14541         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14542         file.
14543         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14544         file.
14545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14546         multiarch memcpy for PPC32.
14547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14548         multiarch objects.
14549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14550         (__libc_ifunc_impl_list): Likewise.
14551
14552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14553         support multiarch for POWER/PPC32.
14554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14555         Likewise.
14556         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14558         Implies file to make multiarch folder appers before the fpu and
14559         default folder for power4 configuration.
14560
14561 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14562
14563         * scripts/bench.pl: Append volatile keyword to type.
14564
14565 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14566
14567         * sysdeps/sh/sotruss-lib.c: New file.
14568         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14569
14570 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14571
14572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14573
14574 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14575
14576         [BZ #6810]
14577         * math/w_tgamma.c: Include <errno.h>.
14578         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14579         * math/w_tgammaf.c: Include <errno.h>.
14580         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14581         * math/w_tgammal.c: Include <errno.h>.
14582         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14583         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14584         underflow.  Add more tgamma tests.
14585         * math/auto-libm-test-out: Regenerated.
14586         * sysdeps/i386/fpu/libm-test-ulps: Update.
14587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14588
14589         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14590         sin, sinh, tan, tanh, tgamma, y0 and y1.
14591         * math/auto-libm-test-out: Regenerated.
14592         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14593         (TEST_COND_x86): Likewise.
14594         (M_E2l): Remove macro.
14595         (M_E3l): Likewise.
14596         (M_2_SQRT_PIl): Likewise.
14597         (M_SQRT_PIl): Likewise.
14598         (M_1_DIV_El): Likewise.
14599         (log_test_data): Use AUTO_TESTS_f_f.
14600         (log10_test_data): Likewise.
14601         (log1p_test_data): Likewise.
14602         (log2_test_data): Likewise.
14603         (sin_test_data): Likewise.
14604         (sin_tonearest_test_data): Likewise.
14605         (sin_towardzero_test_data): Likewise.
14606         (sin_downward_test_data): Likewise.
14607         (sin_upward_test_data): Likewise.
14608         (sinh_test_data): Likewise.
14609         (sinh_tonearest_test_data): Likewise.
14610         (sinh_towardzero_test_data): Likewise.
14611         (sinh_downward_test_data): Likewise.
14612         (sinh_upward_test_data): Likewise.
14613         (tan_test_data): Likewise.
14614         (tan_tonearest_test_data): Likewise.
14615         (tan_towardzero_test_data): Likewise.
14616         (tan_downward_test_data): Likewise.
14617         (tan_upward_test_data): Likewise.
14618         (tanh_test_data): Likewise.
14619         (tgamma_test_data): Likewise.
14620         (y0_test_data): Likewise.
14621         (y1_test_data): Likewise.
14622         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14623         (special_real_inputs): Add pi/4.
14624         * sysdeps/i386/fpu/libm-test-ulps: Update.
14625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14626
14627 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14628
14629         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14630         "longjmp_target" static probes.
14631         (__longjmp): Rename to __longjmp_symbol.
14632         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14633         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14634         on which longjmp to generate.
14635         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14636         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14637         probe.
14638         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14639         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14640         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14641         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14642         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14643         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14645         __longjmp_symbol based on which __longjmp to generate.
14646         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14647         probe.
14648         (setjmp): Rename to setjmp_symbol.
14649         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14650         (_setjmp): Rename to _setjmp_symbol.
14651         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14652         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14653         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14654         which setjmp to generate.
14655         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14656         "longjmp_target" static probes.
14657
14658 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14659
14660         * benchtests/README: Add note about output arguments.
14661         * benchtests/bench-sincos.c: Remove file.
14662         * benchtests/sincos-inputs: New file.
14663         * scripts/bench.pl: Identify output arguments and define
14664         static variables for them.
14665
14666         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14667
14668         [BZ #15941]
14669         * Makefile (INSTALL): Add install-plain.texi as the primary
14670         dependency.
14671         * manual/install-plain.texi: New file.
14672         * manual/install.texi: Include node directive only for
14673         non-plaintext output.
14674
14675 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14676
14677         * stdlib/longlong.h: Update from GCC.
14678
14679         [BZ #6807]
14680         [BZ #15901]
14681         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14682         * math/w_j0f.c (y0f): Likewise.
14683         * math/w_j0l.c (__y0l): Likewise.
14684         * math/w_j1.c (y1): Likewise.
14685         * math/w_j1f.c (y1f): Likewise.
14686         * math/w_j1l.c (__y1l): Likewise
14687         * math/w_jn.c (yn): Likewise.
14688         * math/w_jnf.c (ynf): Likewise.
14689         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14690         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14691         value for Bessel function domain errors outside _SVID_ mode.
14692         Adjust sign of return value for yn (negative integer, 0).
14693         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14694         by zero in return for negative x and set sign appropriately for
14695         negative n.
14696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14697         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14698         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14699         expectations in error cases.
14700         (y1_test_data): Likewise.
14701         (yn_test_data): Likewise.
14702         * sysdeps/i386/fpu/libm-test-ulps: Update.
14703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14704
14705 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14706
14707         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14708         "64" to "64-v1".  Add "64-v2".
14709         (abi-64-options): Rename to ...
14710         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14711         (abi-64-condition): Rename to ...
14712         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14713         (abi-64-ld-soname): Rename to ...
14714         (abi-64-v1-ld-soname): ... this.
14715         (abi-64-v2-options): Define.
14716         (abi-64-v2-condition): Likewise.
14717         (abi-64-v2-ld-soname): Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14719         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14723
14724 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14725             Alan Modra  <amodra@gmail.com>
14726
14727         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14728         New versions for use with the ELFv2 ABI.
14729         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14730         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14731         declaration.
14732         (struct La_ppc64v2_retval): Likewise.
14733         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14734         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14735         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14736         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14737         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14739         Do not save or restore CR.
14740         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14741         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14742         return values for ELFv2 ABI.  Fix location of FPR return registers.
14743         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14744         updated values for _CALL_ELF == 2.
14745         (La_regs, La_retval, int_retval): Likewise.
14746
14747 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14748
14749         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14750         (FRAME_MIN_SIZE_PARM): Likewise.
14751         (FRAME_BACKCHAIN): Likewise.
14752         (FRAME_CR_SAVE): Likewise.
14753         (FRAME_LR_SAVE): Likewise.
14754         (FRAME_TOC_SAVE): Likewise.
14755         (FRAME_PARM_SAVE): Likewise.
14756         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14757         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14758         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14759         (call_mcount_parm_offset): New macro.
14760         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14761         (PROF): Use symbolic stack frame offsets.
14762         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14763         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14764         Redefine in terms of FRAME_MIN_SIZE.
14765         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14766         (_dl_profile_resolve): Likewise.  Update comment.
14767         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14768         symbols stack frame offsets.
14769         (__sigsetjmp): Likewise.
14770         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14771         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14772         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14773         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14774
14775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14776         (FRAME_BACKCHAIN): Remove.
14777         (FRAME_CR_SAVE): Likewise.
14778         (FRAME_LR_SAVE): Likewise.
14779         (FRAME_COMPILER_DW): Likewise.
14780         (FRAME_LINKER_DW): Likewise.
14781         (FRAME_TOC_SAVE): Likewise.
14782         (FRAME_PARM_SAVE): Likewise.
14783         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14784         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14785         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14787         (CHECK_SP): Use symbolic stack frame offsets.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14789         zone" instead of caller's parameter save area for temp storage.
14790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14791         Likewise.  Also, use symbolic stack frame offsets.
14792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14793         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14794         our own stack frame instead of the caller's.
14795         (__socket): Use symbolic stack frame offsets.
14796
14797 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14798             Alan Modra  <amodra@gmail.com>
14799
14800         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14801         Define.
14802         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14803         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14804         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14805         New function.
14806         (elf_machine_fixup_plt): Call it.
14807         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14808         reloc arguments.
14809         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14810         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14811         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14812         r2 before calling target.
14813
14814 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14815             Alan Modra  <amodra@gmail.com>
14816
14817         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14818         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14819         versions of macros to support ELFv2 ABI.
14820         (LOCALENTRY): New macro.
14821         (ENTRY, EALIGN): Use it.
14822         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14823         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14824         fall through into ENTRY entry point.
14825         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14826         Only define if _CALL_ELF != 2.
14827
14828         (elf_machine_matches_host): Verify ABI version matches.
14829         (RTLD_START): Use LOCALENTRY.
14830         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14831         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14832         (PLT_ENTRY_WORDS): New macro.
14833         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14834         (elf_machine_runtime_setup): Support ELFv2 ABI.
14835         (elf_machine_fixup_plt): Likewise.
14836         (elf_machine_plt_conflict): Likewise.
14837         (resolve_ifunc): Likewise.
14838         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14839         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14840         Likewise.
14841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14842         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14844         (makecontext): Support ELFv2 ABI.
14845         * elf/elf.h (EF_PPC64_ABI): Define.
14846
14847 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14848
14849         * sysdeps/powerpc/powerpc64/sysdep.h
14850         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14851         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14852         (ENTRY) [ASSEMBLER]: ... but instead here ...
14853         (EALIGN) [ASSEMBLER]: ... and here.
14854         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14855         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14856         (ENTRY_2) [!ASSEMBLER]: Use it.
14857         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14858         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14859         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14860         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14861         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14863         Use PPC64_LOAD_FUNCPTR.
14864
14865         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14866
14867 2013-12-04  Alan Modra  <amodra@gmail.com>
14868
14869         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14870         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14871         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14872         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14873
14874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14875         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14876         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14877         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14878         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14879         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14880
14881 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14882
14883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14884         (__makecontext): Fix incorrect CFI when backtracing out of
14885         context created via makecontext.
14886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14887         (__setcontext): Fix incorrect CFI during switch to new context.
14888         (__novec_setcontext): Likewise.
14889
14890 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14891
14892         [BZ #4772]
14893         * time/strptime_l.c (__strptime_internal): Allow modifiers
14894         in strptime.
14895         * time/tst-strptime.c (day_tests): Add testcase.
14896
14897 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14898
14899         * scripts/bench.pl: Skip over blank lines.
14900
14901 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14902
14903         [BZ #926]
14904         * manual/time.texi (Calendar Time): Clarify what timezone functions
14905         use.
14906
14907 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14908
14909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14910
14911 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14912
14913         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14914         implementation.
14915         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14916         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14917         * debug/memset_chk.c (__memset_chk): Likewise.
14918         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14919         * debug/strncpy_chk.c: Likewise.
14920
14921 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14922
14923         [BZ #15268]
14924         [BZ #15425]
14925         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14926         (__ieee754_exp): For possibly underflowing results, check size of
14927         result and force underflow exception if required.
14928         * math/auto-libm-test-in: Add more tests of exp.
14929         * math/auto-libm-test-out: Regenerated.
14930         * sysdeps/i386/fpu/libm-test-ulps: Update.
14931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14932
14933         [BZ #16283]
14934         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14935         * math/w_exp2f.c (__exp2f): Likewise.
14936         * math/w_exp2l.c (__exp2l): Likewise.
14937         * math/auto-libm-test-in: Do not allow missing errno on exp2
14938         underflow.
14939         * math/auto-libm-test-out: Regenerated.
14940
14941 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14942
14943         [BZ #16274]
14944         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14945         handle filename validation.
14946         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14947         (do_open): Delete.
14948
14949 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14950
14951         [BZ #6786]
14952         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14953         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14954         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14955         <float.h>.
14956         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14957         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14958         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14960         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14961         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14962         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14963         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14964         Add more erfc tests.
14965         * math/auto-libm-test-out: Regenerated.
14966         * sysdeps/i386/fpu/libm-test-ulps: Update.
14967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14968
14969         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14970         exp2, expm1, j0 and j1.
14971         * math/auto-libm-test-out: Regenerated.
14972         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14973         (erfc_test_data): Likewise.
14974         (exp_test_data): Likewise.
14975         (exp_tonearest_test_data): Likewise.
14976         (exp_towardzero_test_data): Likewise.
14977         (exp_downward_test_data): Likewise.
14978         (exp_upward_test_data): Likewise.
14979         (exp10_test_data): Likewise.
14980         (exp2_test_data): Likewise.
14981         (expm1_test_data): Likewise.
14982         (j0_test_data): Likewise.
14983         (j1_test_data): Likewise.
14984         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14985         (input_flag_type): Add flag_xfail_rounding.
14986         (input_flags): Add xfail-rounding.
14987         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14988         (output_for_one_input_case): Handle flag_xfail_rounding.
14989         * sysdeps/i386/fpu/libm-test-ulps: Update.
14990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14991
14992 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14993
14994         [BZ #16289]
14995         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14996         division by 0.
14997
14998 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14999
15000         [BZ #16195]
15001         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15002         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15003         (STAP_PROBE0): New macro.
15004         (STAP_PROBE1): Likewise.
15005         (STAP_PROBE2): Likewise.
15006         (STAP_PROBE3): Likewise.
15007         (STAP_PROBE4): Likewise.
15008
15009 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15010
15011         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15012
15013 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15014
15015         * benchtests/Makefile (bench): Add sqrt.
15016         (LDLIBS-bench-sqrt): New.
15017         * benchtests/sqrt-input: New.
15018
15019 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15020
15021         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15022         (GAIH_EAI): Likewise.
15023         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15024         (gaih_inet): Likewise.
15025         (getaddrinfo): Don't use GAIH_EAI.
15026
15027         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15028         (struct gaih): Remove definition.
15029
15030 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15031
15032         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15033         Use HERRNOP directly.
15034
15035 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15036
15037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15038
15039 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15040
15041         * math/gen-auto-libm-tests.c (test_functions): Add more
15042         single-argument functions.
15043         (special_fill_pi_2): New function.
15044         (special_fill_minus_pi_2): Likewise.
15045         (special_fill_pi_6): Likewise.
15046         (special_fill_minus_pi_6): Likewise.
15047         (special_fill_pi_3): Likewise.
15048         (special_fill_2pi_3): Likewise.
15049         (special_fill_e): Likewise.
15050         (special_fill_1_e): Likewise.
15051         (special_fill_e_minus_1): Likewise.
15052         (special_real_inputs): Add more special inputs.
15053         (output_for_one_input_case): Do not require ERANGE on underflow to
15054         zero if round-to-nearest result does not underflow to zero, unless
15055         exact results required.
15056         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15057         atan, atanh, cbrt, cos and cosh.
15058         * math/auto-libm-test-out: Regenerated.
15059         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15060         (acos_tonearest_test_data): Likewise.
15061         (acos_towardzero_test_data): Likewise.
15062         (acos_downward_test_data): Likewise.
15063         (acos_upward_test_data): Likewise.
15064         (acosh_test_data): Likewise.
15065         (asin_test_data): Likewise.
15066         (asin_tonearest_test_data): Likewise.
15067         (asin_towardzero_test_data): Likewise.
15068         (asin_upward_test_data): Likewise.
15069         (asinh_test_data): Likewise.
15070         (atan_test_data): Likewise.
15071         (atanh_test_data): Likewise.
15072         (cbrt_test_data): Likewise.
15073         (cos_test_data): Likewise.
15074         (cos_tonearest_test_data): Likewise.
15075         (cos_towardzero_test_data): Likewise.
15076         (cos_downward_test_data): Likewise.
15077         (cos_upward_test_data): Likewise.
15078         (cosh_test_data): Likewise.
15079         (cosh_tonearest_test_data): Likewise.
15080         (cosh_towardzero_test_data): Likewise.
15081         (cosh_downward_test_data): Likewise.
15082         (cosh_upward_test_data): Likewise.
15083         * sysdeps/i386/fpu/libm-test-ulps: Update.
15084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15085
15086 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15087
15088         [BZ #6787]
15089         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15090         * math/w_exp10f.c (__exp10f): Likewise.
15091         * math/w_exp10l.c (__exp10l): Likewise.
15092         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15093         errno settings in existing tests.
15094
15095         [BZ #14032]
15096         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15097         precision control set to double precision.
15098         * sysdeps/i386/fpu/w_sqrt.c: New file.
15099         * math/auto-libm-test-in: Add more tests.
15100         * math/auto-libm-test-out: Update.
15101
15102         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15103         (sqrt_test_tonearest): New function.
15104         (sqrt_towardzero_test_data): New variable.
15105         (sqrt_test_towardzero): New function.
15106         (sqrt_downward_test_data): New variable.
15107         (sqrt_test_downward): New function.
15108         (sqrt_upward_test_data): New variable.
15109         (sqrt_test_upward): New function.
15110         (main): Call the new functions.
15111
15112         * math/gen-auto-libm-tests.c: New file.
15113         * math/auto-libm-test-in: Likewise.
15114         * math/auto-libm-test-out: New generated file.
15115         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15116         variables.
15117         (%beautify): Add generated representations of zero.
15118         (top level): Set $auto_input and call parse_auto_input.
15119         (beautify): Remove trailing "f" from hex float constants.
15120         (parse_args): Handle XFAIL_TEST.
15121         (convert_condition): New function.
15122         (or_value): Likewise.
15123         (or_cond_value): Likewise.
15124         (generate_testfile): Handle AUTO_TESTS_* lines.
15125         (parse_auto_input): New function.
15126         * math/libm-test.inc (XFAIL_TEST): New macro.
15127         (ERRNO_UNCHANGED): Update value.
15128         (ERRNO_EDOM): Likewise.
15129         (ERRNO_ERANGE): Likewise.
15130         (IGNORE_RESULT): Likewise.
15131         (TEST_COND_flt_32): New macro.
15132         (TEST_COND_dbl_64): Likewise.
15133         (TEST_COND_ldbl_96_intel): Likewise.
15134         (TEST_COND_ldbl_96_m68k): Likewise.
15135         (TEST_COND_ldbl_128): Likewise.
15136         (TEST_COND_ldbl_128ibm): Likewise.
15137         (TEST_COND_long32): Likewise.
15138         (TEST_COND_long64): Likewise.
15139         (TEST_COND_before_rounding): Likewise.
15140         (TEST_COND_after_rounding): Likewise.
15141         (enable_test): Handle XFAIL_TEST flag.
15142         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15143         with finite results.
15144         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15145         auto-libm-test-out.
15146
15147 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15148             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15149
15150         [BZ #16214]
15151         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15152         __tls_get_addr_internal instead of __tls_get_offset in order to
15153         avoid GOT pointer dependency.  Make rtld export
15154         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15155         __tls_get_addr since we are a __tls_get_offset platform.
15156         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15157         GOT pointer being set up before.
15158         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15159
15160 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15161
15162         * manual/math.texi (Errors in Math Functions): Document accuracy
15163         goals.
15164
15165         [BZ #15004]
15166         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15167         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15168         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15169         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15170         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15171         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15172         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15173         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15174         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15175         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15176         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15177         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15178         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15179         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15180         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15181         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15182
15183         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15184         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15185         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15186         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15187         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15188         Likewise.
15189         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15190         Likewise.
15191         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15192         Likewise.
15193         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15194         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15195         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15196         atomic-feupdateenv and flt-rounds.
15197         * sysdeps/powerpc/nofpu/Versions (libc): Add
15198         __atomic_feholdexcept, __atomic_feclearexcept,
15199         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15200         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15201         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15202         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15203         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15204         here.
15205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15206         Update.
15207
15208         * manual/arith.texi (FP Exceptions): Document that exceptions may
15209         not be raised when matherr is used.
15210         (Math Error Reporting): Document overflow in directed rounding
15211         modes.  Document that errno may not be set when finite values are
15212         returned on overflow.  Document intent to set errno on underflow
15213         only for underflow to zero.
15214
15215         [BZ #16271]
15216         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15217         round-to-nearest then adjust result for other rounding modes.
15218         * include/fenv.h (fegetround): Use libm_hidden_proto.
15219         * math/fegetround.c (fegetround): Use libm_hidden_def.
15220         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15221         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15222         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15223         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15224         Likewise.
15225         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15226         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15227         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15228         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15229
15230 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15231
15232         [BZ #16077]
15233         * nss/Versions (libnss_files): Add
15234         _nss_files_gethostbyname3_r.
15235         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15236         New function.
15237         (HOST_DB_LOOKUP): Remove macro.
15238         (_nss_files_gethostbyname_r): Implement function without the
15239         HOST_DB_LOOKUP macro.
15240         (_nss_files_gethostbyname2_r): Likewise.
15241
15242 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15243
15244         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15245
15246 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15247
15248         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15249         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15250         warning.
15251
15252 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15253
15254         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15255         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15256         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15257         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15258         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15259         __fe_nomask_env_priv and attribute_hidden.
15260         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15261         (libc_feupdateenv_test_ppc): Likewise.
15262         (libc_feresetround_ppc): Likewise.
15263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15264         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15265         compat_symbol macro.
15266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15267         (__fe_nomask_env): Likewise.
15268         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15269
15270 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15271
15272         * string/Makefile: Remove ifunc tests.
15273         * string/test-string.h: Define TEST_IFUNC.
15274         * string/test-bcopy-ifunc.c: Remove.
15275         * string/test-bzero-ifunc.c: Likewise.
15276         * string/test-memccpy-ifunc.c: Likewise.
15277         * string/test-memchr-ifunc.c: Likewise.
15278         * string/test-memcmp-ifunc.c: Likewise.
15279         * string/test-memcpy-ifunc.c: Likewise.
15280         * string/test-memmem-ifunc.c: Likewise.
15281         * string/test-memmove-ifunc.c: Likewise.
15282         * string/test-mempcpy-ifunc.c: Likewise.
15283         * string/test-memrchr-ifunc.c: Likewise.
15284         * string/test-memset-ifunc.c: Likewise.
15285         * string/test-rawmemchr-ifunc.c: Likewise.
15286         * string/test-stpcpy-ifunc.c: Likewise.
15287         * string/test-stpncpy-ifunc.c: Likewise.
15288         * string/test-strcasecmp-ifunc.c: Likewise.
15289         * string/test-strcasestr-ifunc.c: Likewise.
15290         * string/test-strcat-ifunc.c: Likewise.
15291         * string/test-strchr-ifunc.c: Likewise.
15292         * string/test-strchrnul-ifunc.c: Likewise.
15293         * string/test-strcmp-ifunc.c: Likewise.
15294         * string/test-strcpy-ifunc.c: Likewise.
15295         * string/test-strcspn-ifunc.c: Likewise.
15296         * string/test-strlen-ifunc.c: Likewise.
15297         * string/test-strncasecmp-ifunc.c: Likewise.
15298         * string/test-strncat-ifunc.c: Likewise.
15299         * string/test-strncmp-ifunc.c: Likewise.
15300         * string/test-strncpy-ifunc.c: Likewise.
15301         * string/test-strnlen-ifunc.c: Likewise.
15302         * string/test-strpbrk-ifunc.c: Likewise.
15303         * string/test-strrchr-ifunc.c: Likewise.
15304         * string/test-strspn-ifunc.c: Likewise.
15305         * string/test-strstr-ifunc.c: Likewise.
15306
15307 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15308
15309         * benchtests/Makefile: Remove ifunc tests.
15310         * benchtests/bench-string.h: Define TEST_IFUNC.
15311         * benchtests/bench-bcopy-ifunc.c: Remove.
15312         * benchtests/bench-bzero-ifunc.c: Likewise.
15313         * benchtests/bench-memccpy-ifunc.c: Likewise.
15314         * benchtests/bench-memchr-ifunc.c: Likewise.
15315         * benchtests/bench-memcmp-ifunc.c: Likewise.
15316         * benchtests/bench-memcpy-ifunc.c: Likewise.
15317         * benchtests/bench-memmem-ifunc.c: Likewise.
15318         * benchtests/bench-memmove-ifunc.c: Likewise.
15319         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15320         * benchtests/bench-memrchr-ifunc.c: Likewise.
15321         * benchtests/bench-memset-ifunc.c: Likewise.
15322         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15323         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15324         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15325         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15326         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15327         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15328         * benchtests/bench-strcat-ifunc.c: Likewise.
15329         * benchtests/bench-strchr-ifunc.c: Likewise.
15330         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15331         * benchtests/bench-strcmp-ifunc.c: Likewise.
15332         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15333         * benchtests/bench-strcpy-ifunc.c: Likewise.
15334         * benchtests/bench-strcspn-ifunc.c: Likewise.
15335         * benchtests/bench-strlen-ifunc.c: Likewise.
15336         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15337         * benchtests/bench-strncat-ifunc.c: Likewise.
15338         * benchtests/bench-strncmp-ifunc.c: Likewise.
15339         * benchtests/bench-strncpy-ifunc.c: Likewise.
15340         * benchtests/bench-strnlen-ifunc.c: Likewise.
15341         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15342         * benchtests/bench-strrchr-ifunc.c: Likewise.
15343         * benchtests/bench-strsep-ifunc.c: Likewise.
15344         * benchtests/bench-strspn-ifunc.c: Likewise.
15345         * benchtests/bench-strstr-ifunc.c: Likewise.
15346
15347 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15348
15349         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15350
15351 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15352
15353         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15354         * rt/aio.h: Likewise.
15355         * sysdeps/gnu/bits/utmp.h: Likewise.
15356         * sysdeps/gnu/bits/utmpx.h: Likewise.
15357         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15358         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15359         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15360         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15361         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15362         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15363         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15364         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15365         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15366         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15367         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15368         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15369         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15371         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15372         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15373         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15374         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15375         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15376         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15377         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15378         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15379         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15380         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15381         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15382         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15383         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15384         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15385         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15386         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15387         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15388         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15389         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15390         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15391         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15392         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15393         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15394         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15395         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15396         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15397         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15398         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15399
15400 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15401
15402         [BZ #16245]
15403         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15404         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15405
15406 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15407
15408         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15409         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15410         Likewise.
15411
15412 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15413
15414         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15415         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15416         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15417         (__fesetround): Remove define.
15418         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15419         rounding and exceptions handling.
15420         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15421         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15422         (__fe_nomask_env): Likewise.
15423         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15424         __fegetround instead of fegetround.
15425         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15426         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15427
15428 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15429
15430         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15431         it's there.
15432
15433         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15434
15435 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15436
15437         [BZ #11157]
15438         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15439         (encrypt_r): Likewise.
15440         * malloc/obstack.h (obstack_free): Likewise.
15441         * posix/unistd.h (encrypt): Likewise.
15442
15443 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15444
15445         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15446         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15447         DL_CALL_DT_FINI() that call the functions directly.
15448         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15449         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15450         * elf/dl-fini.c: Likewise.
15451
15452 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15453
15454         * malloc/hooks.c (memalign_check): Add alignment rounding.
15455         * malloc/malloc.c (_mid_memalign): New function.
15456         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15457         Implement by calling _mid_memalign.
15458         * manual/probes.texi (Memory Allocation Probes): Remove
15459         memory_valloc_retry and memory_pvalloc_retry.
15460
15461 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15462
15463         * locale/programs/locarchive.c (open_archive): Add const
15464         qualifier to ARCHIVEFNAME and copy default fname to
15465         DEFAULT_FNAME.
15466
15467         [BZ #15601]
15468         * libio/tst-widetext.input: Rename Oriya to Odia.
15469         * locale/iso-639.def: Likewise.
15470
15471         * manual/probes.texi (Mathematical Function Probes): Add
15472         documentation for sin, cos, asin and acos probes.
15473         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15474         (__sin32): Add slowasin probe.
15475         (__cos32): Add slowacos probe.
15476         (__mpsin): Add slowsin probe.
15477         (__mpcos): Add slowcos probe.
15478
15479 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15480
15481         [BZ #15483]
15482         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15483         thread-local __sim_exceptions_thread and global
15484         __sim_exceptions_global.
15485         (__sim_disabled_exceptions): Change to thread-local
15486         __sim_disabled_exceptions_thread and global
15487         __sim_disabled_exceptions_global.
15488         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15489         and global __sim_round_mode_global.
15490         (__simulate_exceptions): Use thread-local floating-point state and
15491         set global state from it as needed.
15492         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15493         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15494         __sim_round_mode_thread.
15495         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15496         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15497         and global __sim_exceptions_global.
15498         (__sim_disabled_exceptions): Change to thread-local
15499         __sim_disabled_exceptions_thread and global
15500         __sim_disabled_exceptions_global.
15501         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15502         and global __sim_round_mode_global.
15503         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15504         (SIM_SET_GLOBAL): Likewise.
15505         * sysdeps/powerpc/soft-fp/sfp-machine.h
15506         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15507         __sim_round_mode_thread.
15508         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15509         __sim_disabled_exceptions_thread.
15510         (__sim_exceptions): Change to __sim_exceptions_thread.
15511         (__sim_disabled_exceptions): Change to
15512         __sim_disabled_exceptions_thread.
15513         (__sim_round_mode): Change to __sim_round_mode_thread.
15514         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15515         thread-local floating-point state and set global state from it as
15516         needed.
15517         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15518         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15519         (__sim_disabled_exceptions): Remove extern declaration.
15520         (feenableexcept): Use thread-local floating-point state and set
15521         global state from it as needed.
15522         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15523         extern declaration.
15524         (__sim_disabled_exceptions): Likewise.
15525         (__sim_round_mode): Likewise.
15526         (__fegetenv): Use thread-local floating-point state.
15527         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15528         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15529         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15530         floating-point state and set global state from it as needed.
15531         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15532         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15533         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15534         Likewise.
15535         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15536         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15537         Likewise.
15538         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15539         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15540         Use __sim_round_mode_thread.
15541         * math/test-fenv-tls.c: New file.
15542         * math/Makefile (tests): Add test-fenv-tls.
15543         ($(objpfx)test-fenv-tls): Depend on
15544         $(common-objpfx)nptl/libpthread.so.
15545
15546 2013-11-19  Andreas Schwab  <schwab@suse.de>
15547
15548         * locale/programs/locale.c (show_info): Decode wordarray elements.
15549         * locale/categories.def (LC_MONETARY): Add element for
15550         _NL_MONETARY_CRNCYSTR.
15551         * locale/C-monetary.c (conversion_rate): New variable.
15552         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15553         element.
15554
15555 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15556
15557         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15558         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15559
15560 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15561
15562         * elf/Makefile (tst-auxv): New test.
15563         * elf/tst-auxv.c: New
15564         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15565
15566 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15567
15568         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15569         (hidden_proto): Caller changed.
15570         (hidden_tls_proto): New macro.
15571         (libc_hidden_tls_proto): Likewise.
15572         (rtld_hidden_tls_proto): Likewise.
15573         (libm_hidden_tls_proto): Likewise.
15574         (libresolv_hidden_tls_proto): Likewise.
15575         (librt_hidden_tls_proto): Likewise.
15576         (libdl_hidden_tls_proto): Likewise.
15577         (libnss_files_hidden_tls_proto): Likewise.
15578         (libnsl_hidden_tls_proto): Likewise.
15579         (libnss_nisplus_hidden_tls_proto): Likewise.
15580         (libutil_hidden_tls_proto): Likewise.
15581
15582 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15583
15584         [BZ #10253]
15585         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15586         (decompose_rpath): Defer expansion to fillin_rpath.
15587         (_dl_init_paths): Pass linkmap to fillin_rpath.
15588
15589 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15590
15591         * benchtests/Makefile: Add strsep.
15592         * benchtests/bench-strsep.c: New file: strsep benchtest.
15593         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15594
15595 2013-11-18  Andreas Schwab  <schwab@suse.de>
15596
15597         * locale/programs/locale.c (show_info) [case byte]: Check for
15598         '\377' instead of '\177'.
15599         * locale/C-monetary.c (not_available): Always use "\377".
15600         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15601         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15602         detect unavailable sign_posn locale elements.
15603         * locale/localeconv.c (__localeconv): For grouping and
15604         mon_grouping handle "\177" and "\377" like no grouping.
15605         (INT_ELEM): New macro.  Use it to set all numeric members.
15606         * locale/programs/ld-monetary.c (monetary_read)
15607         <tok_mon_grouping>: Normalize single -1 to the empty string.
15608         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15609         Likewise.
15610
15611 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15612
15613         [BZ #16055]
15614         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15615         when we match (nil).
15616         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15617
15618 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15619
15620         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15621         (NO_TEST_INLINE): Update value.
15622         (ERRNO_UNCHANGED): Likewise.
15623         (ERRNO_EDOM): Likewise.
15624         (ERRNO_ERANGE): Likewise.
15625         (IGNORE_RESULT): Likewise.
15626         (check_float_internal): Check signs of NaN results if
15627         TEST_NAN_SIGN used.
15628         (check_complex): Pass TEST_NAN_SIGN flag through to second
15629         check_float_internal call.
15630         (copysign_test_data): Add tests with quiet NaNs as second
15631         argument.  Use TEST_NAN_SIGN.
15632         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15633         TEST_NAN_SIGN.
15634         (signbit_test_data): Add tests of quiet NaN argument.
15635         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15636
15637         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15638         $ignore_result.
15639         (parse_args): Handle function results specified as IGNORE.
15640         * math/libm-test.inc (IGNORE_RESULT): New macro.
15641         (check_float_internal): Do not check numerical result if flag
15642         IGNORE_RESULT set.
15643         (check_complex): Pass through IGNORE_RESULT to second
15644         check_float_internal call.
15645         (check_int): Do not check numerical result if flag IGNORE_RESULT
15646         set.
15647         (check_long): Likewise.
15648         (check_bool): Likewise.
15649         (check_longlong): Likewise.
15650         (lrint_test_data): Add tests of infinite and NaN arguments.
15651         (lrint_tonearest_test_data): Likewise.
15652         (lrint_towardzero_test_data): Likewise.
15653         (lrint_downward_test_data): Likewise.
15654         (lrint_upward_test_data): Likewise.
15655         (llrint_test_data): Likewise.
15656         (llrint_tonearest_test_data): Likewise.
15657         (llrint_towardzero_test_data): Likewise.
15658         (llrint_downward_test_data): Likewise.
15659         (llrint_upward_test_data): Likewise.
15660         (lround_test_data): Likewise.
15661         (llround_test_data): Likewise.
15662
15663         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15664         (ERRNO_UNCHANGED): Update value.
15665         (ERRNO_EDOM): Likewise.
15666         (ERRNO_ERANGE): Likewise.
15667         (NO_TEST_INLINE_FLOAT): New macro.
15668         (NO_TEST_INLINE_DOUBLE): Likewise.
15669         (enable_test): New function.
15670         (RUN_TEST_f_f): Check enable_test before running test.
15671         (RUN_TEST_2_f): Likewise.
15672         (RUN_TEST_fff_f): Likewise.
15673         (RUN_TEST_c_f): Likewise.
15674         (RUN_TEST_f_f1): Likewise.
15675         (RUN_TEST_fF_f1): Likewise.
15676         (RUN_TEST_fI_f1): Likewise.
15677         (RUN_TEST_ffI_f1): Likewise.
15678         (RUN_TEST_c_c): Likewise.
15679         (RUN_TEST_cc_c): Likewise.
15680         (RUN_TEST_f_i): Likewise.
15681         (RUN_TEST_f_i_tg): Likewise.
15682         (RUN_TEST_ff_i_tg): Likewise.
15683         (RUN_TEST_f_b): Likewise.
15684         (RUN_TEST_f_b_tg): Likewise.
15685         (RUN_TEST_f_l): Likewise.
15686         (RUN_TEST_f_L): Likewise.
15687         (RUN_TEST_fFF_11): Likewise.
15688         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15689         conditionals.
15690         (cosh_test_data): Likewise.
15691         (exp_test_data): Likewise.
15692         (expm1_test_data): Likewise.
15693         (hypot_test_data): Likewise.
15694         (pow_test_data): Likewise.
15695         (sinh_test_data): Likewise.
15696         (tanh_test_data): Likewise.
15697         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15698         flags argument.
15699
15700         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15701         tests with quiet NaN input and output.
15702         (acosh_test_data): Likewise.
15703         (asin_test_data): Likewise.
15704         (asinh_test_data): Likewise.
15705         (atan_test_data): Likewise.
15706         (atanh_test_data): Likewise.
15707         (atan2_test_data): Likewise.
15708         (cbrt_test_data): Likewise.
15709         (cos_test_data): Likewise.
15710         (cosh_test_data): Likewise.
15711         (erf_test_data): Likewise.
15712         (erfc_test_data): Likewise.
15713         (exp_test_data): Likewise.
15714         (exp10_test_data): Likewise.
15715         (exp2_test_data): Likewise.
15716         (expm1_test_data): Likewise.
15717         (hypot_test_data): Likewise.
15718         (j0_test_data): Likewise.
15719         (j1_test_data): Likewise.
15720         (jn_test_data): Likewise.
15721         (lgamma_test_data): Likewise.
15722         (log_test_data): Likewise.
15723         (log10_test_data): Likewise.
15724         (log1p_test_data): Likewise.
15725         (log2_test_data): Likewise.
15726         (pow_test_data): Likewise.
15727         (scalb_test_data): Likewise.
15728         (sin_test_data): Likewise.
15729         (sincos_test_data): Likewise.
15730         (sinh_test_data): Likewise.
15731         (tan_test_data): Likewise.
15732         (tanh_test_data): Likewise.
15733         (tgamma_test_data): Likewise.
15734         (y0_test_data): Likewise.
15735         (y1_test_data): Likewise.
15736         (yn_test_data): Likewise.
15737
15738         [BZ #16167]
15739         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15740         argument being NaN and avoid computations with second argument in
15741         that case.
15742         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15743         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15744         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15745
15746 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15747
15748         * locale/iso-639.def: Add Chitwani Tharu (the).
15749
15750 2013-11-14  Andreas Schwab  <schwab@suse.de>
15751
15752         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15753         word instead of empty string.
15754
15755 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15756
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15758         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15760         (__fe_nomask_env): Likewise.
15761
15762 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15763
15764         * benchtests/bench-timing.h: Include time.h.
15765
15766 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15767
15768         [BZ #15997]
15769         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15770         to 3.4.0 for x32.
15771         * sysdeps/unix/sysv/linux/configure: Regenerated.
15772
15773 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15774
15775         [BZ #16151]
15776         * stdlib/strtod_l.c (round_and_return): Do not consider
15777         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15778         exponent one less than half the least subnormal exponent.
15779         * stdlib/test-strtod-round-data: Add more tests.
15780         * stdlib/tst-strtod-round.c (tests): Regenerated.
15781
15782 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15783
15784         [BZ #14143]
15785         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15786         (__fe_mask_env): Likewise.
15787         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15788         libm_hidden_proto and add function prototype.
15789         (__fe_mask_env): Add function prototype.
15790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15791         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15793         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15795         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15796
15797 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15798
15799         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15800         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15801
15802 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15803
15804         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15805         of htab_find_slot().
15806
15807 2013-11-11  David S. Miller  <davem@davemloft.net>
15808
15809         [BZ #16150]
15810         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15811         symbol in the non-vis3 case in static builds.
15812         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15813         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15814         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15815         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15816
15817 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15818
15819         [BZ #387]
15820         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15821         it is empty.
15822
15823 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15824
15825         * benchtests/Makefile: Add bench-strtod.
15826         * benchtests/bench-strtod.c: New file: strtod benchtest
15827
15828 2013-11-11  Andreas Schwab  <schwab@suse.de>
15829
15830         [BZ #16153]
15831         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15832         terminating NUL in key length.
15833
15834 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15835
15836         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15837         Add artificial ODP entry for vDSO symbol for PPC64.
15838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15839         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15840
15841 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15842
15843         [BZ #15374]
15844         * nss/getent.c (services_keys): Recognize services starting with digit.
15845
15846 2013-11-06  David S. Miller  <davem@davemloft.net>
15847
15848         [BZ #15985]
15849         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15850         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15851
15852 2013-11-06  Will Newton  <will.newton@linaro.org>
15853
15854         * manual/memory.texi (Malloc Examples): Remove register
15855         keyword from examples.
15856
15857 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15858
15859         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15860
15861 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15862
15863         [BZ #6981]
15864         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15865         depending on [__GCC_IEC_559 > 0].
15866         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15867         depending on [__GCC_IEC_559_COMPLEX > 0].
15868
15869 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15870
15871         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15872         to iso-639.def.
15873
15874 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15875
15876         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15877
15878 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15879
15880         [BZ #16112]
15881         * malloc/malloc (malloc_info): Do not handle first bin as
15882         special case.
15883
15884 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15885
15886         * locale/iso-639.def: Add Central Nahuatl (nhn).
15887
15888 2013-11-01  Bruno Haible  <bruno@clisp.org>
15889
15890         [BZ #7003]
15891         * manual/math.texi (BSD Random): Specify range upper bound as
15892         in POSIX.
15893
15894 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15895
15896         * locale/iso-639.def: Add Meadow Mari (mhr).
15897
15898 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15899
15900         [BZ #14752], [BZ #15763]
15901         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15902         Validate name.
15903         * rt/tst_shm.c: Add test for escaping directory.
15904
15905 2013-10-31  Andreas Schwab  <schwab@suse.de>
15906
15907         [BZ #15917]
15908         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15909         followed by 'x' as part of digit sequence.
15910         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15911
15912 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15913
15914         [BZ #16037]
15915         * configure.ac: allow GNU Make 4.0 and greater.
15916         * configure: Regenerated.
15917
15918 2013-10-30  Will Newton  <will.newton@linaro.org>
15919
15920         [BZ #16038]
15921         * malloc/hooks.c (memalign_check): Limit alignment to the
15922         maximum representable power of two.
15923         * malloc/malloc.c (__libc_memalign): Likewise.
15924         * malloc/tst-memalign.c (do_test): Add test for very
15925         large alignment values.
15926         * malloc/tst-posix_memalign.c (do_test): Likewise.
15927
15928 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15929
15930         [BZ #11087]
15931         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15932         (munmap_chunk): Likewise.
15933         (mremap_chunk): Likewise.
15934
15935 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15936
15937         [BZ #15799]
15938         * stdlib/div.c (div): Remove obsolete code.
15939         * stdlib/ldiv.c (ldiv): Likewise.
15940         * stdlib/lldiv.c (lldiv): Likewise.
15941
15942 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15943
15944         [BZ #16071]
15945         * nss/nss_files/files-XXX.c (get_contents_ret): New
15946         enumerator.
15947         (get_contents): New function.
15948         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15949
15950 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15951
15952         * configure.in: Moved to ...
15953         * configure.ac: ... here. Change reference to configure.in
15954         to configure.ac.
15955         * sysdeps/arm/preconfigure.ac: ... here.
15956         configure.in to configure.ac.
15957         * sysdeps/gnu/configure.in: Moved to ...
15958         * sysdeps/gnu/configure.ac: ... here.
15959         * sysdeps/i386/configure.in: Moved to ...
15960         * sysdeps/i386/configure.ac: ... here.
15961         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15962         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15963         * sysdeps/mach/configure.in: Moved to ...
15964         * sysdeps/mach/configure.ac: ... here.
15965         * sysdeps/mach/hurd/configure.in: Moved to ...
15966         * sysdeps/mach/hurd/configure.ac: ... here.
15967         * sysdeps/powerpc/configure.in: Moved to ...
15968         * sysdeps/powerpc/configure.ac: ... here.
15969         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15970         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15971         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15972         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15973         * sysdeps/s390/s390-32/configure.in: Moved to ...
15974         * sysdeps/s390/s390-32/configure.ac: ... here.
15975         * sysdeps/s390/s390-64/configure.in: Moved to ...
15976         * sysdeps/s390/s390-64/configure.ac: ... here.
15977         * sysdeps/sh/configure.in: Moved to ...
15978         * sysdeps/sh/configure.ac: ... here.
15979         * sysdeps/sparc/configure.in: Moved to ...
15980         * sysdeps/sparc/configure.ac: ... here.
15981         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15982         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15983         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15984         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15985         * sysdeps/x86_64/configure.in: Moved to ...
15986         * sysdeps/x86_64/configure.ac: ... here.
15987         * sysdeps/x86_64/preconfigure.in: Moved to ...
15988         * sysdeps/x86_64/preconfigure.ac: ... here.
15989         * aclocal.m4: Change reference to configure.in to configure.ac.
15990         * config.h.in: Likewise.
15991         * manual/install.texi: Likewise.
15992         * manual/maint.texi: Likewise.
15993         * Makefile: Likewise.
15994         * malloc/Makefile: Likewise.
15995         * nscd/Makefile: Likewise.
15996         * Makeconfig: Change reference to configure.in and
15997         preconfigure.in to configure.ac and preconfigure.ac
15998         respectively.
15999         * INSTALL: Regenerated.
16000         * configure: Likewise.
16001         * sysdeps/gnu/configure: Likewise.
16002         * sysdeps/i386/configure: Likewise.
16003         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16004         * sysdeps/mach/configure: Likewise.
16005         * sysdeps/mach/hurd/configure: Likewise.
16006         * sysdeps/powerpc/configure: Likewise.
16007         * sysdeps/powerpc/powerpc32/configure: Likewise.
16008         * sysdeps/powerpc/powerpc64/configure: Likewise.
16009         * sysdeps/s390/s390-32/configure: Likewise.
16010         * sysdeps/s390/s390-64/configure: Likewise.
16011         * sysdeps/sh/configure: Likewise.
16012         * sysdeps/sparc/configure: Likewise.
16013         * sysdeps/unix/sysv/linux/configure: Likewise.
16014         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16015         * sysdeps/x86_64/configure: Likewise.
16016         * sysdeps/x86_64/preconfigure: Likewise.
16017
16018 2013-10-29  Andreas Schwab  <schwab@suse.de>
16019
16020         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16021
16022 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16023
16024         * benchtests/pow-inputs: Add new inputs.
16025
16026         * benchtests/exp-inputs: Add new inputs.
16027
16028         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16029         conditional check for return value.
16030         (__cos32): Likewise.
16031
16032 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16033
16034         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16035         to provide a boost for large inputs with word alignment.
16036         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16037         implementation based on optimized PPC64 strcpy.
16038         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16039         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16040         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16041         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16042
16043 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16044
16045         [BZ #2801]
16046         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16047
16048 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16049
16050         [BZ #14876]
16051         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16052         * time/tst-strptime.c (day_tests): Add testcase.
16053
16054 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16055
16056         [BZ #14029]
16057         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16058
16059 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16060
16061         [BZ #16074]
16062         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16063         MAP_FAILED on error.
16064
16065 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16066
16067         [BZ #16072]
16068         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16069         heap for large requests.
16070
16071 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16072
16073         [BZ #9954]
16074         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16075         result if the result has no associated interface.
16076         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16077         interface for all 127.X.Y.Z addresses.
16078
16079 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16080
16081         * locale/iso-639.def: Add Ligurian (lij)
16082
16083 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16084
16085         [BZ #15825]
16086         * sunrpc/rpc_main.c: Document rpcgen -5.
16087
16088 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16089
16090         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16091
16092 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16093
16094         [BZ #10278]
16095         * posix/glob.c: Match only directories when trailing slash is present.
16096         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16097         (main): Add testcase.
16098
16099 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16100
16101         [BZ #15670]
16102         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16103
16104 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16105
16106         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16107         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16108         AUTH_DES and cindex for FIPS 140-2.
16109         (DES Encryption): Add cindex FIPS 46-3.
16110
16111         * locale/locarchive.h (struct locarhandle): Add fname.
16112         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16113         if an optional argument was specified to --list-archive,
16114         otherwise NULL.
16115         * locale/programs/locarchive.c (show_archive_content): Take new
16116         argument fname and pass it via ah.fname to open_archive.
16117         * locale/programs/localedef.h: Update decl.
16118         (open_archive): If AH->fname is non-null, open that file
16119         rather than the default file name, and don't ignore ENOENT.
16120         (create_archive): Set AH.fname to NULL.
16121         (delete_locales_from_archive): Likewise.
16122         (add_locales_to_archive): Likewise.
16123         * locale/programs/locfile.c (write_all_categories): Likewise.
16124
16125 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16126             Aldy Hernandez  <aldyh@redhat.com>
16127
16128         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16129         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16130         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16131         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16132         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16133         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16134         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16135         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16136         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16137         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16138         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16139         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16140         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16141         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16142         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16143         Likewise.
16144         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16145         Likewise.
16146         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16147         Likewise.
16148         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16149         Likewise.
16150         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16151         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16152         Likewise.
16153         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16154         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16155         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16156         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16157         Likewise.
16158         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16159         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16160         * sysdeps/powerpc/preconfigure: Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16162         Likewise.
16163         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16164         Replace contents of file by #include of <fenv_libc.h>.
16165         * sysdeps/powerpc/soft-fp/sfp-machine.h
16166         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16167         and <sys/prctl.h>.
16168         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16171         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16172         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16173         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16175         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16181         Allow copysignl PLT reference to be missing.
16182
16183 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16184             Joseph Myers  <joseph@codesourcery.com
16185
16186         [BZ #15948]
16187         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16188         single character.
16189         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16190
16191 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16192
16193         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16194         * elf/tst-tls1.c: Likewise.
16195         * elf/tst-tls10.h: Likewise.
16196         * elf/tst-tls14.c: Likewise.
16197         * elf/tst-tls2.c: Likewise.
16198         * elf/tst-tls3.c: Likewise.
16199         * elf/tst-tls4.c: Likewise.
16200         * elf/tst-tls5.c: Likewise.
16201         * elf/tst-tls6.c: Likewise.
16202         * elf/tst-tls7.c: Likewise.
16203         * elf/tst-tls8.c: Likewise.
16204         * elf/tst-tls9.c: Likewise.
16205         * elf/tst-tlsmod1.c: Likewise.
16206         * elf/tst-tlsmod13.c: Likewise.
16207         * elf/tst-tlsmod13a.c: Likewise.
16208         * elf/tst-tlsmod14a.c: Likewise.
16209         * elf/tst-tlsmod16a.c: Likewise.
16210         * elf/tst-tlsmod16b.c: Likewise.
16211         * elf/tst-tlsmod2.c: Likewise.
16212         * elf/tst-tlsmod3.c: Likewise.
16213         * elf/tst-tlsmod4.c: Likewise.
16214         * elf/tst-tlsmod5.c: Likewise.
16215         * elf/tst-tlsmod6.c: Likewise.
16216
16217 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16218
16219         [BZ #12486]
16220         * malloc/malloc.c: remove checks for statistics.
16221
16222 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16223
16224         [BZ #15277]
16225         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16226         * inet/tst-network.c: Add testcase.
16227
16228 2013-10-17  Andreas Schwab  <schwab@suse.de>
16229
16230         [BZ #15218]
16231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16232         to determine canonical name.
16233
16234 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16235
16236         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16237         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16238         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16239         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16240         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16241         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16242         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16243         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16244         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16245         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16246         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16247         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16248         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16249         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16250         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16251         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16252         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16253         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16254         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16255         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16256         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16257         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16259         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16260         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16261         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16262         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16263         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16264         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16265         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16266         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16268         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16269         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16270         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16271         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16272         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16273         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16274         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16275         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16276         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16277         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16278         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16279         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16280         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16281         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16282         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16283         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16284         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16285         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16286         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16287         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16288         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16289         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16290         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16291         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16292         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16293         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16294
16295 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16296
16297         [BZ #16041]
16298         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16299         make result into a quiet NaN.
16300
16301 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16302
16303         * soft-fp/adddf3.c: Fix horizontal whitespace.
16304         * soft-fp/addsf3.c: Likewise.
16305         * soft-fp/addtf3.c: Likewise.
16306         * soft-fp/divdf3.c: Likewise.
16307         * soft-fp/divsf3.c: Likewise.
16308         * soft-fp/divtf3.c: Likewise.
16309         * soft-fp/double.h: Likewise.
16310         * soft-fp/eqdf2.c: Likewise.
16311         * soft-fp/eqsf2.c: Likewise.
16312         * soft-fp/eqtf2.c: Likewise.
16313         * soft-fp/extenddftf2.c: Likewise.
16314         * soft-fp/extended.h: Likewise.
16315         * soft-fp/extendsfdf2.c: Likewise.
16316         * soft-fp/extendsftf2.c: Likewise.
16317         * soft-fp/extendxftf2.c: Likewise.
16318         * soft-fp/fixdfdi.c: Likewise.
16319         * soft-fp/fixdfsi.c: Likewise.
16320         * soft-fp/fixdfti.c: Likewise.
16321         * soft-fp/fixsfdi.c: Likewise.
16322         * soft-fp/fixsfsi.c: Likewise.
16323         * soft-fp/fixsfti.c: Likewise.
16324         * soft-fp/fixtfdi.c: Likewise.
16325         * soft-fp/fixtfsi.c: Likewise.
16326         * soft-fp/fixtfti.c: Likewise.
16327         * soft-fp/fixunsdfdi.c: Likewise.
16328         * soft-fp/fixunsdfsi.c: Likewise.
16329         * soft-fp/fixunsdfti.c: Likewise.
16330         * soft-fp/fixunssfdi.c: Likewise.
16331         * soft-fp/fixunssfsi.c: Likewise.
16332         * soft-fp/fixunssfti.c: Likewise.
16333         * soft-fp/fixunstfdi.c: Likewise.
16334         * soft-fp/fixunstfsi.c: Likewise.
16335         * soft-fp/fixunstfti.c: Likewise.
16336         * soft-fp/floatdidf.c: Likewise.
16337         * soft-fp/floatdisf.c: Likewise.
16338         * soft-fp/floatditf.c: Likewise.
16339         * soft-fp/floatsidf.c: Likewise.
16340         * soft-fp/floatsisf.c: Likewise.
16341         * soft-fp/floatsitf.c: Likewise.
16342         * soft-fp/floattidf.c: Likewise.
16343         * soft-fp/floattisf.c: Likewise.
16344         * soft-fp/floattitf.c: Likewise.
16345         * soft-fp/floatundidf.c: Likewise.
16346         * soft-fp/floatundisf.c: Likewise.
16347         * soft-fp/floatunditf.c: Likewise.
16348         * soft-fp/floatunsidf.c: Likewise.
16349         * soft-fp/floatunsisf.c: Likewise.
16350         * soft-fp/floatunsitf.c: Likewise.
16351         * soft-fp/floatuntidf.c: Likewise.
16352         * soft-fp/floatuntisf.c: Likewise.
16353         * soft-fp/floatuntitf.c: Likewise.
16354         * soft-fp/fmadf4.c: Likewise.
16355         * soft-fp/fmasf4.c: Likewise.
16356         * soft-fp/fmatf4.c: Likewise.
16357         * soft-fp/gedf2.c: Likewise.
16358         * soft-fp/gesf2.c: Likewise.
16359         * soft-fp/getf2.c: Likewise.
16360         * soft-fp/ledf2.c: Likewise.
16361         * soft-fp/lesf2.c: Likewise.
16362         * soft-fp/letf2.c: Likewise.
16363         * soft-fp/muldf3.c: Likewise.
16364         * soft-fp/mulsf3.c: Likewise.
16365         * soft-fp/multf3.c: Likewise.
16366         * soft-fp/negdf2.c: Likewise.
16367         * soft-fp/negsf2.c: Likewise.
16368         * soft-fp/negtf2.c: Likewise.
16369         * soft-fp/op-1.h: Likewise.
16370         * soft-fp/op-2.h: Likewise.
16371         * soft-fp/op-4.h: Likewise.
16372         * soft-fp/op-8.h: Likewise.
16373         * soft-fp/op-common.h: Likewise.
16374         * soft-fp/quad.h: Likewise.
16375         * soft-fp/single.h: Likewise.
16376         * soft-fp/soft-fp.h: Likewise.
16377         * soft-fp/sqrtdf2.c: Likewise.
16378         * soft-fp/sqrtsf2.c: Likewise.
16379         * soft-fp/sqrttf2.c: Likewise.
16380         * soft-fp/subdf3.c: Likewise.
16381         * soft-fp/subsf3.c: Likewise.
16382         * soft-fp/subtf3.c: Likewise.
16383         * soft-fp/truncdfsf2.c: Likewise.
16384         * soft-fp/trunctfdf2.c: Likewise.
16385         * soft-fp/trunctfsf2.c: Likewise.
16386         * soft-fp/trunctfxf2.c: Likewise.
16387         * soft-fp/unorddf2.c: Likewise.
16388         * soft-fp/unordsf2.c: Likewise.
16389         * soft-fp/unordtf2.c: Likewise.
16390
16391 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16392
16393         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16394         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16395
16396 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16397
16398         * elf/dl-libc.c: Clear initfini list after freeing.
16399
16400 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16401
16402         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16403         * soft-fp/addsf3.c: Likewise.
16404         * soft-fp/addtf3.c: Likewise.
16405         * soft-fp/divdf3.c: Likewise.
16406         * soft-fp/divsf3.c: Likewise.
16407         * soft-fp/divtf3.c: Likewise.
16408         * soft-fp/double.h: Likewise.
16409         * soft-fp/eqdf2.c: Likewise.
16410         * soft-fp/eqsf2.c: Likewise.
16411         * soft-fp/eqtf2.c: Likewise.
16412         * soft-fp/extenddftf2.c: Likewise.
16413         * soft-fp/extended.h: Likewise.
16414         * soft-fp/extendsfdf2.c: Likewise.
16415         * soft-fp/extendsftf2.c: Likewise.
16416         * soft-fp/extendxftf2.c: Likewise.
16417         * soft-fp/fixdfdi.c: Likewise.
16418         * soft-fp/fixdfsi.c: Likewise.
16419         * soft-fp/fixdfti.c: Likewise.
16420         * soft-fp/fixsfdi.c: Likewise.
16421         * soft-fp/fixsfsi.c: Likewise.
16422         * soft-fp/fixsfti.c: Likewise.
16423         * soft-fp/fixtfdi.c: Likewise.
16424         * soft-fp/fixtfsi.c: Likewise.
16425         * soft-fp/fixtfti.c: Likewise.
16426         * soft-fp/fixunsdfdi.c: Likewise.
16427         * soft-fp/fixunsdfsi.c: Likewise.
16428         * soft-fp/fixunsdfti.c: Likewise.
16429         * soft-fp/fixunssfdi.c: Likewise.
16430         * soft-fp/fixunssfsi.c: Likewise.
16431         * soft-fp/fixunssfti.c: Likewise.
16432         * soft-fp/fixunstfdi.c: Likewise.
16433         * soft-fp/fixunstfsi.c: Likewise.
16434         * soft-fp/fixunstfti.c: Likewise.
16435         * soft-fp/floatdidf.c: Likewise.
16436         * soft-fp/floatdisf.c: Likewise.
16437         * soft-fp/floatditf.c: Likewise.
16438         * soft-fp/floatsidf.c: Likewise.
16439         * soft-fp/floatsisf.c: Likewise.
16440         * soft-fp/floatsitf.c: Likewise.
16441         * soft-fp/floattidf.c: Likewise.
16442         * soft-fp/floattisf.c: Likewise.
16443         * soft-fp/floattitf.c: Likewise.
16444         * soft-fp/floatundidf.c: Likewise.
16445         * soft-fp/floatundisf.c: Likewise.
16446         * soft-fp/floatunsidf.c: Likewise.
16447         * soft-fp/floatunsisf.c: Likewise.
16448         * soft-fp/floatuntidf.c: Likewise.
16449         * soft-fp/floatuntisf.c: Likewise.
16450         * soft-fp/floatuntitf.c: Likewise.
16451         * soft-fp/fmadf4.c: Likewise.
16452         * soft-fp/fmasf4.c: Likewise.
16453         * soft-fp/fmatf4.c: Likewise.
16454         * soft-fp/gedf2.c: Likewise.
16455         * soft-fp/gesf2.c: Likewise.
16456         * soft-fp/getf2.c: Likewise.
16457         * soft-fp/ledf2.c: Likewise.
16458         * soft-fp/lesf2.c: Likewise.
16459         * soft-fp/letf2.c: Likewise.
16460         * soft-fp/muldf3.c: Likewise.
16461         * soft-fp/mulsf3.c: Likewise.
16462         * soft-fp/multf3.c: Likewise.
16463         * soft-fp/negdf2.c: Likewise.
16464         * soft-fp/negsf2.c: Likewise.
16465         * soft-fp/negtf2.c: Likewise.
16466         * soft-fp/op-1.h: Likewise.
16467         * soft-fp/op-2.h: Likewise.
16468         * soft-fp/op-4.h: Likewise.
16469         * soft-fp/op-8.h: Likewise.
16470         * soft-fp/op-common.h: Likewise.
16471         * soft-fp/quad.h: Likewise.
16472         * soft-fp/single.h: Likewise.
16473         * soft-fp/soft-fp.h: Likewise.
16474         * soft-fp/sqrtdf2.c: Likewise.
16475         * soft-fp/sqrtsf2.c: Likewise.
16476         * soft-fp/sqrttf2.c: Likewise.
16477         * soft-fp/subdf3.c: Likewise.
16478         * soft-fp/subsf3.c: Likewise.
16479         * soft-fp/subtf3.c: Likewise.
16480         * soft-fp/truncdfsf2.c: Likewise.
16481         * soft-fp/trunctfdf2.c: Likewise.
16482         * soft-fp/trunctfsf2.c: Likewise.
16483         * soft-fp/trunctfxf2.c: Likewise.
16484         * soft-fp/unorddf2.c: Likewise.
16485         * soft-fp/unordsf2.c: Likewise.
16486         * soft-fp/unordtf2.c: Likewise.
16487
16488 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16489
16490         [BZ #15672]
16491         * misc/error.c (error_tail): Fix possible buffer overflow.
16492
16493 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16494
16495         [BZ #13028]
16496         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16497         address.
16498
16499 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16500
16501         [BZ #832]
16502         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16503         testing pipefail option.
16504
16505 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16506
16507         * soft-fp/double.h: Indent preprocessor directives inside #if.
16508         * soft-fp/extended.h: Likewise.
16509         * soft-fp/op-2.h: Likewise.
16510         * soft-fp/op-4.h: Likewise.
16511         * soft-fp/op-common.h: Likewise.
16512         * soft-fp/quad.h: Likewise.
16513         * soft-fp/single.h: Likewise.
16514         * soft-fp/soft-fp.h: Likewise.
16515
16516 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16517
16518         * iconv/iconv_prog.c: Fix typos.
16519         * stdio-common/psiginfo-data.h: Likewise.
16520
16521 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16522
16523         [BZ #15764]
16524         * locale/setlocale.c: Fix typo.
16525
16526 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16527
16528         [BZ #16036]
16529         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16530         signaling NaN arguments.
16531         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16532         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16533
16534         [BZ #14910]
16535         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16536         unordered operands.
16537         * soft-fp/gesf2.c (__gesf2): Likewise.
16538         * soft-fp/getf2.c (__getf2): Likewise.
16539         * soft-fp/ledf2.c (__ledf2): Likewise.
16540         * soft-fp/lesf2.c (__lesf2): Likewise.
16541         * soft-fp/letf2.c (__letf2): Likewise.
16542
16543         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16544         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16545         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16546         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16547         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16548         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16549         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16550         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16551         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16552         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16553         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16554         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16555         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16556         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16557         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16558         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16559         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16560         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16561         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16562         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16563         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16564         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16565         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16566         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16567         * soft-fp/floattidf.c (__floattidf): Likewise.
16568         * soft-fp/floattisf.c (__floattisf): Likewise.
16569         * soft-fp/floattitf.c (__floattitf): Likewise.
16570         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16571         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16572         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16573         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16574         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16575         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16576         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16577         * soft-fp/gesf2.c (__gesf2): Likewise.
16578         * soft-fp/getf2.c (__getf2): Likewise.
16579         * soft-fp/ledf2.c (__ledf2): Likewise.
16580         * soft-fp/lesf2.c (__lesf2): Likewise.
16581         * soft-fp/letf2.c (__letf2): Likewise.
16582
16583         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16584         Undefine and redefine.
16585         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16586         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16587         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16588         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16589         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16590         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16591         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16592         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16593         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16594         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16595         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16596         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16597         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16598         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16599         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16600
16601         [BZ #16032]
16602         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16603         without decrementing exponent if mantissa >= that for the
16604         denominator, not >.
16605         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16606         denominator, not >.  Decrement exponent in < case instead of
16607         incrementing in >= case.
16608         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16609         without decrementing exponent if mantissa >= that for the
16610         denominator, not >.
16611
16612         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16613         computing saturated result for unsigned overflow.
16614
16615 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16616             Jeff Law  <law@redhat.com>
16617
16618         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16619         (atan2Mp): Add systemtap probe marker.
16620         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16621         (__ieee754_log): Add systemtap probe marker.
16622         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16623         (atanMp): Add systemtap probe marker.
16624         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16625         (tanMp): Add systemtap probe marker.
16626         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16627         (__slowexp): Add systemtap probe marker.
16628         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16629         (__slowpow): Add systemtap probe marker.
16630         * manual/probes.texi: Document probes.
16631
16632 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16633
16634         [BZ #15362]
16635         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16636         written.
16637         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16638         written.
16639         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16640         written to buffer but not flushed.
16641         * libio/iofwrite_u.c:  Likewise.
16642         * libio/iopadn.c:  Return bytes returned even if EOF was
16643         encountered.
16644         * libio/iowpadn.c:  Likewise.
16645         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16646         if _IO_padn does not write the whole buffer.
16647         [!COMPILE_WPRINTF] (PAD): Likewise.
16648
16649 2013-10-10  David S. Miller  <davem@davemloft.net>
16650
16651         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16652         directory block.
16653
16654 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16655
16656         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16657         instead of FSF address.
16658         * soft-fp/fixdfti.c: Likewise.
16659         * soft-fp/fixsfti.c: Likewise.
16660         * soft-fp/fixtfti.c: Likewise.
16661         * soft-fp/fixunsdfti.c: Likewise.
16662         * soft-fp/fixunssfti.c: Likewise.
16663         * soft-fp/fixunstfti.c: Likewise.
16664         * soft-fp/floattidf.c: Likewise.
16665         * soft-fp/floattisf.c: Likewise.
16666         * soft-fp/floattitf.c: Likewise.
16667         * soft-fp/floatuntidf.c: Likewise.
16668         * soft-fp/floatuntisf.c: Likewise.
16669         * soft-fp/floatuntitf.c: Likewise.
16670         * soft-fp/trunctfxf2.c: Likewise.
16671
16672         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16673         * soft-fp/fixdfti.c: Likewise.
16674         * soft-fp/fixsfti.c: Likewise.
16675         * soft-fp/fixtfti.c: Likewise.
16676         * soft-fp/fixunsdfti.c: Likewise.
16677         * soft-fp/fixunssfti.c: Likewise.
16678         * soft-fp/fixunstfti.c: Likewise.
16679         * soft-fp/floattidf.c: Likewise.
16680         * soft-fp/floattisf.c: Likewise.
16681         * soft-fp/floattitf.c: Likewise.
16682         * soft-fp/floatuntidf.c: Likewise.
16683         * soft-fp/floatuntisf.c: Likewise.
16684         * soft-fp/floatuntitf.c: Likewise.
16685         * soft-fp/trunctfxf2.c: Likewise.
16686
16687 2013-10-10  David S. Miller  <davem@davemloft.net>
16688
16689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16690
16691 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16692
16693         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16694         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16695         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16696         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16697         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16698         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16699         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16700
16701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16702         for NaNs before doing comparisons on argument.
16703         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16704         Likewise.
16705
16706 2013-10-10  Will Newton  <will.newton@linaro.org>
16707
16708         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16709         passed to _int_memalign does not overflow.
16710
16711 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16712
16713         * scripts/bench.pl: Add include-sources directive.
16714         * benchtests/README: Update documentation.
16715
16716 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16717
16718         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16719         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16720         instead of FP_INIT_ROUNDMODE.
16721         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16722         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16723
16724         [BZ #16034]
16725         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16726         copy class of input value.
16727         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16728         not handle exceptions.
16729         * soft-fp/negsf2.c (__negsf2): Likewise.
16730         * soft-fp/negtf2.c (__negtf2): Likewise.
16731         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16732
16733 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16734
16735         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16736         semicolon.  From Linux kernel.
16737
16738 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16739
16740         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16741
16742 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16743
16744         [BZ #156]
16745         * manual/socket.texi: Added statement about buffer
16746         for gethostbyname2_r.
16747
16748 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16749
16750         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16751         Use .p2align directive instead, throughout.
16752         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16753         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16754         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16755         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16756         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16757         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16758         * sysdeps/x86_64/strchr.S: Likewise.
16759         * sysdeps/x86_64/strrchr.S: Likewise.
16760
16761 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16762
16763         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16764
16765         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16766
16767         * sysdeps/generic/math_private.h (__mpsin1): Remove
16768         declaration.
16769         (__mpcos1): Likewise.
16770         (__mpsin): New argument __range_reduce.
16771         (__mpcos): Likewise.
16772         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16773         (slow): Use __mpsin and __mpcos.
16774         (slow1): Likewise.
16775         (slow2): Likewise.
16776         (sloww): Likewise.
16777         (sloww1): Likewise.
16778         (sloww2): Likewise.
16779         (bsloww): Likewise.
16780         (bsloww1): Likewise.
16781         (bsloww2): Likewise.
16782         (cslow2): Likewise.
16783         (csloww): Likewise.
16784         (csloww1): Likewise.
16785         (csloww2): Likewise.
16786         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16787         range_reduce.  Merge in __mpsin1.
16788         (__mpcos): Likewise.
16789         (__mpsin1): Remove.
16790         (__mpcos1): Likewise.
16791
16792 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16793
16794         * locale/loadlocale.c (_nl_intern_locale_data): Use
16795         LOCFILE_ALIGNED_P.
16796         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16797         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16798         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16799         obstack data is appropriately aligned.
16800         (obstack_int32_grow_fast): Likewise.
16801         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16802         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16803         (add_locale_uint32_array): Likewise.
16804
16805 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16806
16807         * benchtests/Makefile: Remove ARGLIST and RET variables.
16808         ($(objpfx)bench-%.c): Pass only function name to the script.
16809         * benchtests/README: Update documentation.
16810         * benchtests/acos-inputs: Add new directives.
16811         * benchtests/acosh-inputs: Likewise.
16812         * benchtests/asin-inputs: Likewise.
16813         * benchtests/asinh-inputs: Likewise.
16814         * benchtests/atan-inputs: Likewise.
16815         * benchtests/atanh-inputs: Likewise.
16816         * benchtests/cos-inputs: Likewise.
16817         * benchtests/cosh-inputs: Likewise.
16818         * benchtests/exp-inputs: Likewise.
16819         * benchtests/log-inputs: Likewise.
16820         * benchtests/pow-inputs: Likewise.
16821         * benchtests/rint-inputs: Likewise.
16822         * benchtests/sin-inputs: Likewise.
16823         * benchtests/sinh-inputs: Likewise.
16824         * benchtests/tan-inputs: Likewise.
16825         * benchtests/tanh-inputs: Likewise.
16826         * scripts/bench.pl: Add support for new directives.
16827
16828 2013-10-07  Alan Modra  <amodra@gmail.com>
16829
16830         * README: Fix careless merge.
16831
16832 2013-10-05  Alan Modra  <amodra@gmail.com>
16833
16834         * NEWS: Mention powerpc64le support and bugs fixed.
16835         * README: Both big-endian and little-endian powerpc64 supported.
16836
16837 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16838
16839         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16840         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16841         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16842         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16843
16844 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16845
16846         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16847         match prototype.
16848
16849 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16850
16851         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16852         Move -mhard-float appending from
16853         ports/sysdeps/powerpc/powerpc32/Makefile.
16854         [$(with-fp) = yes] (ASFLAGS): Likewise.
16855         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16856         * sysdeps/powerpc/nofpu: Move directory from
16857         ports/sysdeps/powerpc/nofpu.
16858         * sysdeps/powerpc/soft-fp: Move directory from
16859         ports/sysdeps/powerpc/soft-fp.
16860         * sysdeps/powerpc/powerpc32/405: Move directory from
16861         ports/sysdeps/powerpc/powerpc32/405.
16862         * sysdeps/powerpc/powerpc32/440: Move directory from
16863         ports/sysdeps/powerpc/powerpc32/440.
16864         * sysdeps/powerpc/powerpc32/464: Move directory from
16865         ports/sysdeps/powerpc/powerpc32/464.
16866         * sysdeps/powerpc/powerpc32/476: Move directory from
16867         ports/sysdeps/powerpc/powerpc32/476.
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16869         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16871         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16873         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16875         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16877         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16878         * README: Update for powerpc-*-linux-gnu software floating point
16879         support in libc.
16880
16881         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16882         case to powerpc/powerpc32*.
16883         * sysdeps/unix/sysv/linux/configure: Regenerated.
16884
16885         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16886         (_FPU_MASK_OM): Define as 0x04.
16887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16889         0x00c10080.
16890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16891         0x0000003c.
16892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16893
16894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16895         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16896         getcontext_e500.
16897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16898         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16899         setcontext_e500.
16900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16901         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16902         and setcontext_e500.
16903
16904 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16905
16906         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16907
16908 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16909
16910         * manual/threads.texi (Default Thread Attributes): Fix typo.
16911
16912 2013-10-04  Will Newton  <will.newton@linaro.org>
16913
16914         * malloc/Makefile: Add tst-memalign.
16915         * malloc/tst-memalign.c: New file.
16916
16917         * malloc/tst-posix_memalign.c: Add comments.
16918         (do_test): Add comments and call free on all potentially
16919         allocated pointers. Add space after cast.
16920
16921         * malloc/tst-pvalloc.c: Add comments.
16922         (do_test): Add comments and call free on all potentially
16923         allocated pointers. Remove duplicate check for NULL pointer.
16924         Add space after cast.
16925
16926         * malloc/tst-valloc.c: Add comments.
16927         (do_test): Add comments and call free on all potentially
16928         allocated pointers. Remove duplicate check for NULL pointer.
16929         Add space after cast.
16930
16931 2013-10-04  Alan Modra  <amodra@gmail.com>
16932
16933         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16934         Use stdint types in rather than __attribute__((mode())).
16935         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16936
16937 2013-10-04  Alan Modra  <amodra@gmail.com>
16938
16939         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16940         Correct handling of unaligned relocs for little-endian.
16941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16942
16943 2013-10-04  Alan Modra  <amodra@gmail.com>
16944
16945         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16946         * configure: Regenerate.
16947         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16948         * shlib-versions: Likewise.
16949
16950 2013-10-04  Alan Modra  <amodra@gmail.com>
16951
16952         * string/tester.c (test_memrchr): Increment reported test cycle.
16953
16954 2013-10-04  Alan Modra  <amodra@gmail.com>
16955
16956         * string/test-memcpy.c (do_one_test): When reporting errors, print
16957         string address and don't overrun end of string.
16958
16959 2013-10-04  Alan Modra  <amodra@gmail.com>
16960
16961         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16962         insrdi.  Make better use of reg selection to speed exit slightly.
16963         Schedule entry path a little better.  Remove useless "are we done"
16964         checks on entry to main loop.  Handle wrapping around zero address.
16965         Correct main loop count.  Handle single left-over word from main
16966         loop inline rather than by using loop_small.  Remove extra word
16967         case in loop_small caused by wrong loop count.  Add little-endian
16968         support.
16969         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16970         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16971         cache hint.
16972         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16973         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16974         support.  Avoid rlwimi.
16975         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16976
16977 2013-10-04  Alan Modra  <amodra@gmail.com>
16978
16979         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16980         insrdi.  Formatting.
16981         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16982         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16983         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16984         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16985         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16986         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16987
16988 2013-10-04  Alan Modra  <amodra@gmail.com>
16989
16990         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16991         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16992         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16993         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16994         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16995         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16996         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16997         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16998         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16999         use of regs.  Use power7 mtocrf.  Tidy function tails.
17000
17001 2013-10-04  Alan Modra  <amodra@gmail.com>
17002
17003         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17004         Formatting.  Consistently use rXXX register defines or rN defines.
17005         Use early exit labels that avoid restoring unused non-volatile regs.
17006         Make cr field use more consistent with rWORDn compares.  Rename
17007         regs used as shift registers for unaligned loop, using rN defines
17008         for short lifetime/multiple use regs.
17009         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17010         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17011         addi 1,1,64 to pop stack frame.  Simplify return value code.
17012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17013
17014 2013-10-04  Alan Modra  <amodra@gmail.com>
17015
17016         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17017         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17018         rather than rlwimi.
17019         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17020         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17021         little-endian support.  Correct typos.
17022         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17023         rather than rlwimi.
17024         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17025         in loop and entry code to keep "and." results.
17026         (strchr): Add little-endian support.  Comment.  Move cntlzd
17027         earlier in tail.
17028         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17029
17030 2013-10-04  Alan Modra  <amodra@gmail.com>
17031
17032         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17033         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17034         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17035         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17036
17037 2013-10-04  Alan Modra  <amodra@gmail.com>
17038
17039         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17040         (rTMP): Define as r11.
17041         (strcmp): Add little-endian support.  Optimise tail.
17042         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17043         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17044         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17045         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17046         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17047         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17048         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17049
17050 2013-10-04  Alan Modra  <amodra@gmail.com>
17051
17052         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17053         little-endian support.  Remove unnecessary "are we done" tests.
17054         Handle "s" wrapping around zero and extremely large "size".
17055         Correct main loop count.  Handle single left-over word from main
17056         loop inline rather than by using small_loop.  Correct comments.
17057         Delete "zero" tail, use "end_max" instead.
17058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17059
17060 2013-10-04  Alan Modra  <amodra@gmail.com>
17061
17062         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17063         support.  Don't branch over align.
17064         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17065         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17066         support.  Rearrange tmp reg use to suit.  Comment.
17067         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17068
17069 2013-10-04  Alan Modra  <amodra@gmail.com>
17070
17071         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17072
17073 2013-10-04  Alan Modra  <amodra@gmail.com>
17074
17075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17076         conditional form of branch and link when obtaining pc.
17077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17078
17079 2013-10-04  Alan Modra  <amodra@gmail.com>
17080
17081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17082         HIWORD/LOWORD.
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17085
17086 2013-10-04  Alan Modra  <amodra@gmail.com>
17087
17088         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17089         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17090         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17091         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17092         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17093         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17094         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17095         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17096         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17097         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17098
17099 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17100             Alistair Popple <alistair@ozlabs.au.ibm.com>
17101             Alan Modra <amodra@gmail.com>
17102
17103         [BZ #15723]
17104         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17105         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17106         _dl_hwcap access for little-endian.
17107         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17108         destroy vmx regs when saving unaligned.
17109         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17110         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17111         destroy vmx regs when saving unaligned.
17112
17113 2013-10-04  Alan Modra  <amodra@gmail.com>
17114
17115         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17116         Don't use a union to pack hi/low value.
17117
17118 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17119
17120         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17121         for little-endian.
17122         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17123         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17124         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17125         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17126         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17127
17128 2013-10-04  Alan Modra  <amodra@gmail.com>
17129
17130         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17131         constants to usual value for .cst8 section, and remove redundant
17132         high address load.
17133         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17134         constant for 0x1p52.  Load little-endian words of double from
17135         correct stack offsets.
17136
17137 2013-10-04  Alan Modra  <amodra@gmail.com>
17138
17139         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17140         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17141         words of double from correct stack offsets.
17142         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17143         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17144         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17145         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17146         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17147         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17148         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17149         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17150         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17151         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17152         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17153         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17154         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17155         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17156         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17157         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17158         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17159
17160 2013-10-04  Alan Modra  <amodra@gmail.com>
17161
17162         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17163         64-bit int/double union.
17164         (_FPU_SETCW): Likewise.
17165         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17166         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17167
17168 2013-10-04  Alan Modra  <amodra@gmail.com>
17169
17170         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17171         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17172
17173 2013-10-04  Alan Modra  <amodra@gmail.com>
17174
17175         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17176         use vector int constants.
17177         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17178
17179 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17180
17181         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17182         array with long long.
17183         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17184         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17185         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17186         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17187         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17188         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17189         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17190         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17191         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17192         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17193         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17194         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17195         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17196
17197 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17198
17199         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17200         (__signbit): Likewise.  Correct for little-endian.
17201         (__signbitl): Call __signbit.
17202         (lrint): Correct for little-endian.
17203         (lrintf): Call lrint.
17204
17205 2013-10-04  Alan Modra  <amodra@gmail.com>
17206
17207         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17208         union 32-bit int array member with 64-bit int array.
17209         (t515, tm256): Double rather than long double.
17210         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17211
17212 2013-10-04  Alan Modra  <amodra@gmail.com>
17213
17214         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17215         Delete.
17216         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17218         version of math_ldbl.h.
17219
17220 2013-10-04  Alan Modra  <amodra@gmail.com>
17221
17222         [BZ #15734], [BZ #15735]
17223         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17224         all uses of ieee875 long double macros and unions.  Simplify test
17225         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17226         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17227         normalize after ldbl_extract_mantissa, and don't add hidden bit
17228         already handled.  Don't treat low word of ieee854 mantissa like
17229         low word of IBM long double and mask off bit when testing for
17230         zero.
17231         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17232         all uses of ieee875 long double macros and unions.  Simplify tests
17233         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17234         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17235         two1022, instead use their values.  Recognise that tests for large
17236         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17237         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17238         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17239         test for 0.0L and nan.  Correct negation.
17240         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17241         ieee875 long double macros and unions.  Correct output for large
17242         magnitude x.  Correct absolute value calculation.
17243         (__erfcl): Likewise.
17244         * math/libm-test.inc: Add tests for errors discovered in IBM long
17245         double versions of fmodl, remainderl, erfl and erfcl.
17246
17247 2013-10-04  Alan Modra  <amodra@gmail.com>
17248
17249         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17250         all uses of ieee854 long double macros and unions.  Simplify tests
17251         for long doubles that are fully specified by the high double.
17252         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17253         Likewise.
17254         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17255         Remove dead code too.
17256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17257         (__ieee754_ynl): Likewise.
17258         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17259         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17260         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17261         Remove dead code too.
17262         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17263         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17264         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17265         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17266         Simplify.
17267         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17268         Simplify.
17269         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17270         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17271         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17272         Comment on variable precision.
17273         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17274         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17275         Likewise.
17276         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17277         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17278         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17279         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17280         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17281
17282 2013-10-04  Alan Modra  <amodra@gmail.com>
17283
17284         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17286         all uses of ieee854 long double macros and unions.
17287         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17288         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17289         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17290         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17291         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17292         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17293         Likewise.
17294         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17295         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17296         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17297         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17298         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17299         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17300         Simplify sign and nan test too.
17301         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17302         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17303         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17304         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17305         Likewise.
17306         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17307         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17308         Likewise.
17309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17310         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17311         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17312         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17313         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17314         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17315
17316 2013-10-04  Alan Modra  <amodra@gmail.com>
17317
17318         * stdio-common/printf_size.c (__printf_size): Don't use
17319         union ieee854_long_double in fpnum union.
17320         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17321         signbit macro to retrieve sign from long double.
17322         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17323         retrieve sign from long double.
17324         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17325         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17326         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17327         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17328         * math/test-misc.c (main): Don't use union ieee854_long_double.
17329
17330 2013-10-04  Alan Modra  <amodra@gmail.com>
17331
17332         [BZ #15680]
17333         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17334         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17335         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17336         calculation.  Remove unnecessary test for denormal exponent.
17337         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17338         Correct handling of denormals.  Avoid undefined shift behaviour.
17339         Correct normalisation of low mantissa when low double is denormal.
17340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17341         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17342         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17343         Correct normalisation of low mantissa.  Test for overflow of high
17344         mantissa and normalise.
17345         (ldbl_nearbyint): Use more readable constant for two52.
17346         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17347         (__mpn_construct_long_double): Fix test for overflow of high
17348         mantissa and correct normalisation.  Avoid undefined shift.
17349
17350 2013-10-04  Alan Modra  <amodra@gmail.com>
17351
17352         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17353         (union ibm_extended_long_double): Define as an array of ieee754_double.
17354         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17355         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17356         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17357         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17359         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17361         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17362         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17363         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17364         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17365
17366 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17367
17368         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17369         page size instead of calling getpagesize.
17370
17371         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17372         (LOCFILE_ALIGN_MASK): Likewise.
17373         (LOCFILE_ALIGN_UP): Likewise.
17374         (LOCFILE_ALIGNED_P): Likewise.
17375         * locale/programs/ld-collate.c (collate_output): Use the new
17376         macros instead of __alignof__ (int32_t).
17377         * locale/weight.h (findidx): Likewise.
17378
17379 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17380
17381         [BZ #431]
17382         * manual/string.texi: Fix strncat and wcsncat.
17383
17384 2013-10-03  Brooks Moses  <bmoses@google.com>
17385
17386         [BZ #15915]
17387         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17388         * Makerules: ...here, and adjust associated comments.
17389
17390 2013-10-02  Will Newton  <will.newton@linaro.org>
17391
17392         * malloc/Makefile: Add tst-pvalloc.
17393         * malloc/tst-pvalloc.c: New file.
17394
17395 2013-10-02  Will Newton  <will.newton@linaro.org>
17396
17397         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17398         improve test coverage.
17399
17400 2013-10-02  Will Newton  <will.newton@linaro.org>
17401
17402         * malloc/Makefile: Add tst-posix_memalign.
17403         * malloc/tst-posix_memalign.c: New file.
17404
17405 2013-10-01  Eric Blake  <eblake@redhat.com>
17406
17407         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17408         Use __THROWNL rather than __THROW on static functions.
17409
17410 2013-09-30  Petr Machata  <pmachata@redhat.com>
17411
17412         * elf/elf.h (R_AARCH64_ABS16): New macro.
17413         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17414         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17415         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17416         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17417         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17418         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17419         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17420         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17421         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17422         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17423         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17424         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17425         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17426         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17427         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17428         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17429         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17430         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17431         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17432         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17433         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17434         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17435         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17436         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17437         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17438         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17439         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17440         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17441         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17442         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17443         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17444         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17445         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17446         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17447         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17448         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17449         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17450         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17451         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17452         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17453         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17454         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17455         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17456         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17457         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17458         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17459         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17460         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17461         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17462         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17463         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17464         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17465         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17466         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17467         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17468         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17469         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17470         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17471         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17472         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17473         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17474         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17475         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17476         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17477         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17478         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17479         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17480         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17481         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17482         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17483         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17484         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17485         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17486         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17487         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17488         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17489         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17490         (R_AARCH64_TLSDESC_LDR): Likewise.
17491         (R_AARCH64_TLSDESC_ADD): Likewise.
17492         (R_AARCH64_TLSDESC_CALL): Likewise.
17493
17494 2013-09-30  Andreas Schwab  <schwab@suse.de>
17495
17496         [BZ #15048]
17497         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17498         the nss database lookup.
17499         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17501
17502 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17503
17504         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17505
17506 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17507
17508         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17509         ${Bash-specific parameter/pattern/string} parameter expansion.
17510         * sysdeps/unix/make-syscalls.sh: Likewise.
17511
17512 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17513
17514         * sysdeps/sh/stackguard-macros.h: New file.
17515
17516 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17517
17518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17520         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17521         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17522         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17523         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17524
17525 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17526
17527         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17528         Fix thread ID register.
17529
17530 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17531
17532         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17533         [POSIX || UNIX98]: Require rather than permitting all symbols from
17534         <time.h>.
17535         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17536         element of struct sched_param.
17537         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17538         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17539         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17540         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17541         constant.
17542
17543 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17544
17545         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17546         argument calculation.
17547
17548 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17549
17550         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17551         Expect macro.
17552         [POSIX] (pthread_attr_t): Do not require type.
17553         [POSIX] (pthread_cond_t): Likewise.
17554         [POSIX] (pthread_condattr_t): Likewise.
17555         [POSIX] (pthread_key_t): Likewise.
17556         [POSIX] (pthread_mutex_t): Likewise.
17557         [POSIX] (pthread_mutexattr_t): Likewise.
17558         [POSIX] (pthread_once_t): Likewise.
17559         [POSIX] (pthread_t): Likewise.
17560         [POSIX-based standards] (pthread_atfork): Expect function.
17561
17562 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17563             Richard Sandiford  <richard@codesourcery.com>
17564
17565         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17566         (swap_endianness_p): New extern variable.
17567         (set_big_endian): New inline function.
17568         (maybe_swap_uint32): Likewise.
17569         (maybe_swap_uint32_array): Likewise.
17570         (maybe_swap_uint32_obstack): Likewise.
17571         * locale/programs/locfile.c: Include <stdbool.h>.
17572         (swap_endianness_p): New variable.
17573         (add_locale_uint32): Call maybe_swap_uint32.
17574         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17575         (write_locale_data): Call maybe_swap_uint32_array.
17576         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17577         maybe_swap_uint32.
17578         (obstack_int32_grow_fast): Likewise.
17579         (output_weightwc): Call maybe_swap_uint32_obstack.
17580         (collate_output): Likewise.
17581         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17582         (OPT_LITTLE_ENDIAN): Likewise.
17583         (options): Add --little-endian and --big-endian options.
17584         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17585         * locale/programs/locarchive.c: Include "locfile.h".
17586         (GET): New macro.
17587         (SET): Likewise.
17588         (INC): Likewise.
17589         (create_archive): Use the new macros to access fields of
17590         structures directly mapped from or written to locale archives.
17591         (oldlocrecentcmp): Likewise.
17592         (enlarge_archive): Likewise.
17593         (insert_name): Likewise.
17594         (add_alias): Likewise.
17595         (add_locale): Likewise.
17596         (delete_locales_from_archive): Likewise.
17597         (show_archive_content): Likewise.
17598         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17599         locale data.
17600
17601 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17602
17603         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17604         http://www.gnu.org/doc/freemanuals.texi.
17605         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17606
17607 2013-09-24  Will Newton  <will.newton@linaro.org>
17608
17609         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17610         macro.
17611
17612 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17613
17614         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17615         unsigned char.
17616
17617 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17618
17619         * manual/threads.texi (POSIX Threads): Fix a typo.
17620
17621 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17622
17623         [BZ #14547]
17624         * string/tst-strcoll-overflow.c: New test case.
17625         * string/Makefile (xtests): Add tst-strcoll-overflow.
17626         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17627         cache if string sizes may cause integer overflow.
17628
17629         [BZ #14547]
17630         * string/strcoll_l.c (coll_seq): New members rule, idx,
17631         save_idx and back_us.
17632         (get_next_seq_nocache): New function.
17633         (do_compare_nocache): New function.
17634         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17635         when malloc fails.
17636
17637 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17638
17639         [BZ #15754]
17640         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17641         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17642         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17643
17644         [BZ #15754]
17645         * elf/Makefile (tests): Add tst-ptrguard1.
17646         (tests-static): Add tst-ptrguard1-static.
17647         (tst-ptrguard1-ARGS): Define.
17648         (tst-ptrguard1-static-ARGS): Define.
17649         * elf/tst-ptrguard1.c: New file.
17650         * elf/tst-ptrguard1-static.c: New file.
17651         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17652         * sysdeps/i386/stackguard-macros.h: Likewise.
17653         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17654         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17655         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17656         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17657         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17658         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17659
17660 2013-09-23  Hector Marco  <hecmargi@upv.es>
17661             Ismael Ripoll  <iripoll@disca.upv.es>
17662             Carlos O'Donell  <carlos@redhat.com>
17663
17664         [BZ #15754]
17665         * sysdeps/generic/stackguard-macros.h: Define
17666         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17667         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17668         Define __pointer_chk_guard_local.
17669         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17670         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17671
17672 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17673
17674         [BZ #15859]
17675         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17676
17677 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17678
17679         * include/string.h (__ffs): Declare as hidden.
17680         * string/ffs.c (__ffs): Define as hidden.
17681         * sysdeps/i386/ffs.c (__ffs): Likewise.
17682         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17683         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17684         * sysdeps/s390/ffs.c (__ffs): Likewise.
17685         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17686
17687 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17688
17689         * NEWS: Mention malloc probes.
17690
17691         * malloc/arena.c (new_heap): New memory_heap_new probe.
17692         (grow_heap): New memory_heap_more probe.
17693         (shrink_heap): New memory_heap_less probe.
17694         (heap_trim): New memory_heap_free probe.
17695         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17696         (systrim): New memory_sbrk_less probe.
17697         * manual/probes.texi: Document them.
17698
17699         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17700         * manual/probes.texi: Document it.
17701
17702         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17703         (__libc_realloc): Add memory_realloc_retry probe.
17704         (__libc_memalign): Add memory_memalign_retry probe.
17705         (__libc_valloc): Add memory_valloc_retry probe.
17706         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17707         (__libc_calloc): Add memory_calloc_retry probe.
17708         * manual/probes.texi: Document them.
17709
17710         * malloc/arena.c (get_free_list): Add probe
17711         memory_arena_reuse_free_list.
17712         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17713         and memory_arena_reuse.
17714         (arena_get2) [!PER_THREAD]: Likewise.
17715         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17716         memory_arena_reuse_realloc.
17717         * manual/probes.texi: Document them.
17718
17719         * malloc/malloc.c (__libc_free): Add
17720         memory_mallopt_free_dyn_thresholds probe.
17721         (__libc_mallopt): Add multiple memory_mallopt probes.
17722         * manual/probes.texi: Document them.
17723
17724         * malloc/malloc.c: Include stap-probe.h.
17725         (__libc_mallopt): Add memory_mallopt probe.
17726         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17727         * manual/probes.texi: New.
17728         * manual/Makefile (chapters): Add probes.
17729         * manual/threads.texi: Set next node.
17730
17731 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17732
17733         [BZ #15963, #13985]
17734         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17735         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17736         Add `Chinese' to `nan' entry name.
17737
17738 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17739
17740         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17741         (POLYNOMIAL): Likewise.
17742         (TAYLOR_SINCOS): Likewise.
17743         (TAYLOR_SLOW): Likewise.
17744         (__sin): Use TAYLOR_SINCOS.
17745         (__cos): Likewise.
17746         (slow): Use TAYLOR_SLOW.
17747         (sloww): Likewise.
17748         (bsloww): Likewise.
17749         (csloww): Likewise.
17750
17751 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17752
17753         * stdlib/strtod_l.c: Fix buffer overrun.
17754
17755 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17756
17757         * benchtests/Makefile (bench): Add sincos.
17758         * benchtests/bench-sincos.c: New file.
17759
17760         * math/libm-test.inc (cos_test_data): New test inputs.
17761         (sin_test_data): Likewise.
17762
17763         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17764         macro.
17765         (__sin): Use it.
17766         (__cos): Likewise.
17767         (slow1): Likewise.
17768         (slow2): Likewise.
17769         (sloww1): Likewise.
17770         (sloww2): Likewise.
17771         (bsloww1): Likewise.
17772         (bsloww2): Likewise.
17773         (cslow2): Likewise.
17774         (csloww1): Likewise.
17775         (csloww2): Likewise.
17776
17777         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17778         function.
17779         (__sin): Use it.
17780         (__cos): Likewise.
17781
17782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17783         gotos.
17784         (__cos): Likewise.
17785
17786 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17787
17788         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17789         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17790         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17791         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17792         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17793         * elf/cache.c (print_entry): Handle the new cache flags.
17794
17795 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17796             Aldy Hernandez  <aldyh@redhat.com>
17797
17798         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17799         Change condition to [_SOFT_FLOAT].
17800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17812         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17815         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17816         declaration.
17817
17818 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17819
17820         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17821         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17822         (__longjmp): Use LOAD_GP to load saved GPRs.
17823         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17824         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17825         (__sigsetjmp): Use SAVE_GP to save GPRs.
17826
17827         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17828         Do not append -msoft-float.
17829         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17830
17831 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17832
17833         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17834
17835 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17836
17837         [BZ #15966]
17838         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17839         (_FPU_GETCW): Use initial "__" on variable and field names but not
17840         on macro parameter name.
17841         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17842         parentheses around reference to macro parameter.
17843
17844 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17845
17846         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17847         prototype.
17848         (ctype_startup): Use uint32_t in cast and sizeof for
17849         ctype->charnames.
17850
17851 2013-09-11  Jia Liu  <proljc@gmail.com>
17852
17853         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17854         __daddr_t_defined.
17855         [__FreeBSD__]: Likewise.
17856
17857 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17858
17859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17860         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17861         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17862         (strchr): Remove __strchr_sse42 ifunc selection.
17863         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17864         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17865
17866 2013-09-11  Will Newton  <will.newton@linaro.org>
17867
17868         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17869         parameter to RES. Remove hardcoded 1000 value.
17870         * benchtests/bench-skeleton.c (main): Pass RES parameter
17871         to TIMING_INIT and multiply result by 1000.
17872
17873 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17874
17875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17876
17877 2013-09-11  Andreas Schwab  <schwab@suse.de>
17878
17879         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17880         if not defined.
17881         (O_TMPFILE) [__USE_GNU]: Define.
17882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17883         Define.
17884
17885 2013-09-11  Will Newton  <will.newton@linaro.org>
17886
17887         [BZ #15857]
17888         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17889         does not overflow.
17890
17891 2013-09-11  Will Newton  <will.newton@linaro.org>
17892
17893         [BZ #15856]
17894         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17895         does not overflow.
17896
17897 2013-09-11  Will Newton  <will.newton@linaro.org>
17898
17899         [BZ #15855]
17900         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17901         does not overflow.
17902
17903 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17904
17905         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17906         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17907         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17908         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17909         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17910
17911 2013-09-10  Allan McRae  <allan@archlinux.org>
17912
17913         [BZ #15748]
17914         * manual/arith.texi (Parsing of Floats): Clarify
17915         cross-reference.
17916
17917         [BZ #15849]
17918         * manual/install.texi (Running make install): Mention
17919         --enable-pt-chown.
17920         * INSTALL: Regenerated.
17921
17922 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17923
17924         * csu/init-first.c (_init): Remove the !SHARED condition around
17925         FPU control word initialization.
17926         * elf/dl-support.c (_dl_fpu_control): New variable.
17927         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17928         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17929         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17930         * math/test-fpucw-static.c: New file.
17931         * math/test-fpucw-ieee.c: New file.
17932         * math/test-fpucw-ieee-static.c: New file.
17933         * math/Makefile (tests): Add `test-fpucw-ieee' and
17934         `$(tests-static)'.
17935         (tests-static): New variable.
17936         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17937         dependency to...
17938         [($(build-shared),yes)]
17939         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17940         ... this.
17941         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17942         New dependency.
17943
17944 2013-09-09  Allan McRae  <allan@archlinux.org>
17945
17946         [BZ #15939]
17947         * manual/string.texi (Collation Functions): Fix typo in
17948         strcoll example.
17949         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17950
17951         [BZ #15893]
17952         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17953
17954         [BZ #15892]
17955         * libio/memstream.c (open_memstream): Fix memory leak.
17956         * libio/wmemstream.c (open_wmemstream): Likewise.
17957
17958         [BZ #15895]
17959         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17960
17961 2013-09-09  Will Newton  <will.newton@linaro.org>
17962
17963         * malloc/Makefile: Add tst-realloc to tests.
17964         * malloc/tst-realloc.c: New file.
17965
17966 2013-09-09  Allan McRae  <allan@archlinux.org>
17967
17968         [BZ #15844]
17969         * COPYING: Update from GNU website to fix FSF address.
17970         * COPYING.LIB: Likewise.
17971
17972 2013-09-06  David S. Miller  <davem@davemloft.net>
17973
17974         * po/zh_TW.po: Update Chinese (traditional) translation from
17975         translation project.
17976
17977 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17978             Joseph Myers  <joseph@codesourcery.com>
17979
17980         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17981         "localeinfo.h".
17982         (obstack_chunk_alloc): New macro.
17983         (obstack_chunk_free): Likewise.
17984         (record_offset): New function.
17985         (init_locale_data): Likewise.
17986         (align_locale_data): Likewise.
17987         (add_locale_empty): Likewise.
17988         (add_locale_raw_data): Likewise.
17989         (add_locale_raw_obstack): Likewise.
17990         (add_locale_string): Likewise.
17991         (add_locale_wstring): Likewise.
17992         (add_locale_uint32): Likewise.
17993         (add_locale_uint32_array): Likewise.
17994         (add_locale_char): Likewise.
17995         (start_locale_structure): Likewise.
17996         (end_locale_structure): Likewise.
17997         (start_locale_prelude): Likewise.
17998         (end_locale_prelude): Likewise.
17999         (write_locale_data): Take locale_file structure rather than an
18000         iovec.
18001         * locale/programs/locfile.h: Include "obstack.h".
18002         (struct locale_file): Change to store locale file contents instead
18003         of header.
18004         (init_locale_data): New prototype.
18005         (align_locale_data): Likewise.
18006         (add_locale_empty): Likewise.
18007         (add_locale_raw_data): Likewise.
18008         (add_locale_raw_obstack): Likewise.
18009         (add_locale_string): Likewise.
18010         (add_locale_wstring): Likewise.
18011         (add_locale_uint32): Likewise.
18012         (add_locale_uint32_array): Likewise.
18013         (add_locale_char): Likewise.
18014         (start_locale_structure): Likewise.
18015         (end_locale_structure): Likewise.
18016         (start_locale_prelude): Likewise.
18017         (end_locale_prelude): Likewise.
18018         (write_locale_data): Update prototype.
18019         * locale/programs/3level.h (struct TABLE): Remove result field.
18020         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18021         Use new locale_file interface.
18022         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18023         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18024         * locale/programs/ld-address.c (address_output): Use new
18025         locale_file interface.
18026         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18027         NO_ADD_LOCALE.
18028         (collate_finish): Don't call collseq_table_finalize.
18029         (collate_output): Use new locale_file interface.
18030         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18031         in file.
18032         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18033         (TABLE): Move defines earlier in file.
18034         (ELEMENT): Likewise.
18035         (DEFAULT): Likewise.
18036         (wctrans_table_add): Move macro and inline function earlier in
18037         file.
18038         (struct wctype_table): Move type earlier in file.
18039         (add_locale_wctype_table): New static prototype.
18040         (struct locale_ctype_t): Use logical types instead of struct iovec
18041         pointers for members.
18042         (ctype_output): Use new locale_file interface.
18043         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18044         new locale_file interface.
18045         (allocate_arrays): Update for use of new locale_file interface.
18046         * locale/programs/ld-identification.c (identification_output): Use
18047         new locale_file interface.
18048         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18049         * locale/programs/ld-messages.c (messages_output): Likewise.
18050         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18051         * locale/programs/ld-name.c (name_output): Likewise.
18052         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18053         * locale/programs/ld-paper.c (paper_output): Likewise.
18054         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18055         * locale/programs/ld-time.c (time_output): Likewise.
18056
18057 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18058
18059         * benchtests/Makefile: Add memrchr benchmark.
18060         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18061         benchmark as memrchr.
18062         * benchtests/bench-memrchr-ifunc.c: New file.
18063         * benchtests/bench-memrchr.c: New file.
18064
18065 2013-09-06   Will Newton  <will.newton@linaro.org>
18066
18067         * benchtests/Makefile (string-bench): Add memcpy.
18068
18069 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18070             Cong Wang  <amwang@redhat.com>
18071
18072         [BZ #15850]
18073         * sysdeps/unix/sysv/linux/bits/in.h
18074         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18075         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18076         before __USE_KERNEL_IPV6_DEFS uses.
18077         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18078         IPPROTO_BEETPH.
18079         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18080         sockaddr_in6, or ipv6_mreq.
18081
18082 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18083
18084         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18085         memory access for final bytes in some large inputs.
18086         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18087
18088 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18089
18090         * string/test-memrchr.c: New file.
18091         * string/test-memrchr-ifunc.c: New file.
18092         * string/Makefile: Add new memrchr testcase.
18093
18094 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18095
18096         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18097         fanotify_init returns EPERM.
18098
18099 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18100
18101         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18102         errors.
18103         (top level): Treat second token from macro or constant entries for
18104         allowed headers as allowed.
18105         * include/complex.h: Condition internal declarations on
18106         [!_ISOMAC].
18107         * include/fenv.h: Condition include of <stdbool.h> and internal
18108         declarations on [!_ISOMAC].
18109
18110 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18111
18112         [BZ #15923]
18113         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18114
18115 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18116
18117         * configure.in (--enable-versioning): Remove configure option.
18118         (libc_cv_asm_symver_directive): Remove configure test.
18119         (libc_cv_ld_version_script_option): Likewise.
18120         (VERSIONING): Remove variable and AC_SUBST.
18121         (DO_VERSIONING): Remove AC_DEFINE.
18122         * configure: Regenerated.
18123         * config.h.in (DO_VERSIONING): Remove macro.
18124         * Makerules [$(versioning) = yes]: Change conditionals to
18125         [$(build-shared) = yes].
18126         * config.make.in (versioning): Remove variable.
18127         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18128         [$(build-shared) = yes].
18129         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18130         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18131         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18132         [$(build-shared) = yes].
18133         * extra-lib.mk [$(versioning) = yes]: Likewise.
18134         * hurd/Makefile [$(versioning) = yes]: Likewise.
18135         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18136         [SHARED].
18137         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18138         [SHARED].
18139         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18140         [SHARED && !NO_HIDDEN].
18141         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18142         [SHARED].
18143         [SHARED && DO_VERSIONING]: Likewise..
18144         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18145         [$(build-shared) = yes].
18146         * manual/install.texi (--disable-versioning): Remove
18147         documentation.
18148         * INSTALL: Regenerated.
18149         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18150         to [SHARED].
18151         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18152         [$(build-shared) = yes].
18153         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18154         * sysdeps/i386/i686/multiarch/strstr-c.c
18155         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18156         [SHARED && !NO_HIDDEN].
18157         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18158         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18159         * sysdeps/powerpc/powerpc32/dl-machine.c
18160         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18161         * sysdeps/powerpc/powerpc32/sysdep.h
18162         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18163         to [SHARED && PIC && !NO_HIDDEN].
18164         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18165         conditional to [SHARED].
18166
18167 2013-09-04   Will Newton  <will.newton@linaro.org>
18168
18169         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18170         * benchtests/bench-string.h: Include bench-timing.h instead
18171         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18172         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18173         call to HP_TIMING_DIFF_INIT.
18174         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18175         instead of hp-timing.h macros.
18176         * benchtests/bench-memchr.c: Likewise.
18177         * benchtests/bench-memcmp.c: Likewise.
18178         * benchtests/bench-memcpy.c: Likewise.
18179         * benchtests/bench-memmem.c: Likewise.
18180         * benchtests/bench-memmove.c: Likewise.
18181         * benchtests/bench-memset.c: Likewise.
18182         * benchtests/bench-rawmemchr.c: Likewise.
18183         * benchtests/bench-strcasecmp.c: Likewise.
18184         * benchtests/bench-strcasestr.c: Likewise.
18185         * benchtests/bench-strcat.c: Likewise.
18186         * benchtests/bench-strchr.c: Likewise.
18187         * benchtests/bench-strcmp.c: Likewise.
18188         * benchtests/bench-strcpy.c: Likewise.
18189         * benchtests/bench-strcpy_chk.c: Likewise.
18190         * benchtests/bench-strlen.c: Likewise.
18191         * benchtests/bench-strncasecmp.c: Likewise.
18192         * benchtests/bench-strncat.c: Likewise.
18193         * benchtests/bench-strncmp.c: Likewise.
18194         * benchtests/bench-strncpy.c: Likewise.
18195         * benchtests/bench-strnlen.c: Likewise.
18196         * benchtests/bench-strpbrk.c: Likewise.
18197         * benchtests/bench-strrchr.c: Likewise.
18198         * benchtests/bench-strspn.c: Likewise.
18199         * benchtests/bench-strstr.c: Likewise.
18200
18201 2013-09-04  Will Newton  <will.newton@linaro.org>
18202
18203         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18204
18205 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18206
18207         [BZ #15427]
18208         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18209         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18210         * math/libm-test.inc (lgamma_test_data): Add more tests.
18211         * sysdeps/i386/fpu/libm-test-ulps: Update.
18212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18213
18214 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18215
18216         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18218         Add ifunc.
18219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18220         Add strcmp-sse2-unaligned
18221         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18222
18223 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18224
18225         * Versions.def (libc): Add GLIBC_2.19.
18226
18227 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18228
18229         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18230         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18231
18232 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18233
18234         [BZ #14155]
18235         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18236         intermediate calculations in recurrence.
18237         (__ieee754_ynf): Likewise.
18238         * math/libm-test.inc (jn_test_data): Do not allow spurious
18239         underflow exception.  Add more tests.
18240         (yn_test_data): Add more tests.
18241         * sysdeps/i386/fpu/libm-test-ulps: Update.
18242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18243
18244 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18245
18246         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18247
18248 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18249
18250         * csu/init-first.c: Fix then/than typos.
18251         * locale/programs/ld-collate.c: Likewise.
18252         * locale/programs/linereader.h: Likewise.
18253         * manual/charset.texi: Likewise.
18254         * manual/filesys.texi: Likewise.
18255         * manual/stdio.texi: Likewise.
18256         * manual/string.texi: Likewise.
18257         * stdlib/fmtmsg.c: Likewise.
18258         * sysdeps/i386/stpncpy.S: Likewise.
18259         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18260         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18261         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18262         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18263
18264 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18265
18266         * elf/dl-open.c: Fix typos.
18267         * iconvdata/gbbig5.c: Likewise.
18268         * iconvdata/iso-2022-jp.c: Likewise.
18269         * iconv/gconv_int.h: Likewise.
18270         * iconv/loop.c: Likewise.
18271         * nis/rpcsvc/nis.h: Likewise.
18272         * resolv/ns_name.c: Likewise.
18273         * stdio-common/vfscanf.c: Likewise.
18274         * streams/stropts.h: Likewise.
18275         * sunrpc/rpc_thread.c: Likewise.
18276         * sysdeps/i386/strpbrk.S: Likewise.
18277         * sysdeps/ieee754/k_standard.c: Likewise.
18278         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18280         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18281         * sysdeps/mach/hurd/profil.c: Likewise.
18282         * sysdeps/s390/dl-procinfo.h: Likewise.
18283         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18284         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18285         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18286         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18287         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18288
18289 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18290
18291         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18293
18294 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18295
18296         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18297         aix specific files.
18298         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18299         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18300         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18301         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18302         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18303         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18304         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18305         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18306
18307 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18308             Roland McGrath  <roland@hack.frob.com>
18309
18310         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18311         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18312
18313 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18314
18315         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18316         __executable_start symbol instead of _start.
18317
18318 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18319
18320         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18321         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18322         Move macros to...
18323         * sysdeps/gnu/ldsodefs.h: ... this new file.
18324
18325         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18326         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18327         instead of ELFOSABI_LINUX.
18328
18329         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18330         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18331         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18332         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18333         Likewise.
18334         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18335         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18336         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18337         Likewise.
18338         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18339         (ibm_extended_long_double): Add ieee_nan member.
18340         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18341         (do_test): New function.
18342
18343         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18344         TEST_TRUNC.
18345         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18346         functions, renamed from truncdfsf_test, trunctfsf_test,
18347         trunctfdf_test.
18348         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18349         functions.
18350         (do_test): Run all these.
18351
18352 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18353
18354         * argp/argp-help.c: Fix typos.
18355         * argp/argp-parse.c: Likewise.
18356         * debug/backtracesyms.c: Likewise.
18357         * elf/elf.h: Likewise.
18358         * malloc/malloc.c: Likewise.
18359         * nis/nis_print.c: Likewise.
18360         * resolv/res_comp.c: Likewise.
18361         * stdlib/stdlib.h: Likewise.
18362         * sunrpc/clnt_tcp.c: Likewise.
18363         * sunrpc/clnt_udp.c: Likewise.
18364         * sunrpc/clnt_unix.c: Likewise.
18365         * sysdeps/unix/bsd/ptsname.c: Likewise.
18366         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18367         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18369         Likewise.
18370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18371         Likewise.
18372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18373         Likewise.
18374         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18375
18376 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18377
18378         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18380
18381 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18382
18383         [BZ #15897]
18384         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18385         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18386         ($(objpfx)bug-dl-leaf): New rule.
18387         ($(objpfx)bug-dl-leaf.so): Likewise.
18388         ($(objpfx)bug-dl-leaf.out): Likewise.
18389         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18390         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18391         * dlfcn/bug-dl-leaf.c: New test.
18392         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18393         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18394         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18395         (dlclose): Likewise.
18396         (dlmopen): Likewise.
18397
18398 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18399
18400         * include/netdb.h [!_ISOMAC]:
18401         Don't include <tls.h>.
18402         (h_errno, __libc_h_errno): Move declaration and macros out of
18403         [_LIBC_REENTRANT].
18404
18405         * include/resolv.h [_RESOLV_H_]:
18406         Don't include <tls.h>.
18407         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18408         * resolv/res_libc.c: Don't include <tls.h>.
18409         (_res): Use __attribute__ ((nocommon)) in place of
18410         __attribute__ ((section (".bss"))).
18411
18412         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18413         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18414
18415         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18416
18417         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18418         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18419
18420         * resolv/res_mkquery.c: Include <sys/time.h>.
18421
18422         * inet/ifreq.c: Moved to ...
18423         * sysdeps/unix/ifreq.c: ... here.
18424         * inet/ifreq.c: New file, true stub version.
18425
18426         * socket/sa_len.c: New file.
18427         * socket/Makefile (aux): Add it.
18428         * sysdeps/unix/sysv/linux/Makefile
18429         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18430         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18431         and #include <socket/sa_len.c>.
18432         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18433         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18434
18435         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18436         * bits/socket.h: ... here.
18437
18438         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18439         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18440         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18441
18442 2013-08-27  Andreas Schwab  <schwab@suse.de>
18443
18444         [BZ #15736]
18445         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18446         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18447         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18448         * string/test-strcasecmp.c (test_main): Run tests in several
18449         locales.
18450         * string/test-strncasecmp.c (test_main): Likewise.
18451
18452         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18453         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18454         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18455         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18456         (__strncasecmp_ssse3) [PIC]: Likewise.
18457
18458 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18459
18460         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18461
18462         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18463         instead of explicitly declaring xdecrypt.
18464         * nis/nss_nis/nis-publickey.c: Likewise.
18465
18466 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18467
18468         [BZ #15890]
18469         * nscd/aicache.c: Include res_hconf.h.
18470         (addhstaiX): Initialize res_hconf.
18471
18472 2013-08-26  Andreas Schwab  <schwab@suse.de>
18473
18474         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18475         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18476
18477 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18478
18479         * nscd/aicache.c (addhstaiX): Fix indentation.
18480
18481 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18482
18483         * configure.ac: Quote $build_pt_chown test.
18484         * configure: Regenerated.
18485
18486 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18487
18488         [BZ #15532]
18489         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18490         * math/s_cexpf.c (__cexpf): Likewise.
18491         * math/s_cexpl.c (__cexpl): Likewise.
18492         * math/libm-test.inc (cexp_test_data): Correct expected return
18493         value for NaN + i0.  Add another test.
18494
18495 2013-08-22  David S. Miller  <davem@davemloft.net>
18496
18497         * po/ca.po: Update Catalan translation from translation project.
18498         * po/uk.po: Add Ukrainian translations from translation project.
18499
18500 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18501
18502         [BZ #15797]
18503         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18504         is infinite, not alongside NaN test.
18505         * math/s_fdimf.c (__fdimf): Likewise.
18506         * math/s_fdiml.c (__fdiml): Likewise.
18507         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18508         errno is unchanged.
18509
18510 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18511
18512         * argp/argp-help.c: Fix typos.
18513         * crypt/speeds.c: Likewise.
18514         * csu/check_fds.c: Likewise.
18515         * elf/dl-load.c: Likewise.
18516         * elf/dl-open.c: Likewise.
18517         * elf/reldep3.c: Likewise.
18518         * elf/reldep.c: Likewise.
18519         * elf/sprof.c: Likewise.
18520         * iconv/iconv_charmap.c: Likewise.
18521         * iconv/skeleton.c: Likewise.
18522         * iconv/strtab.c: Likewise.
18523         * io/lockf64.c: Likewise.
18524         * libio/libioP.h: Likewise.
18525         * resolv/gai_notify.c: Likewise.
18526         * resolv/ns_name.c: Likewise.
18527         * resolv/ns_samedomain.c: Likewise.
18528         * resolv/res_send.c: Likewise.
18529         * stdlib/random.c: Likewise.
18530         * sunrpc/rpc/xdr.h: Likewise.
18531         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18532         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18533         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18534         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18535         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18536         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18538         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18539         * sysdeps/mach/hurd/check_fds.c: Likewise.
18540         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18541         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18542         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18543         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18544         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18545         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18546         * sysdeps/pthread/aio_notify.c: Likewise.
18547         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18548         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18549         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18551         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18552
18553 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18554
18555         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18556         version if bit_Slow_SSE4_2 is set.
18557         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18558         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18559
18560 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18561
18562         [BZ #15867]
18563         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18564         trampoline stack frame information.
18565         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18566         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18567         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18568         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18569         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18570         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18571         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18572         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18573         sa_flags value.
18574         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18575         interrupting a syscall and set with option SA_SIGINFO.
18576
18577 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18578
18579         [BZ #15531]
18580         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18581         argument is infinite.
18582         * math/s_cprojf.c (__cprojf): Likewise.
18583         * math/s_cprojl.c (__cprojl): Likewise.
18584         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18585         * math/libm-test.inc (cproj_test_data): Add more tests.
18586
18587         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18588
18589         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18590         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18591         size.  Use __ffs to determine corresponding shift.
18592
18593 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18594             Roland McGrath  <roland@hack.frob.com>
18595
18596         * Makefile (INSTALL): Remove trailing blank lines from output of
18597         makeinfo.
18598
18599 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18600
18601         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18602         Align 32 bit compat elf_greg to 8 bytes.
18603
18604 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18605
18606         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18607
18608 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18609
18610         * string/strcoll_l.c (coll_seq): New structure.
18611         (get_next_seq_cached): New function.
18612         (get_next_seq): New function.
18613         (do_compare): New function.
18614         (STRCOLL): Use GNU style definition.  Simplify implementation
18615         by using get_next_seq, get_next_seq_cached and do_compare.
18616
18617 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18618
18619         [BZ #14699]
18620         CVE-2013-4237
18621         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18622         member.
18623         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18624         member.
18625         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18626         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18627         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18628         conditional.
18629         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18630         GETDENTS_64BIT_ALIGNED.
18631         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18632         * manual/filesys.texi (Reading/Closing Directory): Document
18633         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18634         strongly.
18635         * manual/conf.texi (Limits for Files): Add portability note to
18636         NAME_MAX, PATH_MAX.
18637         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18638
18639 2013-08-13  Andreas Schwab  <schwab@suse.de>
18640
18641         [BZ #15749]
18642         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18643         of fabs.
18644         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18645         LDBL_MAX_EXP >= 16384]: Add tests for it.
18646
18647 2013-08-12  David S. Miller  <davem@davemloft.net>
18648
18649         * version.h (RELEASE): Set to "development".
18650         (VERSION): Set to "2.18.90".
18651         * NEWS: Add 2.19 section.
18652
18653 2013-08-03  David S. Miller  <davem@davemloft.net>
18654
18655         * po/ko.po: Update Korean translation from translation project.
18656
18657 2013-08-01  David S. Miller  <davem@davemloft.net>
18658
18659         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18660         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18661         Bilka.
18662
18663 2013-07-30  David S. Miller  <davem@davemloft.net>
18664
18665         * po/fr.po: Update French translation from translation project.
18666
18667 2013-07-28  David S. Miller  <davem@davemloft.net>
18668
18669         * po/cs.po: Update Czech translation from translation project.
18670
18671         * po/sv.po: Update Swedish translation from translation project.
18672
18673 2013-07-27  David S. Miller  <davem@davemloft.net>
18674
18675         * po/eo.po: Update Esperanto translation from translation project.
18676
18677         * po/vi.po: Update Vietnamese translation from translation project.
18678
18679         * po/de.po: Update German translation from translation project.
18680
18681 2013-07-26  David S. Miller  <davem@davemloft.net>
18682
18683         * po/bg.po: Update Bulgarian translation from translation project.
18684
18685         * po/nl.po: Update Dutch translation from translation project.
18686         * po/pl.po: Update Polish translation from translation project.
18687         * po/ru.po: Update Russian translation from translation project.
18688
18689 2013-07-24  David S. Miller  <davem@davemloft.net>
18690
18691         * po/libc.pot: Update.
18692
18693 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18694
18695         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18696         variable page size.
18697         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18698         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18699         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18700
18701 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18702
18703         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18704
18705 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18706             Andreas Schwab  <schwab@suse.de>
18707             Roland McGrath  <roland@hack.frob.com>
18708             Joseph Myers  <joseph@codesourcery.com>
18709             Carlos O'Donell  <carlos@redhat.com>
18710
18711         [BZ #15755]
18712         * config.h.in: Define HAVE_PT_CHOWN.
18713         * config.make.in (build-pt-chown): New variable.
18714         * configure.in (--enable-pt_chown): New configure option.
18715         * configure: Regenerate.
18716         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18717         build-pt-chown is enabled.
18718         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18719         pt_chown to fix pty ownership.
18720         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18721         CLOSE_ALL_FDS.
18722         * manual/install.texi (Configuring and compiling): Mention
18723         --enable-pt_chown. Add @findex for grantpt.
18724         * INSTALL: Regenerate.
18725
18726 2013-07-20  David S. Miller  <davem@davemloft.net>
18727
18728         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18729         difference between 32-bit and 64-bit.
18730
18731 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18732
18733         [BZ #15711]
18734         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18735         Avoid system header dependency with -ffreestanding.
18736         ($(objpfx)bits/syscall%d): Likewise.
18737
18738 2013-07-13  David S. Miller  <davem@davemloft.net>
18739
18740         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18741         underflows from atanl/atan2l due to bug 15319.
18742         (casinh_test_data): Likewise.
18743
18744 2013-07-07  David S. Miller  <davem@davemloft.net>
18745
18746         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18747
18748 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18749
18750         * sysdeps/i386/fpu/libm-test-ulps: Update.
18751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18752
18753 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18754
18755         * configure.in (--enable-lock-elision): Fix message text.
18756         * INSTALL: Regenerate.
18757         * configure: Regenerate.
18758
18759 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18760
18761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18762
18763 2013-07-03  Andreas Jaeger  <aj@suse.de>
18764
18765         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18766         define.
18767         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18768         (ptrace_peeksiginfo_args): Add.
18769         (__ptrace_peeksiginfo_flags): Add.
18770         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18772         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18773
18774 2013-07-03  Allan McRae  <allan@archlinux.org>
18775
18776         * sysdeps/i386/fpu/libm-test-ulps: Update.
18777
18778 2013-07-02  David S. Miller  <davem@davemloft.net>
18779
18780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18781
18782 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18783
18784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18785
18786 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18787
18788         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18790
18791 2013-07-02  Andi Kleen <ak@linux.intel.com>
18792
18793         * config.h.in (ENABLE_LOCK_ELISION): Add.
18794         * configure.in (--enable-lock-elision): Add option.
18795         * manual/install.texi: Document --enable lock elision.
18796         * configure: Regenerate
18797         * INSTALL: Regenerate.
18798
18799 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18800
18801         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18802         SSE4.2 strcasecmp for libc.a.
18803         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18804
18805 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18806
18807         [BZ #13304]
18808         * soft-fp/op-common.h (_FP_FMA): New macro.
18809         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18810         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18811         (_FP_MUL_MEAT_1_imm): ... here.
18812         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18813         (_FP_MUL_MEAT_1_wide): ... here.
18814         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18815         (_FP_MUL_MEAT_1_hard): ... here.
18816         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18817         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18818         (_FP_MUL_MEAT_2_wide): ... here.
18819         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18820         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18821         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18822         (_FP_MUL_MEAT_2_gmp): ... here.
18823         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18824         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18825         (_FP_MUL_MEAT_4_wide): ... here.
18826         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18827         (_FP_MUL_MEAT_4_gmp): ... here.
18828         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18829         (_FP_WFRACBITS_DW_S): Likewise.
18830         (_FP_WFRACXBITS_DW_S): Likewise.
18831         (_FP_HIGHBIT_DW_S): Likewise.
18832         (FP_FMA_S): Likewise.
18833         (_FP_FRAC_HIGH_DW_S): Likewise.
18834         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18835         (_FP_WFRACBITS_DW_D): Likewise.
18836         (_FP_WFRACXBITS_DW_D): Likewise.
18837         (_FP_HIGHBIT_DW_D): Likewise.
18838         (FP_FMA_D): Likewise.
18839         (_FP_FRAC_HIGH_DW_D): Likewise.
18840         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18841         (_FP_WFRACBITS_DW_E): Likewise.
18842         (_FP_WFRACXBITS_DW_E): Likewise.
18843         (_FP_HIGHBIT_DW_E): Likewise.
18844         (FP_FMA_E): Likewise.
18845         (_FP_FRAC_HIGH_DW_E): Likewise.
18846         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18847         (_FP_WFRACBITS_DW_Q): Likewise.
18848         (_FP_WFRACXBITS_DW_Q): Likewise.
18849         (_FP_HIGHBIT_DW_Q): Likewise.
18850         (FP_FMA_Q): Likewise.
18851         (_FP_FRAC_HIGH_DW_Q): Likewise.
18852         * soft-fp/fmasf4.c: New file.
18853         * soft-fp/fmadf4.c: Likewise.
18854         * soft-fp/fmatf4.c: Likewise.
18855
18856 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18857
18858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18859         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18860         Silvermont.
18861         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18862         macro.
18863         (index_Slow_SSE4_2): Likewise.
18864         (index_Prefer_PMINUB_for_stringop): Likewise.
18865         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18866         bit_Slow_SSE4_2 is set.
18867         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18868         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18869
18870 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18871
18872         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18873         rtld_global._dl_hwcap2.
18874         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18875         POWER8.
18876         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18877         POWER8 feature descriptions defined in _dl_hwcap2.
18878         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18879         string handling for POWER8 feature bits.
18880         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18881         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18882         _dl_powerpc_cap_flags.
18883         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18884         * sysdeps/powerpc/rtld-global-offsets.sym
18885         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18886         _dl_hwcap2 in the rtld_global_ro structure.
18887
18888 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18889
18890         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18891         hardware capabilities in support of AT_HWCAP2.
18892         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18893         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18894         GLRO(dl_hwcap2).
18895         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18896         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18897         explicitly the unknown a_type display mechanism is used.
18898         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18899         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18900         struct member.
18901         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18902         to macro prototype for AT_HWCAP2 support.
18903         * sysdeps/i386/dl-procinfo.h: Likewise.
18904         * sysdeps/s390/dl-procinfo.h: Likewise.
18905         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18906         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18907         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18908         return -1 for unknown a_type display fallback.
18909         * sysdeps/sparc/dl-procinfo.h: Likewise.
18910         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18911         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18912
18913 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18914
18915         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18916         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18917
18918 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18919
18920         [BZ #12492]
18921         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18922         mprotect making __stack_prot writable.
18923
18924 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18925             Joseph Myers  <joseph@codesourcery.com>
18926
18927         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18928         as being properly aligned.
18929
18930 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18931
18932         * dlfcn/modstatic5.c: New file.
18933         * dlfcn/tststatic5.c: New file.
18934         * dlfcn/Makefile (tests): Add tststatic5.
18935         (tests-static): Likewise.
18936         (modules-names): Add modstatic5.
18937         (tststatic5-ENV): New variable.
18938         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18939
18940         [BZ #15022]
18941         * elf/dl-support.c (_dl_main_map): New variable.
18942         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18943         (_dl_nns, _dl_load_adds): Set to 1.
18944         (_dl_initial_searchlist): Refer to _dl_main_map.
18945         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18946         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18947         call to _dl_get_origin.
18948         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18949         around call_map.
18950         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18951         * dlfcn/modstatic3.c: New file.
18952         * dlfcn/tststatic3.c: New file.
18953         * dlfcn/tststatic4.c: New file.
18954         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18955         (tests-static): Likewise.
18956         (modules-names): Add modstatic3.
18957         (tststatic3-ENV, tststatic4-ENV): New variables.
18958         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18959         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18960
18961 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18962
18963         * configure.in (CC): Require GCC version 4.4 or later.
18964         * configure: Regenerated.
18965         * manual/install.texi (Tools for Compilation): Update GCC version
18966         requirement.
18967         * INSTALL: Regenerated.
18968
18969 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18970
18971         [BZ #15674]
18972         * string/test-memcmp.c (check2): New.
18973         (main): Call check2.
18974
18975         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18976
18977 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18978
18979         [BZ #15022]
18980         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18981         over to...
18982         (dl_open_worker) [!SHARED]: ... here.
18983
18984 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18985
18986         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18987
18988 2013-06-25  Richard Henderson  <rth@redhat.com>
18989
18990         * locale/programs/locarchive.c: Include <libc-internal.h>
18991
18992 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18993
18994         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18995         trailing whitespace removed.
18996
18997 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18998
18999         [BZ #10283]
19000         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19001         * locale/programs/locarchive.c: Include libc-mmap.h.
19002         (prepare_address_space): Take two new outputs (the mmap base and len).
19003         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19004         values.
19005         (create_archive): Declare new mmap base and len values for
19006         prepare_address_space, and store the result in ah.
19007         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19008         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19009         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19010         Declare new mmap base and len values for
19011         prepare_address_space, and store the result in new_ah.
19012         (open_archive): Declare new mmap base and len values for
19013         prepare_address_space, and store the result in ah.
19014         (close_archive): If ah->mmap_base is not NULL, use that and
19015         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19016         * sysdeps/generic/libc-mmap.h: New file.
19017
19018 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19019
19020         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19021         (ALIGN_UP): Likewise.
19022         (PTR_ALIGN_DOWN): Likewise.
19023         (PTR_ALIGN_UP): Likewise.
19024
19025 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19026
19027         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19028         entry mapped to PPC_PLATFORM_POWER8.
19029         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19030         POWER8.
19031         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19032         (_dl_string_platform): Add case for exporting platform position for
19033         POWER8.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19035         search path to sysdeps/powerpc/powerpc32/power8 directory.
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19037         search path to sysdeps/powerpc/powerpc64/power8 directory.
19038         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19039         power7 directories.
19040         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19041         power7 directories.
19042
19043 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19044
19045         * INSTALL: Regenerate.
19046
19047         * nscd/connections.c (nscd_init): Fix comment.
19048
19049 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19050
19051         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19052
19053         [BZ #15667]
19054         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19055         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19056
19057 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19058
19059         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19060         DL_DST_REQ_STATIC.
19061         (DL_DST_REQ_STATIC): Remove macro.
19062
19063 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19064
19065         [BZ #7006]
19066         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19067         with a shift of 0 bits.
19068
19069 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19070
19071         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19072         $(tststatic-ENV).
19073
19074 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19075
19076         [BZ #15655]
19077         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19078
19079 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19080
19081         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19082         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19083         accepts -fno-tree-loop-distribute-patterns.
19084         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19085         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19086         recursive call.
19087         * string/memset.c (memset): Likewise.
19088         * string/test-memmove.c (simple_memmove): Disable loop transformation
19089         to library calls.
19090         * string/test-memset.c (simple_memset): Likewise.
19091         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19092         * benchtests/bench-memset.c (simple_memset): Likewise.
19093         * configure: Regenerated.
19094
19095 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19096
19097         * math/test-misc.c (main): Ignore fesetround failure when failures
19098         of subsequent rounding tests would be ignored.
19099
19100         [BZ #15654]
19101         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19102         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19103         * math/fegetenv.c (__fegetenv): Return 0.
19104         * math/fegetexcept.c (fegetexcept): Return 0.
19105         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19106         FE_TONEAREST.
19107         * math/feholdexcpt.c (feholdexcept): Return 0.
19108         * math/fesetenv.c (__fesetenv): Return 0.
19109         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19110         argument FE_TONEAREST.
19111         * math/feupdateenv.c (__feupdateenv): Return 0.
19112         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19113
19114 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19115
19116         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19117         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19118         ($(objpfx)rtld-%.os rules): Use them.
19119
19120 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19121
19122         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19123         fields.
19124
19125 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19126
19127         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19128         length of target pattern, then descending length of dependency pattern.
19129         * configure.in (AWK): Require gawk 3.1.2 or newer.
19130         * manual/install.texi (Tools for Compilation): Say that we do.
19131         * configure: Regenerated.
19132
19133         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19134         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19135         * scripts/sysd-rules.awk: ... this new script.
19136         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19137         than a glob-style pattern.
19138
19139 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19140
19141         * math/test-misc.c (main): Do not treat incorrectly rounded
19142         conversions as failure unless ROUNDING_TESTS passes.
19143
19144 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19145
19146         [BZ #15631]
19147         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19148         restore exception state around main square root computation, then
19149         check for inexactness explicitly.
19150
19151         * math/libm-test.inc (fma_test_data): Add another test.
19152
19153 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154
19155         * manual/threads.texi (Non-POSIX Extensions): New document
19156         node.  Document pthread_getattr_default_np and
19157         pthread_setattr_default_np.
19158
19159         * Versions.def (libpthread): Add GLIBC_2.18.
19160         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19162         Likewise.
19163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19164         Likewise.
19165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19166         Likewise.
19167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19168         Likewise.
19169         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19170         Likewise.
19171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19172         Likewise.
19173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19174         Likewise.
19175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19176         Likewise.
19177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19178         Likewise.
19179
19180 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19181
19182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19183         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19184
19185 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19186             H.J. Lu  <hjl.tools@gmail.com>
19187
19188         [BZ #15627]
19189         * sysdeps/x86_64/rtld-memset.c: Remove file.
19190         * sysdeps/x86_64/rtld-memset.S: New file.
19191
19192 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19193
19194         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19195         (test_in_one_mode): Take arguments for whether the rounding mode
19196         is supported for each floating-point type.
19197         (do_test): Pass new arguments to test_in_one_mode using
19198         ROUNDING_TESTS.
19199
19200 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19201
19202         * posix/tst-waitid.c (do_test): Distinguish different instances of
19203         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19204         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19205         before entering the kernel for waitpid.
19206
19207 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19208
19209         * NEWS: Fix note on clock function precision.  Text by Roland
19210         McGrath.
19211
19212 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19213
19214         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19215         it into place only when and if the sanity check passes.
19216
19217 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19218
19219         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19220         output for whether conversion result is exact.  Take argument
19221         indicating whether type is IBM long double.
19222         (round_for_all): Change need_exact field to ibm_ld.
19223         * stdlib/tst-strtod-round.c (struct exactness): New type.
19224         (struct test): Change bool ld_ok field to struct exactness exact.
19225         (TEST): Update all definitions for change to field.
19226         (tests): Regenerate array contents.
19227         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19228         field value.  Check for IBM long double here.
19229         (do_test): Update calls to test_in_one_mode.
19230
19231 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19232
19233         [BZ #12515]
19234         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19235         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19236
19237 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19238
19239         [BZ #15605]
19240         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19241         generated by the compiler on loop optimizations.
19242         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19243         general definitions.
19244
19245 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19246
19247         * math/bug-nextafter.c: Include <math-tests.h>.
19248         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19249         the relevant type.
19250         * math/bug-nexttoward.c: Include <math-tests.h>.
19251         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19252         the relevant type.
19253         * math/test-misc.c: Include <math-tests.h>.
19254         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19255         the relevant type.
19256
19257 2013-06-12  Andreas Jaeger  <aj@suse.de>
19258
19259         * po/ia.po: Update Interlingua translation from translation
19260         project.
19261
19262 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19263
19264         * include/fenv.h: Include stdbool.h.
19265         (struct rm_ctx): New structure.
19266         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19267         Define macro.
19268         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19269         (SET_RESTORE_ROUNDF): Likewise.
19270         (SET_RESTORE_ROUNDL): Likewise.
19271         (SET_RESTORE_ROUND_NOEX): Likewise.
19272         (SET_RESTORE_ROUND_NOEXF): Likewise.
19273         (SET_RESTORE_ROUND_NOEXL): Likewise.
19274         (SET_RESTORE_ROUND_53BIT): Likewise.
19275         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19276         (libc_feresetround_noexf_ctx): Likewise.
19277         (libc_feresetround_noexl_ctx): Likewise.
19278         (libc_feholdsetround_53bit_ctx): Likewise.
19279         (libc_feresetround_53bit_ctx): Likewise.
19280         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19281         (libc_feholdexcept_setround_sse_ctx): New function.
19282         (libc_fesetenv_sse_ctx): Likewise.
19283         (libc_feupdateenv_sse_ctx): Likewise.
19284         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19285         (libc_feholdexcept_setround_387_ctx): Likewise.
19286         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19287         (libc_feholdsetround_387_prec_ctx): Likewise.
19288         (libc_feholdsetround_387_ctx): Likewise.
19289         (libc_feholdsetround_387_53bit_ctx): Likewise.
19290         (libc_feholdsetround_sse_ctx): Likewise.
19291         (libc_feresetround_sse_ctx): Likewise.
19292         (libc_feresetround_387_ctx): Likewise.
19293         (libc_feupdateenv_387_ctx): Likewise.
19294         (libc_feholdexcept_setroundf_ctx): Define macro.
19295         (libc_fesetenvf_ctx): Likewise.
19296         (libc_feupdateenvf_ctx): Likewise.
19297         (libc_feholdsetroundf_ctx): Likewise.
19298         (libc_feresetroundf_ctx): Likewise.
19299         (libc_feholdexcept_setround_ctx): Likewise.
19300         (libc_fesetenv_ctx): Likewise.
19301         (libc_feupdateenv_ctx): Likewise.
19302         (libc_feholdsetround_ctx): Likewise.
19303         (libc_feresetround_ctx): Likewise.
19304         (libc_feholdexcept_setroundl_ctx): Likewise.
19305         (libc_feupdateenvl_ctx): Likewise.
19306         (libc_feholdsetroundl_ctx): Likewise.
19307         (libc_feresetroundl_ctx): Likewise.
19308         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19309         (libc_feresetround_53bit_ctx): Likewise.
19310
19311 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19312
19313         * locale/iso-639.def: Convert to UTF-8.
19314
19315 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19316
19317         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19318         (EXCEPTION_TESTS_double): Likewise.
19319         (EXCEPTION_TESTS_long_double): Likewise.
19320         (EXCEPTION_TESTS): Likewise.
19321         * math/libm-test.inc (test_exceptions): Only test exceptions if
19322         EXCEPTION_TESTS (FLOAT).
19323
19324 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19325
19326         * benchtests/Makefile (string-bench): Add strcpy_chk and
19327         stpcpy_chk.
19328         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19329         * benchtests/bench-stpcpy_chk.c: New file.
19330         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19331         * benchtests/bench-strcpy_chk.c: New file.
19332         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19333         code.
19334         (do_test): Likewise.
19335
19336 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19337
19338         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19339         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19340         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19341         with tabs where appropriate.
19342         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19343         dl-procinfo.h.
19344         [PPC_PLATFORM_PPC440]: Likewise.
19345         [PPC_PLATFORM_PPC464]: Likewise.
19346         [PPC_PLATFORM_PPC476]: Likewise.
19347         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19348         ppc464, and ppc476 platform strings merging from ports/
19349         dl-procinfo.h.
19350
19351 2013-06-11  Andreas Schwab  <schwab@suse.de>
19352
19353         [BZ #14991]
19354         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19355         (from_ucs4_idx): Regenerate.
19356         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19357         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19358         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19359         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19360         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19361         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19362         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19363         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19364         from FROM_LOOP and TO_LOOP specific macros.
19365         (BODY): Handle combining characters.
19366         * iconvdata/BIG5HKSCS.irreversible: Update.
19367         * iconvdata/BIG5HKSCS.precomposed: New file.
19368         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19369         characters.
19370         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19371
19372 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19373
19374         * include/sys/time.h: Fix indentation and add copyright header.
19375
19376         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19377         (do_test): Likewise.
19378         * string/test-memchr.c (do_one_test): Likewise.
19379         (do_test): Likewise.
19380         * string/test-memcmp.c (do_one_test): Likewise.
19381         (do_test): Likewise.
19382         * string/test-memcpy.c (do_one_test): Likewise.
19383         (do_test): Likewise.
19384         * string/test-memmem.c (do_one_test): Likewise.
19385         (do_test): Likewise.
19386         (do_random_tests): Likewise.
19387         * string/test-memmove.c (do_one_test): Likewise.
19388         (do_test): Likewise.
19389         * string/test-memset.c (do_one_test): Likewise.
19390         (do_test): Likewise.
19391         * string/test-rawmemchr.c (do_one_test): Likewise.
19392         (do_test): Likewise.
19393         * string/test-strcasecmp.c (do_one_test): Likewise.
19394         (do_test): Likewise.
19395         * string/test-strcasestr.c (do_one_test): Likewise.
19396         (do_test): Likewise.
19397         * string/test-strcat.c (do_one_test): Likewise.
19398         (do_test): Likewise.
19399         * string/test-strchr.c (do_one_test): Likewise.
19400         (do_test): Likewise.
19401         * string/test-strcmp.c (do_one_test): Likewise.
19402         (do_test): Likewise.
19403         * string/test-strcpy.c (do_one_test): Likewise.
19404         (do_test): Likewise.
19405         * string/test-string.h: Likewise.
19406         (test_init): Likewise.
19407         * string/test-strlen.c (do_one_test): Likewise.
19408         (do_test): Likewise.
19409         * string/test-strncasecmp.c (do_one_test): Likewise.
19410         (do_test): Likewise.
19411         * string/test-strncat.c (do_one_test): Likewise.
19412         (do_test): Likewise.
19413         * string/test-strncmp.c (do_one_test): Likewise.
19414         (do_test_limit): Likewise.
19415         (do_test): Likewise.
19416         * string/test-strncpy.c (do_one_test): Likewise.
19417         (do_test): Likewise.
19418         * string/test-strnlen.c (do_one_test): Likewise.
19419         (do_test): Likewise.
19420         * string/test-strpbrk.c (do_one_test): Likewise.
19421         (do_test): Likewise.
19422         * string/test-strrchr.c (do_one_test): Likewise.
19423         (do_test): Likewise.
19424         * string/test-strspn.c (do_one_test): Likewise.
19425         (do_test): Likewise.
19426         * string/test-strstr.c (do_one_test): Likewise.
19427         (do_test): Likewise.
19428
19429         * benchtests/Makefile (string-bench): Add string benchmarks.
19430         * benchtests/bench-bcopy-ifunc.c: New file.
19431         * benchtests/bench-bcopy.c: New file.
19432         * benchtests/bench-bzero-ifunc.c: New file.
19433         * benchtests/bench-bzero.c: New file.
19434         * benchtests/bench-memccpy-ifunc.c: New file.
19435         * benchtests/bench-memccpy.c: New file.
19436         * benchtests/bench-memchr-ifunc.c: New file.
19437         * benchtests/bench-memchr.c: New file.
19438         * benchtests/bench-memcmp-ifunc.c: New file.
19439         * benchtests/bench-memcmp.c: New file.
19440         * benchtests/bench-memmem-ifunc.c: New file.
19441         * benchtests/bench-memmem.c: New file.
19442         * benchtests/bench-memmove-ifunc.c: New file.
19443         * benchtests/bench-memmove.c: New file.
19444         * benchtests/bench-mempcpy-ifunc.c: New file.
19445         * benchtests/bench-mempcpy.c: New file.
19446         * benchtests/bench-memset-ifunc.c: New file.
19447         * benchtests/bench-memset.c: New file.
19448         * benchtests/bench-rawmemchr-ifunc.c: New file.
19449         * benchtests/bench-rawmemchr.c: New file.
19450         * benchtests/bench-stpcpy-ifunc.c: New file.
19451         * benchtests/bench-stpcpy.c: New file.
19452         * benchtests/bench-stpncpy-ifunc.c: New file.
19453         * benchtests/bench-stpncpy.c: New file.
19454         * benchtests/bench-strcasecmp-ifunc.c: New file.
19455         * benchtests/bench-strcasecmp.c: New file.
19456         * benchtests/bench-strcasestr-ifunc.c: New file.
19457         * benchtests/bench-strcasestr.c: New file.
19458         * benchtests/bench-strcat-ifunc.c: New file.
19459         * benchtests/bench-strcat.c: New file.
19460         * benchtests/bench-strchr-ifunc.c: New file.
19461         * benchtests/bench-strchr.c: New file.
19462         * benchtests/bench-strchrnul-ifunc.c: New file.
19463         * benchtests/bench-strchrnul.c: New file.
19464         * benchtests/bench-strcmp-ifunc.c: New file.
19465         * benchtests/bench-strcmp.c: New file.
19466         * benchtests/bench-strcpy-ifunc.c: New file.
19467         * benchtests/bench-strcpy.c: New file.
19468         * benchtests/bench-strcspn-ifunc.c: New file.
19469         * benchtests/bench-strcspn.c: New file.
19470         * benchtests/bench-strlen-ifunc.c: New file.
19471         * benchtests/bench-strlen.c: New file.
19472         * benchtests/bench-strncasecmp-ifunc.c: New file.
19473         * benchtests/bench-strncasecmp.c: New file.
19474         * benchtests/bench-strncat-ifunc.c: New file.
19475         * benchtests/bench-strncat.c: New file.
19476         * benchtests/bench-strncmp-ifunc.c: New file.
19477         * benchtests/bench-strncmp.c: New file.
19478         * benchtests/bench-strncpy-ifunc.c: New file.
19479         * benchtests/bench-strncpy.c: New file.
19480         * benchtests/bench-strnlen-ifunc.c: New file.
19481         * benchtests/bench-strnlen.c: New file.
19482         * benchtests/bench-strpbrk-ifunc.c: New file.
19483         * benchtests/bench-strpbrk.c: New file.
19484         * benchtests/bench-strrchr-ifunc.c: New file.
19485         * benchtests/bench-strrchr.c: New file.
19486         * benchtests/bench-strspn-ifunc.c: New file.
19487         * benchtests/bench-strspn.c: New file.
19488         * benchtests/bench-strstr-ifunc.c: New file.
19489         * benchtests/bench-strstr.c: New file.
19490
19491         * benchtests/Makefile: Disable parallel execution of targets.
19492         (string-bench): Add memcpy.
19493         (benchset): New variable to store a list of benchmark sets.
19494         (bench-func): Renamed from bench.
19495         (bench-set): New target.
19496         (bench): Depend on bench-func and bench-set.
19497         * benchtests/README: Add section on benchmark sets.
19498         * benchtests/bench-memcpy-ifunc.c: New file.
19499         * benchtests/bench-memcpy.c: New file.
19500         * benchtests/bench-string.h: New file.
19501
19502 2013-06-11  Andreas Schwab  <schwab@suse.de>
19503
19504         [BZ #15577]
19505         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19506         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19507         values in the triple.
19508         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19509         terminator in the group key.
19510
19511 2013-06-11  Andreas Jaeger  <aj@suse.de>
19512
19513         * po/zh_TW.po: Update Chinese (traditional) translation from
19514         translation project.
19515
19516 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19517
19518         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19519         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19520         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19522         (clock_getcpuclockid): Likewise.
19523         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19524         Add weak_alias and libc_hidden_def.
19525         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19526         * rt/clock_gettime.c (clock_gettime): Rename to
19527         __clock_gettime.  Add weak_alias and libc_hidden_def.
19528         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19529         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19530         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19531         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19532         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19533         Likewise.
19534         * rt/clock_settime.c (clock_settime): Rename to
19535         __clock_settime.  Add weak_alias and libc_hidden_def.
19536         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19537
19538 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19539
19540         * mach/err_boot.sub: Remove trailing whitespace.
19541         * mach/err_ipc.sub: Likewise.
19542         * mach/err_mach.sub: Likewise.
19543
19544         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19545         (ROUNDING_TESTS_double): Likewise.
19546         (ROUNDING_TESTS_long_double): Likewise.
19547         (ROUNDING_TESTS): Likewise.
19548         * math/libm-test.inc: Include <math-tests.h>.
19549         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19550         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19551         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19552         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19553
19554 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19555
19556         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19557         of assigning.
19558
19559 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19560
19561         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19562         otherwise empty TRANS lines.
19563         * sysdeps/gnu/errlist.c: Regenerated.
19564
19565         * catgets/gencat.c (error_print): Use (void) in function
19566         definition.
19567         * crypt/crypt_util.c (__init_des): Likewise.
19568         * crypt/speeds.c (Stop): Likewise.
19569         (main): Likewise.
19570         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19571         * inet/ruserpass.c (token): Likewise.
19572         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19573         * intl/localealias.c (extend_alias_table): Likewise.
19574         * intl/plural-exp.c (init_germanic_plural): Likewise.
19575         * libio/fcloseall.c (__fcloseall): Likewise.
19576         * libio/genops.c (_IO_flush_all): Likewise.
19577         (_IO_flush_all_linebuffered): Likewise.
19578         (_IO_cleanup): Likewise.
19579         (_IO_iter_begin): Likewise.
19580         (_IO_iter_end): Likewise.
19581         (_IO_list_lock): Likewise.
19582         (_IO_list_unlock): Likewise.
19583         (_IO_list_resetlock): Likewise.
19584         * libio/getchar.c (getchar): Likewise.
19585         * libio/getchar_u.c (getchar_unlocked): Likewise.
19586         * libio/getwchar.c (getwchar): Likewise.
19587         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19588         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19589         * login/getpt.c (__getpt): Likewise.
19590         * login/tst-utmp.c (main): Likewise.
19591         * malloc/hooks.c (__malloc_check_init): Likewise.
19592         * malloc/malloc.c (__malloc_stats): Likewise.
19593         * malloc/mtrace.c (tr_break): Likewise.
19594         (mtrace): Likewise.
19595         (muntrace): Likewise.
19596         * misc/fstab.c (endfsent): Likewise.
19597         * misc/getclktck.c (__getclktck): Likewise.
19598         * misc/getdtsz.c (__getdtablesize): Likewise.
19599         * misc/gethostid.c (gethostid): Likewise.
19600         * misc/getpagesize.c (__getpagesize): Likewise.
19601         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19602         (__get_nprocs): Likewise.
19603         (__get_phys_pages): Likewise.
19604         (__get_avphys_pages): Likewise.
19605         * misc/getttyent.c (getttyent): Likewise.
19606         (setttyent): Likewise.
19607         (endttyent): Likewise.
19608         * misc/getusershell.c (getusershell): Likewise.
19609         (endusershell): Likewise.
19610         (setusershell): Likewise.
19611         (initshells): Likewise.
19612         * misc/hsearch.c (__hdestroy): Likewise.
19613         * misc/sync.c (sync): Likewise.
19614         * misc/syslog.c (closelog_internal): Likewise.
19615         (closelog): Likewise.
19616         * misc/ttyslot.c (ttyslot): Likewise.
19617         * misc/vhangup.c (vhangup): Likewise.
19618         * posix/fork.c (__fork): Likewise.
19619         * posix/getegid.c (__getegid): Likewise.
19620         * posix/geteuid.c (__geteuid): Likewise.
19621         * posix/getgid.c (__getgid): Likewise.
19622         * posix/getpid.c (__getpid): Likewise.
19623         * posix/getppid.c (__getppid): Likewise.
19624         * posix/getuid.c (__getuid): Likewise.
19625         * posix/pause.c (pause): Likewise.
19626         * posix/setpgrp.c (setpgrp): Likewise.
19627         * posix/setsid.c (__setsid): Likewise.
19628         * posix/test-vfork.c (noop): Likewise.
19629         * resolv/gethnamaddr.c (_endhtent): Likewise.
19630         (_gethtent): Likewise.
19631         (ht_endhostent): Likewise.
19632         (gethostent): Likewise.
19633         (dns_service): Likewise.
19634         * stdlib/drand48.c (drand48): Likewise.
19635         * stdlib/lrand48.c (lrand48): Likewise.
19636         * stdlib/mrand48.c (mrand48): Likewise.
19637         * stdlib/rand.c (rand): Likewise.
19638         * stdlib/random.c (__random): Likewise.
19639         * stdlib/setenv.c (clearenv): Likewise.
19640         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19641         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19642         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19643         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19644         (__get_nprocs): Likewise.
19645         (__get_phys_pages): Likewise.
19646         (__get_avphys_pages): Likewise.
19647         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19648         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19649         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19650         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19651         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19652         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19653         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19654         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19655         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19656         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19657         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19658         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19659         * sysdeps/posix/clock.c (clock): Likewise.
19660         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19661         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19662         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19663         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19664         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19665         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19666         (__get_nprocs_conf): Likewise.
19667         (__get_phys_pages): Likewise.
19668         (__get_avphys_pages): Likewise.
19669         * time/clock.c (clock): Likewise.
19670         * time/tzset.c (__tzname_max): Likewise.
19671
19672 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19673
19674         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19675         (__bswap_32): Do not use "register".
19676         * crypt/crypt.c (_ufc_doit_r): Likewise.
19677         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19678         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19679         * gmon/gmon.c (__monstartup): Likewise.
19680         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19681         * hurd/hurdmalloc.c (more_memory): Likewise.
19682         (malloc): Likewise.
19683         (free): Likewise.
19684         (realloc): Likewise.
19685         (malloc_fork_prepare): Likewise.
19686         (malloc_fork_parent): Likewise.
19687         (malloc_fork_child): Likewise.
19688         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19689         (_svcauth_des): Likewise.
19690         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19691         * inet/inet_net.c (inet_network): Likewise.
19692         * inet/inet_netof.c (inet_netof): Likewise.
19693         * inet/rcmd.c (__validuser2_sa): Likewise.
19694         * io/fts.c (fts_open): Likewise.
19695         (fts_load): Likewise.
19696         (fts_close): Likewise.
19697         (fts_read): Likewise.
19698         (fts_children): Likewise.
19699         (fts_build): Likewise.
19700         (fts_stat): Likewise.
19701         (fts_sort): Likewise.
19702         (fts_alloc): Likewise.
19703         (fts_lfree): Likewise.
19704         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19705         (_IO_file_xsgetn): Likewise.
19706         (_IO_file_xsgetn_mmap): Likewise.
19707         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19708         (_IO_cookie_write): Likewise.
19709         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19710         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19711         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19712         * malloc/obstack.c (_obstack_begin): Likewise.
19713         (_obstack_begin_1): Likewise.
19714         (_obstack_newchunk): Likewise.
19715         (_obstack_allocated_p): Likewise.
19716         (obstack_free): Likewise.
19717         (_obstack_memory_used): Likewise.
19718         * misc/getttyent.c (getttynam): Likewise.
19719         (getttyent): Likewise.
19720         (skip): Likewise.
19721         (value): Likewise.
19722         * misc/getusershell.c (initshells): Likewise.
19723         * misc/syslog.c (__vsyslog_chk): Likewise.
19724         * misc/ttyslot.c (ttyslot): Likewise.
19725         * nis/nis_hash.c (__nis_hash): Likewise.
19726         * posix/fnmatch_loop.c (FCT): Likewise.
19727         * posix/getconf.c (print_all): Likewise.
19728         (main): Likewise.
19729         * posix/getopt.c (exchange): Likewise.
19730         * posix/glob.c (globfree): Likewise.
19731         (prefix_array): Likewise.
19732         (__glob_pattern_type): Likewise.
19733         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19734         (NS_GET32): Likewise.
19735         (NS_PUT16): Likewise.
19736         (NS_PUT32): Likewise.
19737         * resolv/gethnamaddr.c (getanswer): Likewise.
19738         (gethostbyname2): Likewise.
19739         (gethostbyaddr): Likewise.
19740         (_gethtent): Likewise.
19741         (_gethtbyname2): Likewise.
19742         (_gethtbyaddr): Likewise.
19743         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19744         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19745         * resolv/res_init.c (__res_vinit): Likewise.
19746         (net_mask): Likewise.
19747         * resolv/res_mkquery.c (outchar): Likewise.
19748         (PRINT): Likewise.
19749         * stdio-common/printf_fp.c (outchar): Likewise.
19750         (PRINT): Likewise.
19751         * stdio-common/printf_fphex.c (outchar): Likewise.
19752         (PRINT): Likewise.
19753         * stdio-common/printf_size.c (outchar): Likewise.
19754         (PRINT): Likewise.
19755         * stdio-common/test_rdwr.c (main): Likewise.
19756         * stdio-common/tfformat.c (matches): Likewise.
19757         * stdio-common/vfprintf.c (outchar): Likewise.
19758         (printf_unknown): Likewise.
19759         (buffered_vfprintf): Likewise.
19760         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19761         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19762         (ReadFile): Likewise.
19763         * stdlib/qsort.c (SWAP): Likewise.
19764         (_quicksort): Likewise.
19765         * stdlib/setenv.c (__add_to_environ): Likewise.
19766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19767         * stdlib/strtol_l.c (__strtol_l): Likewise.
19768         * stdlib/tst-strtod.c (main): Likewise.
19769         * stdlib/tst-strtol.c (main): Likewise.
19770         * stdlib/tst-strtoll.c (main): Likewise.
19771         * string/bits/string2.h (__strcmp_cc): Likewise.
19772         (__strcmp_cg): Likewise.
19773         (__strcspn_c1): Likewise.
19774         (__strcspn_c2): Likewise.
19775         (__strcspn_c3): Likewise.
19776         (__strspn_c1): Likewise.
19777         (__strspn_c2): Likewise.
19778         (__strspn_c3): Likewise.
19779         (__strsep_1c): Likewise.
19780         (__strsep_2c): Likewise.
19781         (__strsep_3c): Likewise.
19782         * string/memccpy.c (__memccpy): Likewise.
19783         * string/stpcpy.c (__stpcpy): Likewise.
19784         * string/strcmp.c (strcmp): Likewise.
19785         * string/strrchr.c (strrchr): Likewise.
19786         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19787         Likewise.
19788         * sysdeps/mach/hurd/getcwd.c
19789         (_hurd_canonicalize_directory_name_internal): Likewise.
19790         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19791         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19792         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19793         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19794         Likewise, in both definitions.
19795         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19796         definitions.
19797         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19798         64] (__bswap_64): Likewise.
19799         * time/test_time.c (main): Likewise.
19800         * time/tzfile.c (__tzfile_read): Likewise.
19801         (__tzfile_compute): Likewise.
19802         * time/tzset.c (__tzset_parse_tz): Likewise.
19803         (tzset_internal): Likewise.
19804         (compute_change): Likewise.
19805         * wcsmbs/wcscat.c (__wcscat): Likewise.
19806         * wcsmbs/wcschr.c (wcschr): Likewise.
19807         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19808         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19809         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19810         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19811         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19812         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19813         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19814         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19815         * wcsmbs/wmemset.c (wmemset): Likewise.
19816
19817 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19818
19819         * scripts/config.guess: Update to version 2013-05-16.
19820         * scripts/config.sub: Update to version 2013-04-24.
19821         * scripts/install-sh: Update to version 2011-11-20.07.
19822         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19823         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19824
19825 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19826
19827         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19828         * elf/sln.c: Likewise.
19829         * hurd/hurd/ioctl.h: Likewise.
19830         * hurd/hurdmalloc.c: Likewise.
19831         * hurd/xattr.c: Likewise.
19832         * include/shlib-compat.h: Likewise.
19833         * inet/ruserpass.c: Likewise.
19834         * libio/iofgets_u.c: Likewise.
19835         * libio/iofgetws_u.c: Likewise.
19836         * locale/programs/ld-identification.c: Likewise.
19837         * locale/programs/ld-time.c: Likewise.
19838         * mach/msg-destroy.c: Likewise.
19839         * nss/nss_files/files-netgrp.c: Likewise.
19840         * resolv/res_data.c: Likewise.
19841         * soft-fp/op-1.h: Likewise.
19842         * soft-fp/op-2.h: Likewise.
19843         * soft-fp/op-4.h: Likewise.
19844         * soft-fp/op-common.h: Likewise.
19845         * stdio-common/printf_fphex.c: Likewise.
19846         * stdlib/strtod_l.c: Likewise.
19847         * sunrpc/rpc/clnt.h: Likewise.
19848         * sysdeps/generic/framestate.c: Likewise.
19849         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19850         * sysdeps/i386/bsd-setjmp.S: Likewise.
19851         * sysdeps/i386/__longjmp.S: Likewise.
19852         * sysdeps/i386/setjmp.S: Likewise.
19853         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19854         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19856         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19857         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19858         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19859         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19860         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19862         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19863         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19864         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19865         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19866         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19867         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19868         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19869         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19870         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19871         * sysdeps/ieee754/support.c: Likewise.
19872         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19873         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19874         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19875         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19876         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19877         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19878         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19879         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19880         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19881         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19882         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19883         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19884         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19885         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19886         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19887         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19888         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19890
19891 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19892
19893         * posix/transbug.c: Remove executable mode.
19894
19895 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19896
19897         * crypt/speeds.c: Remove trailing whitespace.
19898         * dlfcn/default.c: Likewise.
19899         * elf/ifuncdep2.c: Likewise.
19900         * elf/ifuncmain1.c: Likewise.
19901         * elf/ifuncmain1vis.c: Likewise.
19902         * elf/testobj.h: Likewise.
19903         * elf/tst-stackguard1.c: Likewise.
19904         * gmon/sys/gmon.h: Likewise.
19905         * hurd/hurdmsg.c: Likewise.
19906         * hurd/new-fd.c: Likewise.
19907         * hurd/ports-get.c: Likewise.
19908         * iconvdata/ibm1008_420.c: Likewise.
19909         * inet/tst-getni1.c: Likewise.
19910         * inet/tst-getni2.c: Likewise.
19911         * libio/ioungetc.c: Likewise.
19912         * libio/wfiledoalloc.c: Likewise.
19913         * manual/libm-err-tab.pl: Likewise.
19914         * math/w_dremf.c: Likewise.
19915         * misc/ftruncate.c: Likewise.
19916         * posix/bug-glob2.c: Likewise.
19917         * posix/tst-pcre.c: Likewise.
19918         * posix/wait4.c: Likewise.
19919         * resolv/README: Likewise.
19920         * resolv/res_debug.h: Likewise.
19921         * resolv/tst-inet_ntop.c: Likewise.
19922         * setjmp/bug269-setjmp.c: Likewise.
19923         * soft-fp/extended.h: Likewise.
19924         * soft-fp/op-1.h: Likewise.
19925         * soft-fp/op-2.h: Likewise.
19926         * soft-fp/op-4.h: Likewise.
19927         * soft-fp/op-8.h: Likewise.
19928         * soft-fp/testit.c: Likewise.
19929         * stdio-common/bug16.c: Likewise.
19930         * stdlib/random.c: Likewise.
19931         * sunrpc/rpcsvc/rquota.x: Likewise.
19932         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19933         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19934         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19935         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19936         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19937         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19938         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19939         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19940         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19941         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19942         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19943         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19944         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19945         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19946         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19947         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19948         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19949         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19950         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19951         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19952         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19953         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19954         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19955         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19957         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19959         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19960         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19961         * sysdeps/ieee754/s_lib_version.c: Likewise.
19962         * sysdeps/mach/hurd/check_fds.c: Likewise.
19963         * sysdeps/mach/hurd/getsockname.c: Likewise.
19964         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19965         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19966         * sysdeps/powerpc/bits/link.h: Likewise.
19967         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19968         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19969         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19970         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19971         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19972         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19973         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19974         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19975         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19976         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19977         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19978         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19979         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19980         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19981         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19982         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19983         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19984         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19985         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19986         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19987         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19988         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19989         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19990         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19991         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19992         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19993         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19994         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19995         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19996         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19997         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19998         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20000         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20001         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20002         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20003         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20004         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20005         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20006         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20007         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20008         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20009         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20010         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20011         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20012         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20013         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20014         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20015         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20016         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20018         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20019         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20020         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20021         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20022         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20023         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20024         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20025         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20026         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20027         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20028         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20029         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20030         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20031         * sysdeps/powerpc/sysdep.h: Likewise.
20032         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20033         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20034         * sysdeps/sh/dl-trampoline.S: Likewise.
20035         * sysdeps/sh/memset.S: Likewise.
20036         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20037         * sysdeps/sh/strlen.S: Likewise.
20038         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20039         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20040         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20041         * sysdeps/sparc/sparc32/rem.S: Likewise.
20042         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20043         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20044         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20045         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20046         * sysdeps/sparc/sparc32/urem.S: Likewise.
20047         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20048         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20049         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20050         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20051         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20052         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20053         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20054         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20055         * sysdeps/unix/bsd/times.c: Likewise.
20056         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20057         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20061         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20062         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20063         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20064         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20065         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20066         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20067         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20068         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20069         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20070         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20071         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20072         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20073         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20074         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20075         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20076         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20077         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20078         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20079         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20080         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20081         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20082         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20083         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20084         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20085         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20086         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20087         * sysdeps/x86_64/strcspn.S: Likewise.
20088
20089 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20090
20091         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20092         generated file.  Regenerate properly from gen-translit.pl.
20093         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20094         locale/C-translit.h.
20095
20096 2013-06-05  Andreas Schwab  <schwab@suse.de>
20097
20098         [BZ #15100]
20099         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20100         week as 6 instead of -1.
20101         * time/tst-strptime.c (day_tests): Add test case.
20102
20103 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20104
20105         * sysdeps/generic/math_private.h
20106         (libc_feholdexcept_setround_53bit): Replace with
20107         libc_feholdsetround_53bit.
20108         (libc_feupdateenv_53bit): Replace with
20109         libc_feresetround_53bit.
20110         (SET_RESTORE_ROUND_53BIT): Adjust.
20111
20112 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20113
20114         * string/test-strchrnul.c: Add copyright header.
20115
20116         * posix/tst-getaddrinfo4.c: Increase test timeout.
20117
20118 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20119
20120         [BZ #15536]
20121         * math/libm-test.inc (MAX_EXP): Remove
20122         (MIN_EXP): Define.
20123         (ulp): Use MIN_EXP - MANT_DIG.
20124         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20125
20126 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20127
20128         * po/be.po: Revert last change.
20129         * po/zh_CN.po: Likewise.
20130         * po/header.pot: Likewise.
20131
20132 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20133
20134         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20135         link-libc-deps to empty as target-specific variable.
20136         * Makerules (link-libc-args): New variable.
20137         (libc-for-link): Likewise.
20138         (link-libc-deps): Likewise.
20139         (lib%.so): Depend on $(link-libc-deps).  Link with
20140         $(link-libc-args).
20141         (build-module): Link with $(link-libc-args).
20142         (build-module-asneeded): Likewise.
20143         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20144         list of objects.
20145         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20146         target-specific variable.
20147         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20148         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20149         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20150         libc.
20151         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20152         libc and ld.so.
20153         ($(objpfx)libpcprofile.so): Likewise.
20154         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20155         libc_nonshared.a.
20156         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20157         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20158         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20159         $(link-libc-deps).
20160         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20161         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20162         * login/Makefile ($(objpfx)libutil.so): Likewise.
20163         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20164         * math/Makefile ($(objpfx)libm.so): Likewise.
20165         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20166         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20167         variable instead of depending directly on libc.
20168         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20169         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20170         $(link-libc-deps).
20171         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20172         libc.
20173         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20174         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20175         ($(objpfx)libanl.so): Likewise.
20176         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20177         ld.so.
20178         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20179         $(link-libc-deps).
20180         * sysdeps/i386/fpu/Makefile: Remove file.
20181         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20182         ($(objpfx)libm.so): Remove dependency on ld.so.
20183
20184 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20185
20186         [BZ # 15553]
20187         * nis/yp_xdr.c (XDRMAXNAME): Define.
20188         (XDRMAXRECORD): Define.
20189         (xdr_domainname): Use XDRMAXNAME.
20190         (xdr_mapname): Likewise.
20191         (xdr_peername): Likewise.
20192         (xdr_keydat): Use XDRMAXRECORD.
20193         (xdr_valdat): Likewise.
20194
20195 2013-05-30  Jeff Law  <law@redhat.com>
20196
20197         [BZ #14256]
20198         * manual/errno.texi (ESTALE): Update to account for more than
20199         just NFS file systems.
20200         * sysdeps/gnu/errlist.c: Regenerated.
20201
20202 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20203
20204         [BZ #15465]
20205         * elf/Makefile (tests): Add tst-null-argv.
20206         (modules-names):  Add tst-null-argv-lib.
20207         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20208         (tst-null-argv-ENV): Set environment for tst-null-argv.
20209         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20210         (RTLD_PROGNAME): New macro.
20211         * elf/tst-null-argv.c: New test case.
20212         * elf/tst-null-argv-lib.c: Library for test case.
20213         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20214         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20215         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20216         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20217         * elf/dl-init.c (call_init): Likewise.
20218         (_dl_init): Likewise.
20219         * elf/dl-load.c (print_search_path): Likewise.
20220         (_dl_map_object): Likewise.
20221         * elf/dl-lookup.c (do_lookup_x): Likewise.
20222         (add_dependency): Likewise.
20223         (_dl_lookup_symbol_x): Likewise.
20224         (_dl_debug_bindings): Likewise.
20225         * elf/dl-open.c (_dl_show_scope): Likewise.
20226         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20227         * elf/dl-version.c (match_symbol): Likewise.
20228         (_dl_check_map_versions): Likewise.
20229         * elf/rtld.c (dl_main): Likewise.
20230         (print_unresolved): Use RTLD_PROGNAME.
20231         (print_missing_version): Likewise.
20232         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20233         (elf_machine_rela): Likewise.
20234         * sysdeps/powerpc/powerpc32/dl-machine.c
20235         (__process_machine_rela): Likewise.
20236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20237         Likewise.
20238         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20239         Likewise.
20240         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20241         Likewise.
20242         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20243         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20244         Likewise.
20245         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20246         Likewise.
20247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20248
20249 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20250
20251         * po/be.po: Add descriptive title.
20252         * po/zh_CN.po: Likewise.
20253         * po/header.pot: Likewise.
20254
20255 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20256
20257         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20258         error message.
20259         (enlarge_archive): Likewise.
20260
20261 2013-05-28  Ben North  <ben@redfrontdoor.org>
20262
20263         * manual/arith.texi (frexp): It is the magnitude of the return
20264         value which lies in [0.5, 1), not the return value itself.
20265
20266 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20267
20268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20269
20270 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20271
20272         * stdio-common/bug26.c (main): Correct fscanf template.
20273
20274         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20275         declare _dl_skip_args.
20276
20277         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20278         Don't declare.
20279
20280         * manual/platform.texi: Add missing @end deftypefun.
20281
20282 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20283
20284         [BZ #15529]
20285         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20286         bit of mantissa of 2^16382.
20287         * math/libm-test.inc (hypot_test_data): Add more tests.
20288
20289         * math/libm-test.inc: Add drem and pow10 to list of tested
20290         functions.
20291         (pow10_test): New function.
20292         (drem_test): Likewise.
20293         (drem_test_tonearest): Likewise.
20294         (drem_test_towardzero): Likewise.
20295         (drem_test_downward): Likewise.
20296         (drem_test_upward): Likewise.
20297         (main): Call the new functions.
20298
20299         * math/libm-test.inc (finite_test_data): Remove.
20300         (finite_test): Run tests from isfinite_test_data.
20301         (gamma_test_data): Remove.
20302         (gamma_test): Run tests from lgamma_test_data.
20303         * sysdeps/i386/fpu/libm-test-ulps: Update.
20304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305
20306 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20307
20308         * manual/platform.texi: Add PowerPC PPR function set documentation.
20309         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20310         implementation.
20311
20312 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20313
20314         * math/libm-test.inc (MAX_EXP): Define.
20315         (ULPDIFF): Define.
20316         (ulp): New function.
20317         (check_float_internal): Use ULPDIFF.
20318         (cpow_test): Disable failing test.
20319         (check_ulp): Test ulp() implemetnation.
20320         (main): Call check_ulp before starting tests.
20321
20322 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20323
20324         * math/gen-libm-test.pl (generate_testfile): Do not handle
20325         START_DATA and END_DATA.
20326         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20327         END_DATA.
20328         (acos_tonearest_test_data): Likewise.
20329         (acos_towardzero_test_data): Likewise.
20330         (acos_downward_test_data): Likewise.
20331         (acos_upward_test_data): Likewise.
20332         (acosh_test_data): Likewise.
20333         (asin_test_data): Likewise.
20334         (asin_tonearest_test_data): Likewise.
20335         (asin_towardzero_test_data): Likewise.
20336         (asin_downward_test_data): Likewise.
20337         (asin_upward_test_data): Likewise.
20338         (asinh_test_data): Likewise.
20339         (atan_test_data): Likewise.
20340         (atanh_test_data): Likewise.
20341         (atan2_test_data): Likewise.
20342         (cabs_test_data): Likewise.
20343         (cacos_test_data): Likewise.
20344         (cacosh_test_data): Likewise.
20345         (carg_test_data): Likewise.
20346         (casin_test_data): Likewise.
20347         (casinh_test_data): Likewise.
20348         (catan_test_data): Likewise.
20349         (catanh_test_data): Likewise.
20350         (cbrt_test_data): Likewise.
20351         (ccos_test_data): Likewise.
20352         (ccosh_test_data): Likewise.
20353         (ceil_test_data): Likewise.
20354         (cexp_test_data): Likewise.
20355         (cimag_test_data): Likewise.
20356         (clog_test_data): Likewise.
20357         (clog10_test_data): Likewise.
20358         (conj_test_data): Likewise.
20359         (copysign_test_data): Likewise.
20360         (cos_test_data): Likewise.
20361         (cos_tonearest_test_data): Likewise.
20362         (cos_towardzero_test_data): Likewise.
20363         (cos_downward_test_data): Likewise.
20364         (cos_upward_test_data): Likewise.
20365         (cosh_test_data): Likewise.
20366         (cosh_tonearest_test_data): Likewise.
20367         (cosh_towardzero_test_data): Likewise.
20368         (cosh_downward_test_data): Likewise.
20369         (cosh_upward_test_data): Likewise.
20370         (cpow_test_data): Likewise.
20371         (cproj_test_data): Likewise.
20372         (creal_test_data): Likewise.
20373         (csin_test_data): Likewise.
20374         (csinh_test_data): Likewise.
20375         (csqrt_test_data): Likewise.
20376         (ctan_test_data): Likewise.
20377         (ctan_tonearest_test_data): Likewise.
20378         (ctan_towardzero_test_data): Likewise.
20379         (ctan_downward_test_data): Likewise.
20380         (ctan_upward_test_data): Likewise.
20381         (ctanh_test_data): Likewise.
20382         (ctanh_tonearest_test_data): Likewise.
20383         (ctanh_towardzero_test_data): Likewise.
20384         (ctanh_downward_test_data): Likewise.
20385         (ctanh_upward_test_data): Likewise.
20386         (erf_test_data): Likewise.
20387         (erfc_test_data): Likewise.
20388         (exp_test_data): Likewise.
20389         (exp_tonearest_test_data): Likewise.
20390         (exp_towardzero_test_data): Likewise.
20391         (exp_downward_test_data): Likewise.
20392         (exp_upward_test_data): Likewise.
20393         (exp10_test_data): Likewise.
20394         (exp2_test_data): Likewise.
20395         (expm1_test_data): Likewise.
20396         (fabs_test_data): Likewise.
20397         (fdim_test_data): Likewise.
20398         (finite_test_data): Likewise.
20399         (floor_test_data): Likewise.
20400         (fma_test_data): Likewise.
20401         (fma_towardzero_test_data): Likewise.
20402         (fma_downward_test_data): Likewise.
20403         (fma_upward_test_data): Likewise.
20404         (fmax_test_data): Likewise.
20405         (fmin_test_data): Likewise.
20406         (fmod_test_data): Likewise.
20407         (fpclassify_test_data): Likewise.
20408         (frexp_test_data): Likewise.
20409         (gamma_test_data): Likewise.
20410         (hypot_test_data): Likewise.
20411         (ilogb_test_data): Likewise.
20412         (isfinite_test_data): Likewise.
20413         (isgreater_test_data): Likewise.
20414         (isgreaterequal_test_data): Likewise.
20415         (isinf_test_data): Likewise.
20416         (isless_test_data): Likewise.
20417         (islessequal_test_data): Likewise.
20418         (islessgreater_test_data): Likewise.
20419         (isnan_test_data): Likewise.
20420         (isnormal_test_data): Likewise.
20421         (issignaling_test_data): Likewise.
20422         (isunordered_test_data): Likewise.
20423         (j0_test_data): Likewise.
20424         (j1_test_data): Likewise.
20425         (jn_test_data): Likewise.
20426         (ldexp_test_data): Likewise.
20427         (lgamma_test_data): Likewise.
20428         (lrint_test_data): Likewise.
20429         (lrint_tonearest_test_data): Likewise.
20430         (lrint_towardzero_test_data): Likewise.
20431         (lrint_downward_test_data): Likewise.
20432         (lrint_upward_test_data): Likewise.
20433         (llrint_test_data): Likewise.
20434         (llrint_tonearest_test_data): Likewise.
20435         (llrint_towardzero_test_data): Likewise.
20436         (llrint_downward_test_data): Likewise.
20437         (llrint_upward_test_data): Likewise.
20438         (log_test_data): Likewise.
20439         (log10_test_data): Likewise.
20440         (log1p_test_data): Likewise.
20441         (log2_test_data): Likewise.
20442         (logb_test_data): Likewise.
20443         (logb_downward_test_data): Likewise.
20444         (lround_test_data): Likewise.
20445         (llround_test_data): Likewise.
20446         (modf_test_data): Likewise.
20447         (nearbyint_test_data): Likewise.
20448         (nextafter_test_data): Likewise.
20449         (nexttoward_test_data): Likewise.
20450         (pow_test_data): Likewise.
20451         (pow_tonearest_test_data): Likewise.
20452         (pow_towardzero_test_data): Likewise.
20453         (pow_downward_test_data): Likewise.
20454         (pow_upward_test_data): Likewise.
20455         (remainder_test_data): Likewise.
20456         (remainder_tonearest_test_data): Likewise.
20457         (remainder_towardzero_test_data): Likewise.
20458         (remainder_downward_test_data): Likewise.
20459         (remainder_upward_test_data): Likewise.
20460         (remquo_test_data): Likewise.
20461         (rint_test_data): Likewise.
20462         (rint_tonearest_test_data): Likewise.
20463         (rint_towardzero_test_data): Likewise.
20464         (rint_downward_test_data): Likewise.
20465         (rint_upward_test_data): Likewise.
20466         (round_test_data): Likewise.
20467         (scalb_test_data): Likewise.
20468         (scalbn_test_data): Likewise.
20469         (scalbln_test_data): Likewise.
20470         (signbit_test_data): Likewise.
20471         (sin_test_data): Likewise.
20472         (sin_tonearest_test_data): Likewise.
20473         (sin_towardzero_test_data): Likewise.
20474         (sin_downward_test_data): Likewise.
20475         (sin_upward_test_data): Likewise.
20476         (sincos_test_data): Likewise.
20477         (sinh_test_data): Likewise.
20478         (sinh_tonearest_test_data): Likewise.
20479         (sinh_towardzero_test_data): Likewise.
20480         (sinh_downward_test_data): Likewise.
20481         (sinh_upward_test_data): Likewise.
20482         (sqrt_test_data): Likewise.
20483         (tan_test_data): Likewise.
20484         (tan_tonearest_test_data): Likewise.
20485         (tan_towardzero_test_data): Likewise.
20486         (tan_downward_test_data): Likewise.
20487         (tan_upward_test_data): Likewise.
20488         (tanh_test_data): Likewise.
20489         (tgamma_test_data): Likewise.
20490         (trunc_test_data): Likewise.
20491         (y0_test_data): Likewise.
20492         (y1_test_data): Likewise.
20493         (yn_test_data): Likewise.
20494         (significand_test_data): Likewise.
20495
20496         * math/gen-libm-test.pl (@functions): Remove variable.
20497         (generate_testfile): Don't handle START and END lines.
20498         * math/libm-test.inc (START): New macro.
20499         (END): Likewise.
20500         (END_COMPLEX): Likewise.
20501         (acos_test): Use END macro without arguments.
20502         (acos_test_tonearest): Likewise.
20503         (acos_test_towardzero): Likewise.
20504         (acos_test_downward): Likewise.
20505         (acos_test_upward): Likewise.
20506         (acosh_test): Likewise.
20507         (asin_test): Likewise.
20508         (asin_test_tonearest): Likewise.
20509         (asin_test_towardzero): Likewise.
20510         (asin_test_downward): Likewise.
20511         (asin_test_upward): Likewise.
20512         (asinh_test): Likewise.
20513         (atan_test): Likewise.
20514         (atanh_test): Likewise.
20515         (atan2_test): Likewise.
20516         (cabs_test): Likewise.
20517         (cacos_test): Use END_COMPLEX macro without arguments.
20518         (cacosh_test): Likewise.
20519         (carg_test): Use END macro without arguments.
20520         (casin_test): Use END_COMPLEX macro without arguments.
20521         (casinh_test): Likewise.
20522         (catan_test): Likewise.
20523         (catanh_test): Likewise.
20524         (cbrt_test): Use END macro without arguments.
20525         (ccos_test): Use END_COMPLEX macro without arguments.
20526         (ccosh_test): Likewise.
20527         (ceil_test): Use END macro without arguments.
20528         (cexp_test): Use END_COMPLEX macro without arguments.
20529         (cimag_test): Use END macro without arguments.
20530         (clog_test): Use END_COMPLEX macro without arguments.
20531         (clog10_test): Likewise.
20532         (conj_test): Likewise.
20533         (copysign_test): Use END macro without arguments.
20534         (cos_test): Likewise.
20535         (cos_test_tonearest): Likewise.
20536         (cos_test_towardzero): Likewise.
20537         (cos_test_downward): Likewise.
20538         (cos_test_upward): Likewise.
20539         (cosh_test): Likewise.
20540         (cosh_test_tonearest): Likewise.
20541         (cosh_test_towardzero): Likewise.
20542         (cosh_test_downward): Likewise.
20543         (cosh_test_upward): Likewise.
20544         (cpow_test): Use END_COMPLEX macro without arguments.
20545         (cproj_test): Likewise.
20546         (creal_test): Use END macro without arguments.
20547         (csin_test): Use END_COMPLEX macro without arguments.
20548         (csinh_test): Likewise.
20549         (csqrt_test): Likewise.
20550         (ctan_test): Likewise.
20551         (ctan_test_tonearest): Likewise.
20552         (ctan_test_towardzero): Likewise.
20553         (ctan_test_downward): Likewise.
20554         (ctan_test_upward): Likewise.
20555         (ctanh_test): Likewise.
20556         (ctanh_test_tonearest): Likewise.
20557         (ctanh_test_towardzero): Likewise.
20558         (ctanh_test_downward): Likewise.
20559         (ctanh_test_upward): Likewise.
20560         (erf_test): Use END macro without arguments.
20561         (erfc_test): Likewise.
20562         (exp_test): Likewise.
20563         (exp_test_tonearest): Likewise.
20564         (exp_test_towardzero): Likewise.
20565         (exp_test_downward): Likewise.
20566         (exp_test_upward): Likewise.
20567         (exp10_test): Likewise.
20568         (exp2_test): Likewise.
20569         (expm1_test): Likewise.
20570         (fabs_test): Likewise.
20571         (fdim_test): Likewise.
20572         (finite_test): Likewise.
20573         (floor_test): Likewise.
20574         (fma_test): Likewise.
20575         (fma_test_towardzero): Likewise.
20576         (fma_test_downward): Likewise.
20577         (fma_test_upward): Likewise.
20578         (fmax_test): Likewise.
20579         (fmin_test): Likewise.
20580         (fmod_test): Likewise.
20581         (fpclassify_test): Likewise.
20582         (frexp_test): Likewise.
20583         (gamma_test): Likewise.
20584         (hypot_test): Likewise.
20585         (ilogb_test): Likewise.
20586         (isfinite_test): Likewise.
20587         (isgreater_test): Likewise.
20588         (isgreaterequal_test): Likewise.
20589         (isinf_test): Likewise.
20590         (isless_test): Likewise.
20591         (islessequal_test): Likewise.
20592         (islessgreater_test): Likewise.
20593         (isnan_test): Likewise.
20594         (isnormal_test): Likewise.
20595         (issignaling_test): Likewise.
20596         (isunordered_test): Likewise.
20597         (j0_test): Likewise.
20598         (j1_test): Likewise.
20599         (jn_test): Likewise.
20600         (ldexp_test): Likewise.
20601         (lgamma_test): Likewise.
20602         (lrint_test): Likewise.
20603         (lrint_test_tonearest): Likewise.
20604         (lrint_test_towardzero): Likewise.
20605         (lrint_test_downward): Likewise.
20606         (lrint_test_upward): Likewise.
20607         (llrint_test): Likewise.
20608         (llrint_test_tonearest): Likewise.
20609         (llrint_test_towardzero): Likewise.
20610         (llrint_test_downward): Likewise.
20611         (llrint_test_upward): Likewise.
20612         (log_test): Likewise.
20613         (log10_test): Likewise.
20614         (log1p_test): Likewise.
20615         (log2_test): Likewise.
20616         (logb_test): Likewise.
20617         (logb_test_downward): Likewise.
20618         (lround_test): Likewise.
20619         (llround_test): Likewise.
20620         (modf_test): Likewise.
20621         (nearbyint_test): Likewise.
20622         (nextafter_test): Likewise.
20623         (nexttoward_test): Likewise.
20624         (pow_test): Likewise.
20625         (pow_test_tonearest): Likewise.
20626         (pow_test_towardzero): Likewise.
20627         (pow_test_downward): Likewise.
20628         (pow_test_upward): Likewise.
20629         (remainder_test): Likewise.
20630         (remainder_test_tonearest): Likewise.
20631         (remainder_test_towardzero): Likewise.
20632         (remainder_test_downward): Likewise.
20633         (remainder_test_upward): Likewise.
20634         (remquo_test): Likewise.
20635         (rint_test): Likewise.
20636         (rint_test_tonearest): Likewise.
20637         (rint_test_towardzero): Likewise.
20638         (rint_test_downward): Likewise.
20639         (rint_test_upward): Likewise.
20640         (round_test): Likewise.
20641         (scalb_test): Likewise.
20642         (scalbn_test): Likewise.
20643         (scalbln_test): Likewise.
20644         (signbit_test): Likewise.
20645         (sin_test): Likewise.
20646         (sin_test_tonearest): Likewise.
20647         (sin_test_towardzero): Likewise.
20648         (sin_test_downward): Likewise.
20649         (sin_test_upward): Likewise.
20650         (sincos_test): Likewise.
20651         (sinh_test): Likewise.
20652         (sinh_test_tonearest): Likewise.
20653         (sinh_test_towardzero): Likewise.
20654         (sinh_test_downward): Likewise.
20655         (sinh_test_upward): Likewise.
20656         (sqrt_test): Likewise.
20657         (tan_test): Likewise.
20658         (tan_test_tonearest): Likewise.
20659         (tan_test_towardzero): Likewise.
20660         (tan_test_downward): Likewise.
20661         (tan_test_upward): Likewise.
20662         (tanh_test): Likewise.
20663         (tgamma_test): Likewise.
20664         (trunc_test): Likewise.
20665         (y0_test): Likewise.
20666         (y1_test): Likewise.
20667         (yn_test): Likewise.
20668         (significand_test): Likewise.
20669
20670 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20671
20672         [BZ #15381]
20673         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20674
20675 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20676
20677         [BZ #14894]
20678         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20679         __ppc_mdoio and __ppc_mdoom.
20680         * manual/platform.texi: Document new functions __ppc_yield,
20681         __ppc_mdoio and __ppc_mdoom.
20682
20683 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20684
20685         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20686         (main): Mention "tls" pseudo-hwcap is legacy.
20687         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20688
20689 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20690
20691         * math/gen-libm-test.pl (parse_args): Output only string of
20692         arguments as text for test name, not full call or descriptions of
20693         tests for extra outputs.
20694         (generate_testfile): Do not pass function name to parse_args.
20695         Generate this_func variable from START.
20696         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20697         field to arg_str.
20698         (struct test_ff_f_data): Likewise.
20699         (test_ff_f_data_nexttoward): Likewise.
20700         (struct test_fi_f_data): Likewise.
20701         (struct test_fl_f_data): Likewise.
20702         (struct test_if_f_data): Likewise.
20703         (struct test_fff_f_data): Likewise.
20704         (struct test_c_f_data): Likewise.
20705         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20706         (struct test_fF_f1_data): Likewise.
20707         (struct test_ffI_f1_data): Likewise.
20708         (struct test_c_c_data): Rename test_name field to arg_str.
20709         (struct test_cc_c_data): Likewise.
20710         (struct test_f_i_data): Likewise.
20711         (struct test_ff_i_data): Likewise.
20712         (struct test_f_l_data): Likewise.
20713         (struct test_f_L_data): Likewise.
20714         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20715         and extra2_name.
20716         (COMMON_TEST_SETUP): New macro.
20717         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20718         (COMMON_TEST_CLEANUP): Likewise.
20719         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20720         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20721         macros.
20722         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20723         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20724         macros.
20725         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20726         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20727         cleanup macros.
20728         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20729         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20730         macros.
20731         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20732         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20733         macros.
20734         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20735         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20736         cleanup macros.
20737         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20738         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20739         cleanup macros.
20740         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20741         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20742         cleanup macros.
20743         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20744         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20745         macros.
20746         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20747         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20748         macros.
20749         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20750         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20751         macros.
20752         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20753         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20754         cleanup macros.
20755         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20756         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20757         cleanup macros.
20758         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20759         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20760         macros.
20761         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20762         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20763         cleanup macros.
20764         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20765         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20766         macros.
20767         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20768         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20769         macros.
20770         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20771         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20772         cleanup macros.
20773         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20774
20775 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20776
20777         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20778         to _sifields.sigfault.
20779         (si_addr_lsb): Define new macro.
20780         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20781         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20782         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20783
20784 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20785
20786         [BZ #15441]
20787         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20788         returns -1.
20789         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20790         null return -1.
20791         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20792         loading the domain.
20793
20794 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20795
20796         * math/gen-libm-test.pl (parse_args): Do not include expected
20797         result in test name.
20798         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20799         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20800         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20801         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20802         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20804
20805 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20806
20807         * benchtests/Makefile: Sort function entries.
20808
20809         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20810         tanh, asinh, acosh, atanh.
20811         * benchtests/acos-inputs: New file.
20812         * benchtests/acosh-inputs: New file.
20813         * benchtests/asin-inputs: New file.
20814         * benchtests/asinh-inputs: New file.
20815         * benchtests/atanh-inputs: New file.
20816         * benchtests/cosh-inputs: New file.
20817         * benchtests/log-inputs: New file.
20818         * benchtests/sinh-inputs: New file.
20819         * benchtests/tanh-inputs: New file.
20820
20821 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20822
20823         [BZ #15339]
20824         * posix/tst-getaddrinfo4.c: New test.
20825         * posix/Makefile (tests): Add it.
20826
20827 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20828
20829         [BZ #15339]
20830         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20831         when no services were used.
20832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20833         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20834
20835 2013-05-21  Andreas Schwab  <schwab@suse.de>
20836
20837         [BZ #15014]
20838         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20839         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20840         successful.
20841         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20842         redundant variable declarations and reallocation of buffer when
20843         parsing as IPv6 address.  Always set NSS status when called from
20844         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20845         buffer too small.  Correct computation of needed size.
20846         * nss/Makefile (tests): Add test-digits-dots.
20847         * nss/test-digits-dots.c: New test.
20848
20849 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20850
20851         * benchtests/Makefile: Remove instructions for adding
20852         benchmark tests.
20853         * benchtests/README: New file to explain how to execute and
20854         enhance the benchmark tests.
20855
20856 2013-05-21  Andreas Schwab  <schwab@suse.de>
20857
20858         [BZ #15493]
20859         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20860         * setjmp/tst-sigsetjmp.c: New test.
20861
20862 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20863
20864         * sysdeps/x86_64/memset.S (memset): New implementation.
20865         (__bzero): Likewise.
20866         (__memset_tail): New function.
20867
20868 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20869
20870         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20871         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20872         __memcpy_sse2_unaligned ifunc selection.
20873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20874         Add memcpy-sse2-unaligned.S.
20875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20876         Add: __memcpy_sse2_unaligned.
20877
20878 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20879
20880         [BZ #15490]
20881         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20882         math_force_eval before restoring floating-point envrionment.
20883         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20884         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20885         Likewise.
20886         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20887         <math_private.h>.
20888         (__nearbyintl): Use math_force_eval before restoring
20889         floating-point environment.
20890         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20891
20892         * math/gen-libm-test.pl (special_functions): Remove.
20893         (parse_args): Don't handle TEST_extra.  Handle functions with no
20894         return value.
20895         * math/libm-test.inc (struct test_sincos_data): Replace with
20896         struct test_fFF_11_data.
20897         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20898         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20899         (sincos_test_data): Change element type to struct
20900         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20901         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20902         RUN_TEST_LOOP_sincos.
20903         * math/README.libm-test: Don't mention special handling of
20904         individual functions.
20905         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20906         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20907         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20908         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20909         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20911
20912         * math/gen-libm-test.pl (get_variable): Remove function.
20913         (parse_args): Don't show pointer parameters to call in test
20914         names.  Use "extra output N" in test names for extra outputs
20915         rather than naming variables.
20916
20917 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20918
20919         [BZ #15488]
20920         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20921         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20922         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20923         double tests.
20924         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20925         disable.
20926         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20927         check_long_double.
20928
20929         * math/gen-libm-test.pl (@tests): Remove variable.
20930         ($count): Likewise.
20931         (new_test): Remove function.
20932         (show_exceptions): New function.
20933         (special_functions): Use show_exceptions instead of new_test.
20934         (parse_args): Likewise.
20935         (generate_testfile): Pass only function name in generated call to
20936         print_max_error or print_complex_max_error.
20937         (get_ulps): Do not handle complex tests specially.
20938         (output_test): Rename to ...
20939         (get_all_ulps_for_test): ... this.  Return a string rather than
20940         printing to a file.  Require ulps to be present.
20941         (output_ulps): Generate arrays rather than #defines.
20942         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20943         (struct ulp_data): New type.
20944         (BUILD_COMPLEX_ULP): Remove macro.
20945         (compare_ulp_data): New function.
20946         (find_ulps): Likewise.
20947         (find_test_ulps): Likewise.
20948         (find_function_ulps): Likewise.
20949         (find_complex_function_ulps): Likewise.
20950         (print_max_error): Determine allowed ulps using
20951         find_function_ulps.
20952         (print_complex_max_error): Determine allowed ulps using
20953         find_complex_function_ulps.
20954         (check_float_internal): Determine max ulps using find_test_ulps.
20955         (check_float): Do not take max_ulp parameter.  Update call to
20956         check_float_internal.
20957         (check_complex): Likewise.
20958         (check_int): Do not take max_ulp parameter.
20959         (check_long): Likewise.
20960         (check_bool): Likewise.
20961         (check_longlong): Likewise.
20962         (struct test_f_f_data): Remove max_ulp field.
20963         (struct test_ff_f_data): Likewise.
20964         (struct test_ff_f_data_nexttoward): Likewise.
20965         (struct test_fi_f_data): Likewise.
20966         (struct test_fl_f_data): Likewise.
20967         (struct test_if_f_data): Likewise.
20968         (struct test_fff_f_data): Likewise.
20969         (struct test_c_f_data): Likewise.
20970         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20971         (struct test_fF_f1_data): Likewise.
20972         (struct test_ffI_f1_data): Likewise.
20973         (struct test_c_c_data): Remove max_ulp field.
20974         (struct test_cc_c_data): Likewise.
20975         (struct test_f_i_data): Likewise.
20976         (struct test_ff_i_data): Likewise.
20977         (struct test_f_l_data): Likewise.
20978         (struct test_f_L_data): Likewise.
20979         (struct test_sincos_data): Likewise.
20980         (RUN_TEST_f_f): Do not handle ulps.
20981         (RUN_TEST_LOOP_f_f): Likewise.
20982         (RUN_TEST_2_f): Likewise.
20983         (RUN_TEST_LOOP_2_f): Likewise.
20984         (RUN_TEST_fff_f): Likewise.
20985         (RUN_TEST_LOOP_fff_f): Likewise.
20986         (RUN_TEST_c_f): Likewise.
20987         (RUN_TEST_LOOP_c_f): Likewise.
20988         (RUN_TEST_f_f1): Likewise.
20989         (RUN_TEST_LOOP_f_f1): Likewise.
20990         (RUN_TEST_fF_f1): Likewise.
20991         (RUN_TEST_LOOP_fF_f1): Likewise.
20992         (RUN_TEST_fI_f1): Likewise.
20993         (RUN_TEST_LOOP_fI_f1): Likewise.
20994         (RUN_TEST_ffI_f1): Likewise.
20995         (RUN_TEST_LOOP_ffI_f1): Likewise.
20996         (RUN_TEST_c_c): Likewise.
20997         (RUN_TEST_LOOP_c_c): Likewise.
20998         (RUN_TEST_cc_c): Likewise.
20999         (RUN_TEST_LOOP_cc_c): Likewise.
21000         (RUN_TEST_f_i): Likewise.
21001         (RUN_TEST_LOOP_f_i): Likewise.
21002         (RUN_TEST_f_i_tg): Likewise.
21003         (RUN_TEST_LOOP_f_i_tg): Likewise.
21004         (RUN_TEST_ff_i_tg): Likewise.
21005         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21006         (RUN_TEST_f_b): Likewise.
21007         (RUN_TEST_LOOP_f_b): Likewise.
21008         (RUN_TEST_f_b_tg): Likewise.
21009         (RUN_TEST_LOOP_f_b_tg): Likewise.
21010         (RUN_TEST_f_l): Likewise.
21011         (RUN_TEST_LOOP_f_l): Likewise.
21012         (RUN_TEST_f_L): Likewise.
21013         (RUN_TEST_LOOP_f_L): Likewise.
21014         (RUN_TEST_sincos): Likewise.
21015         (RUN_TEST_LOOP_sincos): Likewise.
21016
21017 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21018
21019         [BZ #15480]
21020         [BZ #15485]
21021         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21022         main case of finite arguments, set rounding mode to FE_TONEAREST
21023         and discard exceptions.
21024         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21025         exceptions.
21026         (remainder_tonearest_test_data): New variable.
21027         (remainder_test_tonearest): New function.
21028         (remainder_towardzero_test_data): New variable.
21029         (remainder_test_towardzero): New function.
21030         (remainder_downward_test_data): New variable.
21031         (remainder_test_downward): New function.
21032         (remainder_upward_test_data): New variable.
21033         (remainder_test_upward): New function.
21034         (main): Call the new test functions.
21035
21036         * math/libm-test.inc (struct test_f_f1_data): Remove field
21037         extra_init.
21038         (struct test_fF_f1_data): Likewise.
21039         (struct test_ffI_f1_data): Likewise.
21040         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21041         based on value of EXTRA_EXPECTED.
21042         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21043         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21044         EXTRA_VAR based on value of EXTRA_EXPECTED.
21045         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21046         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21047         EXTRA_VAR based on value of EXTRA_EXPECTED.
21048         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21049         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21050         EXTRA_VAR based on value of EXTRA_EXPECTED.
21051         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21052         * math/gen-libm-test.pl (parse_args): Don't output initializers
21053         for extra output values.
21054
21055         * math/libm-test.inc (check_int): Expect result to be exactly
21056         equal to expected value and do not handle ulps.
21057         (check_long): Likewise.
21058         (check_longlong): Likewise.
21059
21060         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21061         exceptions.
21062         (cimag_test_data): Likewise.
21063         (conj_test_data): Likewise.
21064         (copysign_test_data): Likewise.
21065         (cproj_test_data): Likewise.
21066         (creal_test_data): Likewise.
21067         (fabs_test_data): Likewise.
21068         (fdim_test_data): Likewise.
21069         (finite_test_data): Likewise.
21070         (floor_test_data): Likewise.
21071         (fmax_test_data): Likewise.
21072         (fmin_test_data): Likewise.
21073         (fmod_test_data): Likewise.
21074         (fpclassify_test_data): Likewise.
21075         (frexp_test_data): Likewise.
21076         (ilogb_test_data): Likewise.
21077         (isfinite_test_data): Likewise.
21078         (isgreater_test_data): Likewise.
21079         (isgreaterequal_test_data): Likewise.
21080         (isinf_test_data): Likewise.
21081         (isless_test_data): Likewise.
21082         (islessequal_test_data): Likewise.
21083         (islessgreater_test_data): Likewise.
21084         (isnan_test_data): Likewise.
21085         (isnormal_test_data): Likewise.
21086         (issignaling_test_data): Likewise.
21087         (isunordered_test_data): Likewise.
21088         (ldexp_test_data): Likewise.
21089         (lrint_test_data): Likewise.
21090         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21091         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21092         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21093         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21094         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21095         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21096         test input.
21097         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21098         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21099         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21100         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21101         that test input.
21102         (lrint_downward_test_data): Test for "inexact" exceptions.
21103         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21104         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21105         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21106         test input.
21107         (lrint_upward_test_data): Test for "inexact" exceptions.
21108         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21109         test input.
21110         (llrint_test_data): Test for "inexact" exceptions.
21111         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21112         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21113         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21114         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21115         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21116         (llrint_downward_test_data): Test for "inexact" exceptions.
21117         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21118         (llrint_upward_test_data): Test for "inexact" exceptions.
21119         (logb_test_data): Likewise.
21120         (logb_downward_test_data): Likewise.
21121         (nextafter_test_data): Likewise.
21122         (nexttoward_test_data): Likewise.
21123         (remainder_test_data): Likewise.
21124         (remquo_test_data): Likewise.
21125         (scalbn_test_data): Likewise.
21126         (scalbln_test_data): Likewise.
21127         (signbit_test_data): Likewise.
21128         (sqrt_test_data): Likewise.
21129         (significand_test_data): Likewise.
21130
21131 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21132
21133         [BZ #15424]
21134         * benchtests/bench-modf.c (struct args): Mark arg0 as
21135         volatile.
21136         * scripts/bench.pl: Mark members of struct args as volatile.
21137
21138 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21139
21140         [BZ # 15497]
21141         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21142         negative infinity on POWER6 or lower.
21143         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21144
21145 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21146
21147         [BZ #15442]
21148         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21149         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21150         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21151         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21152         (_FP_SETQNAN): New macro.
21153         (_FP_SETQNAN_SEMIRAW): Likewise.
21154         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21155         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21156         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21157         (FP_EXTEND): Use _FP_FRAC_SNANP.
21158         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21159         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21160         into account.
21161         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21162         New macro.
21163         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21164         Likewise.
21165
21166 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21167
21168         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21169         with DIVIDE_BY_ZERO_EXCEPTION.
21170         (gamma_test_data): Likewise.
21171         (lgamma_test_data): Likewise.
21172         (log_test_data): Likewise.
21173         (log10_test_data): Likewise.
21174         (log2_test_data): Likewise.
21175         (tgamma_test_data): Likewise.
21176
21177         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21178         (acos_test_tonearest): Likewise.
21179         (acos_test_towardzero): Likewise.
21180         (acos_test_downward): Likewise.
21181         (acos_test_upward): Likewise.
21182         (acosh_test): Likewise.
21183         (asin_test): Likewise.
21184         (asin_test_tonearest): Likewise.
21185         (asin_test_towardzero): Likewise.
21186         (asin_test_downward): Likewise.
21187         (asin_test_upward): Likewise.
21188         (asinh_test): Likewise.
21189         (atan_test): Likewise.
21190         (atanh_test): Likewise.
21191         (atan2_test): Likewise.
21192         (cabs_test): Likewise.
21193         (cacos_test): Likewise.
21194         (cacosh_test): Likewise.
21195         (casin_test): Likewise.
21196         (casinh_test): Likewise.
21197         (catan_test): Likewise.
21198         (catanh_test): Likewise.
21199         (cbrt_test): Likewise.
21200         (ccos_test): Likewise.
21201         (ccosh_test): Likewise.
21202         (cexp_test): Likewise.
21203         (clog_test): Likewise.
21204         (clog10_test): Likewise.
21205         (cos_test): Likewise.
21206         (cos_test_tonearest): Likewise.
21207         (cos_test_towardzero): Likewise.
21208         (cos_test_downward): Likewise.
21209         (cos_test_upward): Likewise.
21210         (cosh_test): Likewise.
21211         (cosh_test_tonearest): Likewise.
21212         (cosh_test_towardzero): Likewise.
21213         (cosh_test_downward): Likewise.
21214         (cosh_test_upward): Likewise.
21215         (cpow_test): Likewise.
21216         (csin_test): Likewise.
21217         (csinh_test): Likewise.
21218         (csqrt_test): Likewise.
21219         (ctan_test): Likewise.
21220         (ctan_test_tonearest): Likewise.
21221         (ctan_test_towardzero): Likewise.
21222         (ctan_test_downward): Likewise.
21223         (ctan_test_upward): Likewise.
21224         (ctanh_test): Likewise.
21225         (ctanh_test_tonearest): Likewise.
21226         (ctanh_test_towardzero): Likewise.
21227         (ctanh_test_downward): Likewise.
21228         (ctanh_test_upward): Likewise.
21229         (erf_test): Likewise.
21230         (erfc_test): Likewise.
21231         (exp_test): Likewise.
21232         (exp_test_tonearest): Likewise.
21233         (exp_test_towardzero): Likewise.
21234         (exp_test_downward): Likewise.
21235         (exp_test_upward): Likewise.
21236         (exp10_test): Likewise.
21237         (exp2_test): Likewise.
21238         (expm1_test): Likewise.
21239         (fmod_test): Likewise.
21240         (gamma_test): Likewise.
21241         (hypot_test): Likewise.
21242         (j0_test): Likewise.
21243         (j1_test): Likewise.
21244         (jn_test): Likewise.
21245         (lgamma_test): Likewise.
21246         (log_test): Likewise.
21247         (log10_test): Likewise.
21248         (log1p_test): Likewise.
21249         (log2_test): Likewise.
21250         (logb_test_downward): Likewise.
21251         (pow_test): Likewise.
21252         (pow_test_tonearest): Likewise.
21253         (pow_test_towardzero): Likewise.
21254         (pow_test_downward): Likewise.
21255         (pow_test_upward): Likewise.
21256         (remainder_test): Likewise.
21257         (remquo_test): Likewise.
21258         (sin_test): Likewise.
21259         (sin_test_tonearest): Likewise.
21260         (sin_test_towardzero): Likewise.
21261         (sin_test_downward): Likewise.
21262         (sin_test_upward): Likewise.
21263         (sincos_test): Likewise.
21264         (sinh_test): Likewise.
21265         (sinh_test_tonearest): Likewise.
21266         (sinh_test_towardzero): Likewise.
21267         (sinh_test_downward): Likewise.
21268         (sinh_test_upward): Likewise.
21269         (sqrt_test): Likewise.
21270         (tan_test): Likewise.
21271         (tan_test_tonearest): Likewise.
21272         (tan_test_towardzero): Likewise.
21273         (tan_test_downward): Likewise.
21274         (tan_test_upward): Likewise.
21275         (tanh_test): Likewise.
21276         (tgamma_test): Likewise.
21277         (y0_test): Likewise.
21278         (y1_test): Likewise.
21279         (yn_test): Likewise.
21280
21281         * math/gen-libm-test.pl (adjust_arg): Remove function.
21282         (special_function): Remove argument $in_func.  Only handle
21283         generating output for tables of tests, not inside functions.
21284         (parse_args): Likewise.
21285         (generate_testfile): Remove variable $in_func.  Update call to
21286         parse_args.
21287         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21288         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21289         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21290         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21291         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21292         (MAX_VALUE_INIT): Rename macro to max_value.
21293         (MIN_VALUE_INIT): Rename macro to min_value.
21294         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21295         (plus_zero): Remove variable.
21296         (minus_zero): Likewise.
21297         (plus_infty): Likewise.
21298         (minus_infty): Likewise.
21299         (qnan_value): Likewise.
21300         (max_value): Likewise.
21301         (min_value): Likewise.
21302         (min_subnorm_value): Likewise.
21303
21304 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21305
21306         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21307         uint64_t or uint32_t usage.
21308         * crypt/sha256-block.c: Likewise.
21309         * crypt/sha256-crypt.c: Likewise.
21310         * crypt/sha256.c: Likewise.
21311         * crypt/sha512-block.c: Likewise.
21312         * crypt/sha512-crypt.c: Likewise.
21313         * crypt/sha512.c: Likewise.
21314         * debug/backtrace-tst.c: Likewise.
21315         * debug/pcprofiledump.c: Likewise.
21316         * elf/cache.c: Likewise.
21317         * elf/dl-cache.c: Likewise.
21318         * elf/dl-misc.c: Likewise.
21319         * elf/dl-profile.c: Likewise.
21320         * elf/dl-support.c: Likewise.
21321         * elf/ldconfig.c: Likewise.
21322         * elf/sprof.c: Likewise.
21323         * iconv/dummy-repertoire.c: Likewise.
21324         * iconv/iconv_charmap.c: Likewise.
21325         * iconv/skeleton.c: Likewise.
21326         * iconvdata/8bit-generic.c: Likewise.
21327         * iconvdata/cp737.h: Likewise.
21328         * iconvdata/cp775.h: Likewise.
21329         * iconvdata/ibm1008.h: Likewise.
21330         * iconvdata/ibm1025.h: Likewise.
21331         * iconvdata/ibm1046.h: Likewise.
21332         * iconvdata/ibm1097.h: Likewise.
21333         * iconvdata/ibm1112.h: Likewise.
21334         * iconvdata/ibm1122.h: Likewise.
21335         * iconvdata/ibm1123.h: Likewise.
21336         * iconvdata/ibm1124.h: Likewise.
21337         * iconvdata/ibm1129.h: Likewise.
21338         * iconvdata/ibm1130.h: Likewise.
21339         * iconvdata/ibm1132.h: Likewise.
21340         * iconvdata/ibm1133.h: Likewise.
21341         * iconvdata/ibm1137.h: Likewise.
21342         * iconvdata/ibm1140.h: Likewise.
21343         * iconvdata/ibm1141.h: Likewise.
21344         * iconvdata/ibm1142.h: Likewise.
21345         * iconvdata/ibm1143.h: Likewise.
21346         * iconvdata/ibm1144.h: Likewise.
21347         * iconvdata/ibm1145.h: Likewise.
21348         * iconvdata/ibm1146.h: Likewise.
21349         * iconvdata/ibm1147.h: Likewise.
21350         * iconvdata/ibm1148.h: Likewise.
21351         * iconvdata/ibm1149.h: Likewise.
21352         * iconvdata/ibm1153.h: Likewise.
21353         * iconvdata/ibm1154.h: Likewise.
21354         * iconvdata/ibm1155.h: Likewise.
21355         * iconvdata/ibm1156.h: Likewise.
21356         * iconvdata/ibm1157.h: Likewise.
21357         * iconvdata/ibm1158.h: Likewise.
21358         * iconvdata/ibm1160.h: Likewise.
21359         * iconvdata/ibm1161.h: Likewise.
21360         * iconvdata/ibm1162.h: Likewise.
21361         * iconvdata/ibm1163.h: Likewise.
21362         * iconvdata/ibm1164.h: Likewise.
21363         * iconvdata/ibm1166.h: Likewise.
21364         * iconvdata/ibm1167.h: Likewise.
21365         * iconvdata/ibm12712.h: Likewise.
21366         * iconvdata/ibm1390.h: Likewise.
21367         * iconvdata/ibm1399.h: Likewise.
21368         * iconvdata/ibm16804.h: Likewise.
21369         * iconvdata/ibm4517.h: Likewise.
21370         * iconvdata/ibm4899.h: Likewise.
21371         * iconvdata/ibm4909.h: Likewise.
21372         * iconvdata/ibm4971.h: Likewise.
21373         * iconvdata/ibm5347.h: Likewise.
21374         * iconvdata/ibm803.h: Likewise.
21375         * iconvdata/ibm856.h: Likewise.
21376         * iconvdata/ibm901.h: Likewise.
21377         * iconvdata/ibm902.h: Likewise.
21378         * iconvdata/ibm9030.h: Likewise.
21379         * iconvdata/ibm9066.h: Likewise.
21380         * iconvdata/ibm921.h: Likewise.
21381         * iconvdata/ibm922.h: Likewise.
21382         * iconvdata/ibm9448.h: Likewise.
21383         * iconvdata/isiri-3342.h: Likewise.
21384         * iconvdata/jis0201.h: Likewise.
21385         * include/link.h: Likewise.
21386         * include/netdb.h: Likewise.
21387         * inet/check_native.c: Likewise.
21388         * inet/check_pf.c: Likewise.
21389         * inet/getipv4sourcefilter.c: Likewise.
21390         * inet/getnameinfo.c: Likewise.
21391         * inet/getsourcefilter.c: Likewise.
21392         * inet/htonl.c: Likewise.
21393         * inet/setipv4sourcefilter.c: Likewise.
21394         * inet/setsourcefilter.c: Likewise.
21395         * inet/test-inet6_opt.c: Likewise.
21396         * inet/tst-network.c: Likewise.
21397         * locale/C-collate.c: Likewise.
21398         * locale/C-ctype.c: Likewise.
21399         * locale/C-time.c: Likewise.
21400         * locale/C-translit.h: Likewise.
21401         * locale/loadarchive.c: Likewise.
21402         * locale/programs/3level.h: Likewise.
21403         * locale/programs/charmap.c: Likewise.
21404         * locale/programs/charmap.h: Likewise.
21405         * locale/programs/ld-address.c: Likewise.
21406         * locale/programs/ld-collate.c: Likewise.
21407         * locale/programs/ld-ctype.c: Likewise.
21408         * locale/programs/ld-identification.c: Likewise.
21409         * locale/programs/ld-measurement.c: Likewise.
21410         * locale/programs/ld-messages.c: Likewise.
21411         * locale/programs/ld-monetary.c: Likewise.
21412         * locale/programs/ld-name.c: Likewise.
21413         * locale/programs/ld-numeric.c: Likewise.
21414         * locale/programs/ld-paper.c: Likewise.
21415         * locale/programs/ld-telephone.c: Likewise.
21416         * locale/programs/ld-time.c: Likewise.
21417         * locale/programs/linereader.c: Likewise.
21418         * locale/programs/locale.c: Likewise.
21419         * locale/programs/locarchive.c: Likewise.
21420         * locale/programs/locfile.h: Likewise.
21421         * locale/programs/repertoire.c: Likewise.
21422         * locale/programs/simple-hash.c: Likewise.
21423         * locale/programs/simple-hash.h: Likewise.
21424         * malloc/memusage.c: Likewise.
21425         * malloc/memusagestat.c: Likewise.
21426         * nis/nis_defaults.c: Likewise.
21427         * nis/nis_hash.c: Likewise.
21428         * nis/nis_print.c: Likewise.
21429         * nis/nis_xdr.c: Likewise.
21430         * nscd/connections.c: Likewise.
21431         * nscd/hstcache.c: Likewise.
21432         * nscd/nscd_gethst_r.c: Likewise.
21433         * nscd/nscd_getserv_r.c: Likewise.
21434         * nscd/nscd_helper.c: Likewise.
21435         * nscd/servicescache.c: Likewise.
21436         * nss/makedb.c: Likewise.
21437         * nss/nss_db/db-XXX.c: Likewise.
21438         * nss/nss_db/db-initgroups.c: Likewise.
21439         * nss/nss_db/db-netgrp.c: Likewise.
21440         * nss/nss_files/files-network.c: Likewise.
21441         * nss/nss_files/files-parse.c: Likewise.
21442         * posix/bug-regex5.c: Likewise.
21443         * posix/fnmatch_loop.c: Likewise.
21444         * posix/regcomp.c: Likewise.
21445         * posix/regexec.c: Likewise.
21446         * posix/tst-rfc3484-2.c: Likewise.
21447         * posix/tst-rfc3484-3.c: Likewise.
21448         * posix/tst-rfc3484.c: Likewise.
21449         * resolv/nss_dns/dns-canon.c: Likewise.
21450         * resolv/nss_dns/dns-network.c: Likewise.
21451         * resolv/res_init.c: Likewise.
21452         * resolv/res_mkquery.c: Likewise.
21453         * resolv/tst-aton.c: Likewise.
21454         * stdlib/cxa_atexit.c: Likewise.
21455         * stdlib/cxa_finalize.c: Likewise.
21456         * stdlib/gen-fpioconst.c: Likewise.
21457         * stdlib/strtol_l.c: Likewise.
21458         * string/tst-endian.c: Likewise.
21459         * sunrpc/auth_des.c: Likewise.
21460         * sunrpc/clnt_udp.c: Likewise.
21461         * sunrpc/rtime.c: Likewise.
21462         * sunrpc/svcauth_des.c: Likewise.
21463         * sunrpc/xdr.c: Likewise.
21464         * sunrpc/xdr_intXX_t.c: Likewise.
21465         * sunrpc/xdr_rec.c: Likewise.
21466         * sysdeps/generic/ldconfig.h: Likewise.
21467         * sysdeps/generic/ldsodefs.h: Likewise.
21468         * sysdeps/generic/memusage.h: Likewise.
21469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21470         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21471         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21472         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21473         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21475         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21476         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21477         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21479         * sysdeps/posix/getaddrinfo.c: Likewise.
21480         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21481         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21482         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21483         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21484         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21485         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21486         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21487         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21488         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21489         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21490         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21491         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21492         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21493         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21494         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21495         * sysdeps/x86_64/dl-tls.h: Likewise.
21496         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21497         * time/alt_digit.c: Likewise.
21498         * time/era.c: Likewise.
21499         * wcsmbs/tst-c16c32-1.c: Likewise.
21500
21501 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21502
21503         * math/libm-test.inc (struct test_sincos_data): New type.
21504         (RUN_TEST_LOOP_sincos): New macro.
21505         (sincos_test_data): New variable.
21506         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21507
21508 2013-05-16  Richard Henderson  <rth@redhat.com>
21509
21510         * math/atest-exp2.c (LIMB64): New macro.
21511         (CONSTSZ): New macro.
21512         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21513         (hexdig): Move ...
21514         (print_mpn_fp): ... to function scope.
21515         (read_mpn_hex): Remove.
21516         (get_log2): Remove.
21517         (exp2_mpn): Use mp_log2.
21518         (main): Use mp_exp1.
21519
21520 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21521
21522         * math/libm-test.inc: Remove comment about not testing "inexact"
21523         exceptions.
21524         (INEXACT_EXCEPTION): New macro.
21525         (NO_INEXACT_EXCEPTION): Likewise.
21526         (INVALID_EXCEPTION_OK): Update value.
21527         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21528         (OVERFLOW_EXCEPTION_OK): Likewise.
21529         (UNDERFLOW_EXCEPTION_OK): Likewise.
21530         (IGNORE_ZERO_INF_SIGN): Likewise.
21531         (ERRNO_UNCHANGED): Likewise.
21532         (ERRNO_EDOM): Likewise.
21533         (ERRNO_ERANGE): Likewise.
21534         (test_exceptions): Handle testing "inexact" exceptions.
21535         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21536         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21537         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21538         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21539         INEXACT_EXCEPTION.
21540         (rint_towardzero_test_data): Likewise.
21541         (rint_downward_test_data): Likewise.
21542         (rint_upward_test_data): Likewise.
21543
21544         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21545         with OVERFLOW_EXCEPTION.
21546         (exp10_test_data): Likewise.
21547         (exp2_test_data): Likewise.
21548         (expm1_test_data): Likewise.
21549         (lgamma_test_data): Likewise.
21550         (pow_test_data): Likewise.
21551         (tgamma_test_data): Likewise.
21552         (yn_test_data): Remove duplicate test of overflow.
21553
21554         * math/libm-test.inc (struct test_cc_c_data): New type.
21555         (RUN_TEST_LOOP_cc_c): New macro.
21556         (cpow_test_data): New variable.
21557         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21558
21559         * math/libm-test.inc (struct test_f_L_data): New type.
21560         (RUN_TEST_LOOP_f_L): New macro.
21561         (llrint_test_data): New variable.
21562         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21563         (llrint_tonearest_test_data): New variable.
21564         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21565         (llrint_towardzero_test_data): New variable.
21566         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21567         (llrint_downward_test_data): New variable.
21568         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21569         (llrint_upward_test_data): New variable.
21570         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21571         (llround_test_data): New variable.
21572         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21573
21574 2013-05-13  Peter Collingbourne  <pcc@google.com>
21575
21576         * math/atest-exp2.c (get_log2): Remove const attribute.
21577
21578 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21579
21580         * math/libm-test.inc (struct test_f_l_data): New type.
21581         (RUN_TEST_LOOP_f_l): New macro.
21582         (lrint_test_data): New variable.
21583         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21584         (lrint_tonearest_test_data): New variable.
21585         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21586         (lrint_towardzero_test_data): New variable.
21587         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21588         (lrint_downward_test_data): New variable.
21589         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21590         (lrint_upward_test_data): New variable.
21591         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21592         (lround_test_data): New variable.
21593         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21594
21595 2013-05-15  Peter Collingbourne  <pcc@google.com>
21596
21597         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21598         (EXTRACT_WORDS64) Use where appropriate.
21599         (INSERT_WORDS64) Likewise.
21600
21601         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21602         constraints with x constraints.
21603         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21604
21605         * malloc/obstack.c (_obstack_compat): Add initializer.
21606
21607 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21608
21609         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21610         si_trapno and add si_addr_lsb to _sifields.sigfault.
21611         (si_trapno): Remove macro.
21612         (si_addr_lsb): Define new macro.
21613         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21614
21615 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21616
21617         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21618         instead of TEST_f_l.
21619         (llrint_test_tonearest): Likewise.
21620         (llrint_test_towardzero): Likewise.
21621         (llrint_test_downward): Likewise.
21622         (llrint_test_upward): Likewise.
21623         (llround_test): Likewise.
21624
21625         * math/libm-test.inc (struct test_f_i_data): Add comment.
21626         (RUN_TEST_LOOP_f_b): New macro.
21627         (RUN_TEST_LOOP_f_b_tg): Likewise.
21628         (finite_test_data): New variable.
21629         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21630         (isfinite_test_data): New variable.
21631         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21632         (isinf_test_data): New variable.
21633         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21634         (isnan_test_data): New variable.
21635         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21636         (isnormal_test_data): New variable.
21637         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21638         (issignaling_test_data): New variable.
21639         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21640         (signbit_test_data): New variable.
21641         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21642
21643         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21644         with INVALID_EXCEPTION.
21645         (acosh_test_data): Likewise.
21646         (asin_test_data): Likewise.
21647         (atanh_test_data): Likewise.
21648         (fmod_test_data): Likewise.
21649         (log_test_data): Likewise.
21650         (log10_test_data): Likewise.
21651         (log2_test_data): Likewise.
21652         (pow_test_data): Likewise.
21653         (sqrt_test_data): Likewise.
21654         (y0_test_data): Likewise.
21655         (y1_test_data): Likewise.
21656         (yn_test_data): Likewise.
21657
21658         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21659         function contents.
21660
21661         * math/libm-test.inc (struct test_ff_i_data): New type.
21662         (RUN_TEST_LOOP_ff_i_tg): New macro.
21663         (isgreater_test_data): New variable.
21664         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21665         (isgreaterequal_test_data): New variable.
21666         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21667         (isless_test_data): New variable.
21668         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21669         (islessequal_test_data): New variable.
21670         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21671         (islessgreater_test_data): New variable.
21672         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21673         (isunordered_test_data): New variable.
21674         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21675
21676 2013-05-14  David S. Miller  <davem@davemloft.net>
21677
21678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21679
21680 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21681
21682         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21683
21684         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21685         extra_test to int.
21686         (struct test_f_i_data): Change type of max_ulp to int.
21687
21688         * math/libm-test.inc (test_ffI_f1_data): New type.
21689         (RUN_TEST_LOOP_ffI_f1): New macro.
21690         (remquo_test_data): New variable.
21691         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21692
21693         * setjmp/tst-setjmp-fp.c: New file.
21694         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21695         (link-libm): New variable.
21696         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21697
21698         * math/libm-test.inc (struct test_f_i_data): New type.
21699         (RUN_TEST_LOOP_f_i): New macro.
21700         (RUN_TEST_LOOP_f_i_tg): Likewise.
21701         (fpclassify_test_data): New variable.
21702         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21703         (ilogb_test_data): New variable.
21704         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21705
21706         * math/libm-test.inc (scalbln_test): Correct function name in END
21707         call.
21708
21709         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21710         (RUN_TEST_LOOP_fI_f1): New macro.
21711         (frexp_test_data): New variable.
21712         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21713
21714         * math/libm-test.inc (struct test_fF_f1_data): New type.
21715         (RUN_TEST_LOOP_fF_f1): New macro.
21716         (modf_test_data): New variable.
21717         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21718
21719         * math/libm-test.inc (struct test_f_f1_data): New type.
21720         (RUN_TEST_LOOP_f_f1): New macro.
21721         (gamma_test_data): New variable.
21722         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21723         (lgamma_test_data): New variable.
21724         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21725
21726 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21727
21728         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21729         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21730         (main): Comment "tls" pseudo-hwcap.
21731
21732 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21733
21734         * math/libm-test.inc (struct test_fl_f_data): New type.
21735         (RUN_TEST_LOOP_fl_f): New variable.
21736         (scalbln_test_data): New variable.
21737         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21738
21739         * math/libm-test.inc (struct test_fi_f_data): New type.
21740         (RUN_TEST_LOOP_fi_f): New macro.
21741         (ldexp_test_data): New variable.
21742         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21743         (scalbn_test_data): New variable.
21744         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21745
21746         * math/libm-test.inc (struct test_c_f_data): New type.
21747         (RUN_TEST_LOOP_c_f): New macro.
21748         (cabs_test_data): New variable.
21749         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21750         (carg_test_data): New variable.
21751         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21752         (cimag_test_data): New variable.
21753         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21754         (creal_test_data): New variable.
21755         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21756
21757         * math/libm-test.inc (struct test_if_f_data): New type.
21758         (RUN_TEST_LOOP_if_f): New macro.
21759         (jn_test_data): New variable.
21760         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21761         (yn_test_data): New variable.
21762         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21763
21764         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21765
21766 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21767
21768         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21769         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21770
21771 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21772
21773         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21774         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21775         (bench-deps): Add bench-timing.h.
21776         * benchtests-bench-skeleton.c: Include bench-timing.h.
21777         (main): Use TIMING_* macros instead of clock_gettime.
21778         * benchtests/bench-timing.h: New file.
21779
21780         [BZ #14582]
21781         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21782         Renamed from _LIB_VERSION.
21783         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21784
21785 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21786
21787         * math/libm-test.inc (struct test_fff_f_data): New type.
21788         (RUN_TEST_LOOP_fff_f): New macro.
21789         (fma_test_data): New variable.
21790         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21791         (fma_towardzero_test_data): New variable.
21792         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21793         (fma_downward_test_data): New variable.
21794         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21795         (fma_upward_test_data): New variable.
21796         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21797
21798         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21799         (struct test_c_c_data): New type.
21800         (RUN_TEST_LOOP_c_c): New macro.
21801         (cacos_test_data): New variable.
21802         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21803         (cacosh_test_data): New variable.
21804         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21805         (casin_test_data): New variable.
21806         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21807         (casinh_test_data): New variable.
21808         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21809         (catan_test_data): New variable.
21810         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21811         (catanh_test_data): New variable.
21812         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21813         (ccos_test_data): New variable.
21814         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21815         (ccosh_test_data): New variable.
21816         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21817         (cexp_test_data): New variable.
21818         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21819         (clog_test_data): New variable.
21820         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21821         (clog10_test_data): New variable.
21822         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21823         (conj_test_data): New variable.
21824         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21825         (cproj_test_data): New variable.
21826         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21827         (csin_test_data): New variable.
21828         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21829         (csinh_test_data): New variable.
21830         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21831         (csqrt_test_data): New variable.
21832         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21833         (ctan_test_data): New variable.
21834         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21835         (ctan_tonearest_test_data): New variable.
21836         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21837         (ctan_towardzero_test_data): New variable.
21838         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21839         (ctan_downward_test_data): New variable.
21840         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21841         (ctan_upward_test_data): New variable.
21842         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21843         (ctanh_test_data): New variable.
21844         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21845         (ctanh_tonearest_test_data): New variable.
21846         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21847         (ctanh_towardzero_test_data): New variable.
21848         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21849         (ctanh_downward_test_data): New variable.
21850         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21851         (ctanh_upward_test_data): New variable.
21852         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21853         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21854         of BUILD_COMPLEX.
21855
21856         * math/libm-test.inc (struct test_ff_f_data): New type.
21857         (struct test_ff_f_data_nexttoward): Likewise.
21858         (RUN_TEST_LOOP_2_f): New macro.
21859         (RUN_TEST_LOOP_ff_f): Likewise.
21860         (atan2_test_data): New variable.
21861         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21862         (copysign_test_data): New variable.
21863         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21864         (fdim_test_data): New variable.
21865         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21866         (fmax_test_data): New variable.
21867         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21868         (fmin_test_data): New variable.
21869         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21870         (fmod_test_data): New variable.
21871         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21872         (hypot_test_data): New variable.
21873         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21874         (nextafter_test_data): New variable.
21875         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21876         (nexttoward_test_data): New variable.
21877         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21878         (pow_test_data): New variable.
21879         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21880         (pow_tonearest_test_data): New variable.
21881         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21882         (pow_towardzero_test_data): New variable.
21883         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21884         (pow_downward_test_data): New variable.
21885         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21886         (pow_upward_test_data): New variable.
21887         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21888         (remainder_test_data): New variable.
21889         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21890         (scalb_test_data): New variable.
21891         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21892         * sysdeps/i386/fpu/libm-test-ulps: Update.
21893
21894 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21895
21896         * math/libm-test.inc (fma_test): Use max_value instead of local
21897         variable fltmax.
21898         (nextafter_test): Likewise.
21899
21900         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21901         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21902         (acos_downward_test_data): New variable.
21903         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21904         (acos_upward_test_data): New variable.
21905         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21906         (acosh_test_data): New variable.
21907         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21908         (asin_test_data): New variable.
21909         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21910         (asin_tonearest_test_data): New variable.
21911         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21912         (asin_towardzero_test_data): New variable.
21913         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21914         (asin_downward_test_data): New variable.
21915         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21916         (asin_upward_test_data): New variable.
21917         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21918         (asinh_test_data): New variable.
21919         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21920         (atan_test_data): New variable.
21921         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21922         (atanh_test_data): New variable.
21923         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21924         (cbrt_test_data): New variable.
21925         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21926         (ceil_test_data): New variable.
21927         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21928         (cos_test_data): New variable.
21929         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21930         (cos_tonearest_test_data): New variable.
21931         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21932         (cos_towardzero_test_data): New variable.
21933         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21934         (cos_downward_test_data): New variable.
21935         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21936         (cos_upward_test_data): New variable.
21937         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21938         (cosh_test_data): New variable.
21939         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21940         (cosh_tonearest_test_data): New variable.
21941         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21942         (cosh_towardzero_test_data): New variable.
21943         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21944         (cosh_downward_test_data): New variable.
21945         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21946         (cosh_upward_test_data): New variable.
21947         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21948         (erf_test_data): New variable.
21949         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21950         (erfc_test_data): New variable.
21951         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21952         (exp_test_data): New variable.
21953         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21954         (exp_tonearest_test_data): New variable.
21955         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21956         (exp_towardzero_test_data): New variable.
21957         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21958         (exp_downward_test_data): New variable.
21959         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21960         (exp_upward_test_data): New variable.
21961         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21962         (exp10_test_data): New variable.
21963         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21964         (exp2_test_data): New variable.
21965         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21966         (expm1_test_data): New variable.
21967         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21968         (fabs_test_data): New variable.
21969         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21970         (floor_test_data): New variable.
21971         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21972         (j0_test_data): New variable.
21973         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21974         (j1_test_data): New variable.
21975         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21976         (log_test_data): New variable.
21977         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21978         (log10_test_data): New variable.
21979         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21980         (log1p_test_data): New variable.
21981         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21982         (log2_test_data): New variable.
21983         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21984         (logb_test_data): New variable.
21985         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21986         (logb_downward_test_data): New variable.
21987         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21988         (nearbyint_test_data): New variable.
21989         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21990         (rint_test_data): New variable.
21991         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21992         (rint_tonearest_test_data): New variable.
21993         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21994         (rint_towardzero_test_data): New variable.
21995         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21996         (rint_downward_test_data): New variable.
21997         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21998         (rint_upward_test_data): New variable.
21999         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22000         (round_test_data): New variable.
22001         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22002         (sin_test_data): New variable.
22003         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22004         (sin_tonearest_test_data): New variable.
22005         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22006         (sin_towardzero_test_data): New variable.
22007         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22008         (sin_downward_test_data): New variable.
22009         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22010         (sin_upward_test_data): New variable.
22011         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22012         (sinh_test_data): New variable.
22013         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22014         (sinh_tonearest_test_data): New variable.
22015         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22016         (sinh_towardzero_test_data): New variable.
22017         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22018         (sinh_downward_test_data): New variable.
22019         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22020         (sinh_upward_test_data): New variable.
22021         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22022         (sqrt_test_data): New variable.
22023         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22024         (tan_test_data): New variable.
22025         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22026         (tan_tonearest_test_data): New variable.
22027         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22028         (tan_towardzero_test_data): New variable.
22029         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22030         (tan_downward_test_data): New variable.
22031         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22032         (tan_upward_test_data): New variable.
22033         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22034         (tanh_test_data): New variable.
22035         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22036         (tgamma_test_data): New variable.
22037         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22038         (trunc_test_data): New variable.
22039         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22040         (y0_test_data): New variable.
22041         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22042         (y1_test_data): New variable.
22043         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22044         (significand_test_data): New variable.
22045         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22046
22047 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22048
22049         [BZ #12387]
22050         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22051
22052 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22053
22054         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22055
22056 2013-05-10  Andreas Jaeger  <aj@suse.de>
22057
22058         [BZ #15448]
22059         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22060         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22061
22062 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22063
22064         * math/gen-libm-test.pl (adjust_arg): New function.
22065         (special_functions): Handle generating output in both functions
22066         and arrays.
22067         (parse_args): Likewise.
22068         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22069         $in_func argument to parse_args.
22070         * math/libm-test.inc (struct test_f_f_data): New type.
22071         (IF_ROUND_INIT_): New macro.
22072         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22073         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22074         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22075         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22076         (ROUND_RESTORE_): Likewise.
22077         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22078         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22079         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22080         (ROUND_RESTORE_FE_UPWARD): Likewise.
22081         (RUN_TEST_LOOP_f_f): New macro.
22082         (acos_test_data): New variable.
22083         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22084         (acos_tonearest_test_data): New variable.
22085         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22086
22087 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22088
22089         * benchtests/bench-skeleton.c (startup): Fix coding style.
22090
22091 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22092
22093         [BZ #6809]
22094         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22095         negative infinity argument.
22096         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22097         negative infinity argument.
22098         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22099         negative infinity argument.
22100         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22101         domain errors.
22102
22103 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22104
22105         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22106         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22107         * iconv/iconv_prog.c (main): Likewise.
22108         * locale/programs/charmap-dir.c (charmap_readdir)
22109         (fopen_uncompressed): Likewise.
22110         * locale/programs/locfile.c (siblings_uncached)
22111         (write_locale_data): Use lstat64 instead of lstat.
22112         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22113         stat.
22114
22115 2013-05-10  Andreas Jaeger  <aj@suse.de>
22116
22117         [BZ #15395]
22118         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22119         localization.
22120         Include <locale.h>.
22121
22122 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22123
22124         * elf/dl-close.c (_dl_close_worker): Add comments.
22125
22126 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22127
22128         [BZ #15359]
22129         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22130         high part of pi/2.
22131         (__ieee754_rem_pio2l): Update comments.
22132
22133         [BZ #15429]
22134         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22135         high part of pi/2.
22136         (__ieee754_rem_pio2l): Update comments.
22137
22138         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22139         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22140
22141         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22142         M_PI_4l.
22143
22144         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22145         (M_PI_34_LOG10El): Likewise.
22146         (M_PI2_LOG10El): Likewise.
22147         (M_PI4_LOG10El): Likewise.
22148         (M_PI_LOG10El): Likewise.
22149
22150 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22151
22152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22153
22154 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22155
22156         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22157         (MINUS_ZERO_INIT): Likewise.
22158         (PLUS_INFTY_INIT): Likewise.
22159         (MINUS_INFTY_INIT): Likewise.
22160         (QNAN_VALUE_INIT): Likewise.
22161         (MAX_VALUE_INIT): Likewise.
22162         (MIN_VALUE_INIT): Likewise.
22163         (MIN_SUBNORM_VALUE_INIT): Likewise.
22164         (plus_zero): Initialize with PLUS_ZERO_INIT.
22165         (minus_zero): Initialize with MINUS_ZERO_INIT.
22166         (plus_infty): Initialize with PLUS_INFTY_INIT.
22167         (minus_infty): Initialize with MINUS_INFTY_INIT.
22168         (qnan_value): Initialize with QNAN_VALUE_INIT.
22169         (max_value): Initialize with MAX_VALUE_INIT.
22170         (min_value): Initialize with MIN_VALUE_INIT.
22171         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22172
22173         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22174         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22175         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22176         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22177
22178         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22179         (RUN_TEST_2_f): Likewise.
22180         (RUN_TEST_ff_f): Likewise.
22181         (RUN_TEST_fi_f): Likewise.
22182         (RUN_TEST_fl_f): Likewise.
22183         (RUN_TEST_fff_f): Likewise.
22184         (RUN_TEST_c_f): Likewise.
22185         (RUN_TEST_f_f1): Likewise.
22186         (RUN_TEST_fF_f1): Likewise.
22187         (RUN_TEST_fI_f1): Likewise.
22188         (RUN_TEST_ffI_f1): Likewise.
22189         (RUN_TEST_c_c): Likewise.
22190         (RUN_TEST_cc_c): Likewise.
22191         (RUN_TEST_f_i): Likewise.
22192         (RUN_TEST_f_i_tg): Likewise.
22193         (RUN_TEST_ff_i_tg): Likewise.
22194         (RUN_TEST_f_b): Likewise.
22195         (RUN_TEST_f_b_tg): Likewise.
22196         (RUN_TEST_f_l): Likewise.
22197         (RUN_TEST_f_L): Likewise.
22198         (RUN_TEST_sincos): Likewise.
22199         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22200         whether to show exceptions.  Do not include ");\n" in return
22201         value.
22202         (special_functions): Output call to RUN_TEST_sincos instead of
22203         check_float calls.  Update calls to new_test.
22204         (parse_args): Output call to single RUN_TEST_* macro instead of
22205         check_* calls and other assignments.  Update calls to new_test.
22206
22207         [BZ #2546]
22208         [BZ #2560]
22209         [BZ #5159]
22210         [BZ #15426]
22211         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22212         input to result for tgamma overflow.
22213         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22214         (gamma_coeff): New variable.
22215         (NCOEFF): New macro.
22216         (gamma_positive): New function.
22217         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22218         underflow here.  Use gamma_positive instead of exp (lgamma) for
22219         other arguments.
22220         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22221         (gamma_coeff): New variable.
22222         (NCOEFF): New macro.
22223         (gammaf_positive): New function.
22224         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22225         underflow here.  Use gamma_positive instead of exp (lgamma) for
22226         other arguments.
22227         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22228         (gamma_coeff): New variable.
22229         (NCOEFF): New macro.
22230         (gammal_positive): New function.
22231         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22232         underflow here.  Use gamma_positive instead of exp (lgamma) for
22233         other arguments.
22234         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22235         (gamma_coeff): New variable.
22236         (NCOEFF): New macro.
22237         (gammal_positive): New function.
22238         (__ieee754_gammal_r): Handle positive infinity, overflow and
22239         underflow here.  Handle NaN the same as positive infinity.  Remove
22240         check x < 0xffffffff for negative integers.  Use gamma_positive
22241         instead of exp (lgamma) for other arguments.
22242         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22243         (gamma_coeff): New variable.
22244         (NCOEFF): New macro.
22245         (gammal_positive): New function.
22246         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22247         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22248         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22249         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22250         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22251         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22252         * sysdeps/generic/math_private.h (__gamma_productf): New
22253         prototype.
22254         (__gamma_product): Likewise.
22255         (__gamma_productl): Likewise.
22256         * math/Makefile (libm-calls): Add gamma_product.
22257         * math/libm-test.inc (tgamma_test): Add more tests.
22258         * sysdeps/i386/fpu/libm-test-ulps: Update.
22259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22260
22261 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22262
22263         * benchtests/bench-skeleton.c (main): Preheat CPU.
22264
22265 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22266
22267         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22268
22269 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22270
22271         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22272         and _dl_skip_args_internal.
22273
22274 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22275
22276         * manual/message.texi (Message Translation): Talk about users.
22277         Message to key mapping impacts design.
22278
22279 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22280
22281         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22282
22283         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22284
22285         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22286         * sysdeps/wordsize-64/glob64.c: ... here.
22287
22288         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22289         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22290         New macros.
22291
22292         * debug/getlogin_r_chk.c: Moved to ...
22293         * login/getlogin_r_chk.c: ... here.
22294         * debug/Makefile (routines): Move getlogin_r_chk to ...
22295         * login/Makefile (routines): ... here.
22296         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22297         * login/Versions (libc: GLIBC_2.4): ... here.
22298
22299         * io/poll.c (__poll): Renamed from poll.
22300         Add libc_hidden_def.
22301         (poll): Define as weak alias.
22302
22303         * debug/ptsname_r_chk.c: Moved to ...
22304         * login/ptsname_r_chk.c: ... here.
22305         * debug/Makefile (routines): Move ptsname_r_chk to ...
22306         * login/Makefile (routines): ... here.
22307         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22308         * login/Versions (libc: GLIBC_2.4): ... here.
22309
22310         * posix/getlogin.c: Moved to ...
22311         * login/getlogin.c: ... here.
22312         * posix/getlogin_r.c: Moved to ...
22313         * login/getlogin_r.c: ... here.
22314         * posix/getlogin_r.c: Moved to ...
22315         * login/getlogin_r.c: ... here.
22316         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22317         * login/Makefile (routines): ... here.
22318         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22319         * login/Versions (libc: GLIBC_2.0): ... here.
22320
22321         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22322         (setrlimit): Define as weak alias.
22323
22324         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22325         Call __ names for open, ftruncate, and close.
22326         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22327         (truncate): Define as weak alias.
22328
22329 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22330
22331         * math/gen-libm-test.pl (parse_args): Initialize x before each
22332         test of frexp, modf and remquo.
22333
22334         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22335         test signgam value.
22336
22337 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22338
22339         [BZ #15418]
22340         [BZ #15419]
22341         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22342         internal tests.
22343         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22344
22345 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22346
22347         * elf/dl-writev.h: New file.
22348         * elf/dl-misc.c: Include it.
22349         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22350         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22351
22352 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22353
22354         * math/libm-test.inc (noXFails): Remove variable.
22355         (noXPasses): Likewise.
22356         (BUILD_COMPLEX_INT): Remove macro.
22357         (print_screen): Remove xfail argument.
22358         (print_screen_max_error): Likewise.
22359         (update_stats): Likewise.
22360         (print_max_error): Likewise.  Update calls to other affected
22361         functions.
22362         (print_complex_max_error): Likewise.
22363         (test_single_exception): Update calls to print_screen.
22364         (test_single_errno): Likewise.
22365         (check_float_internal): Remove xfail argument.  Update calls to
22366         other affected functions.
22367         (check_float): Likewise.
22368         (check_complex): Likewise.
22369         (check_int): Likewise.
22370         (check_long): Likewise.
22371         (check_bool): Likewise.
22372         (check_longlong): Likewise.
22373         (main): Don't print noXFails and noXPasses.
22374         * math/gen-libm-test.pl (top level): Don't mention expected
22375         failure handling in comment.
22376         (new_test): Don't handle expected failures.
22377         (parse_args): Don't mention expected failure handling in comment.
22378         (generate_testfile): Don't handle expected failures.
22379         (parse_ulps): Likewise.
22380         (print_ulps_file): Likewise.
22381         (get_failure): Remove function.
22382         (output_test): Don't handle expected failures.
22383         * make/README.libm-test: Don't mention expected failure handling.
22384
22385         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22386         (minus_zero): Likewise.
22387         (plus_infty): Likewise.
22388         (minus_infty): Likewise.
22389         (qnan_value): Likewise.
22390         (max_value): Likewise.
22391         (min_value): Likewise.
22392         (min_subnorm_value): Likewise.
22393         (initialize): Do not initialize those variables dynamically.
22394
22395 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22396
22397         * io/open.c (__open_2): Moved to ...
22398         * io/open_2.c: ... this new file.
22399         * io/open64.c (__open64_2): Moved to ...
22400         * io/open64_2.c: ... this new file.
22401         * io/openat.c (__openat_2): Moved to ...
22402         * io/openat_2.c: ... this new file.
22403         * io/openat64.c (__openat64_2): Moved to ...
22404         * io/openat64_2.c: ... this new file.
22405         * io/Makefile (routines): Add them.
22406         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22407         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22408         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22409         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22410         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22411         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22412         (__openat64): Add hidden_ver.
22413         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22414         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22415
22416         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22417         Separately conditionalize setting of GLRO(dl_sysinfo) so
22418         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22419         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22420
22421 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22422
22423         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22425         definition.
22426         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22427         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22428         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22429         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22430         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22431
22432 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22433
22434         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22435         test signgam value.
22436
22437         * math/libm-test.inc (hypot_test): Do not use
22438         IGNORE_ZERO_INF_SIGN.
22439
22440 2013-05-03  Andreas Jaeger  <aj@suse.de>
22441
22442         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22443         Linux 3.9.
22444         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22445         (PF_MAX): Adjust for VSOCK change.
22446
22447 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22448
22449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22450
22451 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22452
22453         [BZ #15264]
22454         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22455         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22456         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22457
22458 2013-05-02  David S. Miller  <davem@davemloft.net>
22459
22460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22461
22462 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22463
22464         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22465
22466 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22467
22468         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22469
22470 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22471
22472         [BZ #14952]
22473         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22474         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22475         Use __attribute__ ((__gnu_inline__)).
22476         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22477         Don't use __attribute__ ((__gnu_inline__)).
22478
22479 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22480
22481         [BZ #15423]
22482         * math/s_catan.c (__catan): Handle small real or imaginary part of
22483         input specially to avoid spurious underflow.
22484         * math/s_catanf.c (__catanf): Likewise.
22485         * math/s_catanh.c (__catanh): Likewise.
22486         * math/s_catanhf.c (__catanhf): Likewise.
22487         * math/s_catanhl.c (__catanhl): Likewise.
22488         * math/s_catanl.c (__catanl): Likewise.
22489         * math/libm-test.inc (catan_test): Add more tests.
22490         (catanh_test): Likewise.
22491         * sysdeps/i386/fpu/libm-test-ulps: Update.
22492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22493
22494 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22495
22496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22497
22498 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22499
22500         [BZ #15416]
22501         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22502         accurately for denominator in atan2.
22503         * math/s_catanf.c (__catanf): Likewise.
22504         * math/s_catanh.c (__catanh): Likewise.
22505         * math/s_catanhf.c (__catanhf): Likewise.
22506         * math/s_catanhl.c (__catanhl): Likewise.
22507         * math/s_catanl.c (__catanl): Likewise.
22508         * math/libm-test.inc (catan_test): Add more tests.
22509         (catanh_test): Likewise.
22510         * sysdeps/i386/fpu/libm-test-ulps: Update.
22511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22512
22513 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22514
22515         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22516
22517         * benchtests/Makefile (bench): Remove slow benchmarks.
22518         * benchtests/atan-inputs: Add slow benchmark inputs.
22519         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22520         (BENCH_FUNC): Accept variant offset.
22521         (VARIANT): Define.
22522         * benchtests/bench-skeleton.c (main): Run benchmark for each
22523         variant.
22524         * benchtests/cos-inputs: Add slow benchmark inputs.
22525         * benchtests/exp-inputs: Likewise.
22526         * benchtests/pow-inputs: Likewise.
22527         * benchtests/sin-inputs: Likewise.
22528         * benchtests/slowatan-inputs: Remove.
22529         * benchtests/slowatan.c: Remove.
22530         * benchtests/slowcos-inputs: Remove.
22531         * benchtests/slowcos.c: Remove.
22532         * benchtests/slowexp-inputs: Remove.
22533         * benchtests/slowexp.c: Remove.
22534         * benchtests/slowpow-inputs: Remove.
22535         * benchtests/slowpow.c: Remove.
22536         * benchtests/slowsin-inputs: Remove.
22537         * benchtests/slowsin.c: Remove.
22538         * benchtests/slowtan-inputs: Remove.
22539         * benchtests/slowtan.c: Remove.
22540         * benchtests/tan-inputs: Add slow benchmark inputs.
22541         * scripts/bench.pl: Parse comments and directives.
22542
22543         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22544         in CPPFLAGS.
22545         ($(objpfx)bench-%.c): Remove *-ITER.
22546         * benchtests/bench-modf.c: Remove definition of ITER.
22547         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22548         (main): Loop for DURATION seconds instead of fixed number of
22549         iterations.
22550         * scripts/bench.pl: Don't expect iterations in parameters.
22551
22552 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22553
22554         * io/fchdir.c (__fchdir): Renamed from fchdir.
22555         (fchdir): Define as weak alias.
22556
22557 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22558
22559         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22560         (ERRNO_EDOM): Likewise.
22561         (ERRNO_ERANGE): Likewise.
22562         (noErrnoTests): New variable.
22563         (init_max_error): Set errno to 0.
22564         (test_single_errno): New function.
22565         (test_errno): Likewise.
22566         (check_float_internal): Call test_errno.  Set errno to 0.
22567         (check_complex): Refer to errno tests in comment.
22568         (check_int): Call test_errno.  Set errno to 0.
22569         (check_long): Likewise.
22570         (check_bool): Likewise.
22571         (check_longlong): Likewise.
22572         (cos_test): Use ERRNO_* flags for errno tests instead of
22573         check_int.
22574         (expm1_test): Likewise.
22575         (fmod_test): Likewise.
22576         (ilogb_test): Likewise.
22577         (lgamma_test): Likewise.
22578         (pow_test): Likewise.
22579         (remainder_test): Likewise.
22580         (sin_test): Likewise.
22581         (tan_test): Likewise.
22582         (yn_test): Likewise.
22583         (initialize): Set errno to 0.
22584         (main): Print number of errno tests.
22585         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22586
22587 2013-04-29  Andreas Jaeger  <aj@suse.de>
22588
22589         [BZ #15084]
22590         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22591         and RES_USEVC.
22592
22593         [BZ #15085]
22594         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22595         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22596         unimplemented.
22597
22598         [BZ #15380]
22599         * stdlib/random.c (__initstate): Return NULL if
22600         __initstate fails.
22601
22602         [BZ #15086]
22603         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22604         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22605         RES_SNGLKUPREOP.
22606
22607 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22608
22609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22610
22611 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22612
22613         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22614         of individual tests.
22615         (casin_test): Likewise.
22616         (casinh_test): Likewise.
22617
22618 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22619
22620         [BZ #15409]
22621         * math/s_catan.c (__catan): Handle arguments with large real or
22622         imaginary part separately without squaring.
22623         * math/s_catanf.c (__catanf): Likewise.
22624         * math/s_catanh.c (__catanh): Likewise.
22625         * math/s_catanhf.c (__catanhf): Likewise.
22626         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22627         and redefine.
22628         (__catanhl): Handle arguments with large real or imaginary part
22629         separately without squaring.
22630         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22631         and redefine.
22632         (__catanl): Handle arguments with large real or imaginary part
22633         separately without squaring.
22634         * math/libm-test.inc (catan_test): Add more tests.
22635         (catanh_test): Likewise.
22636         * sysdeps/i386/fpu/libm-test-ulps: Update.
22637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22638
22639 2013-04-27  Andreas Jaeger  <aj@suse.de>
22640
22641         [BZ #15007]
22642         * stdlib/stdlib.h: Update guards for qecvt.
22643         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22644         <stdlib.h>.
22645
22646 2013-04-27  Allan McRae  <allan@archlinux.org>
22647
22648         * sysdeps/i386/fpu/libm-test-ulps: Update.
22649
22650 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22651
22652         [BZ #15406]
22653         * math/s_catan.c: Include <float.h>.
22654         (__catan): Ensure underflow exception occurs for underflowed
22655         result.
22656         * math/s_catanf.c: Include <float.h>.
22657         (__catanf): Ensure underflow exception occurs for underflowed
22658         result.
22659         * math/s_catanh.c: Include <float.h>.
22660         (__catanh): Ensure underflow exception occurs for underflowed
22661         result.
22662         * math/s_catanhf.c: Include <float.h>.
22663         (__catanhf): Ensure underflow exception occurs for underflowed
22664         result.
22665         * math/s_catanhl.c: Include <float.h>.
22666         (__catanhl): Ensure underflow exception occurs for underflowed
22667         result.
22668         * math/s_catanl.c: Include <float.h>.
22669         (__catanl): Ensure underflow exception occurs for underflowed
22670         result.
22671         * math/libm-test.inc (catan_test): Add more tests.
22672         (catanh_test): Likewise.
22673
22674         [BZ #15405]
22675         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22676         underflowed result.
22677         * math/s_ccoshf.c (__ccoshf): Likewise.
22678         * math/s_ccoshl.c (__ccoshl): Likewise.
22679         * math/s_csin.c (__csin): Likewise.
22680         * math/s_csinf.c (__csinf): Likewise.
22681         * math/s_csinh.c (__csinh): Likewise.
22682         * math/s_csinhf.c (__csinhf): Likewise.
22683         * math/s_csinhl.c (__csinhl): Likewise.
22684         * math/s_csinl.c (__csinl): Likewise.
22685         * math/libm-test.inc (ccos_test): Add more tests.
22686         (ccosh_test): Likewise.
22687         (csin_test): Likewise.
22688         (csinh_test): Likewise.
22689
22690 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22691
22692         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22693         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22694         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22695         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22696         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22697         powerpc/power5+/fpu folders.
22698         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22699
22700
22701 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22702
22703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22704
22705 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22706
22707         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22708         additions to variable.
22709         [$(config-machine) = x86_64] (modules-names): Likewise.
22710         ($(objpfx)tst-audit3): Remove dependency.
22711         ($(objpfx)tst-audit3.out): Likewise.
22712         ($(objpfx)tst-audit4): Likewise.
22713         ($(objpfx)tst-audit4.out): Likewise.
22714         ($(objpfx)tst-audit5): Likewise.
22715         ($(objpfx)tst-audit5.out): Likewise.
22716         ($(objpfx)tst-audit6): Likewise.
22717         ($(objpfx)tst-audit6.out): Likewise.
22718         ($(objpfx)tst-audit7): Likewise.
22719         ($(objpfx)tst-audit7.out): Likewise.
22720         (tst-audit3-ENV): Remove variable.
22721         (tst-audit4-ENV): Likewise.
22722         (tst-audit5-ENV): Likewise.
22723         (tst-audit6-ENV): Likewise.
22724         (tst-audit7-ENV): Likewise.
22725         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22726         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22727         addition to variable.
22728         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22729         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22730         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22731         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22732         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22733         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22734         tst-audit3, tst-audit4 and tst-audit5.
22735         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22736         tst-audit6 and tst-audit7.
22737         [$(subdir) = elf] (modules-names): Add audit modules for those
22738         tests.
22739         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22740         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22741         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22742         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22743         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22744         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22745         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22746         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22747         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22748         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22749         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22750         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22751         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22752         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22753         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22754         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22755         Likewise.
22756         [$(subdir) = elf && $(config-cflags-avx) = yes]
22757         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22758         [$(subdir) = elf && $(config-cflags-avx) = yes]
22759         (CFLAGS-tst-auditmod4a.c): Likewise.
22760         [$(subdir) = elf && $(config-cflags-avx) = yes]
22761         (CFLAGS-tst-auditmod4b.c): Likewise.
22762         [$(subdir) = elf && $(config-cflags-avx) = yes]
22763         (CFLAGS-tst-auditmod6b.c): Likewise.
22764         [$(subdir) = elf && $(config-cflags-avx) = yes]
22765         (CFLAGS-tst-auditmod6c.c): Likewise.
22766         [$(subdir) = elf && $(config-cflags-avx) = yes]
22767         (CFLAGS-tst-auditmod7b.c): Likewise.
22768         * elf/tst-audit3.c: Move to ...
22769         * sysdeps/x86_64/tst-audit3.c: ... here.
22770         * elf/tst-audit4.c: Move to ...
22771         * sysdeps/x86_64/tst-audit4.c: ... here.
22772         * elf/tst-audit5.c: Move to ...
22773         * sysdeps/x86_64/tst-audit5.c: ... here.
22774         * elf/tst-audit6.c: Move to ...
22775         * sysdeps/x86_64/tst-audit6.c: ... here.
22776         * elf/tst-audit7.c: Move to ...
22777         * sysdeps/x86_64/tst-audit7.c: ... here.
22778         * elf/tst-auditmod3a.c: Move to ...
22779         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22780         * elf/tst-auditmod3b.c: Move to ...
22781         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22782         * elf/tst-auditmod4a.c: Move to ...
22783         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22784         * elf/tst-auditmod4b.c: Move to ...
22785         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22786         * elf/tst-auditmod5a.c: Move to ...
22787         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22788         * elf/tst-auditmod5b.c: Move to ...
22789         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22790         * elf/tst-auditmod6a.c: Move to ...
22791         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22792         * elf/tst-auditmod6b.c: Move to ...
22793         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22794         * elf/tst-auditmod6c.c: Move to ...
22795         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22796         * elf/tst-auditmod7a.c: Move to ...
22797         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22798         * elf/tst-auditmod7b.c: Move to ...
22799         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22800
22801 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22802
22803         [BZ #15366]
22804         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22805         define unconditionally.
22806         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22807         define unconditionally.
22808         (INT8_C, INT16_C, etc.): Likewise.
22809
22810 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22811
22812         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22813         __ehdr_start with hidden visibility.
22814
22815         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22816
22817 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22818
22819         * math/libm-test.inc (cos_test): Use accurate hex constants.
22820         (sincost_test): Likewise.
22821
22822 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22823
22824         * math/libm-test.inc (catan_test): Add more tests.
22825         (catanh_test): Likewise.
22826
22827         * math/s_catanf.c (__catanf): Use suffixed floating-point
22828         constants.
22829         * math/s_catanhf.c (__catanhf): Likewise.
22830         * math/s_catanhl.c (__catanhl): Likewise.
22831         * math/s_catanl.c (__catanl): Likewise.
22832
22833         [BZ #15394]
22834         * math/s_catan.c (__catan): Calculate imaginary part of result
22835         with log1p not log unless computing log of number close to 0.
22836         * math/s_catanf.c (__catanf): Likewise.
22837         * math/s_catanl.c (__catanl): Likewise.
22838         * math/s_catanh.c (__catanh): Calculate real part of result with
22839         log1p not log unless computing log of number close to 0.
22840         * math/s_catanhf.c (__catanhf): Likewise.
22841         * math/s_catanhl.c (__catanhl): Likewise.
22842         * math/libm-test.inc (catan_test): Add more tests.
22843         (catanh_test): Likewise.
22844         * sysdeps/i386/fpu/libm-test-ulps: Update.
22845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22846
22847 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22848
22849         * benchtests/Makefile: Mention files in which fast and slow
22850         paths of math functions are implemented.
22851
22852 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22853
22854         * sysdeps/posix/timespec_get.c: New file.
22855
22856 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22857
22858         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22859         POWER.
22860         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22861         for POWER.
22862         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22863         powerpc/power5/fpu folders.
22864         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22865         * benchtests/Makefile: Add modf testcase.
22866         * benchtests/bench-modf.c: New file: Benchmark test for mo
22867
22868 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22869
22870         [BZ #14888]
22871         * time/Makefile (tests): Add tst-strptime-whitespace.
22872         * time/strptime_l.c (get_number): Use ISSPACE.
22873         (__strptime_internal): Likewise.
22874         * time/tst-strptime-whitespace.c: New test case.
22875
22876 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22877
22878         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22879         member.
22880         (_nss_files_init): Set it here.
22881
22882 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22883
22884         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22885         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22886         unsigned.
22887
22888 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22889
22890         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22891
22892 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22893
22894         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22895         size just once.
22896
22897 2013-04-21  David S. Miller  <davem@davemloft.net>
22898
22899         * po/ru.po: Update Russion translation from translation project.
22900
22901 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22902
22903         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22904         and setfsgid.
22905
22906 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22907
22908         * configure.in: Remove i386 configure warning. Remove i386 case.
22909         * configure: Regenerate.
22910         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22911         Add example to error message.
22912         * sysdeps/i386/configure: Regenerate.
22913
22914 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22915
22916         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22917         slowtan.
22918         * benchtests/cos-inputs: New file.
22919         * benchtests/slowcos-inputs: New file.
22920         * benchtests/slowcos.c: New file.
22921         * benchtests/slowtan-inputs: New file.
22922         * benchtests/slowtan.c: New file.
22923         * benchtests/tan-inputs: New file.
22924
22925 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22926
22927         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22928         considered kosher.
22929
22930 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22931
22932         * benchtests/Makefile: Include cppflags-iterator.mk to add
22933         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22934
22935         * Makefile.in (bench-clean): New target.
22936         * benchtests/Makefile (bench-clean): Likewise.
22937
22938 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22939
22940         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22941
22942 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22943
22944         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22945
22946 2013-04-15  Andreas Schwab  <schwab@suse.de>
22947
22948         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22949         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22950         * nscd/pwdcache.c (cache_addpw): Likewise.
22951         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22952         more than recsize.
22953
22954 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22955
22956         * benchtests/Makefile (bench): Write all output to
22957         bench-out.tmp together.
22958
22959 2013-04-15  Andreas Schwab  <schwab@suse.de>
22960
22961         * nscd/nscd.c (main): Don't fork again after closing files.
22962
22963 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22964
22965         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22966
22967         * benchtests/Rules (bench-deps): Collect dependencies into a
22968         single variable.  Add Makefile to dependencies.
22969         ($(objpfx)bench-%.c): Depend on bench-deps.
22970
22971 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22972             Xavier Roche  <roche+kml2@exalead.com>
22973
22974         [BZ #15361]
22975         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22976         just that it's a file descriptor.
22977         * manual/llio.texi (Synchronizing AIO Operations): Update description
22978         for EBADF error from aio_fsync.
22979
22980 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22981
22982         * Rules (bench): Move target definition...
22983         * benchtests/Makefile: ... here.
22984
22985 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22986
22987         * math/libm-test.inc (cos_test): Fix PI/2 test.
22988         (sincos_test): Likewise.
22989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22990         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22991
22992 2013-04-11  Andreas Schwab  <schwab@suse.de>
22993
22994         [BZ #13988]
22995         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22996         accept exponent character only when digits were seen.
22997         * stdio-common/Makefile (tests): Add bug26.
22998         * stdio-common/bug26.c: New file.
22999
23000         [BZ #14293]
23001         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23002         non-freeable.
23003
23004 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23005
23006         * Makeconfig (rtld-prefix): Define built linker prefix.
23007         * Rules (run-bench): Use it.
23008         * math/Makefile (run-regen-ulps): Likewise.
23009
23010         * Rules (bench): Remove eval.
23011
23012 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23013             Roland McGrath  <roland@hack.frob.com>
23014             Ondrej Bilka  <neleai@seznam.cz>
23015
23016         [BZ #15346]
23017         * time/getdate.c: Include ctype.h and alloca.h.
23018         (__getdate_r): Trim leading and trailing spaces of input.
23019         * time/tst-getdate.c (tests): Add tests with leading and
23020         trailing spaces.
23021
23022 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23023
23024         [BZ #14280]
23025         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23026         when computing value.
23027
23028 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23029
23030         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23031         Use testrun.sh to run libm tests.
23032
23033         [BZ #15309]
23034         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23035
23036 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23037
23038         [BZ #15264]
23039         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23040
23041 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23042
23043         * Makefile.in (regen-ulps): New target.
23044         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23045         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23046         [ifneq (no,$(PERL)] (regen-ulps): New target.
23047         [ifeq (no,$(PERL)] (regen-ulps): New target.
23048         * math/libm-test.inc (ulps_file_name): Define.
23049         (output_dir): New variable.
23050         (options): Add "output-dir" option.
23051         (parse_opt): Handle 'o' case.
23052         (main): If output_dir is non-NULL use it as a prefix
23053         otherwise use "".
23054         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23055
23056 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23057
23058         [BZ #10060, #10062]
23059         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23060         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23061         fail configure if __sync_val_compare_and_swap is not inlined.
23062         * sysdeps/i386/configure: Regenerate.
23063         * configure.in: Build for i686 when configured for i386.
23064         * configure: Regenerate.
23065         * README: Remove i386 reference.
23066
23067 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23068
23069         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23070         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23071
23072 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23073
23074         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23075         (lmsnanval): New variables.
23076         (F): Add conversion tests.
23077         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23078         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23079
23080         * stdio-common/tstdiomisc.c (F): Properly collect individual
23081         tests' results.
23082
23083         [BZ #14686, #15336]
23084         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23085         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23086         Instead, use input NaN values or generate a qNaN by arithmetic
23087         operation.  Also fix bugs to comply with the standard.
23088         * math/libm-test.inc (remainder_test): Add more tests.
23089
23090         [BZ #15335, #15342]
23091         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23093         input NaN values or generate a qNaN by arithmetic operation.
23094
23095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23096         unreachable code.
23097
23098         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23099         definitions.
23100
23101 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23102
23103         [BZ #14478]
23104         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23105         underflowed result.
23106         * math/s_cexpf.c (__cexpf): Likewise.
23107         * math/s_cexpl.c (__cexpl): Likewise.
23108         * math/libm-test.inc (cexp_test): Add more tests.
23109
23110 2013-04-03  Andreas Schwab  <schwab@suse.de>
23111
23112         [BZ #15330]
23113         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23114         order arrays from heap if bigger than alloca cutoff.
23115
23116 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23117
23118         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23119         (SNAN_TESTS_double): Refer to GCC PR56831.
23120         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23121         GCC PR56828.
23122
23123 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23124
23125         * Rules (bench): Move bench.out after the run is complete.
23126
23127         * Rules (bench): Echo currently running benchmark.
23128
23129         * benchtests/Makefile (bench): Add atan and slowatan.
23130         * benchtests/atan-inputs: New file.
23131         * benchtests/slowatan-inputs: New file.
23132         * benchtests/slowatan.c: New file.
23133
23134         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23136         its value.
23137
23138         [BZ #15305]
23139         * sysdeps/unix/sysv/linux/kernel-features.h
23140         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23141         __ASSUME_XFS_RESTRICTED_CHOWN.
23142         * sysdeps/unix/sysv/linux/pathconf.c
23143         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23144         Save and restore errno.
23145
23146 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23147
23148         [BZ #15327]
23149         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23150         arguments using __kernel_casinh.
23151         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23152         arguments using __kernel_casinhf.
23153         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23154         arguments using __kernel_casinhl.
23155         * math/libm-test.inc (cacosh_test): Add more tests.
23156         * sysdeps/i386/fpu/libm-test-ulps: Update.
23157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23158
23159 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23160
23161         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23162         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23163
23164         * bench/Makefile (bench): Add sin and slowsin.
23165         * benchtests/sin-inputs: New file.
23166         * benchtests/slowsin-inputs: New file.
23167         * benchtests/slowsin.c: New file.
23168
23169         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23170         (bench): Add slowexp and slowpow.
23171         (exp-ITER): Increase iterations.
23172         (pow-ITER): Likewise.
23173         * benchtests/exp-inputs: Change input.
23174         * benchtests/pow-inputs: Likewise.
23175         * benchtests/slowexp-inputs: New file.
23176         * benchtests/slowexp.c: New file.
23177         * benchtests/slowpow-inputs: New file.
23178         * benchtests/slowpow.c: New file.
23179
23180 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23181
23182         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23183         instructions.
23184         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23185         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23186         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23187         * benchtests/Makefile: Add rint benchtest.
23188         * benchtests/rint-inputs: Input for rint benchtest.
23189
23190 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23191
23192         * Versions.def (libm): Add GLIBC_2.18.
23193         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23194         hidden libm prototypes.
23195         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23196         * math/Makefile (libm-calls): Add s_issignaling.
23197         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23198         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23199         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23200         declaration.
23201         * math/math.h [__USE_GNU] (issignaling): New macro.
23202         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23203         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23204         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23205         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23206         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23207         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23208         * manual/arith.texi (issignaling): New section.
23209         * manual/libm-err-tab.pl (@all_functions): Update comment.
23210         * math/gen-libm-test.pl (parse_args): Apply special handling for
23211         issignaling.
23212         * math/libm-test.inc (print_float, issignaling_test): New
23213         functions.
23214         (check_float_internal): Add issignaling checks.
23215         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23216         default definition.
23217         * sysdeps/powerpc/math-tests.h: New file.
23218         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23219         tests.
23220         * math/test-snan.c (TEST_FUNC): Likewise.
23221
23222 2013-03-30  David S. Miller  <davem@davemloft.net>
23223
23224         * po/de.po: Update from translation team.
23225
23226 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23227
23228         [BZ #10357]
23229         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23230         imaginary part less than 1.0 and real part less than 0.5
23231         specially.
23232         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23233         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23234         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23235         (cacos_test): Add more tests.
23236         (casin_test): Likewise.
23237         (casinh_test): Likewise.
23238         * sysdeps/i386/fpu/libm-test-ulps: Update.
23239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23240
23241 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23242
23243         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23244         ONE with its value.
23245
23246         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23247         (__pow_mp): Replace ONE and MONE with their values.
23248         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23249         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23250         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23251         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23252         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23253         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23254
23255         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23256
23257         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23258         (__pow_mp): Replace ZERO and MZERO with their values.
23259         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23260         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23261         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23262         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23263         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23264         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23265         (__sqr): Likewise.
23266
23267         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23268
23269         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23270
23271 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23272
23273         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23274         Declare with __attribute__ ((weak)).
23275         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23276         Call __call_tls_dtors only if it's not NULL.
23277
23278 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23279
23280         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23281         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23282         magic __ehdr_start linker symbol if it's defined.
23283         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23284         them up here if it was already done.
23285
23286         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23287         (_dl_aux_init): Use const in cast when setting it.
23288         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23289         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23290         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23291
23292         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23293         Declare them here.
23294         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23295         * csu/libc-tls.c: Nor here.
23296         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23297
23298         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23299         (__libc_message): Never call vsyslog.
23300
23301 2013-03-28  Alan Modra  <amodra@gmail.com>
23302
23303         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23304         Define as empty.
23305         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23306         Likewise.
23307
23308 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23309
23310         [BZ #15214]
23311         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23312         underflow.
23313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23314
23315 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23316
23317         [BZ #15304]
23318         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23319         Don't add gid passed as argument.
23320
23321         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23322
23323 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23324
23325         [BZ #15307]
23326         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23327         imaginary part between 1.0 and 1.5 and real part less than 0.5
23328         specially.
23329         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23330         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23331         * math/libm-test.inc (cacos_test): Add more tests.
23332         (casin_test): Likewise.
23333         (casinh_test): Likewise.
23334         * sysdeps/i386/fpu/libm-test-ulps: Update.
23335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23336
23337 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23338
23339         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23340         constants.
23341         (norm): Likewise.
23342         (denorm): Likewise.
23343         (__dbl_mp): Likewise.
23344         (add_magnitudes): Likewise.
23345         (sub_magnitudes): Likewise.
23346         (__add): Likewise.
23347         (__sub): Likewise.
23348         (__mul): Likewise.
23349         (__sqr): Likewise.
23350         (__inv): Likewise.
23351         (__dvd): Likewise.
23352
23353         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23354         commented code.
23355         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23356         (__dubcos): Likewise.
23357         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23358         (__ieee754_acos): Likewise.
23359         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23360         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23361         (__exp1): Likewise.
23362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23364         (log1): Likewise.
23365         (my_log2): Likewise.
23366         (checkint): Likewise.
23367         * sysdeps/ieee754/dbl-64/e_remainder.c
23368         (__ieee754_remainder): Likewise.
23369         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23371         (bsloww): Likewise.
23372         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23373
23374         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23375         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23376         MANTISSA_STORE_T to store computations on mantissa.  Use
23377         macros for rounding and division.
23378         (denorm): Likewise.
23379         (__dbl_mp): Likewise.
23380         (add_magnitudes): Likewise.
23381         (sub_magnitudes): Likewise.
23382         (__mul): Likewise.
23383         (__sqr): Likewise.
23384         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23385         powers of two in terms of TWOPOW macro.
23386         (mp_no): Make type of mantissa as MANTISSA_T.
23387         [!RADIXI]: Define RADIXI.
23388         [!TWO52]: Define TWO52.
23389         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23390
23391 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23392
23393         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23394         llroundl symbol when building for PPC32.
23395
23396 2013-03-24  Mark H Weaver  <mhw@netris.org>
23397
23398         * manual/arith.texi (Normalization Functions): Fix prototypes for
23399         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23400
23401 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23402
23403         [BZ #13889]
23404         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23405         high value to check if expl overflow.
23406         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23407         to check for underflow and overflow.
23408         * math/libm-test.inc: Add exp test.
23409
23410 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23411
23412         [BZ #11120]
23413         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23414         with NOT_IN_libc.
23415
23416 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23417
23418         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23419         symbol.
23420
23421 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23422
23423         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23424         wrap blocks consisting of several statements.
23425
23426         * sysdeps/generic/math-tests.h: New file.
23427         * sysdeps/i386/fpu/math-tests.h: Likewise.
23428         * math/test-snan.c: Include it.
23429         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23430
23431 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23432
23433         [BZ #15285]
23434         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23435         (__ieee754_j0l): Do not improve calculations using cos of twice
23436         input for inputs above LDBL_MAX / 2.0L.
23437         (__ieee754_y0l): Likewise.
23438         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23439         (__ieee754_j1l): Do not improve calculations using cos of twice
23440         input for inputs above LDBL_MAX / 2.0L.
23441         (__ieee754_y1l): Likewise.
23442         * math/libm-test.inc (j0_test): Add another test.
23443         (j1_test): Likewise.
23444         (y0_test): Likewise.
23445         (y1_test): Likewise.
23446         * sysdeps/i386/fpu/libm-test-ulps: Update.
23447
23448 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23449
23450         * Rules ($(objpfx)bench-%.c): Include code from a C source
23451         file.
23452
23453 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23454
23455         [BZ #15287]
23456         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23457         imaginary part 1.0 and real part less than 0.5 specially.
23458         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23459         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23460         * math/libm-test.inc (cacos_test): Add more tests.
23461         (casin_test): Likewise.
23462         (casinh_test): Likewise.
23463         * sysdeps/i386/fpu/libm-test-ulps: Update.
23464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23465
23466 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23467
23468         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23469         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23470
23471 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23472
23473         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23474         * config.make.in (config-cflags-sse4): Remove variable.
23475         (config-cflags-avx): Likewise.
23476         (config-cflags-sse2avx): Likewise.
23477         (config-cflags-novzeroupper): Likewise.
23478         (config-asflags-i686): Likewise.
23479         (have-mfma4): Likewise.
23480         (have-as-vis3): Likewise.
23481         (MIG): Likewise.
23482         * configure.in (MIG): Do not AC_SUBST.
23483         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23484         (libc_cv_cc_sse4): Do not AC_SUBST.
23485         (libc_cv_cc_avx): Likewise.
23486         (libc_cv_cc_sse2avx): Likewise.
23487         (libc_cv_cc_novzeroupper): Likewise.
23488         (libc_cv_cc_fma4): Likewise.
23489         (libc_cv_as_i686): Likewise.
23490         (libc_cv_sparc_as_vis3): Likewise.
23491         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23492         LIBC_CONFIG_VAR.
23493         (config-asflags-i686): Likewise.
23494         (config-cflags-avx): Likewise.
23495         (config-cflags-sse2avx): Likewise.
23496         (have-mfma4): Likewise.
23497         (config-cflags-novzeroupper): Likewise.
23498         * sysdeps/mach/configure.in (MIG): Likewise.
23499         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23500         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23501         LIBC_CONFIG_VAR.
23502         (config-cflags-avx): Likewise.
23503         (config-cflags-sse2avx): Likewise.
23504         (have-mfma4): Likewise.
23505         (config-cflags-novzeroupper): Likewise.
23506         * configure: Regenerated.
23507         * sysdeps/i386/configure: Likewise.
23508         * sysdeps/mach/configure: Likewise.
23509         * sysdeps/sparc/configure: Likewise.
23510         * sysdeps/x86_64/configure: Likewise.
23511
23512 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23513
23514         [BZ #14812]
23515         * locale/programs/localedef.c (options): Put N_ translation marker
23516         on argument names, not just descriptions.
23517
23518 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23519
23520         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23521
23522 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23523
23524         [BZ #14176]
23525         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23526
23527 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23528
23529         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23530         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23531         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23532         [!BEFORE_ABORT] (before_abort): New function.
23533         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23534         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23535         (writev_for_fatal): New function.
23536         (WRITEV_FOR_FATAL): New macro; call that.
23537         (backtrace_and_maps): New function.
23538         (BEFORE_ABORT): New macro; call that.
23539         (struct str_list): Type removed.
23540         (__libc_message, __libc_fatal): Functions removed.
23541         Include <sysdeps/posix/libc_fatal.c> instead.
23542
23543 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23544
23545         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23546         constants.
23547         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23548         double constants.
23549
23550 2013-03-19  Andreas Schwab  <schwab@suse.de>
23551
23552         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23553         * sysdeps/gnu/configure: Regenerate.
23554
23555         * configure.in: Substitute libc_cv_rtlddir.
23556         * configure: Regenerate.
23557         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23558         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23559         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23560         * elf/Makefile (install-others, CFLAGS-interp.c)
23561         (ldso_install, common-ldd-rewrite): Likewise.
23562         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23563         $(inst_slibdir)/$(rtld-installed-name).
23564         * scripts/rellns-sh: Add -p option.
23565         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23566         for source.
23567
23568 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23569
23570         * manual/nptl.texi: Renamed to ...
23571         * manual/threads.texi: ... this.
23572         * manual/Makefile (chapters): Update.
23573
23574 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23575
23576         [BZ #14812]
23577         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23578         on argument names, not just descriptions.
23579         * malloc/memusagestat.c (options): Likewise.
23580         * nss/getent.c (options): Likewise.
23581
23582 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23583
23584         [BZ #14812]
23585         * iconv/iconv_prog.c (options): Put N_ translation marker
23586         on argument names, not just descriptions.
23587         * iconv/iconvconfig.c (options): Likewise.
23588
23589 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23590
23591         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23592         implementation which is faster on all x86_64 architectures.
23593         Tested on AMD, Intel Nehalem, SNB, IVB.
23594         * sysdeps/x86_64/strnlen.S: Likewise.
23595
23596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23597         Remove all multiarch strlen and strnlen versions.
23598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23599         Remove strlen and strnlen related parts.
23600
23601         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23602         Inline strlen part.
23603         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23604
23605         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23606         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23607         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23608         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23609         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23610         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23611
23612 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23613
23614         * manual/memory.texi (Malloc Tunable Parameters):
23615         Sort parameters alphabetically. Add comments for missing entries.
23616
23617 2013-03-17  David S. Miller  <davem@davemloft.net>
23618
23619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23620
23621 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23622
23623         [BZ #15283]
23624         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23625         for arguments at most half maximum finite value.
23626         * math/libm-test.inc (j0_test): Add more tests.
23627         (j1_test): Likewise.
23628         (y0_test): Likewise.
23629         (y1_test): Likewise.
23630         * sysdeps/i386/fpu/libm-test-ulps: Update.
23631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23632
23633         [BZ #14155]
23634         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23635         1 / x and functions P and Q for arguments above 0x1p256L.
23636         (__ieee754_y0l): Likewise.
23637         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23638         (__ieee754_y1l): Likewise.
23639         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23640         (j1_test): Likewise.
23641         (y0_test): Likewise.
23642         (y1_test): Likewise.
23643
23644 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23645
23646         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23647         variable.
23648
23649 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23650
23651         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23652         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23653         zero since it's initialized to EXEC_PAGESIZE.
23654
23655         * sysdeps/unix/sysv/linux/ldsodefs.h
23656         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23657         * sysdeps/generic/ldsodefs.h: ... here.
23658
23659 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23660
23661         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23662
23663         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23664         math/test-snan.c.
23665         * math/test-snan.c: Renamed from
23666         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23667         * math/Makefile (tests): Add test-snan.
23668         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23669         test-powerpc-snan.
23670
23671         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23672         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23673         functions.
23674         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23675         __builtin_nan family of functions.
23676         * math/libm-test.inc (initialize): Initialize qnan_value with
23677         __builtin_nan family of functions.
23678         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23679         Remove variables.
23680         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23681         Remove functions.
23682         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23683         storage class.  Initialize qNaN_var and sNaN_var with
23684         __builtin_nan and __builtin_nans families of functions,
23685         respectively.
23686
23687         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23688         (sqrt_test): Remove duplicate test with qNaN input.
23689         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23690         (round_test, signbit_test, significand_test): Note missing +/-Inf
23691         as well as qNaN tests.
23692
23693         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23694         qNaN_var.  Fix a few strings, too.
23695         * math/libm-test.inc (nan_value): Rename to qnan_value.
23696         * math/gen-libm-test.pl (%beautify): Adjust to that.
23697         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23698         * math/test-misc.c (main): Likewise.
23699         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23700         to __qnan_bytes, and __qnan_union, respectively.
23701         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23702         Likewise.
23703         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23704         and lqnanval, respectively.
23705         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23706         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23707         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23708         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23709
23710         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23711         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23712         doubles.
23713
23714         * math/test-misc.c (main): Fix copy'n'pastos.
23715         * misc/tst-efgcvt.c (special): Likewise.
23716
23717         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23718         Remove declarations.
23719
23720 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23721
23722         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23723         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23724         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23725         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23726
23727 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23728
23729         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23730         macro to return vdso values correctly in IFUNC implementations.
23731         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23732         Optimization by using IFUNC.
23733
23734 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23735             Richard Henderson  <rth@redhat.com>
23736             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23737
23738         * Makefile.in (bench): New target.
23739         * NEWS: Mention the benchmark framework.
23740         * Rules (bench): Likewise.
23741         (binaries-bench): Generate binaries for functions to
23742         benchmark.
23743         * benchtests/Makefile: New makefile for benchmark tests.
23744         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23745         programs.
23746         * benchtests/exp-inputs: New input file for EXP function.
23747         * benchtests/pow-inputs: New input file for POW function.
23748         * scripts/bench.pl: New script to generate source files for
23749         benchmark programs.
23750
23751 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23752
23753         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23754         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23755         computations on mantissa.  Use macros for rounding and
23756         division.
23757         (denorm): Likewise.
23758         (__dbl_mp): Likewise.
23759         (add_magnitudes): Likewise.
23760         (sub_magnitudes): Likewise.
23761         (__mul): Likewise.
23762         (__sqr): Likewise.
23763         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23764         powers of two in terms of TWOPOW macro.
23765         (mp_no): Make type of mantissa as MANTISSA_T.
23766         [!RADIXI]: Define RADIXI.
23767         [!TWO52]: Define TWO52.
23768         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23769
23770         * manual/nptl.texi (cindex): Modify threads to pthreads.
23771
23772 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23773
23774         * sysdeps/x86_64/preconfigure: Regenerated.
23775
23776 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23777
23778         [BZ #14155]
23779         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23780         0x1p28 and above.
23781         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23782         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23783         0x1p28 and above.
23784         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23785         * math/libm-test.inc (j0_test): Do not allow one spurious
23786         underflow exception.
23787         (y1_test): Likewise.
23788
23789 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23790
23791         * manual/Makefile (chapters): Add nptl.
23792         * manual/debug.texi (Debugging Support): Add link to Threads
23793         chapter.
23794         * manual/nptl.texi: New file.
23795
23796         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23797
23798 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23799
23800         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23801         for non-NULL pointer before the memory validity test. Pointed
23802         out by Holger Brunck <holger.brunck@keymile.com>.
23803
23804 2013-03-13  Andreas Schwab  <schwab@suse.de>
23805
23806         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23807         instead of .os.
23808
23809 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23810
23811         * timezone/zic.c: Update from tzcode 2013b.
23812
23813 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23814
23815         * manual/install.texi (Configuring and compiling):
23816         Mention i686 and i586.
23817         * INSTALL: Regenerate.
23818
23819 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23820
23821         * sysdeps/init_array/elf-init.c: New file.
23822         * csu/elf-init.c
23823         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23824         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23825
23826         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23827         __gmon_start__ as global, but as static with a .preinit_array pointer.
23828         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23829         * sysdeps/init_array/crti.S: New file, empty except for comments.
23830         * sysdeps/init_array/crtn.S: Likewise.
23831
23832 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23833
23834         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23835         definining bcopy.
23836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23837         Remove Prefer_SSE_for_memop.
23838         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23839         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23840         HAS_PREFER_SSE_FOR_MEMOP.
23841         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23842         memset-x86-64.
23843         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23844         Remove bzero, memset ifunc support.
23845         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23846         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23847         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23848         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23849
23850 2013-03-11  Andreas Schwab  <schwab@suse.de>
23851
23852         [BZ #15234]
23853         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23854         by SHLIB_COMPAT.
23855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23856         (GLIBC_2.16): Remove pthread_atfork.
23857
23858 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23859
23860         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23861         (ptestcases.h): Likewise.
23862
23863 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23864
23865         * Makeconfig ($(common-objpfx)config.status): Depend on
23866         sysdeps/*/preconfigure{,.in} too.
23867
23868 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23869
23870         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23871         (__free_hook): Use void * instead of __malloc_ptr_t.
23872         (__malloc_hook): Likewise.
23873         (__realloc_hook): Likewise.
23874         (__memalign_hook): Likewise.
23875         (__after_morecore_hook): Likewise.
23876         * malloc/arena.c (save_malloc_hook): Likewise.
23877         (save_free_hook): Likewise.
23878         * malloc/hooks.c (malloc_hook_ini): Likewise.
23879         (realloc_hook_ini): Likewise.
23880         (memalign_hook_ini): Likewise.
23881         * malloc/malloc.c (malloc_hook_ini): Likewise.
23882         (realloc_hook_ini): Likewise.
23883         (memalign_hook_ini): Likewise.
23884         (__free_hook): Likewise.
23885         (__malloc_hook): Likewise.
23886         (__realloc_hook): Likewise.
23887         (__memalign_hook): Likewise.
23888         (__libc_malloc): Likewise.
23889         (__libc_free): Likewise.
23890         (__libc_realloc): Likewise.
23891         (__libc_memalign): Likewise.
23892         (__libc_valloc): Likewise.
23893         (__libc_pvalloc): Likewise.
23894         (__libc_calloc): Likewise.
23895         (__posix_memalign): Likewise.
23896         * malloc/morecore.c (__sbrk): Likewise.
23897         (__default_morecore): Likewise.
23898
23899         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23900
23901         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23902         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23903         __malloc_ptrdiff_t.
23904
23905         * malloc/malloc.h (__malloc_size_t): Remove macro.
23906         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23907         __malloc_size_t.
23908         (old_memalign_hook): Likewise.
23909         (old_realloc_hook): Likewise.
23910         (struct hdr): Likewise.
23911         (flood): Likewise.
23912         (mallochook): Likewise.
23913         (memalignhook): Likewise.
23914         (reallochook): Likewise.
23915         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23916         (tr_old_realloc_hook): Likewise.
23917         (tr_old_memalign_hook): Likewise.
23918         (tr_mallochook): Likewise.
23919         (tr_reallochook): Likewise.
23920         (tr_memalignhook): Likewise.
23921
23922 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23923
23924         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23925         default_ldbl_pack and using as default implementation.
23926         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23927         implementation.
23928         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23929         redundant definition.
23930         (ldbl_insert_mantissa): Likewise.
23931         (ldbl_canonicalize): Likewise.
23932         (ldbl_nearbyint): Likewise.
23933         (ldbl_pack): Rename to ldbl_pack_ppc.
23934         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23935         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23936         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23937
23938 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23939
23940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23941         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23942         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23943         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23945         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23946         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23947         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23948
23949 2013-03-07  Andreas Jaeger  <aj@suse.de>
23950
23951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23952         bits/mman-linux.h.
23953
23954 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23955
23956         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23957         Include mpa.h and declare __MPEXP.
23958         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23959         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23960         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23961         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23962         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23963         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23964         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23965
23966         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23967         (__slowpow): Use long double EXPL and LOGL functions to
23968         compute POW.
23969         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23970         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23971         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23972         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23973         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23974         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23975
23976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23977         intermediate variable to calculate exponent.
23978         (__sqr): Likewise.
23979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23980         Likewise.
23981         (__sqr): Likewise.
23982
23983         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23984         [!NO__SQR]: Define __sqr.
23985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23986         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23987         sysdeps/ieee754/dbl-64/mpa.c.
23988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23989
23990         [BZ #12723]
23991         * posix/Makefile (tests): Add tst-pathconf.
23992         * posix/tst-pathconf.c: New test case.
23993         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23994         _PC_PIPE_BUF.
23995         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23996
23997 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23998
23999         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24000
24001 2013-03-06  Andreas Jaeger  <aj@suse.de>
24002
24003         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24004         definition via __MAP_ANONYMOUS.
24005
24006         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24007         it's not part of Linux headers.
24008
24009         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24010         (MAP_HUGE_MASK): Define.
24011
24012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24013         Define.
24014         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24015         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24016         Define.
24017         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24018         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24019         Define.
24020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24021         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24022         Define.
24023         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24024
24025         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24026         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24027         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24028         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24029         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24030         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24031
24032         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24033         Handle f2fs.
24034
24035         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24036         Handle f2fs and efivarfs.
24037
24038         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24039         f2fs.
24040
24041         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24042         (EFIVARFS_MAGIC): Add.
24043         (F2FS_LINK_MAX): Add.
24044
24045 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24046
24047         * stdio-common/vfprintf.c: Replace __builtin_expect with
24048         __glibc_unlikely.
24049
24050 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24051
24052         [BZ #13550]
24053         * sysdeps/generic/bp-sym.h: Remove file.
24054         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24055         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24056         <bp-sym.h> and <bp-asm.h>.
24057         (__longjmp): Don't use BP_SYM.
24058         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24059         and <bp-asm.h>.
24060         (memcpy): Don't use BP_SYM.
24061         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24062         <bp-sym.h> and <bp-asm.h>.
24063         (memcpy): Don't use BP_SYM.
24064         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24065         <bp-asm.h>.
24066         (memcpy): Don't use BP_SYM.
24067         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24068         <bp-asm.h>.
24069         (memset): Don't use BP_SYM.
24070         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24071         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24072         (__bzero): Don't use BP_SYM.
24073         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24074         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24075         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24076         <bp-sym.h> and <bp-asm.h>.
24077         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24078         pointers.
24079         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24080         <bp-sym.h> and <bp-asm.h>.
24081         (memcpy): Don't use BP_SYM.
24082         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24083         <bp-sym.h> and <bp-asm.h>.
24084         (memset): Don't use BP_SYM.
24085         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24086         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24087         (__bzero): Don't use BP_SYM.
24088         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24089         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24090         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24091         <bp-sym.h> and <bp-asm.h>.
24092         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24093         pointers.
24094         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24095         <bp-sym.h> and <bp-asm.h>.
24096         (memcpy): Don't use BP_SYM.
24097         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24098         <bp-sym.h> and <bp-asm.h>.
24099         (memset): Don't use BP_SYM.
24100         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24101         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24102         (__bzero): Don't use BP_SYM.
24103         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24104         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24105         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24106         <bp-sym.h> and <bp-asm.h>.
24107         (__memchr): Don't use BP_SYM.
24108         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24109         <bp-sym.h> and <bp-asm.h>.
24110         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24111         pointers.
24112         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24113         <bp-sym.h> and <bp-asm.h>.
24114         (memcpy): Don't use BP_SYM.
24115         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24116         <bp-sym.h> and <bp-asm.h>.
24117         (__mempcpy): Don't use BP_SYM.
24118         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24119         <bp-sym.h> and <bp-asm.h>.
24120         (__memrchr): Don't use BP_SYM.
24121         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24122         <bp-sym.h> and <bp-asm.h>.
24123         (memset): Don't use BP_SYM.
24124         (__bzero): Likewise.
24125         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24126         <bp-sym.h> and <bp-asm.h>.
24127         (__rawmemchr): Don't use BP_SYM.
24128         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24129         <bp-sym.h> and <bp-asm.h>.
24130         (__STRCMP): Don't use BP_SYM.
24131         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24132         <bp-sym.h> and <bp-asm.h>.
24133         (strchr): Don't use BP_SYM.
24134         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24135         <bp-sym.h> and <bp-asm.h>.
24136         (__strchrnul): Don't use BP_SYM.
24137         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24138         <bp-sym.h> and <bp-asm.h>.
24139         (strlen): Don't use BP_SYM.
24140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24141         <bp-sym.h> and <bp-asm.h>.
24142         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24143         pointers.
24144         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24145         <bp-sym.h> and <bp-asm.h>.
24146         (__strnlen): Don't use BP_SYM.
24147         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24148         <bp-sym.h> and <bp-asm.h>.
24149         (__GI__setjmp): Don't use BP_SYM.
24150         (_setjmp): Likewise.
24151         (__sigsetjmp): Likewise.
24152         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24153         (L(start_addresses)): Don't use BP_SYM.
24154         (_start): Likewise.
24155         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24156         <bp-asm.h>.
24157         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24158         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24159         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24160         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24161         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24162         <bp-asm.h>.
24163         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24164         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24165         about bounded pointers.
24166         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24167         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24168         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24169         <bp-asm.h>.
24170         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24171         about bounded pointers.  Remove GKM FIXME comments.
24172         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24173         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24174         <bp-asm.h>.
24175         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24176         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24177         Remove GKM FIXME comments.
24178         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24179         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24180         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24181         <bp-asm.h>.
24182         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24183         about bounded pointers.  Remove GKM FIXME comment.
24184         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24185         and <bp-asm.h>.
24186         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24187         pointers.
24188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24189         <bp-sym.h> and <bp-asm.h>.
24190         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24192         <bp-sym.h> and <bp-asm.h>.
24193         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24194         comment.
24195
24196 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24197
24198         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24199         call free(NULL).
24200
24201 2013-03-05  David S. Miller  <davem@davemloft.net>
24202
24203         * po/es.po: Update from translation team.
24204
24205 2013-03-05  Andreas Jaeger  <aj@suse.de>
24206
24207         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24208         <bits/mman-linux.h>.
24209         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24210         is fine.
24211         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24212         <bits/mman-linux.h> to end of file.
24213         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24214         is fine.
24215         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24216         <bits/mman-linux.h> to end of file.
24217         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24218         is fine.
24219         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24220         <bits/mman-linux.h> to end of file.
24221
24222         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24223         (MCL_CURRENT, MCL_FUTURE): Define here.
24224
24225 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24226
24227         [BZ #15232]
24228         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24229         attribute_hidden.
24230         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24231
24232 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24233
24234         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24235         fourth parameter needed for rt_sigprocmask syscall.
24236         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24237         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24238         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24239         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24240         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24241         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24242
24243 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24244
24245         [BZ #13550]
24246         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24247         comment about bounded pointers.
24248         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24249         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24250
24251 2013-03-04  Andreas Jaeger  <aj@suse.de>
24252
24253         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24254         common definitions.
24255
24256         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24257         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24258         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24259         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24260         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24261         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24262
24263 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24264
24265         [BZ #15055]
24266         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24267         __ieee754_sqrl instead of __sqrl.
24268
24269 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24270
24271         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24272         * sysdeps/powerpc/fpu_control.h: ... here.
24273         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24274         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24275         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24276         * sysdeps/powerpc/bits/mathinline.h: ... here.
24277
24278 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24279
24280         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24281         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24282         to just [NEED_DL_SYSINFO_DSO].
24283         * elf/dl-support.c: Likewise.
24284         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24285         * elf/rtld.c (dl_main): Likewise.
24286         * elf/setup-vdso.h (setup_vdso): Likewise.
24287         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24288         * sysdeps/unix/sysv/linux/dl-sysdep.c
24289         (_dl_discover_osversion): Likewise.
24290
24291 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24292
24293         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24294         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24295
24296 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24297
24298         * NEWS: Mention libm performance improvements and non-x86 PI
24299         futex support.
24300
24301         * csu/libc-start.c (__pthread_initialize_minimal): Change
24302         function arguments.
24303         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24304
24305 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24306
24307         [BZ #13550]
24308         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24309         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24310         <bp-sym.h> and <bp-asm.h>.
24311         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24312         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24313         and <bp-asm.h>.
24314         (memcpy): Don't use BP_SYM.
24315         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24316         <bp-asm.h>.
24317         (__mpn_add_n): Don't use BP_SYM.
24318         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24319         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24320         and <bp-asm.h>.
24321         (__mpn_addmul_1): Don't use BP_SYM.
24322         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24323         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24324         <bp-sym.h>.
24325         (_setjmp): Don't use BP_SYM.
24326         (__novmx_setjmp): Likewise.
24327         (__GI__setjmp): Likewise.
24328         (__vmx_setjmp): Likewise.
24329         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24330         <bp-sym.h>.
24331         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24332         (__bzero): Don't use BP_SYM.
24333         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24334         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24335         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24336         <bp-sym.h> and <bp-asm.h>.
24337         (memcpy): Don't use BP_SYM.
24338         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24339         <bp-sym.h> and <bp-asm.h>.
24340         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24342         <bp-sym.h> and <bp-asm.h>.
24343         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24344         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24345         <bp-asm.h>.
24346         (__mpn_lshift): Don't use BP_SYM.
24347         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24348         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24349         <bp-asm.h>.
24350         (memset): Don't use BP_SYM.
24351         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24352         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24353         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24354         <bp-asm.h>.
24355         (__mpn_mul_1): Don't use BP_SYM.
24356         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24357         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24358         <bp-sym.h> and <bp-asm.h>.
24359         (memcmp): Don't use BP_SYM.
24360         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24361         <bp-sym.h> and <bp-asm.h>.
24362         (memcpy): Don't use BP_SYM.
24363         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24364         <bp-sym.h> and <bp-asm.h>.
24365         (memset): Don't use BP_SYM.
24366         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24367         <bp-sym.h> and <bp-asm.h>.
24368         (strncmp): Don't use BP_SYM.
24369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24370         <bp-sym.h> and <bp-asm.h>.
24371         (memcpy): Don't use BP_SYM.
24372         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24373         <bp-sym.h> and <bp-asm.h>.
24374         (memset): Don't use BP_SYM.
24375         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24376         <bp-sym.h> and <bp-asm.h>.
24377         (__memchr): Don't use BP_SYM.
24378         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24379         <bp-sym.h> and <bp-asm.h>.
24380         (memcmp): Don't use BP_SYM.
24381         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24382         <bp-sym.h> and <bp-asm.h>.
24383         (memcpy): Don't use BP_SYM.
24384         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24385         <bp-sym.h> and <bp-asm.h>.
24386         (__mempcpy): Don't use BP_SYM.
24387         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24388         <bp-sym.h> and <bp-asm.h>.
24389         (__memrchr): Don't use BP_SYM.
24390         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24391         <bp-sym.h> and <bp-asm.h>.
24392         (memset): Don't use BP_SYM.
24393         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24394         <bp-sym.h> and <bp-asm.h>.
24395         (__rawmemchr): Don't use BP_SYM.
24396         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24397         <bp-sym.h> and <bp-asm.h>.
24398         (__STRCMP): Don't use BP_SYM.
24399         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24400         <bp-sym.h> and <bp-asm.h>.
24401         (strchr): Don't use BP_SYM.
24402         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24403         <bp-sym.h> and <bp-asm.h>.
24404         (__strchrnul): Don't use BP_SYM.
24405         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24406         <bp-sym.h> and <bp-asm.h>.
24407         (strlen): Don't use BP_SYM.
24408         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24409         <bp-sym.h> and <bp-asm.h>.
24410         (strncmp): Don't use BP_SYM.
24411         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24412         <bp-sym.h> and <bp-asm.h>.
24413         (__strnlen): Don't use BP_SYM.
24414         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24415         <bp-asm.h>.
24416         (__mpn_rshift): Don't use BP_SYM.
24417         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24418         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24419         <bp-sym.h> and <bp-asm.h>.
24420         (__sigsetjmp): Don't use BP_SYM.
24421         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24422         (L(start_addresses)): Don't use BP_SYM.
24423         (_start): Likewise.
24424         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24425         <bp-asm.h>.
24426         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24427         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24428         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24429         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24430         <bp-asm.h>.
24431         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24432         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24433         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24434         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24435         <bp-asm.h>.
24436         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24437         comments.
24438         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24439         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24440         <bp-asm.h>.
24441         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24442         FIXME comments.
24443         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24444         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24445         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24446         <bp-asm.h>.
24447         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24448         comment.
24449         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24450         and <bp-asm.h>.
24451         (strncmp): Don't use BP_SYM,
24452         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24453         <bp-asm.h>.
24454         (__mpn_sub_n): Don't use BP_SYM.
24455         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24456         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24457         and <bp-asm.h>.
24458         (__mpn_submul_1): Don't use BP_SYM.
24459         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24461         <bp-sym.h> and <bp-asm.h>.
24462         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24464         <bp-sym.h> and <bp-asm.h>.
24465         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24466         comment.
24467
24468 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24469
24470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24471         Use ZK to minimize writes to Z.
24472         (sub_magnitudes): Simplify code a bit.
24473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24474         Use ZK to minimize writes to Z.
24475         (sub_magnitudes): Simplify code a bit.
24476
24477 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24478
24479         * csu/gmon-start.c: Add special exception to license text.
24480
24481 2013-02-27  Richard Henderson  <rth@redhat.com>
24482
24483         * scripts/config.guess: Update from config.git.
24484         * scripts/config.sub: Likewise.
24485
24486 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24487
24488         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24489
24490         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24491
24492         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24493
24494         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24495
24496         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24497
24498 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24499
24500         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24501         [$(build-shared = yes].
24502
24503 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24504
24505         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24506         (__mul): Reduce iterations for calculating mantissa.
24507
24508         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24509         MPTWO.
24510         (__mpranred): Likewise.
24511
24512         [BZ #15160]
24513         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24514         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24515
24516 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24517
24518         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24519         Define __attribute__.
24520
24521 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24522
24523         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24524         unused.
24525         * posix/regex_internal.h (__attribute): Remove.
24526         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24527         (re_string_context_at): Likewise.
24528         (bitset_not): Use __attribute__ and mark function as possibly
24529         unused.
24530         (bitset_merge): Likewise.
24531         (bitset_mask): Likewise.
24532         (re_string_char_size_at): Likewise.
24533         (re_string_wchar_at): Likewise.
24534         (re_string_elem_size_at): Likewise.
24535
24536 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24537
24538         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24539         code.
24540         (cc32): Likewise.
24541
24542         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24543         (__acr): Likewise.
24544         (__cpy): Likewise.
24545         (norm): Likewise.
24546         (denorm): Likewise.
24547         (__dbl_mp): Likewise.
24548         (add_magnitudes): Likewise.
24549         (sub_magnitudes): Likewise.
24550         (__mul): Likewise.
24551         (__inv): Likewise.
24552
24553         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24554         style.
24555
24556         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24557         style.
24558
24559         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24560         code.
24561
24562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24563         up changes with default code.
24564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24565         Likewise.
24566
24567 2013-02-24  Allan McRae  <allan@archlinux.org>
24568
24569         * manual/socket.texi (The Internet Namespace): Order menu items
24570         to match that in the file.
24571
24572         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24573         node listing of the info page menu.
24574
24575 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24576
24577         [BZ #13550]
24578         * sysdeps/i386/bp-asm.h: Remove file.
24579         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24580         (PARMS): Do not use macros from bp-asm.h.
24581         (S1): Likewise.
24582         (S2): Likewise.
24583         (SIZE): Likewise.
24584         (__mpn_add_n): Do not use BP_SYM
24585         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24586         "bp-asm.h".
24587         (PARMS): Do not use macros from bp-asm.h.
24588         (S1): Likewise.
24589         (SIZE): Likewise.
24590         (__mpn_addmul_1): Do not use BP_SYM
24591         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24592         "bp-asm.h".
24593         (PARMS): Do not use macros from bp-asm.h.
24594         (SIGMSK): Likewise.
24595         (_setjmp): Likewise.  Do not use BP_SYM.
24596         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24597         "bp-asm.h".
24598         (PARMS): Do not use macros from bp-asm.h.
24599         (SIGMSK): Likewise.
24600         (setjmp): Likewise.  Do not use BP_SYM.
24601         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24602         "bp-asm.h".
24603         (PARMS): Do not use macros from bp-asm.h.
24604         (__frexp): Do not use BP_SYM.
24605         (frexp): Likewise.
24606         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24607         "bp-asm.h".
24608         (PARMS): Do not use macros from bp-asm.h.
24609         (__frexpf): Do not use BP_SYM.
24610         (frexpf): Likewise.
24611         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24612         "bp-asm.h".
24613         (PARMS): Do not use macros from bp-asm.h.
24614         (__frexpl): Do not use BP_SYM.
24615         (frexpl): Likewise.
24616         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24617         "bp-asm.h".
24618         (PARMS): Do not use macros from bp-asm.h.
24619         (__remquo): Do not use BP_SYM.
24620         (remquo): Likewise.
24621         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24622         "bp-asm.h".
24623         (PARMS): Do not use macros from bp-asm.h.
24624         (__remquof): Do not use BP_SYM.
24625         (remquof): Likewise.
24626         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24627         "bp-asm.h".
24628         (PARMS): Do not use macros from bp-asm.h.
24629         (__remquol): Do not use BP_SYM.
24630         (remquol): Likewise.
24631         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24632         "bp-asm.h".
24633         (PARMS): Do not use macros from bp-asm.h.
24634         (DEST): Likewise.
24635         (SRC): Likewise.
24636         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24637         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24638         "bp-asm.h".
24639         (PARMS): Do not use macros from bp-asm.h.
24640         (strlen): Do not use BP_SYM.
24641         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24642         "bp-asm.h".
24643         (PARMS): Do not use macros from bp-asm.h.
24644         (S1): Likewise.
24645         (S2): Likewise.
24646         (SIZE): Likewise.
24647         (__mpn_add_n): Do not use BP_SYM.
24648         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24649         "bp-asm.h".
24650         (PARMS): Do not use macros from bp-asm.h.
24651         (S1): Likewise.
24652         (SIZE): Likewise.
24653         (__mpn_addmul_1): Do not use BP_SYM.
24654         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24655         weak_alias.
24656         (bzero): Likewise.
24657         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24658         "bp-asm.h".
24659         (PARMS): Do not use macros from bp-asm.h.
24660         (S): Likewise.
24661         (SIZE): Likewise.
24662         (__mpn_lshift): Do not use BP_SYM.
24663         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24664         "bp-asm.h".
24665         (PARMS): Do not use macros from bp-asm.h.
24666         (DEST): Likewise.
24667         (SRC): Likewise.
24668         (LEN): Likewise.
24669         (memcpy): Likewise.  Do not use BP_SYM.
24670         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24671         libc_hidden_def and weak_alias.
24672         (mempcpy): Do not use BP_SYM in weak_alias.
24673         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24674         "bp-asm.h".
24675         (PARMS): Do not use macros from bp-asm.h.
24676         (DEST): Likewise.
24677         (LEN): Likewise.
24678         [!BZERO_P] (CHR): Likewise.
24679         (memset): Likewise.  Do not use BP_SYM.
24680         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24681         "bp-asm.h".
24682         (PARMS): Do not use macros from bp-asm.h.
24683         (S1): Likewise.
24684         (SIZE): Likewise.
24685         (__mpn_mul_1): Do not use BP_SYM.
24686         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24687         "bp-asm.h".
24688         (PARMS): Do not use macros from bp-asm.h.
24689         (S): Likewise.
24690         (SIZE): Likewise.
24691         (__mpn_rshift): Do not use BP_SYM.
24692         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24693         "bp-asm.h".
24694         (PARMS): Do not use macros from bp-asm.h.
24695         (STR): Likewise.
24696         (CHR): Likewise.
24697         (strchr): Likewise.  Do not use BP_SYM.
24698         (index): Do not use BP_SYM in weak_alias.
24699         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24700         "bp-asm.h".
24701         (PARMS): Do not use macros from bp-asm.h.
24702         (DEST): Likewise.
24703         (SRC): Likewise.
24704         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24705         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24706         "bp-asm.h".
24707         (PARMS): Do not use macros from bp-asm.h.
24708         (strlen): Do not use BP_SYM.
24709         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24710         "bp-asm.h".
24711         (PARMS): Do not use macros from bp-asm.h.
24712         (S1): Likewise.
24713         (S2): Likewise.
24714         (SIZE): Likewise.
24715         (__mpn_sub_n): Do not use BP_SYM.
24716         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24717         "bp-asm.h".
24718         (PARMS): Do not use macros from bp-asm.h.
24719         (S1): Likewise.
24720         (SIZE): Likewise.
24721         (__mpn_submul_1): Do not use BP_SYM.
24722         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24723         "bp-asm.h".
24724         (PARMS): Do not use macros from bp-asm.h.
24725         (S1): Likewise.
24726         (S2): Likewise.
24727         (SIZE): Likewise.
24728         (__mpn_add_n): Do not use BP_SYM.
24729         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24730         weak_alias.
24731         (bzero): Likewise.
24732         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24733         "bp-asm.h".
24734         (PARMS): Do not use macros from bp-asm.h.
24735         (BLK2): Likewise.
24736         (LEN): Likewise.
24737         (memcmp): Do not use BP_SYM.
24738         (bcmp): Do not use BP_SYM in weak_alias.
24739         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24740         "bp-asm.h".
24741         (PARMS): Do not use macros from bp-asm.h.
24742         (DEST): Likewise.
24743         (SRC): Likewise.
24744         (LEN): Likewise.
24745         (memcpy): Likewise.  Do not use BP_SYM.
24746         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24747         "bp-asm.h".
24748         (PARMS): Do not use macros from bp-asm.h.
24749         (DEST): Likewise.
24750         (SRC): Likewise.
24751         (LEN): Likewise.
24752         (memmove): Likewise.  Do not use BP_SYM.
24753         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24754         "bp-asm.h".
24755         (PARMS): Do not use macros from bp-asm.h.
24756         (DEST): Likewise.
24757         (SRC): Likewise.
24758         (LEN): Likewise.
24759         (__mempcpy): Likewise.  Do not use BP_SYM.
24760         (mempcpy): Do not use BP_SYM in weak_alias.
24761         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24762         "bp-asm.h".
24763         (PARMS): Do not use macros from bp-asm.h.
24764         (DEST): Likewise.
24765         (LEN): Likewise.
24766         [!BZERO_P] (CHR): Likewise.
24767         (memset): Likewise.  Do not use BP_SYM.
24768         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24769         "bp-asm.h".
24770         (PARMS): Do not use macros from bp-asm.h.
24771         (STR2): Likewise.
24772         (strcmp): Do not use BP_SYM.
24773         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24774         "bp-asm.h".
24775         (PARMS): Do not use macros from bp-asm.h.
24776         (STR): Likewise.
24777         (DELIM): Likewise.
24778         [USE_AS_STRTOK_R] (SAVE): Likewise.
24779         (FUNCTION): Likewise.  Do not use BP_SYM.
24780         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24781         aliases.
24782         (strtok_r): Likewise.
24783         (__GI___strtok_r): Likewise.
24784         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24785         (PARMS): Do not use macros from bp-asm.h.
24786         (S): Likewise.
24787         (SIZE): Likewise.
24788         (__mpn_lshift): Do not use BP_SYM.
24789         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24790         (PARMS): Do not use macros from bp-asm.h.
24791         (STR): Likewise.
24792         (CHR): Likewise.
24793         (__memchr): Do not use BP_SYM.
24794         (memchr): Do not use BP_SYM in weak_alias.
24795         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24796         (PARMS): Do not use macros from bp-asm.h.
24797         (BLK2): Likewise.
24798         (LEN): Likewise.
24799         (memcmp): Do not use BP_SYM.
24800         (bcmp): Do not use BP_SYM in weak_alias.
24801         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24802         (PARMS): Do not use macros from bp-asm.h.
24803         (S1): Likewise.
24804         (SIZE): Likewise.
24805         (__mpn_mul_1): Do not use BP_SYM.
24806         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24807         "bp-asm.h".
24808         (PARMS): Do not use macros from bp-asm.h.
24809         (STR): Likewise.
24810         (CHR): Likewise.
24811         (__rawmemchr): Do not use BP_SYM.
24812         (rawmemchr): Do not use BP_SYM in weak_alias.
24813         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24814         (PARMS): Do not use macros from bp-asm.h.
24815         (S): Likewise.
24816         (SIZE): Likewise.
24817         (__mpn_rshift): Do not use BP_SYM.
24818         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24819         (PARMS): Do not use macros from bp-asm.h.
24820         (SIGMSK): Likewise.
24821         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24822         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24823         (_start): Do not use BP_SYM.
24824         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24825         (PARMS): Do not use macros from bp-asm.h.
24826         (DEST): Likewise.
24827         (SRC): Likewise.
24828         (__stpcpy): Likewise.  Do not use BP_SYM.
24829         (stpcpy): Do not use BP_SYM in weak_alias.
24830         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24831         "bp-asm.h".
24832         (PARMS): Do not use macros from bp-asm.h.
24833         (DEST): Likewise.
24834         (SRC): Likewise.
24835         (LEN): Likewise.
24836         (__stpncpy): Likewise.  Do not use BP_SYM.
24837         (stpncpy): Do not use BP_SYM in weak_alias.
24838         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24839         (PARMS): Do not use macros from bp-asm.h.
24840         (STR): Likewise.
24841         (CHR): Likewise.
24842         (strchr): Likewise.  Do not use BP_SYM.
24843         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24844         "bp-asm.h".
24845         (PARMS): Do not use macros from bp-asm.h.
24846         (STR): Likewise.
24847         (CHR): Likewise.
24848         (__strchrnul): Likewise.  Do not use BP_SYM.
24849         (strchrnul): Do not use BP_SYM in weak_alias.
24850         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24851         "bp-asm.h".
24852         (PARMS): Do not use macros from bp-asm.h.
24853         (STOP): Likewise.
24854         (strcspn): Do not use BP_SYM.
24855         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24856         "bp-asm.h".
24857         (PARMS): Do not use macros from bp-asm.h.
24858         (STR): Likewise.
24859         (STOP): Likewise.
24860         (strpbrk): Likewise.  Do not use BP_SYM.
24861         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24862         "bp-asm.h".
24863         (PARMS): Do not use macros from bp-asm.h.
24864         (STR): Likewise.
24865         (CHR): Likewise.
24866         (strrchr): Likewise.  Do not use BP_SYM.
24867         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24868         (PARMS): Do not use macros from bp-asm.h.
24869         (SKIP): Likewise.
24870         (strspn): Do not use BP_SYM.
24871         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24872         (PARMS): Do not use macros from bp-asm.h.
24873         (STR): Likewise.
24874         (DELIM): Likewise.
24875         (SAVE): Likewise.
24876         (FUNCTION): Likewise.  Do not use BP_SYM.
24877         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24878         aliases.
24879         (strtok_r): Likewise.
24880         (__GI___strtok_r): Likewise.
24881         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24882         (PARMS): Do not use macros from bp-asm.h.
24883         (S1): Likewise.
24884         (S2): Likewise.
24885         (SIZE): Likewise.
24886         (__mpn_sub_n): Do not use BP_SYM.
24887         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24888         "bp-asm.h".
24889         (PARMS): Do not use macros from bp-asm.h.
24890         (S1): Likewise.
24891         (SIZE): Likewise.
24892         (__mpn_submul_1): Do not use BP_SYM.
24893         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24894         <bp-sym.h>.
24895         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24896         and <bp-asm.h>.
24897         (PARMS): Do not use macros from bp-asm.h.
24898         (FLAGS): Likewise.
24899         (PTID): Likewise.
24900         (TLS): Likewise.
24901         (CTID): Likewise.
24902         (__clone): Do not use BP_SYM.
24903         (clone): Do not use BP_SYM in weak_alias.
24904         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24905         and <bp-asm.h>.
24906         (PARMS): Do not use macros from bp-asm.h.
24907         (LEN): Likewise.
24908         (__mmap64): Do not use BP_SYM.
24909         (mmap64): Do not use BP_SYM in weak_alias.
24910         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24911         <bp-sym.h> and <bp-asm.h>.
24912         (PARMS): Do not use macros from bp-asm.h.
24913         (__posix_fadvise64_l64): Do not use BP_SYM.
24914         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24915         (PARMS): Do not use macros from bp-asm.h.
24916         (NSOPS): Likewise.
24917         (semtimedop): Do not use BP_SYM.
24918         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24919         and <bp-asm.h>.
24920
24921 2013-02-21  Allan McRae  <allan@archlinux.org>
24922
24923         * manual/message.texi (Charset conversion in gettext):
24924         Move @end statement to beginning of line.
24925
24926 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24927
24928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24929         static.
24930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24931         Likewise.
24932
24933         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24934         (denorm): Likewise.
24935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24937
24938 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24939
24940         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24941         tail-call to the resolved function if pltexit isn't needed.
24942
24943 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24944
24945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24946         or Y being zero as being unlikely.
24947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24948         Likewise.
24949
24950 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24951
24952         * manual/nss.texi (System Databases and Name Service Switch):
24953         Remove frobnicate @pxref.
24954
24955 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24956
24957         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24958         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24959
24960 2013-02-20  Petr Machata  <pmachata@redhat.com>
24961
24962         * elf/elf.h (R_ARM_TARGET1): New macro.
24963         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24964         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24965         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24966         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24967         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24968         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24969         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24970         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24971         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24972         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24973         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24974         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24975         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24976         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24977         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24978         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24979         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24980         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24981         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24982         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24983         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24984         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24985         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24986         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24987         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24988         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24989         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24990         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24991         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24992         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24993         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24994         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24995         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24996         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24997         (R_ARM_THM_GOT_BREL12): Likewise.
24998         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24999         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25000         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25001         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25002         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25003         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25004         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25005         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25006         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25007
25008 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25009
25010         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25011         __attribute_used__ to __attribute__ ((unused)).
25012
25013 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25014
25015         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25016         powerpc mpa.c.
25017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25018         comment formatting.
25019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25020
25021 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25022
25023         [BZ #13550]
25024         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25025         Remove macro.
25026         (ENTER): Remove both macro definitions.
25027         (LEAVE): Likewise.
25028         (CHECK_BOUNDS_LOW): Likewise.
25029         (CHECK_BOUNDS_HIGH): Likewise.
25030         (CHECK_BOUNDS_BOTH): Likewise.
25031         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25032         (RETURN_BOUNDED_POINTER): Likewise.
25033         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25034         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25035         (POP_ERRNO_LOCATION_RETURN): Likewise.
25036         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25037         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25038         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25039         macros.
25040         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25041         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25042         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25043         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25044         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25045         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25046         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25047         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25048         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25049         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25050         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25051         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25052         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25053         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25054         removed macros.
25055         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25056         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25057         macros.
25058         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25059         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25060         * sysdeps/i386/i586/memset.S (memset): Likewise.
25061         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25062         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25063         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25064         macros.
25065         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25066         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25067         Change uses of L(2) to L(out).
25068         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25069         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25070         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25071         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25072         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25073         removed macros.
25074         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25075         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25076         macros.
25077         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25078         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25079         (RETURN): Do not use macro LEAVE.
25080         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25081         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25082         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25083         * sysdeps/i386/i686/memset.S (memset): Likewise.
25084         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25085         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25086         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25087         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25088         Likewise.
25089         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25090         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25091         L(1_2) and L(1_3) into L(1).
25092         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25093         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25094         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25095         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25096         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25097         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25098         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25099         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25100         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25101         macros.
25102         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25103         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25104         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25105         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25106         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25107         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25108         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25109         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25110         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25111         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25112         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25113         * sysdeps/i386/strspn.S (strspn): Likewise.
25114         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25115         conditional code.
25116         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25117         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25118         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25119         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25120         L(1_3) into L(1_1).
25121         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25122         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25123         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25124         macros.
25125         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25126
25127 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25128
25129         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25130         macro.
25131
25132 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25133
25134         * math/atest-exp.c (exp_mpn): Remove ROUND.
25135         * math/atest-exp2.c (exp_mpn): Likewise.
25136         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25137
25138         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25139         * stdlib/tst-tls-atexit-lib.c: Likewise.
25140         * stdlib/tst-tls-atexit.c: Likewise.
25141
25142 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25143
25144         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25145         and __attribute_alloc_size__.
25146
25147 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25148
25149         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25150         __attribute_alloc_size__.
25151         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25152         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25153
25154 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25155
25156         * include/programs/xmalloc.h: New file.
25157         * catgets/gencat.c: Include it.
25158         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25159         * elf/pldd.c: Likewise.
25160         * iconv/iconv_charmap.c: Likewise.
25161         * iconv/iconvconfig.c: Likewise.
25162         * iconv/strtab.c: Likewise.
25163         * locale/programs/locale.c: Likewise.
25164         * locale/programs/localedef.h: Likewise.
25165         * locale/programs/simple-hash.c: Likewise.
25166         * nscd/nscd.h: Likewise.
25167         * nss/makedb.c: Likewise.
25168         * sysdeps/generic/ldconfig.h: Likewise.
25169
25170 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25171
25172         * Versions.def: Add GLIBC_2.18.
25173         * include/link.h (struct link_map): New member l_tls_dtor_count.
25174         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25175         (__call_tls_dtors): Likewise.
25176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25177         __cxa_thread_atexit_impl.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25179         Likewise.
25180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25181         Likewise.
25182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25183         Likewise.
25184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25185         Likewise.
25186         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25188         Likewise.
25189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25190         Likewise.
25191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25193         Likewise.
25194         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25195         (tests): Add test case tst-tls-atexit.
25196         (modules-names): Add shared library for tst-tls-atexit.
25197         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25198         (GLIBC_PRIVATE): Add __call_tls_dtors.
25199         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25200         for libstdc++.
25201         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25202         * stdlib/tst-tls-atexit.c: New test case.
25203         * stdlib/tst-tls-atexit-lib.c: New test case.
25204
25205         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25206
25207         * elf/Versions (ld): Add _dl_find_dso_for_object.
25208         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25209         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25210         (dl_open_worker): Use _dl_find_dso_for_object.
25211         * elf/dl-sym.c (do_sym): Likewise.
25212         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25213
25214 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25215
25216         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25217         Syntactic changes only.
25218         (_dl_runtime_profile): Do a tail-call to the resolved function.
25219
25220 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25221
25222         [BZ #13550]
25223         * sysdeps/x86_64/bp-asm.h: Remove file.
25224         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25225         <bp-sym.h> and <bp-asm.h>.
25226         (__clone): Do not use BP_SYM.
25227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25228         <bp-sym.h> and <bp-asm.h>.
25229         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25230         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25231         "bp-asm.h".
25232         (_setjmp): Do not use BP_SYM.
25233         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25234         "bp-asm.h".
25235         (setjmp): Do not use BP_SYM.
25236         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25237         libc_hidden_def.
25238         (mempcpy): Do not use BP_SYM in weak_alias.
25239         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25240         "bp-asm.h".
25241         (strchr): Do not use BP_SYM.
25242         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25243         "bp-asm.h".
25244         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25245         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25246         (_start): Do not use BP_SYM.
25247         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25248         "bp-asm.h".
25249         (strcat): Do not use BP_SYM.
25250         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25251         "bp-asm.h".
25252         (STRCMP): Do not use BP_SYM.
25253         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25254         "bp-asm.h".
25255         (STRCPY): Do not use BP_SYM.
25256         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25257         "bp-asm.h".
25258         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25259         "bp-asm.h".
25260         (FUNCTION): Do not use BP_SYM.
25261         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25262         weak_alias.
25263         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25264
25265 2013-02-17  Andreas Jaeger  <aj@suse.de>
25266
25267         * time/Versions: Sort entries.
25268         * string/Versions: Likewise.
25269         * resolv/Versions: Likewise.
25270         * posix/Versions: Likewise.
25271         * iconv/Versions: Likewise.
25272         * elf/Versions: Likewise.
25273         * wcsmbs/Versions: Likewise.
25274
25275 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25276
25277         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25278         loop termination condition.
25279
25280         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25281         variable to calculate EZ.
25282         (__sqr): Likewise.
25283
25284         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25285         the lower precision input.
25286
25287 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25288
25289         [BZ #13550]
25290         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25291         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25292         (run-via-rtld-prefix): Do not handle %-bp tests.
25293         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25294         (all-object-suffixes): Remove .ob.
25295         (bppfx): Remove variable.
25296         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25297         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25298         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25299         [$(build-bounded) = yes] (libtype.ob): Likewise.
25300         * Makerules (elide-routines.ob): Remove variable.
25301         (do-tests-clean): Do not handle *-bp.out.
25302         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25303         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25304         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25305         (tests): Do not include $(tests-bp.out).
25306         (xtests): Do not include $(xtests-bp.out).
25307         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25308         [$(build-bounded) = yes] ($(addprefix
25309         $(objpfx),$(binaries-bounded))): Remove rule.
25310         ($(objpfx)%-bp.out): Remove rule.
25311         * config.make.in (build-bounded): Remove variable.
25312         * crypt/Makefile [$(build-bounded) = yes]
25313         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25314         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25315         append to variable.
25316         [$(build-bounded) = yes] (install-lib): Likewise.
25317         [$(build-bounded) = yes] (generated): Likewise.
25318         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25319         Remove rule.
25320         * intl/Makefile [$(build-bounded) = yes]
25321         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25322         * math/Makefile [$(build-bounded) = yes]
25323         ($(tests:%=$(objpfx)%-bp): Likewise.
25324         * misc/Makefile [$(build-bounded) = yes]
25325         ($(objpfx)tst-tsearch-bp): Likewise.
25326         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25327         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25328         Remove dependency.
25329         * string/Makefile (o-objects.ob): Remove variable.
25330         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25331         (CFLAGS-.ob): Remove variable.
25332         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25333         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25334         both definitions of variable.
25335         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25336         (ASFLAGS-.ob): Remove variable.
25337
25338 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25339
25340         [BZ #13550]
25341         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25342         Remove __BOUNDED_POINTERS__ from condition.
25343         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25344         * string/bits/string2.h [!__NO_STRING_INLINES &&
25345         !__BOUNDED_POINTERS__]: Likewise.
25346         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25347         Likewise.
25348         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25349         Remove conditional code.
25350         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25351         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25352         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25353         condition.
25354
25355         [BZ #13550]
25356         * csu/libc-start.c: Do not include <bp-sym.h>.
25357         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25358         * elf/dl-open.c: Do not include <bp-sym.h>.
25359         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25360         * math/fegetenv.c: Do not include <bp-sym.h>.
25361         (fegetenv): Do not use BP_SYM in versioned symbols.
25362         * nptl/sysdeps/pthread/bits/libc-lockP.h
25363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25364         <bp-sym.h>.
25365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25366         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25368         (__pthread_mutex_destroy): Likewise.
25369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25370         (__pthread_mutex_lock): Likewise.
25371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25372         (__pthread_mutex_trylock): Likewise.
25373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25374         (__pthread_mutex_unlock): Likewise.
25375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25376         (__pthread_mutexattr_init): Likewise.
25377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25378         (__pthread_mutexattr_destroy): Likewise.
25379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25380         (__pthread_mutexattr_settype): Likewise.
25381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25382         (__pthread_rwlock_init): Likewise.
25383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25384         (__pthread_rwlock_destroy): Likewise.
25385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25386         (__pthread_rwlock_rdlock): Likewise.
25387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25388         (__pthread_rwlock_tryrdlock): Likewise.
25389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25390         (__pthread_rwlock_wrlock): Likewise.
25391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25392         (__pthread_rwlock_trywrlock): Likewise.
25393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25394         (__pthread_rwlock_unlock): Likewise.
25395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25396         (__pthread_key_create): Likewise.
25397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25398         (__pthread_setspecific): Likewise.
25399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25400         (__pthread_getspecific): Likewise.
25401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25402         Likewise.
25403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25404         (_pthread_cleanup_push_defer): Likewise.
25405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25406         (_pthread_cleanup_pop_restore): Likewise.
25407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25408         (pthread_setcancelstate): Likewise.
25409         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25410         <bp-sym.h>.
25411         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25412         (memchr): Do not use BP_SYM in weak_alias.
25413         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25414         (fegetenv): Do not use BP_SYM in versioned symbols.
25415         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25416         (fesetenv): Do not use BP_SYM in versioned symbols.
25417         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25418         (feupdateenv): Do not use BP_SYM in versioned symbols.
25419         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25420         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25421         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25422         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25423         (open64): Do not use BP_SYM in weak_alias.
25424         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25425         (fegetenv): Do not use BP_SYM in versioned symbols.
25426         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25427         (fesetenv): Do not use BP_SYM in versioned symbols.
25428         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25429         (feupdateenv): Do not use BP_SYM in versioned symbols.
25430         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25431         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25432         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25433         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25434         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25435         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25436         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25437         <bp-sym.h>.
25438         (__libc_start_main): Do not use BP_SYM.
25439
25440 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25441
25442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25443         redundant return line.
25444         (norm): Likewise.
25445         (denorm): Likewise.
25446         (dbl_mp): Likewise.
25447         (sub_magnitudes): Likewise.
25448         (__add): Likewise.
25449         (__sub): Likewise.
25450         (__mul): Likewise.
25451         (__inv): Likewise.
25452         (__dvd): Likewise.
25453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25454         (norm): Likewise.
25455         (denorm): Likewise.
25456         (dbl_mp): Likewise.
25457         (sub_magnitudes): Likewise.
25458         (__add): Likewise.
25459         (__sub): Likewise.
25460         (__mul): Likewise.
25461         (__inv): Likewise.
25462         (__dvd): Likewise.
25463
25464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25465         instead of __mul.
25466         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25467         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25468         (cc32): Likewise.
25469
25470         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25471         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25473         of __mul for squares.
25474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25475         function
25476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25477         Likewise.
25478         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25479         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25480
25481 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25482
25483         [BZ #13550]
25484         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25485         code.
25486         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25487         prototype or function definition.  Rename ubp_* variables and
25488         parameters.  Remove argv definitions conditional on
25489         [__BOUNDED_POINTERS__].
25490         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25491         * elf/dl-runtime.c (_dl_fixup): Likewise.
25492         * include/set-hooks.h (RUN_HOOK): Likewise.
25493         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25494         definition.
25495         * string/strcpy.c (strcpy): Do not use __unbounded.
25496         * sysdeps/generic/frame.h (struct layout): Likewise.
25497         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25498         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25499         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25500         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25501         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25502         (__backtrace): Likewise.
25503         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25504         use __ptrvalue.
25505         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25506         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25507         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25508         Likewise.
25509         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25510         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25511         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25512         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25513         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25514         Do not use __unbounded.
25515         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25516         Rename __unboundedrlimits parameter to rlimits in prototype.
25517         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25518         Do not use __unbounded.
25519         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25520         not use __ptrvalue.
25521         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25522         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25523         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25524         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25525         __ptrvalue or __unbounded.
25526         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25527         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25528         use __unbounded.
25529         (__new_msgctl): Do not use __ptrvalue.
25530         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25531         __unbounded.
25532         (__libc_msgrcv): Do not use __ptrvalue.
25533         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25534         startup_info): Do not use __unbounded.
25535         (__libc_start_main): Likewise.  Rename ubp_* variables and
25536         parameters.  Remove argv definitions conditional on
25537         [__BOUNDED_POINTERS__].
25538         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25539         __ptrvalue.
25540         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25541         use __unbounded.
25542         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25543         or __ptrvalue.
25544         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25545         use __unbounded.
25546         (__new_shmctl): Do not use __ptrvalue.
25547         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25548         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25549         Likewise.
25550         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25551         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25552         (__libc_sigaction): Likewise.
25553         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25554         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25555         Likewise.
25556         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25557
25558 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25559
25560         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25561
25562         * string/mempcpy.c: Implement by calling memcpy.
25563
25564 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25565
25566         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25567
25568         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25569         evaluation.
25570
25571         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25572         values in the mantissa.
25573
25574         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25575         minimize writes to Z.
25576         (sub_magnitudes): Simplify code a bit.
25577
25578 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25579
25580         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25581         from the message.  The linker prefixes all warnings with that already.
25582
25583 2013-02-12  Andreas Schwab  <schwab@suse.de>
25584
25585         [BZ #15078]
25586         * posix/regexec.c (extend_buffers): Add parameter min_len.
25587         (check_matching): Pass minimum needed length.
25588         (clean_state_log_if_needed): Likewise.
25589         (get_subexp): Likewise.
25590         * posix/Makefile (tests): Add bug-regex34.
25591         (bug-regex34-ENV): Define.
25592         * posix/bug-regex34.c: New file.
25593
25594         [BZ #11561]
25595         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25596         elements compare against the byte sequence of it, not its name.
25597         * posix/Makefile (tests): Add bug-regex35.
25598         (bug-regex35-ENV): Define.
25599         * posix/bug-regex35.c: New file.
25600
25601 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25602
25603         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25604         comment.
25605         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25606         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25607         (CHECK_EOL): Add undef.
25608
25609 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25610
25611         * bits/stdlib-bsearch.h: New file.
25612         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25613         * stdlib/stdlib.h: Likewise.
25614
25615 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25616
25617         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25618         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25619         declaration.
25620         * manual/search.texi (Array Search Function): Add missing const in
25621         lfind prototype.
25622         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25623         declaration to use rlim_t.
25624         (Basic Scheduling Functions): Remove erroneous const from
25625         sched_getparam prototype.  Remove erroneous * from
25626         sched_get_priority_max and sched_get_priority_min prototypes.
25627         (Resource Usage): Fix summary @comment on vtimes to refer to
25628         sys/vtimes.h rather than vtimes.h.
25629         Add missing *s in vtimes prototype.
25630         (Limits on Resources): Fix ulimit prototype to return long int.
25631         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25632         prototypes to use long int rather than double.
25633         (BSD Random): Fix initstate and setstate to use char *, not void *.
25634         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25635         prototype to make second argument 'struct aiocb64 *const[]'.
25636         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25637         (Status of AIO Operations): Remove erroneous const in aio_return and
25638         aio_return64 prototypes.
25639         (Synchronizing I/O): Fix sync prototype to return void.
25640         * manual/startup.texi (Suboptions): Remove an erroneous const in
25641         getsubopt prototype.
25642         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25643         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25644         use size_t rather than int.
25645         (Scanning All Users): Likewise for getpwent_r.
25646         (Setting Groups): Add missing const to setgroups prototype.
25647         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25648         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25649         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25650         'const void *' rather than 'const char *'.
25651         (Host Address Functions): Likewise for inet_ntop.
25652         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25653         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25654         ssize_t for return value.
25655         (Sending Data): Likewise for send, sendto, sendmsg.
25656         (Socket Option Functions): Add a missing const in setsockopt prototype.
25657         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25658         use wchar_t for the argument.
25659         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25660         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25661         take no arguments.
25662         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25663         double/float/long double for second argument.
25664         Fix return types of significand, significandf, significandl.
25665         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25666         argument in fchmod prototype.
25667         (File Owner): Use uid_t and gid_t in fchown prototype.
25668         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25669         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25670         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25671         use 'const struct dirent **' as argument types to CMP function pointer
25672         argument.
25673         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25674         (File Times): Fix summary magic @comment for struct utimbuf and utime
25675         to refer to utime.h, not time.h.
25676         * manual/string.texi (Argz Functions): Add missing const in
25677         argz_extract and argz_next prototypes.
25678         (Finding Tokens in a String): Likewise for basename.
25679         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25680         (Copying and Concatenation): Fix typo in wmemmove prototype.
25681         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25682         (Signal Stack): Remove erroneous const in sigstack prototype.
25683         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25684         prototype.
25685         (Simple Calendar Time): Likewise for stime.
25686         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25687         prototype.
25688         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25689         say sys/sysctl.h instead.
25690         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25691         and vsyslog prototypes.
25692
25693 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25694
25695         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25696         Remove.
25697
25698 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25699
25700         * misc/sys/mman.h: Fix typo in mremap comment.
25701
25702 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25703
25704         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25705         the '\0' terminator.
25706
25707 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25708
25709         [BZ #13550]
25710         * debug/segfault.c: Don't include <bp-checks.h>.
25711         * sysdeps/generic/bp-checks.h: Remove file.
25712         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25713         (__GETDENTS): Don't use CHECK_N.
25714         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25715         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25716         (__getgroups): Don't use CHECK_N.
25717         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25718         (setgroups): Don't use CHECK_N.
25719         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25720         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25721         (__libc_msgrcv): Don't use CHECK_N.
25722         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25723         (__libc_msgsnd): Don't use CHECK_N.
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25725         <bp-checks.h>.
25726         (__libc_pread): Don't use CHECK_N.
25727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25728         include <bp-checks.h>.
25729         (__libc_pread64): Don't use CHECK_N.
25730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25731         include <bp-checks.h>.
25732         (__libc_pwrite): Don't use CHECK_N.
25733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25734         include <bp-checks.h>.
25735         (__libc_pwrite64): Don't use CHECK_N.
25736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25737         <bp-checks.h>.
25738         (__libc_pread): Don't use CHECK_N.
25739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25740         include <bp-checks.h>.
25741         (__libc_pread64): Don't use CHECK_N.
25742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25743         include <bp-checks.h>.
25744         (__libc_pwrite): Don't use CHECK_N.
25745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25746         include <bp-checks.h>.
25747         (__libc_pwrite64): Don't use CHECK_N.
25748         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25749         (do_pread): Don't use CHECK_N.
25750         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25751         (do_pread64): Don't use CHECK_N.
25752         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25753         (do_pwrite): Don't use CHECK_N.
25754         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25755         (do_pwrite64): Don't use CHECK_N.
25756         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25757         (__libc_readv): Don't use CHECK_N.
25758         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25759         (semop): Don't use CHECK_N.
25760         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25761         <bp-checks.h>.
25762         (semtimedop): Don't use CHECK_N.
25763         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25764         (__libc_pread): Don't use CHECK_N.
25765         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25766         <bp-checks.h>.
25767         (__libc_pread64): Don't use CHECK_N.
25768         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25769         <bp-checks.h>.
25770         (__libc_pwrite): Don't use CHECK_N.
25771         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25772         <bp-checks.h>.
25773         (__libc_pwrite64): Don't use CHECK_N.
25774         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25775         <bp-checks.h>.
25776         (__libc_msgrcv): Don't use CHECK_N.
25777         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25778         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25779         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25780         (__libc_writev): Don't use CHECK_N.
25781
25782 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25783
25784         * string/strcpy.c: Removed unused variable.
25785
25786         * Makeconfig (+sysdep-includes): Define with := rather than =.
25787         Use an existing include/ subdir of each sysdeps dir before it.
25788
25789 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25790
25791         * nscd/connection.c (register_traced_file): Comment function.
25792         [HAVE_INOTIFY] (union __inev): Define.
25793         [HAVE_INOTIFY] (inotify_check_files): New function.
25794         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25795         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25796         clear_db_cache.
25797         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25798
25799 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25800
25801         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25802         loaded if not already and that a failure is permanent.
25803
25804 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25805
25806         [BZ #15006]
25807         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25808         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25809
25810 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25811
25812         [BZ #13550]
25813         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25814         (CHECK_1_NULL_OK): Likewise.
25815         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25816         (__fxstat): Do not use CHECK_1.
25817         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25818         <bp-checks.h>.
25819         (___fxstat64): Do not use CHECK_1.
25820         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25821         <bp-checks.h>.
25822         (__fxstatat): Do not use CHECK_1.
25823         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25824         <bp-checks.h>.
25825         (__fxstatat64): Do not use CHECK_1.
25826         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25827         <bp-checks.h>.
25828         (__fxstat): Do not use CHECK_1.
25829         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25830         <bp-checks.h>.
25831         (__fxstatat): Do not use CHECK_1.
25832         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25833         <bp-checks.h>.
25834         (__getresgid): Do not use CHECK_1.
25835         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25836         <bp-checks.h>.
25837         (__getresuid): Do not use CHECK_1.
25838         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25839         <bp-checks.h>.
25840         (__lxstat): Do not use CHECK_1.
25841         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25842         <bp-checks.h>.
25843         (__old_msgctl): Do not use CHECK_1.
25844         (__new_msgctl): Likewise.
25845         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25846         <bp-checks.h>.
25847         (__new_setrlimit): Do not use CHECK_1.
25848         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25849         <bp-checks.h>.
25850         (__old_shmctl): Do not use CHECK_1.
25851         (__new_shmctl): Likewise.
25852         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25853         <bp-checks.h>.
25854         (__xstat): Do not use CHECK_1.
25855         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25856         (__lxstat): Do not use CHECK_1.
25857         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25858         <bp-checks.h>.
25859         (___lxstat64): Do not use CHECK_1.
25860         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25861         (__old_msgctl): Do not use CHECK_1.
25862         (__new_msgctl): Likewise.
25863         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25864         <bp-checks.h>.
25865         (__gettimeofday): Do not use CHECK_1.
25866         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25867         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25868         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25869         <bp-checks.h>.
25870         (__gettimeofday): Do not use CHECK_1.
25871         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25872         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25873         (__new_shmctl): Do not use CHECK_1.
25874         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25875         <bp-checks.h>.
25876         (do_sigtimedwait): Do not use CHECK_1.
25877         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25878         <bp-checks.h>.
25879         (do_sigwaitinfo): Do not use CHECK_1.
25880         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25881         <bp-checks.h>.
25882         (msgctl): Do not use CHECK_1.
25883         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25884         <bp-checks.h>.
25885         (shmctl): Do not use CHECK_1.
25886         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25887         (ustat): Do not use CHECK_1.
25888         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25889         <bp-checks.h>.
25890         (__fxstat): Do not use CHECK_1.
25891         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25892         <bp-checks.h>.
25893         (__fxstatat): Do not use CHECK_1.
25894         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25895         <bp-checks.h>.
25896         (__lxstat): Do not use CHECK_1.
25897         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25898         <bp-checks.h>.
25899         (__xstat): Do not use CHECK_1.
25900         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25901         (__xstat): Do not use CHECK_1.
25902         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25903         (___xstat64): Do not use CHECK_1.
25904
25905         [BZ #13550]
25906         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25907         definitions.
25908         (CHECK_BOUNDS_HIGH): Likewise.
25909         * string/strcpy.c: Do not include <bp-checks.h>.
25910         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25911
25912 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25913
25914         * nscd/nscd-client.h (__nscd_drop_map_ref):
25915         Add __attribute__ ((unused)).
25916         * nis/nss-nisplus.h (niserr2nss): Likewise.
25917
25918         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25919         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25920
25921         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25922         Remove inline keyword.
25923         * include/rounding-mode.h (round_away): Likewise.
25924         * libio/wfileops.c (adjust_wide_data): Likewise.
25925         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25926         (__m128i_strloadu_tolower): Likewise.
25927         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25928         (__m128i_strloadu_tolower): Likewise.
25929         * time/mktime.c (ydhms_diff): Likewise.
25930         * locale/elem-hash.h (elem_hash): Likewise.
25931         * locale/setlocale.c (setdata): Likewise.
25932         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25933         (re_string_wchar_at): Likewise.
25934         (bitset_not, bitset_merge, bitset_mask): Likewise.
25935         [!(__GNUC__ > 3)] (inline): Remove macro.
25936         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25937         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25938         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25939         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25940         * string/memcmp.c (memcmp_bytes): Likewise.
25941         * locale/programs/locarchive.c (compute_hashval): Likewise.
25942         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25943         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25944         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25945         * nss/getent.c (print_rpc, print_protocols): Likewise.
25946         (print_passwd, print_group, print_aliases): Likewise.
25947         * nis/nss-nisplus.h (niserr2nss): Likewise.
25948         * nscd/connections.c (restart_p): Likewise.
25949         Change return type to bool.
25950
25951 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25952
25953         * Makeconfig (all-Depend-files): Add existing
25954         $(sorted-subdirs:=/Depend) files.
25955         (all-subdirs): Remove nss.
25956         * sysdeps/unix/inet/Subdirs: Add it here instead.
25957         * hesiod/Depend: New file.
25958
25959         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25960         instead of calling alloca.
25961
25962         * io/lseek.c (__lseek): Rename to __libc_lseek.
25963         Define __lseek as an alias.
25964
25965         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25966
25967 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25968
25969         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25970         else clause and remove check for non-standard endianness.
25971
25972 2013-02-04  David S. Miller  <davem@davemloft.net>
25973
25974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25975
25976 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25977
25978         [BZ #13550]
25979         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25980         (__ubp_memchr): Remove prototype.
25981         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25982         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25983         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25984         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25985         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25986         Remove alias.
25987         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25988         (__ubp_memchr): Likewise.
25989         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25990         (__ubp_memchr): Likewise.
25991         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25992         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25993         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25994         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25995         CHECK_STRING.
25996         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25997         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25998         (__getcwd): Do not use CHECK_STRING.
25999         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26000         <bp-checks.h>.
26001         (__real_chown): Do not use CHECK_STRING.
26002         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26003         <bp-checks.h>.
26004         (fchownat): Do not use CHECK_STRING.
26005         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26006         CHECK_STRING.
26007         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26008         <bp-checks.h>.
26009         (__lchown): Do not use CHECK_STRING.
26010         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26011         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26012         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26013         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26015         include <bp-checks.h>.
26016         (truncate64): Do not use CHECK_STRING.
26017         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26018         <bp-checks.h>.
26019         (__real_chown): Do not use CHECK_STRING.
26020         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26021         <bp-checks.h>.
26022         (__lchown): Do not use CHECK_STRING.
26023         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26024         <bp-checks.h>.
26025         (__chown): Do not use CHECK_STRING.
26026         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26027         <bp-checks.h>.
26028         (truncate64): Do not use CHECK_STRING.
26029         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26030         Likewise.
26031         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26032         (__xmknod): Do not use CHECK_STRING.
26033         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26034         <bp-checks.h>.
26035         (__xmknodat): Do not use CHECK_STRING.
26036         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26037         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26038
26039 2013-02-04  Andreas Schwab  <schwab@suse.de>
26040
26041         [BZ #14142]
26042         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26043         * include/netdb.h: Likewise for h_errno.
26044         * elf/tst-stackguard1.c: Include <tls.h>.
26045
26046 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26047
26048         * elf/link.h (struct link_map): Extend the l_addr comment.
26049         * include/link.h (struct link_map): Likewise.
26050
26051 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26052
26053         [BZ #13550]
26054         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26055         (BOUNDED_1): Remove macro.
26056         * debug/backtrace.c: Don't include <bp-checks.h>.
26057         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26058         (__backtrace): Likewise.
26059         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26060         <bp-checks.h>.
26061         (__backtrace): Don't use BOUNDED_1.
26062         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26063         <bp-checks.h>.
26064         (__backtrace): Don't use BOUNDED_1.
26065         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26066         (__backtrace): Don't use BOUNDED_1.
26067         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26068         (shmat): Don't use BOUNDED_N.
26069
26070 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26071
26072         [BZ #13550]
26073         * sysdeps/generic/bp-start.h: Remove file.
26074         * csu/libc-start.c: Don't include <bp-start.h>.
26075         (LIBC_START_MAIN): Set up __environ directly instead of using
26076         INIT_ARGV_and_ENVIRON.
26077         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26078         <bp-start.h>.
26079
26080         [BZ #13550]
26081         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26082         definitions.
26083         (CHECK_FCNTL): Likewise.
26084         (CHECK_N_PAGES): Likewise.
26085
26086         [BZ #13550]
26087         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26088         definitions.
26089         (CHECK_SIGSET_NULL_OK): Likewise.
26090         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26091         <bp-checks.h>.
26092         (sigpending): Don't use CHECK_SIGSET.
26093         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26094         <bp-checks.h>.
26095         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26096         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26097         <bp-checks.h>.
26098         (do_sigsuspend): Don't use CHECK_SIGSET.
26099         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26100         use CHECK_SIGSET.
26101         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26102         (do_sigwait): Don't use CHECK_SIGSET.
26103         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26104         use CHECK_SIGSET.
26105         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26106         include <bp-checks.h>.
26107         (sigpending): Don't use CHECK_SIGSET.
26108         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26109         include <bp-checks.h>.
26110         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26111         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26112         <bp-checks.h>.
26113         (sigpending): Don't use CHECK_SIGSET.
26114         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26115         <bp-checks.h>.
26116         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26117
26118         [BZ #13550]
26119         * sysdeps/generic/bp-semctl.h: Remove file.
26120         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26121         <bp-checks.h> and <bp-semctl.h>.
26122         (__old_semctl): Don't use CHECK_SEMCTL.
26123         (__new_semctl): Likewise.
26124         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26125         and <bp-semctl.h>.
26126         (__old_semctl): Don't use CHECK_SEMCTL.
26127         (__new_semctl): Likewise.
26128         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26129         <bp-checks.h> and <bp-semctl.h>.
26130         (__old_semctl): Don't use CHECK_SEMCTL.
26131         (__new_semctl): Likewise.
26132         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26133         <bp-checks.h> and <bp-semctl.h>.
26134         (semctl): Don't use CHECK_SEMCTL.
26135
26136         [BZ #13550]
26137         * Makerules (elide-bp-thunks): Remove variable.
26138         (elide-routines.oS): Don't use $(elide-bp-thunks).
26139         (elide-routines.os): Likewise.
26140         (elide-routines.o): Likewise.
26141         (elide-routines.op): Likewise.
26142         (elide-routines.og): Likewise.
26143         (objects): Don't use $(bp-thunks).
26144         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26145         include.
26146         (common-generated): Do not add s-proto-bp.d.
26147         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26148         (int): Likewise.
26149         (typ): Likewise.
26150         Do not generate makefile rules for bounded-pointer thunks.
26151         * sysdeps/generic/bp-thunks.h: Remove file.
26152         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26153         * sysdeps/unix/s-proto-bp.S: Likewise.
26154
26155         [BZ #15062]
26156         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26157         parts of result separately when argument is not close to line from
26158         -i to i and one part of argument is small.
26159         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26160         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26161         * math/libm-test.inc (cacos_test): Add more tests.
26162         (casin_test): Likewise.
26163         (casinh_test): Likewise.
26164         * sysdeps/i386/fpu/libm-test-ulps: Update.
26165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26166
26167 2013-01-31  David S. Miller  <davem@davemloft.net>
26168
26169         * po/de.po: Update from translation team.
26170
26171 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26172
26173         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26174
26175 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26176
26177         * configure.in (_AC_PROG_CC_C89): New definition.
26178         * configure: Regenerate.
26179
26180         * configure.in (AC_PROG_CPP): New definition.
26181         * configure: Regenerate.
26182
26183 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26184
26185         * debug/tst-backtrace.h: New file.
26186         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26187         (ret): Remove variable.
26188         (x): Likewise.
26189         (FAIL): Remove macro.
26190         (NO_INLINE): Likewise.
26191         (fn1): Use match function instead of strstr.
26192         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26193         (ret): Remove variable.
26194         (x): Likewise.
26195         (FAIL): Remove macro.
26196         (NO_INLINE): Likewise.
26197         (fn): Use match function instead of strstr.
26198         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26199         (ret): Remove variable.
26200         (x): Likewise.
26201         (FAIL): Remove macro.
26202         (NO_INLINE): Likewise.
26203         (handle_signal): Use match function instead of strstr.
26204         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26205         (ret): Remove variable.
26206         (x): Likewise.
26207         (FAIL): Remove macro.
26208         (NO_INLINE): Likewise.
26209         (handle_signal): Use match function instead of strstr.
26210
26211 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26212
26213         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26214
26215 2013-01-23  David S. Miller  <davem@davemloft.net>
26216
26217         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26218         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26219         argument of CAS if possible.
26220         * sysdeps/sparc/sparc64/bits/atomic.h
26221         (__arch_compare_and_exchange_val_32_acq): Likewise.
26222         (__arch_compare_and_exchange_val_64_acq): Likewise.
26223
26224 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26225
26226         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26227         * sysdeps/posix/ulimit.c: ... this.
26228         Include <limits.h>.
26229         * sysdeps/unix/bsd/ulimit.c: Remove file.
26230
26231 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26232
26233         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26234         (LDFLAGS-tst-array5): Likewise.
26235
26236 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26237
26238         [BZ #15036]
26239         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26240         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26241         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26242         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26243
26244 2013-01-21  David S. Miller  <davem@davemloft.net>
26245
26246         * sysdeps/sparc/backtrace.c: New file.
26247         * sysdeps/sparc/sparc32/backtrace.h: New file.
26248         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26249         * sysdeps/sparc/sparc64/backtrace.h: New file.
26250         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26251         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26252         -funwind-tables.
26253
26254 2013-01-21  Andreas Schwab  <schwab@suse.de>
26255
26256         [BZ #15020]
26257         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26258         closed its stdout.
26259
26260 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26261
26262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26263         "mpa2.h".
26264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26265
26266 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26267             Mark Mitchell  <mark@codesourcery.com>
26268             Tom de Vries  <tom@codesourcery.com>
26269             Paul Pluzhnikov  <ppluzhnikov@google.com>
26270
26271         * debug/tst-backtrace2.c: New file.
26272         * debug/tst-backtrace3.c: Likewise.
26273         * debug/tst-backtrace4.c: Likewise.
26274         * debug/tst-backtrace5.c: Likewise.
26275         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26276         (CFLAGS-tst-backtrace3.c): Likewise.
26277         (CFLAGS-tst-backtrace4.c): Likewise.
26278         (CFLAGS-tst-backtrace5.c): Likewise.
26279         (LDFLAGS-tst-backtrace2): Likewise.
26280         (LDFLAGS-tst-backtrace3): Likewise.
26281         (LDFLAGS-tst-backtrace4): Likewise.
26282         (LDFLAGS-tst-backtrace5): Likewise.
26283         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26284         tst-backtrace4 and tst-backtrace5.
26285
26286 2013-01-18  Anton Blanchard  <anton@samba.org>
26287             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26288
26289         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26290         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26291         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26292         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26294         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26295         "+r" and remove output regs list as redundant.  Add explicit inline
26296         asm to specify register of return val to work around compiler codegen
26297         bug.  Remove (int) cast on return value.  Add return type parameter to
26298         use in macro so that this macro does not truncate return value for
26299         64-bit values.
26300         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26301         pass to INTERNAL_VSYSCALL_NCS.
26302         (INLINE_VSYSCALL): Add 'long int' as return type to
26303         INTERNAL_VSYSCALL_NCS macro invocation.
26304         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26305         INTERNAL_VSYSCALL_NCS macro invocation.
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26307
26308 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26309
26310         [BZ #14496]
26311         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26312         Fix application of SIMD FP exception mask.
26313
26314         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26315         mp_no from a power of two.
26316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26317         __mpexp_twomm1.  Use __pow_mp.
26318
26319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26320         multiplication.
26321
26322 2013-01-17  David S. Miller  <davem@davemloft.net>
26323
26324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26325
26326 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26327
26328         [BZ #15023]
26329         * include/complex.h: Condition contents on [!_COMPLEX_H].
26330         (__kernel_casinhf): New prototype.
26331         (__kernel_casinh): Likewise.
26332         (__kernel_casinhl): Likewise.
26333         * math/Makefile (libm_calls): Add k_casinh.
26334         * math/k_casinh.c: New file.
26335         * math/k_casinhf.c: Likewise.
26336         * math/k_casinhl.c: Likewise.
26337         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26338         finite nonzero arguments.
26339         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26340         finite nonzero arguments.
26341         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26342         finite nonzero arguments.
26343         * math/s_casinh.c: Do not include <float.h>.
26344         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26345         * math/s_casinhf.c: Do not include <float.h>.
26346         (__casinhf): Move code for finite nonzero arguments to
26347         k_casinhf.c.
26348         * math/s_casinhl.c: Do not include <float.h>.
26349         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26350         redefine.
26351         (__casinhl): Move code for finite nonzero arguments to
26352         k_casinhl.c.
26353         * math/libm-test.inc (cacos_test): Add more tests.
26354         * sysdeps/i386/fpu/libm-test-ulps: Update.
26355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26356
26357 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26358
26359         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26360         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26361         [!HAVE_MREMAP]: Remove [defined linux] case.
26362         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26363
26364 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26365
26366         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26367
26368 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26369
26370         * elf/elf.h (R_386_SIZE32): New relocation.
26371         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26372         R_386_SIZE32.
26373         (elf_machine_rela): Likewise.
26374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26375         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26376
26377 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26378
26379         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26380         (FP_FAST_FMA): Do not define.
26381         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26382         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26383         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26384         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26385         !_SOFT_FLOAT]: Likewise.
26386         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26387         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26388         value.
26389         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26390         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26391         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26392         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26393         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26394         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26395         file.
26396
26397 2013-01-16  Andreas Schwab  <schwab@suse.de>
26398
26399         [BZ #14327]
26400         * include/stdlib.h (__mktemp): Add declaration.
26401         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26402         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26403
26404 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26405
26406         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26407         definitions.
26408         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26409         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26410         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26411         definitions here.
26412         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26413         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26414         definitions.
26415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26416         and ONE.
26417         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26418         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26419         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26420         definitions.
26421         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26422         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26423         definitions.
26424         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26425
26426         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26427
26428 2013-01-15  David S. Miller  <davem@davemloft.net>
26429
26430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26431         trunc{,f} to libm-sysdep_routes.
26432         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26434         file.
26435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26437         file.
26438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26439         file.
26440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26442         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26443         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26444         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26445         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26446         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26447         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26448
26449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26450         nearbyint{,f} to libm-sysdep_routes.
26451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26453         New file.
26454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26455         file.
26456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26457         New file.
26458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26459         file.
26460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26462         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26463         file.
26464         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26465         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26466         file.
26467         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26468         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26469         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26470
26471         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26472         libc_feholdexcept and libc_fesetenv.
26473
26474 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26475
26476         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26477
26478 2013-01-14  David S. Miller  <davem@davemloft.net>
26479
26480         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26481         (SPARC_ASM_VIS2_IFUNC): Likewise.
26482         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26484         use of 'siam' instruction.
26485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26486         Likewise.
26487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26488         Likewise.
26489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26490         Likewise.
26491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26496         file.
26497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26498         file.
26499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26500         file.
26501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26502         file.
26503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26508         new VIS2 routines.
26509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26512         Likewise.
26513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26518         routines to libm-sysdep_routines.
26519         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26520
26521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26522         fdim/fdimf to libm-sysdep_routines.
26523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26524         file.
26525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26527         file.
26528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26531         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26532         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26533         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26534         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26535
26536 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26537
26538         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26539         to optimize copies.
26540
26541         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26544
26545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26546         local variable MPTWO.
26547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26548         Likewise.
26549
26550 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26551
26552         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26553         GLOB_NOESCAPE.
26554
26555 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26556
26557         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26558
26559 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26560
26561         * manual/pattern.texi (glob_t): Document gl_flags.
26562         (glob64_t): Likewise.
26563
26564 2013-01-11  David S. Miller  <davem@davemloft.net>
26565
26566         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26567         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26568         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26569         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26570         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26571         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26572         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26573         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26574         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26575         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26576         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26577         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26578         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26579
26580         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26581         sparc V9 rather than using V8 code.
26582         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26583         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26584
26585         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26586         Move to...
26587         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26588         Here.
26589
26590 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26591
26592         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26593         not in the main loop.
26594         * configure: Regenerated.
26595
26596 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26597
26598         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26599         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26600         to just #else.
26601         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26602         [!__GLIBC_HAVE_LONG_LONG] case.
26603         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26604         condition to just #else.
26605         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26606         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26607         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26608         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26609         unconditional.
26610         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26611         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26612         #elif condition to just #else.
26613         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26614         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26615         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26616         #elif condition to just #else.
26617
26618 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26619
26620         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26621         (EF_MIPS_ARCH_64): Fix value.
26622         (EF_MIPS_ARCH_32R2): New.
26623         (EF_MIPS_ARCH_64R2): New.
26624
26625 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26626
26627         * Makeconfig (+link-pie-before-libc): New.
26628         (+link-pie-after-libc): Likewise.
26629         (+link-pie-tests): Likewise.
26630         (+link-pie): Rewritten.
26631         (link-before-libc): Remove $(config-LDFLAGS).
26632         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26633         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26634         (config-LDFLAGS): Renamed to ...
26635         (rtld-LDFLAGS): This.
26636         (rtld-tests-LDFLAGS): New macro.
26637         (link-libc-rpath-link): Likewise.
26638         (link-libc-tests-rpath-link): Likewise.
26639         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26640         (link-libc): Prepand $(link-libc-rpath-link).
26641         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26642         (test-program-prefix): New macro.
26643         (test-via-rtld-prefix): Likewise.
26644         (test-program-cmd): Likewise.
26645         (host-test-program-cmd): Likewise.
26646         * Makefile ($(common-objpfx)testrun.sh): Replace
26647         $(run-program-prefix) with $(test-program-prefix).
26648         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26649         $(rtld-LDFLAGS).
26650         ($(common-objpfx)shlib.lds): Likewise.
26651         (build-module-helper): Likewise.
26652         ($(common-objpfx)format.lds): Likewise.
26653         * Rules (binaries-pie-tests): New.
26654         (binaries-pie-notests): Likewise.
26655         (binaries-pie): Rewritten.
26656         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26657         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26658         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26659         (make-test-out): Replace $(host-built-program-cmd) with
26660         $(host-test-program-cmd).
26661         * config.make.in (build-hardcoded-path-in-tests): New variable.
26662         * configure.in (--enable-hardcoded-path-in-tests): New configure
26663         option.
26664         (hardcoded_path_in_tests): New AC_SUBST.
26665         * configure: Regenerated.
26666         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26667         $(built-program-cmd) with $(test-program-cmd).
26668         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26669         (test_program_cmd): This.
26670         * elf/Makefile ($(objpfx)order.out): Run test with
26671         $(test-program-prefix).
26672         ($(objpfx)order2.out): Likewise.
26673         ($(objpfx)tst-initorder.out): Likewise.
26674         ($(objpfx)tst-initorder2.out): Likewise.
26675         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26676         $(test-program-cmd).
26677         ($(objpfx)tst-array1-static.out): Likewise.
26678         ($(objpfx)tst-array2.out): Likewise.
26679         ($(objpfx)tst-array3.out): Likewise.
26680         ($(objpfx)tst-array4.out): Likewise.
26681         ($(objpfx)tst-array5.out): Likewise.
26682         ($(objpfx)tst-array5-static.out): Likewise.
26683         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26684         $(test-program-cmd).
26685         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26686         $(run-program-prefix) with $(test-program-prefix).
26687         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26688         (test_program_prefix): This.
26689         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26690         $(run-program-prefix) with $(test-program-prefix).
26691         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26692         (test_program_prefix): This.
26693         * iconvdata/tst-tables.sh: Likewise.
26694         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26695         $(run-program-prefix) with $(test-program-prefix).
26696         ($(objpfx)tst-translit.out): Likewise.
26697         ($(objpfx)tst-gettext2.out): Likewise.
26698         ($(objpfx)tst-gettext4.out): Likewise.
26699         ($(objpfx)tst-gettext6.out): Likewise.
26700         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26701         (test_program_prefix): This.
26702         * intl/tst-gettext2.sh: Likewise.
26703         * intl/tst-gettext4.sh  Likewise.
26704         * intl/tst-gettext6.sh: Likewise.
26705         * intl/tst-translit.sh: Likewise.
26706         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26707         with $(test-program-cmd).
26708         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26709         $(run-program-prefix) with $(test-program-prefix).
26710         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26711         (test_program_prefix): This.
26712         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26713         $(run-program-prefix) with $(test-program-prefix).
26714         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26715         (test_program_prefix): This.
26716         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26717         * posix/Makefile ($(objpfx)globtest.out): Replace
26718         $(run-via-rtld-prefix) and $(test-wrapper) with
26719         $(test-program-prefix) and $(test-via-rtld-prefix).
26720         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26721         $(test-program-prefix).
26722         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26723         $(host-test-program-cmd).
26724         (tst-spawn-ARGS): Likewise.
26725         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26726         $(test-program-prefix).
26727         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26728         (test_via_rtld_prefix): This.
26729         (test_wrapper): Renamed to ...
26730         (test_program_prefix): This.
26731         (run_program_prefix): Replaced by test_program_prefix.
26732         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26733         (test_program_prefix): This.
26734         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26735         with $(host-test-program-cmd).
26736         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26737         $(run-program-prefix) with $(test-program-prefix).
26738         ($(objpfx)tst-printf.out): Likewise.
26739         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26740         $(test-program-cmd).
26741         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26742         (test_program_prefix): This.
26743         * stdio-common/tst-unbputc.sh: Likewise.
26744         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26745         $(run-program-prefix) with $(test-program-prefix).
26746         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26747         (test_program_prefix): This.
26748         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26749         $(built-program-cmd) with $(test-program-cmd).
26750
26751 2013-01-11  Andreas Jaeger  <aj@suse.de>
26752
26753         [BZ #15003]
26754         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26755         value. Sync with Linux 3.7.
26756
26757 2013-01-10  David S. Miller  <davem@davemloft.net>
26758
26759         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26760         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26761         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26762
26763 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26764
26765         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26766         never set.
26767         * configure: Regenerated.
26768
26769 2013-01-10  David S. Miller  <davem@davemloft.net>
26770
26771         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26772         sparc V9 rather than using V8 code.
26773         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26774         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26775
26776 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26777
26778         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26779         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26780         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26781         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26782         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26783         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26784         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26785         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26786         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26787         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26788         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26789         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26790         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26791         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26792         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26793         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26794         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26795         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26796         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26797         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26798         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26799         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26800         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26801         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26802         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26803         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26804         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26805
26806 2013-01-10  David S. Miller  <davem@davemloft.net>
26807
26808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26809
26810 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26811
26812         * posix/Makefile (tests-static): New variable.
26813         (tests): Add $(tests-static).
26814         (tst-exec-static-ARGS): New variable.
26815         (tst-spawn-static-ARGS): Likewise.
26816         * posix/tst-exec-static.c: New file.
26817         * posix/tst-spawn-static.c: Likewise.
26818         * posix/tst-exec.c: Support run directly.
26819         * posix/tst-spawn.c: Likewise.
26820
26821 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26822
26823         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26824         long.
26825         * math/bits/mathcalls.h (llrint): Likewise.
26826         (llround): Likewise.
26827         * stdlib/stdlib.h (struct drand48_data): Likewise.
26828         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26829         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26830         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26831         Likewise.
26832         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26833         Likewise.
26834         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26835         (elf_greg_t): Likewise.
26836         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26837         (__jmp_buf): Likewise.
26838         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26839         definitions.
26840         (llrint): Likewise, for all definitions.
26841         (llrintl): Likewise.
26842
26843         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26844         Remove [__GNUC__] condition.
26845         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26846         condition to just [__USE_ISOC99].
26847         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26848
26849 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26850
26851         [BZ #14200]
26852         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26853         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26854         defined.
26855         (_POSIX_V6_ILP32_OFF32): Likewise.
26856         (_XBS5_ILP32_OFF32): Likewise.
26857         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26858         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26859
26860 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26861
26862         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26863
26864         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26865         doubles __mpexp_twomm1.  Adjust usage.
26866         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26867         Remove.
26868
26869 2013-01-10  Andreas Schwab  <schwab@suse.de>
26870
26871         [BZ #14964]
26872         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26873         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26874
26875 2013-01-09  David S. Miller  <davem@davemloft.net>
26876
26877         [BZ #15003]
26878         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26879         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26880         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26881         (TCP_FASTOPEN): Define.
26882         (tcp_repair_opt): New structure.
26883         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26884         enum values.
26885         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26886         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26887         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26888         (tcp_cookie_transactions): New structure.
26889
26890 2013-01-09  Anton Blanchard  <anton@samba.org>
26891
26892         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26893         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26894         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26895         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26896
26897 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26898
26899         * include/features.h (__USE_ANSI): Remove.
26900
26901 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26902
26903         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26904
26905         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26906
26907 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26908
26909         * sysdeps/s390/fpu/libm-test-ulps: Update.
26910
26911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26912
26913         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26914         (__acr): Likewise.
26915         (__cpy): Likewise.
26916         (norm): Likewise.
26917         (denorm): Likewise.
26918         (__mp_dbl): Likewise.
26919         (__dbl_mp): Likewise.
26920         (add_magnitudes): Likewise.
26921         (sub_magnitudes): Likewise.
26922         (__add): Likewise.
26923         (__sub): Likewise.
26924         (__mul): Likewise.
26925         (__inv): Likewise.
26926         (__dvd): Likewise.
26927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26928         (__acr): Likewise.
26929         (__cpy): Likewise.
26930         (norm): Likewise.
26931         (denorm): Likewise.
26932         (__mp_dbl): Likewise.
26933         (__dbl_mp): Likewise.
26934         (add_magnitudes): Likewise.
26935         (sub_magnitudes): Likewise.
26936         (__add): Likewise.
26937         (__sub): Likewise.
26938         (__mul): Likewise.
26939         (__inv): Likewise.
26940         (__dvd): Likewise.
26941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26942         (__acr): Likewise.
26943         (__cpy): Likewise.
26944         (norm): Likewise.
26945         (denorm): Likewise.
26946         (__mp_dbl): Likewise.
26947         (__dbl_mp): Likewise.
26948         (add_magnitudes): Likewise.
26949         (sub_magnitudes): Likewise.
26950         (__add): Likewise.
26951         (__sub): Likewise.
26952         (__mul): Likewise.
26953         (__inv): Likewise.
26954         (__dvd): Likewise.
26955
26956 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26957
26958         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26959         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26960         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26961         2 && __USE_EXTERN_INLINES]: Likewise.
26962
26963 2013-01-08  Andreas Jaeger  <aj@suse.de>
26964
26965         [BZ# 14985]
26966         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26967         Remove.
26968         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26969         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26970
26971 2013-01-07  Anton Blanchard  <anton@samba.org>
26972
26973         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26974         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26975         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26976         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26977         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26978         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26979         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26980         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26982         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26983         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26984         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26986         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26987         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26988         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26989         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26990         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26991         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26992         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26993         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26994         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26995         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26996         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26997         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26998         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26999         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27000         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27001         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27002         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27003         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27005         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27006         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27007         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27008         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27009         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27010         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27011         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27012         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27013         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27014         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27015         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27016
27017 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27018
27019         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27020         (__MALLOC_PMT): Likewise.
27021         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27022         [__GNUC__], only on [_LIBC].
27023         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27024         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27025         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27026         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27027         forward declaration.
27028         (realloc_hook_ini): Likewise.
27029         (memalign_hook_ini): Likewise.
27030         (__libc_memalign): Do not use __MALLOC_PMT in variable
27031         declaration.
27032         (__libc_valloc): Likewise.
27033         (__libc_pvalloc): Likewise.
27034         (__libc_calloc): Likewise.
27035         (__posix_memalign): Likewise.
27036
27037         [BZ #14996]
27038         * math/s_casinh.c: Include <float.h>.
27039         (__casinh): Do not do computation with squaring and square root
27040         for large arguments.
27041         * math/s_casinhf.c: Include <float.h>.
27042         (__casinhf): Do not do computation with squaring and square root
27043         for large arguments.
27044         * math/s_casinhl.c: Include <float.h>.
27045         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27046         (__casinhl): Do not do computation with squaring and square root
27047         for large arguments.
27048         * math/libm-test.inc (casin_test): Add more tests.
27049         (casinh_test): Likewise.
27050         * sysdeps/i386/fpu/libm-test-ulps: Update.
27051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27052
27053 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27054
27055         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27056         (__x86_64_raw_data_cache_size): Likewise.
27057         (__x86_64_data_cache_size_half): Likewise.
27058         (__x86_64_raw_data_cache_size_half): Likewise.
27059         (__x86_64_shared_cache_size): Likewise.
27060         (__x86_64_raw_shared_cache_size): Likewise.
27061         (__x86_64_shared_cache_size_half): Likewise.
27062         (__x86_64_raw_shared_cache_size_half): Likewise.
27063         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27064         to ...
27065         (__x86_data_cache_size): This.
27066         (__x86_64_raw_data_cache_size): Renamed to ...
27067         (__x86_raw_data_cache_size): This.
27068         (__x86_64_data_cache_size_half): Renamed to ...
27069         (__x86_data_cache_size_half): This.
27070         (__x86_64_raw_data_cache_size_half): Renamed to ...
27071         (__x86_raw_data_cache_size_half): This.
27072         (__x86_64_shared_cache_size): Renamed to ...
27073         (__x86_shared_cache_size): This.
27074         (__x86_64_raw_shared_cache_size): Renamed to ...
27075         (__x86_raw_shared_cache_size): This.
27076         (__x86_64_shared_cache_size_half): Renamed to ...
27077         (__x86_shared_cache_size_half): This.
27078         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27079         (__x86_raw_shared_cache_size_half): This.
27080         * sysdeps/x86_64/memcpy.S: Updated.
27081         * sysdeps/x86_64/memset.S: Likewise.
27082         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27083         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27084         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27085
27086 2013-01-04  David S. Miller  <davem@davemloft.net>
27087
27088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27089
27090 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27091
27092         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27093         1 to avoid redefinition warning.
27094         (__USE_GNU): Don't define.
27095         (init_signaling_nan): Protoize.
27096
27097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27098
27099 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27100
27101         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27102         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27103         (__cpymn): Likewise.
27104         (norm): Remove commented code.
27105         (denorm): Likewise.
27106         (__mp_dbl): Likewise.
27107         (__inv): Likewise.
27108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27109         (__cpymn): Likewise.
27110         (norm): Remove commented code.
27111         (denorm): Likewise.
27112         (__mp_dbl): Likewise.
27113         (__inv): Likewise.
27114
27115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27116         mp_no value for 1.0 and 2.0.
27117         (norm): Use RADIXI instead of radixi.d.
27118         (denorm): Likewise.
27119         (__mul): Use 0.0 instead of zero.d.
27120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27121         mp_no value for 1.0 and 2.0.
27122         (norm): Use RADIXI instead of radixi.d.
27123         (denorm): Likewise.
27124         (__mul): Use 0.0 instead of zero.d.
27125
27126 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27127
27128         [BZ #14994]
27129         * math/s_casinh.c (__casinh): Reduce finite argument to first
27130         quadrant then set signs of results at the end.
27131         * math/s_casinhf.c (__casinhf): Likewise.
27132         * math/s_casinhl.c (__casinhl): Likewise.
27133         * math/libm-test.inc (casin_test): Add more tests.
27134         (casinh_test): Likewise.
27135         * sysdeps/i386/fpu/libm-test-ulps: Update.
27136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27137
27138 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27139
27140         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27141
27142         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27143
27144         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27145         declarations.
27146         (denorm): Likewise.
27147         (__mp_dbl): Likewise.
27148         (__inv): Likewise.
27149
27150         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27151         and adjust the header comment.
27152
27153         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27154         variable name from declaration.
27155
27156 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27157
27158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27159         Initialize COMMON_CPUID_INDEX_7 element.
27160         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27161         (CPUID_RTM): Likewise.
27162         (HAS_RTM): Likewise.
27163         (COMMON_CPUID_INDEX_7): New enum.
27164
27165 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27166
27167         [BZ #14981]
27168         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27169         size is zero, record memory as freed.
27170
27171 2013-01-03  Andreas Jaeger  <aj@suse.de>
27172
27173         * po/ia.po: Add new Interlingua translation.
27174
27175 2012-01-03  Allan McRae  <allan@archlinux.org>
27176
27177         * locale/programs/localedef.c: Fix description of '--posix' flag.
27178
27179 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27180
27181         * NEWS: Update dates in second copyright notice.
27182         * README: Update copyright dates in example.
27183         * manual/libc.texinfo: Update copyright dates.
27184         * scripts/test-installation.pl: Update copyright date in --version
27185         output.
27186
27187         * hurd/ctty-input.c: Fix copyright notice formatting.
27188         * hurd/ctty-output.c: Likewise.
27189         * hurd/dtable.c: Likewise.
27190         * hurd/hurd-raise.c: Likewise.
27191         * hurd/hurdprio.c: Likewise.
27192         * hurd/msgportdemux.c: Likewise.
27193         * misc/sys/file.h: Likewise.
27194         * misc/sys/ioctl.h: Likewise.
27195         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27196         * sysdeps/mach/hurd/chdir.c: Likewise.
27197         * sysdeps/mach/hurd/fchdir.c: Likewise.
27198         * sysdeps/mach/hurd/rename.c: Likewise.
27199         * sysdeps/mach/hurd/rmdir.c: Likewise.
27200         * sysdeps/mach/hurd/seekdir.c: Likewise.
27201         * sysdeps/mach/hurd/setsid.c: Likewise.
27202         * sysdeps/posix/wait3.c: Likewise.
27203
27204         * All files with FSF copyright notices: Update copyright dates
27205         using scripts/update-copyrights.
27206         * intl/plural.c: Regenerated.
27207         * locale/programs/charmap-kw.h: Likewise.
27208         * locale/programs/locfile-kw.h: Likewise.
27209
27210 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211
27212         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27213         four values.
27214
27215         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27216         calculation loop and add branch prediction.
27217
27218         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27219         check access beyond bounds of m1np.
27220
27221         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27222         MPTWO.
27223         (__inv): Remove local variable MPTWO to use the global
27224         constant.
27225         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27226         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27227         variable MPTWO.
27228         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27229         MP3HALFS static const.
27230
27231 2013-01-01  David S. Miller  <davem@davemloft.net>
27232
27233         * po/ca.po: Update from translation team.
27234
27235 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27236
27237         * scripts/update-copyrights: New file.
27238         * Makeconfig: Reformat copyright notice.
27239         * ctype/ctype.h: Likewise.
27240         * debug/swprintf_chk.c: Likewise.
27241         * elf/dl-cache.c: Likewise.
27242         * elf/dl-debug.c: Likewise.
27243         * elf/dl-object.c: Likewise.
27244         * grp/initgroups.c: Likewise.
27245         * hurd/Makefile: Likewise.
27246         * hurd/hurd/signal.h: Likewise.
27247         * hurd/hurdfault.c: Likewise.
27248         * hurd/hurdioctl.c: Likewise.
27249         * hurd/hurdlookup.c: Likewise.
27250         * hurd/intr-msg.c: Likewise.
27251         * iconv/gconv_open.c: Likewise.
27252         * libio/swprintf.c: Likewise.
27253         * locale/lc-ctype.c: Likewise.
27254         * locale/nl_langinfo.c: Likewise.
27255         * mach/Machrules: Likewise.
27256         * mach/Makefile: Likewise.
27257         * malloc/obstack.h: Likewise.
27258         * manual/Makefile: Likewise.
27259         * manual/tsort.awk: Likewise.
27260         * misc/bits/stab.def: Likewise.
27261         * nis/nis_print_group_entry.c: Likewise.
27262         * nis/nis_table.c: Likewise.
27263         * nis/nss_compat/compat-pwd.c: Likewise.
27264         * nis/nss_compat/compat-spwd.c: Likewise.
27265         * po/Makefile: Likewise.
27266         * posix/fnmatch.c: Likewise.
27267         * posix/regex.h: Likewise.
27268         * resolv/Makefile: Likewise.
27269         * resolv/nss_dns/dns-network.c: Likewise.
27270         * resolv/res_hconf.c: Likewise.
27271         * scripts/gen-sorted.awk: Likewise.
27272         * soft-fp/soft-fp.h: Likewise.
27273         * stdio-common/printf.h: Likewise.
27274         * stdlib/monetary.h: Likewise.
27275         * stdlib/random.c: Likewise.
27276         * stdlib/random_r.c: Likewise.
27277         * sysdeps/generic/Makefile: Likewise.
27278         * sysdeps/gnu/Makefile: Likewise.
27279         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27280         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27281         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27283         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27286         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27287         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27288         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27289         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27290         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27291         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27292         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27293         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27294         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27295         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27296         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27299         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27300         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27301         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27302         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27303         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27304         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27305         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27306         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27307         * sysdeps/mach/hurd/errnos.awk: Likewise.
27308         * sysdeps/mach/hurd/fork.c: Likewise.
27309         * sysdeps/mach/hurd/getcwd.c: Likewise.
27310         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27311         * sysdeps/mach/hurd/mmap.c: Likewise.
27312         * sysdeps/mach/hurd/utimes.c: Likewise.
27313         * sysdeps/mach/hurd/xmknod.c: Likewise.
27314         * sysdeps/posix/profil.c: Likewise.
27315         * sysdeps/posix/readdir_r.c: Likewise.
27316         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27317         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27318         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27319         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27321         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27323         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27325         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27326         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27327         * sysdeps/pthread/lio_listio.c: Likewise.
27328         * sysdeps/sparc/dl-procinfo.h: Likewise.
27329         * sysdeps/unix/i386/sysdep.S: Likewise.
27330         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27331         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27332         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27333         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27335         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27336         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27337         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27338         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27339         * sysdeps/wordsize-32/divdi3.c: Likewise.
27340         * time/sys/time.h: Likewise.
27341         * wcsmbs/Makefile: Likewise.
27342
27343 2013-01-01  David S. Miller  <davem@davemloft.net>
27344
27345         * po/fr.po: Update from translation team.
27346
27347         * catgets/gencat.c: Update copyright year.
27348         * csu/version.c: Likewise.
27349         * debug/catchsegv.sh: Likewise.
27350         * debug/pcprofiledump.c: Likewise.
27351         * debug/xtrace.sh: Likewise.
27352         * elf/ldconfig.c: Likewise.
27353         * elf/ldd.bash.in: Likewise.
27354         * elf/pldd.c: Likewise.
27355         * elf/sotruss.ksh: Likewise.
27356         * elf/sprof.c: Likewise.
27357         * iconv/iconv_prog.c: Likewise.
27358         * iconv/iconvconfig.c: Likewise.
27359         * locale/programs/locale.c: Likewise.
27360         * locale/programs/localedef.c: Likewise.
27361         * login/programs/pt_chown.c: Likewise.
27362         * malloc/memusage.sh: Likewise.
27363         * malloc/memusagestat.c: Likewise.
27364         * malloc/mtrace.pl: Likewise.
27365         * nscd/nscd.c: Likewise.
27366         * nss/getent.c: Likewise.
27367         * nss/makedb.c: Likewise.
27368         * posix/getconf.c: Likewise.
27369
27370 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27371
27372         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27373         numbers.
27374
27375 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27376
27377         * math/bits/mathcalls.h (modf): Use __nonnull.
27378
27379 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27380
27381         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27382         (split): Use macro CN instead of the bare value.
27383         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27384         could be used.
27385         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27386         instead of the bare value.
27387         (power1): Likewise.
27388
27389 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27390
27391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27392         __ATAN_TWOM.
27393         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27394
27395         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27396         their values.
27397         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27398         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27399         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27400         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27401
27402 2012-12-28  Andreas Jaeger  <aj@suse.de>
27403
27404         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27405         values are from Linux 3.7.
27406
27407         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27408         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27409
27410 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27411
27412         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27413         TRUE case.
27414
27415         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27416         (norm): Likewise.
27417         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27418         variables with preprocessor constants.
27419         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27420         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27421         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27422
27423 2012-12-27  Bruno Haible  <bruno@clisp.org>
27424
27425         [BZ #14317]
27426         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27427         only if needed.
27428
27429 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27430
27431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27432         and use variable directly.
27433         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27434
27435         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27436         MPONE.
27437         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27438         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27439         variable MPONE.
27440         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27442         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27443         include directive.  Remove local variable MPONE.
27444         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27445         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27446         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27447
27448 2012-12-25  David S. Miller  <davem@davemloft.net>
27449
27450         * version.h (RELEASE): Set to "development".
27451         (VERSION): Set to "2.17.90".
27452         * NEWS: Add 2.18 section.
27453
27454 2012-12-21  David S. Miller  <davem@davemloft.net>
27455
27456         * po/hr.po: Update from translation team.
27457
27458 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27459
27460         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27461
27462 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27463
27464         * NEWS:  Mention new memcpy for MIPS.
27465
27466 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27467
27468         * manual/contrib.texi (Contributors): Spelling correction.
27469
27470 2012-12-15  David S. Miller  <davem@davemloft.net>
27471
27472         * po/ru.po: Update from translation team.
27473
27474 2012-12-13  David S. Miller  <davem@davemloft.net>
27475
27476         * NEWS: Mention IFUNC testsuite enhancements.
27477
27478         * po/pl.po: Update from translation team.
27479         * po/bg.po: Likewise.
27480
27481         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27482         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27483
27484 2012-12-11  David S. Miller  <davem@davemloft.net>
27485
27486         * po/sv.po: Update from translation team.
27487
27488         * po/vi.po: Update from translation team.
27489
27490         * po/cs.po: Update from translation team.
27491
27492         * po/de.po: Update from translation team.
27493         * po/eo.po: Likewise.
27494         * po/nl.po: Likewise.
27495
27496 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497
27498         [BZ #14246]
27499         * manual/argp.texi (Argp Helper Functions): Move node to follow
27500         Argp Parsing State.
27501
27502         [BZ #14872]
27503         * manual/conf.texi (Limits on File System Capacity): Mention if
27504         terminating null is included in the max size.
27505
27506 2012-12-10  Andreas Jaeger  <aj@suse.de>
27507
27508         * po/cs.po: Update from translation team.
27509
27510 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27511
27512         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27513         void pointer and cast to uintptr_t.
27514         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27515         path.
27516         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27517         * sysdeps/s390/s390-64/memset.S: Likewise.
27518
27519 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27520
27521         [BZ #14833]
27522         * menual/message.texi (Message Translation): Fix typos.
27523         (Helper programs for gettext): Likewise.
27524
27525 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27526
27527         [BZ #14898]
27528         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27529         Change to -1.
27530
27531 2012-12-07  David S. Miller  <davem@davemloft.net>
27532
27533         * po/libc.pot: Update.
27534
27535 2012-12-07  Richard Henderson  <rth@redhat.com>
27536
27537         [BZ #10114]
27538         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27539         normal/normal case to before the switch.
27540         (_FP_DIV): Likewise.
27541
27542 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27543             Mike Frysinger  <vapier@gentoo.org>
27544
27545         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27546         check for __NR_fadvise64_64.
27547
27548 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27549
27550         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27551         0, not just to plain "0" as a statement.
27552         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27553         with cw.
27554
27555 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27556
27557         * NEWS: Use sourceware.org in Bugzilla URL.
27558
27559 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27560
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27562         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27563
27564         * stdio-common/tst-put-error.c (do_test): Add newline to the
27565         padded test to ensure flush.
27566
27567 2012-12-05  Jeff Law  <law@redhat.com>
27568
27569         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27570
27571 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27572
27573         * README: Don't refer to ports add-on as distributed separately.
27574         Mention AArch64 in list of systems supported in the ports add-on.
27575
27576         * LICENSES: Add more non-FSF copyright and license notices.
27577
27578         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27579         ((unused)).
27580
27581         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27582
27583         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27584         10000 as width of padded output.
27585
27586 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27587
27588         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27589
27590         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27591         variable LX with __attribute__ ((unused)).
27592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27593         Likewise.
27594         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27596         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27597         with __attribute__ ((unused)).
27598
27599 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27600
27601         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27602
27603 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27604
27605         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27606         (CFLAGS-nldbl-acos.c): New variable.
27607         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27608         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27609         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27610         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27611         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27612         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27613         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27614         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27615         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27616         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27617         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27618         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27619         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27620         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27621         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27622         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27623         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27624         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27625         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27626         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27627         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27628         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27629         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27630         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27631         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27632         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27633         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27634         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27635         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27636         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27637         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27638         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27639         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27640         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27641         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27642         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27643         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27644         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27645         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27646         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27647         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27648         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27649         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27650         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27651         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27652         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27653         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27654         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27655         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27656         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27657         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27658         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27659         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27660         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27661         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27662         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27663         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27664         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27665         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27666         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27667         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27668         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27669         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27670         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27671         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27672         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27673         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27674         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27675         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27676         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27677         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27678         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27679         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27680         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27681         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27682         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27683         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27684         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27685         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27686         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27687         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27688         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27689         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27690         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27691         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27692         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27693         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27694         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27695         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27696         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27697         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27698         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27699         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27700         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27701         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27702         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27703         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27704
27705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27706         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27707
27708         [BZ #14914]
27709         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27710         whole low double instead of just low 47 bits when splitting values
27711         into two parts.
27712
27713 2012-12-03  Allan McRae  <allan@archlinux.org>
27714
27715         * manual/stdio.texi (Predefined Printf Handlers): Remove
27716         @hsep and @vsep usage.
27717
27718 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27719
27720         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27721         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27722
27723 2012-12-03  Jeff Law  <law@redhat.com>
27724
27725         * time/sys/time.h (settimeofday): Do not mark TV argument
27726         as __nonnull.
27727
27728 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27729
27730         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27731         when currently writing and seek to current position when not.
27732         * libio/Makefile (tests): Remove bug-fclose1.
27733         * libio/bug-fclose1.c: Delete.
27734
27735 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27736
27737         * manual/arith.texi (feenableexcept): Fix typo.
27738         (fedisableexcept): Likewise.
27739
27740 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27741
27742         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27743         second, differently-typed declaration, rather than a cast.
27744
27745 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27746
27747         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27748         * include/rpc/svc.h: ... here.
27749
27750 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27751
27752         [BZ #13013]
27753         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27754         depending n and resplen2 to catch cases where answer
27755         equals answerp2.
27756
27757 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27758
27759         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27760         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27761
27762 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27763
27764         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27765
27766 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27767
27768         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27769
27770 2012-11-28  Jeff Law  <law@redhat.com>
27771
27772         [BZ #13761]
27773         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27774         dataset_temporary.  Track alloca usage into alloca_used.
27775         If dataset is large allocate and release it via malloc/free.
27776
27777 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27778
27779         [BZ #14197]
27780         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27781
27782 2012-11-28  David S. Miller  <davem@davemloft.net>
27783
27784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27785
27786 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27787
27788         [BZ #14803]
27789         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27790         of pi/2 rounded to nearest to 64 bits.
27791         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27792         nearest to 64 bits.
27793         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27794         bits.
27795
27796 2012-11-28  Jeff Law <law@redhat.com>
27797             Martin Osvald <mosvald@redhat.com>
27798
27799         [BZ #14889]
27800         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27801         * sunrpc/svc.c: Include time.h.
27802         (__svc_accept_failed): New function.
27803         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27804         any reason other than EINTR, call __svc_accept_failed.
27805         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27806         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27807
27808 2012-11-28  Andreas Schwab  <schwab@suse.de>
27809
27810         * scripts/abilist.awk: Also handle indirect functions in .opd
27811         section.
27812
27813 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27814
27815         [BZ #13881]
27816         * sysdeps/x86/fpu/powl_helper.c: New file.
27817         * sysdeps/x86/fpu/Makefile: Likewise.
27818         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27819         (p3): New object.
27820         (__ieee754_powl): Use __powl_helper for finite arguments except
27821         integer exponents below 8.
27822         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27823         (p3): New object.
27824         (__ieee754_powl): Use __powl_helper for finite arguments except
27825         integer exponents below 8.
27826         * math/libm-test.inc (pow_test): Add more tests and enable some
27827         previously disabled tests.
27828         * sysdeps/i386/fpu/libm-test-ulps: Update.
27829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27830
27831 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27832             Carlos O'Donell  <carlos_odonell@mentor.com>
27833
27834         * nss/makedb.c (is_prime): Assert that input is odd and greater
27835         than 4.  Note that fact in a comment too.
27836         (next_prime): Add 4 to input.
27837
27838 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27839
27840         [BZ #11741]
27841         * libio/Makefile (tests): Add test case tst-fwrite-error.
27842         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27843         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27844         * libio/tst-fwrite-error.c: New test case.
27845
27846 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27847
27848         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27849         before casting to void *.
27850         * include/libc-internal.h (__pointer_type): New macro.
27851         (__integer_if_pointer_type_sub): Likewise.
27852         (__integer_if_pointer_type): Likewise.
27853         (cast_to_integer): Likewise.
27854         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27855         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27856         before casting to atomic64_t.
27857         (atomic_exchange_acq): Likewise.
27858         (__arch_exchange_and_add_body): Likewise.
27859         (__arch_add_body): Likewise.
27860         (atomic_add_negative): Likewise.
27861         (atomic_add_zero): Likewise.
27862
27863 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27864
27865         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27866         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27867         (add_fdes): Likewise.
27868         (linear_search_fdes): Likewise.
27869         (binary_search_unencoded_fdes): Likewise.
27870
27871 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27872
27873         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27874
27875 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27876
27877         * configure.in: Autodetect C++ header directories.
27878         * configure: Regenerated.
27879
27880 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27881
27882         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27883
27884 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27885
27886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27887
27888 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27889
27890         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27891         LDBL_MANT_DIG == 106]: Disable some tests.
27892         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27893         Likewise.
27894         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27895         Likewise.
27896
27897         [BZ #14871]
27898         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27899         input for small inputs.  Return +/- pi/2 for large inputs.
27900         * math/libm-test.inc (atan_test): Add more tests.
27901
27902         * sysdeps/generic/unwind-dw2-fde-glibc.c
27903         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27904         __attribute__ ((unused)).
27905
27906         [BZ #14645]
27907         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27908         x * y if x and y are nonzero and z is zero.
27909
27910         [BZ #14811]
27911         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27912         nonzero exponents with absolute value below 0x1p-117 to +/-
27913         0x1p-117.
27914
27915         [BZ #14869]
27916         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27917         up arguments below 2**-450, not just those below 2**-500.
27918         * math/libm-test.inc (hypot_test): Add another test.
27919
27920         [BZ #14868]
27921         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27922         Return a+b for ratio over 2**120, not 2**60.
27923         * math/libm-test.inc (hypot_test): Add another test.
27924
27925         * math/libm-test.inc (clog_test): Use
27926         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27927         (clog10_test): Likewise.
27928
27929         [BZ #6778]
27930         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27931
27932 2012-11-22  Andreas Schwab  <schwab@suse.de>
27933
27934         * sysdeps/i386/fpu/libm-test-ulps: Update.
27935
27936 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27937
27938         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27939         printf output with newline.
27940
27941 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27942
27943         [BZ #14865]
27944         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27945         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27946         -z nodlopen, -z initfirst and -z execstack support.
27947         * configure: Regenerated.
27948
27949         * elf/elf.h (DF_1_NODIRECT): New macro.
27950         (DF_1_IGNMULDEF): Likewise.
27951         (DF_1_NOKSYMS): Likewise.
27952         (DF_1_NOHDR): Likewise.
27953         (DF_1_EDITED): Likewise.
27954         (DF_1_NORELOC): Likewise.
27955         (DF_1_SYMINTPOSE): Likewise.
27956         (DF_1_GLOBAUDIT): Likewise.
27957         (DF_1_SINGLETON): Likewise.
27958         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27959         DT_1_SUPPORTED_MASK bits.
27960         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27961
27962 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27963
27964         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27965
27966 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27967
27968         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27969         macro.
27970
27971         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27972         (sendmmsg): Move declarations...
27973         * socket/sys/socket.h: ... here.
27974         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27975         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27976         include it from...
27977         * socket/recvmmsg.c: ... this new file.
27978         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27979         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27980         definition of __sendmmsg hidden.
27981         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27982         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27983         Move ENOSYS stub into and include it from...
27984         * socket/sendmmsg.c: ... this new file.
27985         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27986         (sysdep_routines): Move recvmmsg and sendmmsg...
27987         * socket/Makefile (routines): ... here.
27988         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27989         (GLIBC_PRIVATE): Add __sendmmsg.
27990         * include/sys/socket.h (__sendmmsg): Add declarations.
27991         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27992         sendmmsg.
27993
27994 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27995
27996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27997         variable I1 with __attribute__ ((unused)).
27998         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27999
28000 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28001
28002         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28003         DUMMY variables with __attribute__ ((unused)).
28004
28005         * bits/byteswap.h: Include <bits/types.h>.
28006         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28007
28008 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28009
28010         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28011         string_t.  Do not manually set errno.
28012         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28013         length with __strnlen.  Make sure to both set errno and return it on
28014         failure.
28015
28016 2012-11-19  David S. Miller  <davem@davemloft.net>
28017
28018         With help from Joseph Myers.
28019         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28020         very large arguments properly.
28021         * math/libm-test.inc (atan_test): New tests.
28022         (atan2_test): New tests.
28023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28025
28026 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28027
28028         [BZ #14856]
28029         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28030         Define to 3.
28031
28032         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28033         [POSIX] (EADDRNOTAVAIL): Likewise.
28034         [POSIX] (EAFNOSUPPORT): Likewise.
28035         [POSIX] (EALREADY): Likewise.
28036         [POSIX] (ECONNABORTED): Likewise.
28037         [POSIX] (ECONNREFUSED): Likewise.
28038         [POSIX] (ECONNRESET): Likewise.
28039         [POSIX] (EDESTADDRREQ): Likewise.
28040         [POSIX] (EDQUOT): Likewise.
28041         [POSIX] (EHOSTUNREACH): Likewise.
28042         [POSIX] (EIDRM): Likewise.
28043         [POSIX] (EISCONN): Likewise.
28044         [POSIX] (ELOOP): Likewise.
28045         [POSIX] (EMULTIHOP): Likewise.
28046         [POSIX] (ENETDOWN): Likewise.
28047         [POSIX] (ENETUNREACH): Likewise.
28048         [POSIX] (ENOBUFS): Likewise.
28049         [POSIX] (ENODATA): Likewise.
28050         [POSIX] (ENOLINK): Likewise.
28051         [POSIX] (ENOMSG): Likewise.
28052         [POSIX] (ENOPROTOOPT): Likewise.
28053         [POSIX] (ENOSR): Likewise.
28054         [POSIX] (ENOSTR): Likewise.
28055         [POSIX] (ENOTCONN): Likewise.
28056         [POSIX] (ENOTSOCK): Likewise.
28057         [POSIX] (EOPNOTSUPP): Likewise.
28058         [POSIX] (EOVERFLOW): Likewise.
28059         [POSIX] (EPROTO): Likewise.
28060         [POSIX] (EPROTONOSUPPORT): Likewise.
28061         [POSIX] (EPROTOTYPE): Likewise.
28062         [POSIX] (ESTALE): Likewise.
28063         [POSIX] (ETIME): Likewise.
28064         [POSIX] (ETXTBSY): Likewise.
28065         [POSIX] (EWOULDBLOCK): Likewise.
28066         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28067         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28068         [POSIX] (SEEK_CUR): Likewise.
28069         [POSIX] (SEEK_END): Likewise.
28070         [POSIX || UNIX98] (mode_t): Do not require.
28071         [POSIX] (off_t): Likewise.
28072         [POSIX] (pid_t): Likewise.
28073         [POSIX] (sys/stat.h): Do not allow header.
28074         [POSIX] (unistd.h): Likewise.
28075         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28076         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28077         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28078         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28079         require.
28080         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28081         sigevent): Specify elements.
28082         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28083         entry.
28084         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28085         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28086
28087         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28088         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28089         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28090         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28091         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28092         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28093         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28094         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28095         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28096         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28097         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28098         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28099         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28100         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28101         Likewise.
28102         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28103         Likewise.
28104         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28105         Likewise.
28106         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28107         Likewise.
28108         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28109         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28110         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28111         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28112         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28113         Specify lower bound on value.
28114         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28115         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28116         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28117         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28118         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28119         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28120         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28121         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28122         value.
28123         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28124         as optional.
28125         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28126         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28127         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28128         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28129         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28130         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28131         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28132         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28133         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28134         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28135         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28136         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28137         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28138         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28139         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28140         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28141         entry.
28142         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28143         optional.
28144         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28145         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28146         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28147         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28148         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28149         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28150         Likewise.
28151         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28152         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28153         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28154         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28155         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28156         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28157         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28158         as optional.
28159         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28160         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28161         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28162         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28163         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28164         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28165         specify as optional.
28166         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28167         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28168         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28169         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28170         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28171         [XPG3] (NL_LANGMAX): Likewise.
28172         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28173         [POSIX || XPG3] (NL_NMAX): Likewise.
28174         [POSIX || XPG3] (NL_SETMAX): Likewise.
28175         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28176         [XPG3] (NZERO): Likewise.
28177         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28178         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28179         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28180         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28181         (REG_ERANGE): Expect.
28182         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28183         optional-constant.
28184         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28185         Use (void) in prototype.
28186         [POSIX] (*_t): Allow.
28187         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28188         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28189         (WRDE_BADVAL): Expect.
28190
28191         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28192         expect.
28193         [XPG3 || XPG4] (O_RSYNC): Likewise.
28194         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28195         Likewise.
28196         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28197         [XPG3 || XPG4] (sigqueue): Likewise.
28198         [XPG3 || XPG4] (sigtimedwait): Likewise.
28199         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28200         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28201         [XPG3 || XPG4] (vsnprintf): Likewise.
28202         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28203         Likewise.
28204         [XPG3 || XPG4] (blksize_t): Likewise.
28205         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28206         Likewise.
28207         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28208         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28209         [XPG3 || XPG4] (struct itimerspec): Likewise.
28210         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28211         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28212         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28213         [XPG3 || XPG4] (clockid_t): Likewise.
28214         [XPG3 || XPG4] (timer_t): Likewise.
28215         [XPG3 || XPG4] (clock_getres): Likewise.
28216         [XPG3 || XPG4] (clock_gettime): Likewise.
28217         [XPG3 || XPG4] (clock_settime): Likewise.
28218         [XPG3 || XPG4] (nanosleep): Likewise.
28219         [XPG3 || XPG4] (timer_create): Likewise.
28220         [XPG3 || XPG4] (timer_delete): Likewise.
28221         [XPG3 || XPG4] (timer_gettime): Likewise.
28222         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28223         [XPG3 || XPG4] (timer_settime): Likewise.
28224         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28225         [XPG3 || XPG4] (getlogin_r): Likewise.
28226         [XPG3 || XPG4] (pread): Likewise.
28227         [XPG3 || XPG4] (pthread_atfork): Likewise.
28228         [XPG3 || XPG4] (pwrite): Likewise.
28229
28230         [BZ #14835]
28231         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28232         <bits/siginfo.h>.
28233
28234 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28235
28236         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28237         finalizing MALLSTREAM.
28238
28239         * sysdeps/mach/hurd/syncfs.c: New file.
28240
28241 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28242
28243         [BZ #14719]
28244         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28245         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28246         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28247         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28248         (_nss_dns_gethostbyname4_r): Likewise.
28249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28250         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28251
28252 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28253
28254         [BZ #13763]
28255         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28256
28257 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28258
28259         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28260         * elf/cache.c (print_entry): Print ",AArch64" for
28261         FLAG_AARCH64_LIB64
28262
28263         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28264         * elf/cache.c (print_entry): Print ",hard-float" for
28265         FLAG_ARM_LIBHF.
28266
28267 2012-11-18  David S. Miller  <davem@davemloft.net>
28268
28269         With help from Joseph Myers.
28270         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28271         cutoff to 2**-13.
28272         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28273         cutoff to 2**-25.
28274         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28275         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28276         small.
28277         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28278         * math/libm-test.inc (y0_test): New tests.
28279         (y1_test): New tests.
28280         * sysdeps/i386/fpu/libm-test-ulps: Update.
28281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28283
28284 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28285
28286         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28287         64-bit targets.
28288         * configure: Regenerated.
28289
28290 2012-11-17  David S. Miller  <davem@davemloft.net>
28291
28292         [BZ #14811]
28293         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28294         nonzero exponents with absolute value below 0x1p-128 to +/-
28295         0x1p-128.
28296
28297 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28298
28299         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28300
28301         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28302
28303         * posix/getconf-speclist.c: New file.
28304         * posix/posix-envs.def: Likewise.
28305         * posix/confstr.c (START_ENV_GROUP): New macro.
28306         (END_ENV_GROUP): Likewise.
28307         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28308         (KNOWN_PRESENT_ENV_STRING): Likewise.
28309         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28310         (UNKNOWN_ENVIRONMENT): Likewise.
28311         (confstr): Include posix-envs.def instead of handling
28312         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28313         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28314         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28315         (END_ENV_GROUP): Likewise.
28316         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28317         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28318         (UNKNOWN_ENVIRONMENT): Likewise.
28319         (__sysconf): Include posix-envs.def instead of handling associated
28320         cases directly here.
28321         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28322         preprocessing getconf-speclist.c rather than running getconf or
28323         generating empty file.
28324
28325 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28326
28327         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28328
28329 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28330
28331         [BZ #14672]
28332         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28333
28334 2012-11-16  David S. Miller  <davem@davemloft.net>
28335
28336         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28337         smaller than LDBL_EPSILON/2.0L, just return xm1.
28338
28339 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28340
28341         * elf/tst-array1.c (init): Set constructor priority to 1000.
28342         (fini): Set destructor priority to 1000.
28343         * elf/tst-array2dep.c: Likewise.
28344
28345 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28346
28347         [BZ #11741]
28348         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28349         (_IO_new_file_xsputn): Also return EOF if none of the input
28350         data was written when overflow failed.
28351         * libio/iopadn.c (_IO_padn): Likewise.
28352         * libio/iowpadn.c (_IO_wpadn): Likewise.
28353         * stdio-common/tst-put-error.c: Add copyright notice.
28354         (do_test): Add case for printing padded string.
28355         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28356         _IO_padn returned error.
28357         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28358         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28359         return EOF.
28360
28361 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28362
28363         * libio/libioP.h: Add comment note that the references to C++
28364         bits are now obsolete.
28365
28366 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28367
28368         * math/libm-test.inc (check_complex): Use asprintf.
28369
28370 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28371
28372         * debug/pcprofiledump.c (print_version): Update copyright year.
28373         * malloc/memusagestat.c (print_version): Likewise.
28374
28375 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28376
28377         [BZ #14831]
28378         * elf/Makefile (tests): Add tst-audit8.
28379         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28380         ($(objpfx)tst-audit8.out): New target.
28381         (tst-audit8-ENV): New variable.
28382         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28383         audit if l_reloc_result is NULL.
28384         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28385         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28386         * elf/tst-audit8.c: New file.
28387
28388 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28389
28390         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28391         * misc/Makefile (CFLAGS-select.c): Define.
28392         * posix/Makefile (CFLAGS-pause.c): Define.
28393
28394 2012-11-13  David S. Miller  <davem@davemloft.net>
28395
28396         * crypt/Makefile: Move test targets after toplevel Rules
28397         inclusion.  Grab any necessary sysdep routines when linking.
28398         * crypt/md5.c (md5_process_block): Remove define, we will always
28399         name it __md5_process_block.
28400         (md5_finish_ctx): Update md5_process_block call.
28401         (md5_stream): Likewise.
28402         (md5_process_bytes): Likewise.
28403         (md5_process_block): Rename to __md5_process_block and move to ...
28404         * crypt/md5-block.c: ... here.
28405         * crypt/sha256.c (sha256_process_block): Move to ...
28406         * crypt/sha256-block.c: ... here.
28407         * crypt/sha512.c (sha512_process_block): Move to ...
28408         * crypt/sha512-block.c: ... here.
28409         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28410         path.
28411         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28412         * sysdeps/sparc/sparc64/multiarch/Makefile
28413         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28414         crypt subdir.
28415         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28416         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28417         multiarch changes.
28418         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28419         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28420         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28421         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28422         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28423         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28424         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28425         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28426         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28427         file.
28428         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28429         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28430         file.
28431         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28432
28433 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28434
28435         * timezone/tzselect.ksh: Update from tzcode git revision
28436         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28437         * timezone/zdump.c: Likewise.
28438         * timezone/zic.c: Likewise.
28439         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28440         in TZVERSION setting, not $(PKGVERSION).
28441         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28442         REPORT_BUGS_TO settings.
28443
28444         [BZ #14838]
28445         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28446         macro.
28447
28448 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28449
28450         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28451         detection to immediately after _FP_ROUND().
28452         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28453         bits are 0.
28454
28455 2012-11-11  David S. Miller  <davem@davemloft.net>
28456
28457         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28458         inttypes.h
28459         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28460         __close rather than their public counterparts.
28461
28462 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28463
28464         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28465         file.
28466         [UNIX98] (sem_timedwait): Do not expect.
28467         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28468         [XPG4 || UNIX98] (sockatmark): Do not expect.
28469         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28470         (clock_getcpuclockid): Do not expect.
28471         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28472         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28473         Do not expect.
28474         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28475         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28476         [UNIX98] (vwscanf): Likewise.
28477         [UNIX98] (vswscanf): Likewise.
28478
28479 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28480
28481         * timezone/version.h: Remove file.
28482         * timezone/README: Do not refer to version.h.
28483         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28484         $(objpfx)version.h.
28485         ($(objpfx)zdump.o): Likewise.
28486         ($(objpfx)version.h): New target.
28487
28488         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28489         2012i.
28490         * timezone/README: Don't mention modification to tzselect.ksh.
28491         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28492         work on unmodified tzselect.ksh.  Substitute version numbers in
28493         tzselect.ksh.
28494
28495         * Makefile (format-me): Remove.
28496         (INSTALL): Adjust indentation.  Use commands directly instead of
28497         using $(format-me).
28498
28499         * aclocal.m4 (ACX_PKGVERSION): New macro.
28500         (ACX_BUGURL): Likewise.
28501         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28502         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28503         (REPORT_BUGS_TO): Likewise.
28504         * configure: Regenerated.
28505         * config.h.in (PKGVERSION): New macro.
28506         (REPORT_BUGS_TO): Likewise.
28507         * config.make.in (PKGVERSION): New variable.
28508         (PKGVERSION_TEXI): Likewise.
28509         (REPORT_BUGS_TO): Likewise.
28510         (REPORT_BUGS_TEXI): Likewise.
28511         * Makefile (format-me): Use -I$(common-objpfx)manual.
28512         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28513         ($(common-objpfx)manual/%): New target.
28514         (manual/%): Remove target.
28515         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28516         (print_version): Use PKGVERSION.
28517         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28518         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28519         and REPORT_BUGS_TO.
28520         ($(objpfx)xtrace): Likewise.
28521         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28522         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28523         (print_version): Use PKGVERSION.
28524         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28525         (do_version): Use PKGVERSION.
28526         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28527         REPORT_BUGS_TO.
28528         (common-ldd-rewrite): Likewise.
28529         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28530         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28531         (print_version): Use PKGVERSION.
28532         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28533         * elf/pldd.c (argp_program_bug_address): Remove variable.
28534         (more_help): New function.
28535         (argp): Use more_help.
28536         (print_version): Use PKGVERSION.
28537         * elf/sln.c (main): Use PKGVERSION.
28538         (usage): Use REPORT_BUGS_TO.
28539         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28540         (top level): Use PKGVERSION.
28541         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28542         (print_version): Use PKGVERSION.
28543         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28544         (print_version): Use PKGVERSION.
28545         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28546         (print_version): Use PKGVERSION.
28547         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28548         (print_version): Use PKGVERSION.
28549         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28550         (print_version): Use PKGVERSION.
28551         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28552         (print_version): Use PKGVERSION.
28553         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28554         and BUGURL.
28555         ($(objpfx)memusage): Likewise.
28556         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28557         (do_version): Use PKGVERSION.
28558         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28559         (print_version): Use PKGVERSION.
28560         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28561         ($PKGVERSION): New variable.
28562         ($REPORT_BUGS_TO): Likewise.
28563         (usage): Use $REPORT_BUGS_TO.
28564         (top level): Use $PKGVERSION.
28565         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28566         ($(objpfx)pkgvers.texi): New rule.
28567         ($(objpfx)stamp-pkgvers): Likewise.
28568         * manual/install.texi: Include pkgvers.texi.
28569         (--with-pkgversion): Document new configure option.
28570         (--with-bugurl): Likewise.
28571         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28572         than necessarily for this particular distribution.  Use
28573         REPORT_BUGS_TO for where to report bugs.
28574         * INSTALL: Regenerated.
28575         * manual/libc.texinfo: Include pkgvers.texi.
28576         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28577         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28578         (print_version): Use PKGVERSION.
28579         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28580         (print_version): Use PKGVERSION.
28581         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28582         (print_version): Use PKGVERSION.
28583         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28584         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28585         macro.
28586         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28587         (print_version): Use PKGVERSION.
28588         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28589         (print_version): Use PKGVERSION.
28590         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28591         and PKGVERSION.
28592
28593         * timezone/checktab.awk: Update from tzcode 2012i.
28594         * timezone/ialloc.c: Likewise.
28595         * timezone/private.h: Likewise.
28596         * timezone/scheck.c: Likewise.
28597         * timezone/tzfile.h: Likewise.
28598         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28599         (TZVERSION): Hardcode tzcode version number.
28600         * timezone/zdump.c: Update from tzcode 2012i.
28601         * timezone/zic.c: Likewise.
28602         * timezone/version.h: New file.
28603         * timezone/README: Describe version.h.  Update upstream location.
28604
28605         [BZ #14824]
28606         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28607         (mktemp): Enable declaration.
28608         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28609         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28610         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28611         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28612         Likewise.
28613         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28614         Likewise.
28615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28616         Likewise.
28617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28618         Likewise.
28619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28620         Likewise.
28621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28622         Likewise.
28623
28624         [BZ #14821]
28625         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28626         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28627         for copies of such integer values.
28628         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28629         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28630
28631 2012-11-09  Andreas Jaeger  <aj@suse.de>
28632
28633         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28634         definitions and declarations that are provided by
28635         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28636
28637 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28638
28639         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28640         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28641         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28642         definition.
28643
28644 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28645
28646         * elf/elf.h: Update comment before AArch64 relocations.
28647
28648 2012-11-07  David S. Miller  <davem@davemloft.net>
28649
28650         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28651         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28652         (__start_context): Declare.
28653         (__makecontext_ret): Delete.
28654         (__makecontext): Hook up __start_context instead of
28655         __makecontext_ret.
28656         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28657         (sysdep_routines): Add __start_context when in stdlib.
28658
28659 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28660
28661         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28662         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28663         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28664         hardcoded "nm".
28665         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28666         (READELF): New variable.  Use it instead of hardcoded "readelf".
28667
28668 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28669
28670         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28671         * sysdeps/x86/Makefile: Here.
28672         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28673         * sysdeps/x86/tst-xmmymm.sh: This.
28674
28675 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28676
28677         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28678         expectations.
28679         [UNIX98] (pthread_barrier_t): Do not expect.
28680         [UNIX98] (pthread_barrierattr_t): Likewise.
28681         [UNIX98] (pthread_spinlock_t): Likewise.
28682         [UNIX98] (pthread_barrier_destroy): Likewise.
28683         [UNIX98] (pthread_barrier_init): Likewise.
28684         [UNIX98] (pthread_barrier_wait): Likewise.
28685         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28686         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28687         [UNIX98] (pthread_barrierattr_init): Likewise.
28688         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28689         [UNIX98] (pthread_getcpuclockid): Likewise.
28690         [UNIX98] (pthread_mutex_timedlock): Likewise.
28691         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28692         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28693         [UNIX98] (pthread_sigmask): Likewise.
28694         [UNIX98] (pthread_spin_destroy): Likewise.
28695         [UNIX98] (pthread_spin_init): Likewise.
28696         [UNIX98] (pthread_spin_lock): Likewise.
28697         [UNIX98] (pthread_spin_trylock): Likewise.
28698         [UNIX98] (pthread_spin_unlock): Likewise.
28699         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28700         Do not expect.
28701         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28702         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28703         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28704         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28705         [XPG3 || XPG4] (pthread_key_t): Likewise.
28706         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28707         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28708         [XPG3 || XPG4] (pthread_once_t): Likewise.
28709         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28710         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28711         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28712         [XPG3 || XPG4] (pthread_t): Likewise.
28713
28714         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28715         not expect.
28716         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28717
28718         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28719         Change function return type to int.
28720
28721         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28722         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28723         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28724         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28725         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28726         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28727         [!POSIX] (posix_madvise): Likewise.
28728         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28729         && !UNIX98].
28730         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28731         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28732         (mode_t): Likewise.
28733         (posix_mem_offset): Likewise.
28734         (posix_typed_mem_get_info): Likewise.
28735         (posix_typed_mem_open): Likewise.
28736
28737         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28738         Change condition to [XOPEN2K8].
28739
28740         * conform/conformtest.pl: Preprocess allow-header data with -x c
28741         instead of from stdin.
28742         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28743         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28744         [C99-based standards] (cerfc): Likewise.
28745         [C99-based standards] (cexp2): Likewise.
28746         [C99-based standards] (cexpm1): Likewise.
28747         [C99-based standards] (clog10): Likewise.
28748         [C99-based standards] (clog1p): Likewise.
28749         [C99-based standards] (clog2): Likewise.
28750         [C99-based standards] (clgamma): Likewise.
28751         [C99-based standards] (ctgamma): Likewise.
28752         [C99-based standards] (cerff): Likewise.
28753         [C99-based standards] (cerfcf): Likewise.
28754         [C99-based standards] (cexp2f): Likewise.
28755         [C99-based standards] (cexpm1f): Likewise.
28756         [C99-based standards] (clog10f): Likewise.
28757         [C99-based standards] (clog1pf): Likewise.
28758         [C99-based standards] (clog2f): Likewise.
28759         [C99-based standards] (clgammaf): Likewise.
28760         [C99-based standards] (ctgammaf): Likewise.
28761         [C99-based standards] (cerfl): Likewise.
28762         [C99-based standards] (cerfcl): Likewise.
28763         [C99-based standards] (cexp2l): Likewise.
28764         [C99-based standards] (cexpm1l): Likewise.
28765         [C99-based standards] (clog10l): Likewise.
28766         [C99-based standards] (clog1pl): Likewise.
28767         [C99-based standards] (clog2l): Likewise.
28768         [C99-based standards] (clgammal): Likewise.
28769         [C99-based standards] (ctgammal): Likewise.
28770         * conform/data/inttypes.h-data [C99-based standards]: Include
28771         stdint.h-data.  Remove all expectations for stdint.h contents.
28772         [C99-based standards] (PRI*): Do not allow.
28773         [C99-based standards] (SCN*): Likewise.
28774         [C99-based standards] (*_t): Likewise.
28775         [C99-based-standards] (PRId8): Expect macro.
28776         [C99-based-standards] (PRIi8): Likewise.
28777         [C99-based-standards] (PRIo8): Likewise.
28778         [C99-based-standards] (PRIu8): Likewise.
28779         [C99-based-standards] (PRIx8): Likewise.
28780         [C99-based-standards] (PRIX8): Likewise.
28781         [C99-based-standards] (SCNd8): Likewise.
28782         [C99-based-standards] (SCNi8): Likewise.
28783         [C99-based-standards] (SCNo8): Likewise.
28784         [C99-based-standards] (SCNu8): Likewise.
28785         [C99-based-standards] (SCNx8): Likewise.
28786         [C99-based-standards] (PRIdLEAST8): Likewise.
28787         [C99-based-standards] (PRIiLEAST8): Likewise.
28788         [C99-based-standards] (PRIoLEAST8): Likewise.
28789         [C99-based-standards] (PRIuLEAST8): Likewise.
28790         [C99-based-standards] (PRIxLEAST8): Likewise.
28791         [C99-based-standards] (PRIXLEAST8): Likewise.
28792         [C99-based-standards] (SCNdLEAST8): Likewise.
28793         [C99-based-standards] (SCNiLEAST8): Likewise.
28794         [C99-based-standards] (SCNoLEAST8): Likewise.
28795         [C99-based-standards] (SCNuLEAST8): Likewise.
28796         [C99-based-standards] (SCNxLEAST8): Likewise.
28797         [C99-based-standards] (PRIdFAST8): Likewise.
28798         [C99-based-standards] (PRIiFAST8): Likewise.
28799         [C99-based-standards] (PRIoFAST8): Likewise.
28800         [C99-based-standards] (PRIuFAST8): Likewise.
28801         [C99-based-standards] (PRIxFAST8): Likewise.
28802         [C99-based-standards] (PRIXFAST8): Likewise.
28803         [C99-based-standards] (SCNdFAST8): Likewise.
28804         [C99-based-standards] (SCNiFAST8): Likewise.
28805         [C99-based-standards] (SCNoFAST8): Likewise.
28806         [C99-based-standards] (SCNuFAST8): Likewise.
28807         [C99-based-standards] (SCNxFAST8): Likewise.
28808         [C99-based-standards] (PRId16): Likewise.
28809         [C99-based-standards] (PRIi16): Likewise.
28810         [C99-based-standards] (PRIo16): Likewise.
28811         [C99-based-standards] (PRIu16): Likewise.
28812         [C99-based-standards] (PRIx16): Likewise.
28813         [C99-based-standards] (PRIX16): Likewise.
28814         [C99-based-standards] (SCNd16): Likewise.
28815         [C99-based-standards] (SCNi16): Likewise.
28816         [C99-based-standards] (SCNo16): Likewise.
28817         [C99-based-standards] (SCNu16): Likewise.
28818         [C99-based-standards] (SCNx16): Likewise.
28819         [C99-based-standards] (PRIdLEAST16): Likewise.
28820         [C99-based-standards] (PRIiLEAST16): Likewise.
28821         [C99-based-standards] (PRIoLEAST16): Likewise.
28822         [C99-based-standards] (PRIuLEAST16): Likewise.
28823         [C99-based-standards] (PRIxLEAST16): Likewise.
28824         [C99-based-standards] (PRIXLEAST16): Likewise.
28825         [C99-based-standards] (SCNdLEAST16): Likewise.
28826         [C99-based-standards] (SCNiLEAST16): Likewise.
28827         [C99-based-standards] (SCNoLEAST16): Likewise.
28828         [C99-based-standards] (SCNuLEAST16): Likewise.
28829         [C99-based-standards] (SCNxLEAST16): Likewise.
28830         [C99-based-standards] (PRIdFAST16): Likewise.
28831         [C99-based-standards] (PRIiFAST16): Likewise.
28832         [C99-based-standards] (PRIoFAST16): Likewise.
28833         [C99-based-standards] (PRIuFAST16): Likewise.
28834         [C99-based-standards] (PRIxFAST16): Likewise.
28835         [C99-based-standards] (PRIXFAST16): Likewise.
28836         [C99-based-standards] (SCNdFAST16): Likewise.
28837         [C99-based-standards] (SCNiFAST16): Likewise.
28838         [C99-based-standards] (SCNoFAST16): Likewise.
28839         [C99-based-standards] (SCNuFAST16): Likewise.
28840         [C99-based-standards] (SCNxFAST16): Likewise.
28841         [C99-based-standards] (PRId32): Likewise.
28842         [C99-based-standards] (PRIi32): Likewise.
28843         [C99-based-standards] (PRIo32): Likewise.
28844         [C99-based-standards] (PRIu32): Likewise.
28845         [C99-based-standards] (PRIx32): Likewise.
28846         [C99-based-standards] (PRIX32): Likewise.
28847         [C99-based-standards] (SCNd32): Likewise.
28848         [C99-based-standards] (SCNi32): Likewise.
28849         [C99-based-standards] (SCNo32): Likewise.
28850         [C99-based-standards] (SCNu32): Likewise.
28851         [C99-based-standards] (SCNx32): Likewise.
28852         [C99-based-standards] (PRIdLEAST32): Likewise.
28853         [C99-based-standards] (PRIiLEAST32): Likewise.
28854         [C99-based-standards] (PRIoLEAST32): Likewise.
28855         [C99-based-standards] (PRIuLEAST32): Likewise.
28856         [C99-based-standards] (PRIxLEAST32): Likewise.
28857         [C99-based-standards] (PRIXLEAST32): Likewise.
28858         [C99-based-standards] (SCNdLEAST32): Likewise.
28859         [C99-based-standards] (SCNiLEAST32): Likewise.
28860         [C99-based-standards] (SCNoLEAST32): Likewise.
28861         [C99-based-standards] (SCNuLEAST32): Likewise.
28862         [C99-based-standards] (SCNxLEAST32): Likewise.
28863         [C99-based-standards] (PRIdFAST32): Likewise.
28864         [C99-based-standards] (PRIiFAST32): Likewise.
28865         [C99-based-standards] (PRIoFAST32): Likewise.
28866         [C99-based-standards] (PRIuFAST32): Likewise.
28867         [C99-based-standards] (PRIxFAST32): Likewise.
28868         [C99-based-standards] (PRIXFAST32): Likewise.
28869         [C99-based-standards] (SCNdFAST32): Likewise.
28870         [C99-based-standards] (SCNiFAST32): Likewise.
28871         [C99-based-standards] (SCNoFAST32): Likewise.
28872         [C99-based-standards] (SCNuFAST32): Likewise.
28873         [C99-based-standards] (SCNxFAST32): Likewise.
28874         [C99-based-standards] (PRId64): Likewise.
28875         [C99-based-standards] (PRIi64): Likewise.
28876         [C99-based-standards] (PRIo64): Likewise.
28877         [C99-based-standards] (PRIu64): Likewise.
28878         [C99-based-standards] (PRIx64): Likewise.
28879         [C99-based-standards] (PRIX64): Likewise.
28880         [C99-based-standards] (SCNd64): Likewise.
28881         [C99-based-standards] (SCNi64): Likewise.
28882         [C99-based-standards] (SCNo64): Likewise.
28883         [C99-based-standards] (SCNu64): Likewise.
28884         [C99-based-standards] (SCNx64): Likewise.
28885         [C99-based-standards] (PRIdLEAST64): Likewise.
28886         [C99-based-standards] (PRIiLEAST64): Likewise.
28887         [C99-based-standards] (PRIoLEAST64): Likewise.
28888         [C99-based-standards] (PRIuLEAST64): Likewise.
28889         [C99-based-standards] (PRIxLEAST64): Likewise.
28890         [C99-based-standards] (PRIXLEAST64): Likewise.
28891         [C99-based-standards] (SCNdLEAST64): Likewise.
28892         [C99-based-standards] (SCNiLEAST64): Likewise.
28893         [C99-based-standards] (SCNoLEAST64): Likewise.
28894         [C99-based-standards] (SCNuLEAST64): Likewise.
28895         [C99-based-standards] (SCNxLEAST64): Likewise.
28896         [C99-based-standards] (PRIdFAST64): Likewise.
28897         [C99-based-standards] (PRIiFAST64): Likewise.
28898         [C99-based-standards] (PRIoFAST64): Likewise.
28899         [C99-based-standards] (PRIuFAST64): Likewise.
28900         [C99-based-standards] (PRIxFAST64): Likewise.
28901         [C99-based-standards] (PRIXFAST64): Likewise.
28902         [C99-based-standards] (SCNdFAST64): Likewise.
28903         [C99-based-standards] (SCNiFAST64): Likewise.
28904         [C99-based-standards] (SCNoFAST64): Likewise.
28905         [C99-based-standards] (SCNuFAST64): Likewise.
28906         [C99-based-standards] (SCNxFAST64): Likewise.
28907         [C99-based-standards] (PRIdMAX): Likewise.
28908         [C99-based-standards] (PRIiMAX): Likewise.
28909         [C99-based-standards] (PRIoMAX): Likewise.
28910         [C99-based-standards] (PRIuMAX): Likewise.
28911         [C99-based-standards] (PRIxMAX): Likewise.
28912         [C99-based-standards] (PRIXMAX): Likewise.
28913         [C99-based-standards] (SCNdMAX): Likewise.
28914         [C99-based-standards] (SCNiMAX): Likewise.
28915         [C99-based-standards] (SCNoMAX): Likewise.
28916         [C99-based-standards] (SCNuMAX): Likewise.
28917         [C99-based-standards] (SCNxMAX): Likewise.
28918         [C99-based-standards] (PRIdPTR): Likewise.
28919         [C99-based-standards] (PRIiPTR): Likewise.
28920         [C99-based-standards] (PRIoPTR): Likewise.
28921         [C99-based-standards] (PRIuPTR): Likewise.
28922         [C99-based-standards] (PRIxPTR): Likewise.
28923         [C99-based-standards] (PRIXPTR): Likewise.
28924         [C99-based-standards] (SCNdPTR): Likewise.
28925         [C99-based-standards] (SCNiPTR): Likewise.
28926         [C99-based-standards] (SCNoPTR): Likewise.
28927         [C99-based-standards] (SCNuPTR): Likewise.
28928         [C99-based-standards] (SCNxPTR): Likewise.
28929         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28930         allow.
28931         * conform/data/stdint.h-data: Update comments to clarify
28932         requirements.
28933         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28934         type.
28935         [C99-based standards] (INT8_MAX): Likewise.
28936         [C99-based standards] (INT16_MIN): Likewise.
28937         [C99-based standards] (INT16_MAX): Likewise.
28938         [C99-based standards] (INT32_MIN): Likewise.
28939         [C99-based standards] (INT32_MAX): Likewise.
28940         [C99-based standards] (INT64_MIN): Likewise.
28941         [C99-based standards] (INT64_MAX): Likewise.
28942         [C99-based standards] (UINT8_MAX): Likewise.
28943         [C99-based standards] (UINT16_MAX): Likewise.
28944         [C99-based standards] (UINT32_MAX): Likewise.
28945         [C99-based standards] (UINT64_MAX): Likewise.
28946         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28947         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28948         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28949         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28950         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28951         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28952         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28953         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28954         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28955         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28956         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28957         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28958         [C99-based standards] (INT_FAST8_MIN): Likewise.
28959         [C99-based standards] (INT_FAST8_MAX): Likewise.
28960         [C99-based standards] (INT_FAST16_MIN): Likewise.
28961         [C99-based standards] (INT_FAST16_MAX): Likewise.
28962         [C99-based standards] (INT_FAST32_MIN): Likewise.
28963         [C99-based standards] (INT_FAST32_MAX): Likewise.
28964         [C99-based standards] (INT_FAST64_MIN): Likewise.
28965         [C99-based standards] (INT_FAST64_MAX): Likewise.
28966         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28967         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28968         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28969         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28970         [C99-based standards] (INTPTR_MIN): Likewise.
28971         [C99-based standards] (INTPTR_MAX): Likewise.
28972         [C99-based standards] (UINTPTR_MAX): Likewise.
28973         [C99-based standards] (INTMAX_MIN): Likewise.
28974         [C99-based standards] (INTMAX_MAX): Likewise.
28975         [C99-based standards] (UINTMAX_MAX): Likewise.
28976         [C99-based standards] (PTRDIFF_MIN): Likewise.
28977         [C99-based standards] (PTRDIFF_MAX): Likewise.
28978         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28979         [C99-based standards] (SIZE_MAX): Likewise.
28980         [C99-based standards] (WCHAR_MAX): Likewise.
28981         [C99-based standards] (WINT_MAX): Likewise.
28982         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28983         constraint on value.
28984         [C99-based standards] (WCHAR_MIN): Likewise.
28985         [C99-based standards] (WINT_MIN): Likewise.
28986         [C99-based standards] (*_t): Allow.
28987         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28988         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28989         Include math.h-data and complex.h-data.  Remove all expectations
28990         of math.h and complex.h contents.
28991         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28992         at end of line.
28993         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28994         (struct tm): Expect tag.
28995         [C99-based-standards] (wcstof): Expect function.
28996         [C99-based-standards] (wcstold): Likewise.
28997         [C99-based-standards] (wcstoll): Likewise.
28998         [C99-based-standards] (wcstoull): Likewise.
28999         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29000         macro-int-constant.  Specify type.
29001         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29002         constraint on value.
29003         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29004         Specify type.
29005         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29006         Specify value.
29007         [ISO C standards]: Do not allow headers.
29008         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29009         wcs[abcdefghijklmnopqrstuvwxyz]*.
29010         [ISO C standards] (*_t): Do not allow.
29011         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29012         Expect function.
29013         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29014         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29015         Specify type.
29016         [ISO C standards]: Do not allow headers.
29017         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29018         is[abcdefghijklmnopqrstuvwxyz]*.
29019         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29020         to[abcdefghijklmnopqrstuvwxyz]*.
29021         [ISO C standards] (*_t): Do not allow.
29022         * conform/data/stdalign.h-data: New file.
29023         * conform/data/stdbool.h-data: Likewise.
29024         * conform/data/stdnoreturn.h-data: Likewise.
29025
29026 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29027
29028         [BZ #14815]
29029         * manual/filesys.texi (Directory Entries): Typo fix.
29030         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29031
29032 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29033
29034         * elf/elf.h (EM_AARCH64): New macro.
29035         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29036         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29037         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29038         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29039         (R_AARCH64_TLSDESC): Likewise.
29040         (NT_ARM_TLS): Likewise.
29041         (NT_ARM_HW_BREAK): Likewise.
29042         (NT_ARM_HW_WATCH): Likewise.
29043
29044 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29045
29046         [BZ #14811]
29047         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29048         (__ieee754_powl): Saturate nonzero exponents with absolute value
29049         below 0x1p-79 to +/- 0x1p-79.
29050         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29051         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29052         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29053         nonzero exponents with absolute value below 0x1p-32 to +/-
29054         0x1p-32.
29055         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29056         (__ieee754_powl): Saturate nonzero exponents with absolute value
29057         below 0x1p-79 to +/- 0x1p-79.
29058         * math/libm-test.inc (pow_test): Add more tests.
29059
29060 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29061
29062         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29063         _dl_s390_cap_flags with kernel. Increase string length.
29064         (_dl_s390_platforms): Add z196 and zEC12.
29065
29066 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29067
29068         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29069         Change XOPEN21K to XOPEN2K.
29070
29071 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29072
29073         * string/memmove.c: Use memcpy when possible.
29074
29075 2012-11-06  Andreas Jaeger  <aj@suse.de>
29076
29077         * po/eo.po: Update from translation team.
29078
29079 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29080
29081         [BZ #14793]
29082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29083         exponent and small x and y exponents, scale x or y up.  Increase
29084         by 2 the exponent used in scaling up.
29085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29087         * math/libm-test.inc (fma_test): Add more tests.
29088         (fma_test_towardzero): Likewise.
29089         (fma_test_downward): Likewise.
29090         (fma_test_upward): Likewise.
29091
29092 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29093
29094         [BZ #14805]
29095         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29096         fenv_t *.
29097
29098         [BZ #14801]
29099         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29100         namespace for names of struct fields.
29101         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29102         fenv_t fields.
29103         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29104         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29105
29106 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29107
29108         [BZ #3665]
29109         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29110
29111 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29112
29113         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29114         PTR_DEMANGLE.
29115
29116         [BZ #5246]
29117         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29118         PTR_DEMANGLE.
29119
29120 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29121
29122         [BZ #14797]
29123         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29124         definitely overflow as x * y not x * y + z.
29125         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29126         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29127         * math/libm-test.inc (fma_test): Add more tests.
29128         (fma_test_towardzero): Likewise.
29129         (fma_test_downward): Likewise.
29130         (fma_test_upward): Likewise.
29131
29132 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29133
29134         [BZ #157]
29135
29136         * include/stub-tag.h: Remove file.
29137         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29138         '#include' of it.
29139         * manual/maint.texi (Porting): Don't reference it.
29140         * Makerules ($(objpfx)stubs): Likewise.
29141         * dirent/closedir.c: Don't include <stub-tag.h>.
29142         * dirent/dirfd.c: Likewise.
29143         * dirent/fdopendir.c: Likewise.
29144         * dirent/getdents.c: Likewise.
29145         * dirent/getdents64.c: Likewise.
29146         * dirent/opendir.c: Likewise.
29147         * dirent/readdir.c: Likewise.
29148         * dirent/readdir64.c: Likewise.
29149         * dirent/readdir64_r.c: Likewise.
29150         * dirent/readdir_r.c: Likewise.
29151         * dirent/rewinddir.c: Likewise.
29152         * dirent/seekdir.c: Likewise.
29153         * dirent/telldir.c: Likewise.
29154         * gmon/profil.c: Likewise.
29155         * grp/setgroups.c: Likewise.
29156         * inet/if_index.c: Likewise.
29157         * io/access.c: Likewise.
29158         * io/chdir.c: Likewise.
29159         * io/chmod.c: Likewise.
29160         * io/chown.c: Likewise.
29161         * io/close.c: Likewise.
29162         * io/dup.c: Likewise.
29163         * io/dup2.c: Likewise.
29164         * io/dup3.c: Likewise.
29165         * io/euidaccess.c: Likewise.
29166         * io/faccessat.c: Likewise.
29167         * io/fchdir.c: Likewise.
29168         * io/fchmod.c: Likewise.
29169         * io/fchmodat.c: Likewise.
29170         * io/fchown.c: Likewise.
29171         * io/fchownat.c: Likewise.
29172         * io/fcntl.c: Likewise.
29173         * io/flock.c: Likewise.
29174         * io/fstatfs.c: Likewise.
29175         * io/fstatfs64.c: Likewise.
29176         * io/fstatvfs.c: Likewise.
29177         * io/fstatvfs64.c: Likewise.
29178         * io/futimens.c: Likewise.
29179         * io/fxstat.c: Likewise.
29180         * io/fxstat64.c: Likewise.
29181         * io/fxstatat.c: Likewise.
29182         * io/fxstatat64.c: Likewise.
29183         * io/getcwd.c: Likewise.
29184         * io/isatty.c: Likewise.
29185         * io/lchmod.c: Likewise.
29186         * io/lchown.c: Likewise.
29187         * io/link.c: Likewise.
29188         * io/linkat.c: Likewise.
29189         * io/lseek.c: Likewise.
29190         * io/lseek64.c: Likewise.
29191         * io/lxstat64.c: Likewise.
29192         * io/mkdir.c: Likewise.
29193         * io/mkdirat.c: Likewise.
29194         * io/mkfifo.c: Likewise.
29195         * io/mkfifoat.c: Likewise.
29196         * io/open.c: Likewise.
29197         * io/open64.c: Likewise.
29198         * io/openat.c: Likewise.
29199         * io/openat64.c: Likewise.
29200         * io/pipe.c: Likewise.
29201         * io/pipe2.c: Likewise.
29202         * io/poll.c: Likewise.
29203         * io/posix_fadvise.c: Likewise.
29204         * io/posix_fadvise64.c: Likewise.
29205         * io/posix_fallocate.c: Likewise.
29206         * io/posix_fallocate64.c: Likewise.
29207         * io/read.c: Likewise.
29208         * io/readlink.c: Likewise.
29209         * io/readlinkat.c: Likewise.
29210         * io/rmdir.c: Likewise.
29211         * io/sendfile.c: Likewise.
29212         * io/sendfile64.c: Likewise.
29213         * io/statfs.c: Likewise.
29214         * io/statfs64.c: Likewise.
29215         * io/statvfs.c: Likewise.
29216         * io/statvfs64.c: Likewise.
29217         * io/symlink.c: Likewise.
29218         * io/symlinkat.c: Likewise.
29219         * io/ttyname.c: Likewise.
29220         * io/ttyname_r.c: Likewise.
29221         * io/umask.c: Likewise.
29222         * io/unlink.c: Likewise.
29223         * io/unlinkat.c: Likewise.
29224         * io/utime.c: Likewise.
29225         * io/utimensat.c: Likewise.
29226         * io/write.c: Likewise.
29227         * io/xmknod.c: Likewise.
29228         * io/xmknodat.c: Likewise.
29229         * io/xstat.c: Likewise.
29230         * io/xstat64.c: Likewise.
29231         * login/getpt.c: Likewise.
29232         * login/grantpt.c: Likewise.
29233         * login/unlockpt.c: Likewise.
29234         * math/e_acoshl.c: Likewise.
29235         * math/e_acosl.c: Likewise.
29236         * math/e_asinl.c: Likewise.
29237         * math/e_atan2l.c: Likewise.
29238         * math/e_atanhl.c: Likewise.
29239         * math/e_coshl.c: Likewise.
29240         * math/e_expl.c: Likewise.
29241         * math/e_fmodl.c: Likewise.
29242         * math/e_gammal_r.c: Likewise.
29243         * math/e_hypotl.c: Likewise.
29244         * math/e_j0l.c: Likewise.
29245         * math/e_j1l.c: Likewise.
29246         * math/e_jnl.c: Likewise.
29247         * math/e_lgammal_r.c: Likewise.
29248         * math/e_log10l.c: Likewise.
29249         * math/e_log2l.c: Likewise.
29250         * math/e_logl.c: Likewise.
29251         * math/e_powl.c: Likewise.
29252         * math/e_rem_pio2l.c: Likewise.
29253         * math/e_sinhl.c: Likewise.
29254         * math/e_sqrtl.c: Likewise.
29255         * math/fclrexcpt.c: Likewise.
29256         * math/fedisblxcpt.c: Likewise.
29257         * math/feenablxcpt.c: Likewise.
29258         * math/fegetenv.c: Likewise.
29259         * math/fegetexcept.c: Likewise.
29260         * math/fegetround.c: Likewise.
29261         * math/feholdexcpt.c: Likewise.
29262         * math/fesetenv.c: Likewise.
29263         * math/fesetround.c: Likewise.
29264         * math/feupdateenv.c: Likewise.
29265         * math/fgetexcptflg.c: Likewise.
29266         * math/fraiseexcpt.c: Likewise.
29267         * math/fsetexcptflg.c: Likewise.
29268         * math/ftestexcept.c: Likewise.
29269         * math/k_cosl.c: Likewise.
29270         * math/k_rem_pio2l.c: Likewise.
29271         * math/k_sinl.c: Likewise.
29272         * math/k_tanl.c: Likewise.
29273         * math/s_asinhl.c: Likewise.
29274         * math/s_atanl.c: Likewise.
29275         * math/s_cbrtl.c: Likewise.
29276         * math/s_erfl.c: Likewise.
29277         * math/s_expm1l.c: Likewise.
29278         * math/s_log1pl.c: Likewise.
29279         * math/s_tanhl.c: Likewise.
29280         * misc/acct.c: Likewise.
29281         * misc/brk.c: Likewise.
29282         * misc/chflags.c: Likewise.
29283         * misc/chroot.c: Likewise.
29284         * misc/fchflags.c: Likewise.
29285         * misc/fgetxattr.c: Likewise.
29286         * misc/flistxattr.c: Likewise.
29287         * misc/fremovexattr.c: Likewise.
29288         * misc/fsetxattr.c: Likewise.
29289         * misc/fsync.c: Likewise.
29290         * misc/ftruncate.c: Likewise.
29291         * misc/futimes.c: Likewise.
29292         * misc/futimesat.c: Likewise.
29293         * misc/getdomain.c: Likewise.
29294         * misc/getdtsz.c: Likewise.
29295         * misc/gethostid.c: Likewise.
29296         * misc/gethostname.c: Likewise.
29297         * misc/getloadavg.c: Likewise.
29298         * misc/getpagesize.c: Likewise.
29299         * misc/getsysstats.c: Likewise.
29300         * misc/getxattr.c: Likewise.
29301         * misc/gtty.c: Likewise.
29302         * misc/ioctl.c: Likewise.
29303         * misc/lgetxattr.c: Likewise.
29304         * misc/listxattr.c: Likewise.
29305         * misc/llistxattr.c: Likewise.
29306         * misc/lremovexattr.c: Likewise.
29307         * misc/lsetxattr.c: Likewise.
29308         * misc/lutimes.c: Likewise.
29309         * misc/madvise.c: Likewise.
29310         * misc/mincore.c: Likewise.
29311         * misc/mlock.c: Likewise.
29312         * misc/mlockall.c: Likewise.
29313         * misc/mmap.c: Likewise.
29314         * misc/mprotect.c: Likewise.
29315         * misc/msync.c: Likewise.
29316         * misc/munlock.c: Likewise.
29317         * misc/munlockall.c: Likewise.
29318         * misc/munmap.c: Likewise.
29319         * misc/preadv.c: Likewise.
29320         * misc/preadv64.c: Likewise.
29321         * misc/ptrace.c: Likewise.
29322         * misc/pwritev.c: Likewise.
29323         * misc/pwritev64.c: Likewise.
29324         * misc/readv.c: Likewise.
29325         * misc/reboot.c: Likewise.
29326         * misc/remap_file_pages.c: Likewise.
29327         * misc/removexattr.c: Likewise.
29328         * misc/revoke.c: Likewise.
29329         * misc/select.c: Likewise.
29330         * misc/setdomain.c: Likewise.
29331         * misc/setegid.c: Likewise.
29332         * misc/seteuid.c: Likewise.
29333         * misc/sethostid.c: Likewise.
29334         * misc/sethostname.c: Likewise.
29335         * misc/setregid.c: Likewise.
29336         * misc/setreuid.c: Likewise.
29337         * misc/setxattr.c: Likewise.
29338         * misc/sstk.c: Likewise.
29339         * misc/stty.c: Likewise.
29340         * misc/swapoff.c: Likewise.
29341         * misc/swapon.c: Likewise.
29342         * misc/sync.c: Likewise.
29343         * misc/syncfs.c: Likewise.
29344         * misc/syscall.c: Likewise.
29345         * misc/truncate.c: Likewise.
29346         * misc/ualarm.c: Likewise.
29347         * misc/usleep.c: Likewise.
29348         * misc/ustat.c: Likewise.
29349         * misc/utimes.c: Likewise.
29350         * misc/vhangup.c: Likewise.
29351         * misc/writev.c: Likewise.
29352         * posix/_exit.c: Likewise.
29353         * posix/alarm.c: Likewise.
29354         * posix/execve.c: Likewise.
29355         * posix/fexecve.c: Likewise.
29356         * posix/fork.c: Likewise.
29357         * posix/fpathconf.c: Likewise.
29358         * posix/getaddrinfo.c: Likewise.
29359         * posix/getegid.c: Likewise.
29360         * posix/geteuid.c: Likewise.
29361         * posix/getgid.c: Likewise.
29362         * posix/getgroups.c: Likewise.
29363         * posix/getlogin.c: Likewise.
29364         * posix/getlogin_r.c: Likewise.
29365         * posix/getpgid.c: Likewise.
29366         * posix/getpid.c: Likewise.
29367         * posix/getppid.c: Likewise.
29368         * posix/getresgid.c: Likewise.
29369         * posix/getresuid.c: Likewise.
29370         * posix/getsid.c: Likewise.
29371         * posix/getuid.c: Likewise.
29372         * posix/glob64.c: Likewise.
29373         * posix/nanosleep.c: Likewise.
29374         * posix/pathconf.c: Likewise.
29375         * posix/pause.c: Likewise.
29376         * posix/posix_madvise.c: Likewise.
29377         * posix/pread.c: Likewise.
29378         * posix/pread64.c: Likewise.
29379         * posix/pwrite.c: Likewise.
29380         * posix/pwrite64.c: Likewise.
29381         * posix/sched_getaffinity.c: Likewise.
29382         * posix/sched_getp.c: Likewise.
29383         * posix/sched_gets.c: Likewise.
29384         * posix/sched_primax.c: Likewise.
29385         * posix/sched_primin.c: Likewise.
29386         * posix/sched_rr_gi.c: Likewise.
29387         * posix/sched_setaffinity.c: Likewise.
29388         * posix/sched_setp.c: Likewise.
29389         * posix/sched_sets.c: Likewise.
29390         * posix/sched_yield.c: Likewise.
29391         * posix/setgid.c: Likewise.
29392         * posix/setlogin.c: Likewise.
29393         * posix/setpgid.c: Likewise.
29394         * posix/setresgid.c: Likewise.
29395         * posix/setresuid.c: Likewise.
29396         * posix/setsid.c: Likewise.
29397         * posix/setuid.c: Likewise.
29398         * posix/sleep.c: Likewise.
29399         * posix/spawni.c: Likewise.
29400         * posix/sysconf.c: Likewise.
29401         * posix/times.c: Likewise.
29402         * posix/wait.c: Likewise.
29403         * posix/wait3.c: Likewise.
29404         * posix/wait4.c: Likewise.
29405         * posix/waitpid.c: Likewise.
29406         * resolv/gai_sigqueue.c: Likewise.
29407         * resource/getpriority.c: Likewise.
29408         * resource/getrlimit.c: Likewise.
29409         * resource/getrusage.c: Likewise.
29410         * resource/nice.c: Likewise.
29411         * resource/setpriority.c: Likewise.
29412         * resource/setrlimit.c: Likewise.
29413         * resource/ulimit.c: Likewise.
29414         * rt/aio_cancel.c: Likewise.
29415         * rt/aio_fsync.c: Likewise.
29416         * rt/aio_read.c: Likewise.
29417         * rt/aio_sigqueue.c: Likewise.
29418         * rt/aio_suspend.c: Likewise.
29419         * rt/aio_write.c: Likewise.
29420         * rt/clock_getres.c: Likewise.
29421         * rt/clock_gettime.c: Likewise.
29422         * rt/clock_nanosleep.c: Likewise.
29423         * rt/clock_settime.c: Likewise.
29424         * rt/lio_listio.c: Likewise.
29425         * rt/mq_close.c: Likewise.
29426         * rt/mq_getattr.c: Likewise.
29427         * rt/mq_notify.c: Likewise.
29428         * rt/mq_open.c: Likewise.
29429         * rt/mq_receive.c: Likewise.
29430         * rt/mq_send.c: Likewise.
29431         * rt/mq_setattr.c: Likewise.
29432         * rt/mq_timedreceive.c: Likewise.
29433         * rt/mq_timedsend.c: Likewise.
29434         * rt/mq_unlink.c: Likewise.
29435         * rt/shm_open.c: Likewise.
29436         * rt/shm_unlink.c: Likewise.
29437         * rt/timer_create.c: Likewise.
29438         * rt/timer_delete.c: Likewise.
29439         * rt/timer_getoverr.c: Likewise.
29440         * rt/timer_gettime.c: Likewise.
29441         * rt/timer_settime.c: Likewise.
29442         * setjmp/__longjmp.c: Likewise.
29443         * setjmp/setjmp.c: Likewise.
29444         * signal/kill.c: Likewise.
29445         * signal/killpg.c: Likewise.
29446         * signal/raise.c: Likewise.
29447         * signal/sigaction.c: Likewise.
29448         * signal/sigaltstack.c: Likewise.
29449         * signal/sigblock.c: Likewise.
29450         * signal/sigignore.c: Likewise.
29451         * signal/sigintr.c: Likewise.
29452         * signal/signal.c: Likewise.
29453         * signal/sigpause.c: Likewise.
29454         * signal/sigpending.c: Likewise.
29455         * signal/sigqueue.c: Likewise.
29456         * signal/sigreturn.c: Likewise.
29457         * signal/sigset.c: Likewise.
29458         * signal/sigsetmask.c: Likewise.
29459         * signal/sigstack.c: Likewise.
29460         * signal/sigsuspend.c: Likewise.
29461         * signal/sigtimedwait.c: Likewise.
29462         * signal/sigvec.c: Likewise.
29463         * signal/sigwait.c: Likewise.
29464         * signal/sigwaitinfo.c: Likewise.
29465         * signal/sysv_signal.c: Likewise.
29466         * socket/accept.c: Likewise.
29467         * socket/accept4.c: Likewise.
29468         * socket/bind.c: Likewise.
29469         * socket/connect.c: Likewise.
29470         * socket/getpeername.c: Likewise.
29471         * socket/getsockname.c: Likewise.
29472         * socket/getsockopt.c: Likewise.
29473         * socket/isfdtype.c: Likewise.
29474         * socket/listen.c: Likewise.
29475         * socket/recv.c: Likewise.
29476         * socket/recvfrom.c: Likewise.
29477         * socket/recvmsg.c: Likewise.
29478         * socket/send.c: Likewise.
29479         * socket/sendmsg.c: Likewise.
29480         * socket/sendto.c: Likewise.
29481         * socket/setsockopt.c: Likewise.
29482         * socket/shutdown.c: Likewise.
29483         * socket/sockatmark.c: Likewise.
29484         * socket/socket.c: Likewise.
29485         * socket/socketpair.c: Likewise.
29486         * stdio-common/ctermid.c: Likewise.
29487         * stdio-common/cuserid.c: Likewise.
29488         * stdio-common/remove.c: Likewise.
29489         * stdio-common/rename.c: Likewise.
29490         * stdio-common/renameat.c: Likewise.
29491         * stdio-common/tempname.c: Likewise.
29492         * stdlib/getcontext.c: Likewise.
29493         * stdlib/makecontext.c: Likewise.
29494         * stdlib/setcontext.c: Likewise.
29495         * stdlib/swapcontext.c: Likewise.
29496         * stdlib/system.c: Likewise.
29497         * streams/fattach.c: Likewise.
29498         * streams/fdetach.c: Likewise.
29499         * streams/getmsg.c: Likewise.
29500         * streams/getpmsg.c: Likewise.
29501         * streams/putmsg.c: Likewise.
29502         * streams/putpmsg.c: Likewise.
29503         * sysdeps/unix/bsd/getpt.c: Likewise.
29504         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29505         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29506         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29508         Likewise.
29509         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29510         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29511         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29512         * sysvipc/msgctl.c: Likewise.
29513         * sysvipc/msgget.c: Likewise.
29514         * sysvipc/msgrcv.c: Likewise.
29515         * sysvipc/msgsnd.c: Likewise.
29516         * sysvipc/semctl.c: Likewise.
29517         * sysvipc/semget.c: Likewise.
29518         * sysvipc/semop.c: Likewise.
29519         * sysvipc/semtimedop.c: Likewise.
29520         * sysvipc/shmat.c: Likewise.
29521         * sysvipc/shmctl.c: Likewise.
29522         * sysvipc/shmdt.c: Likewise.
29523         * sysvipc/shmget.c: Likewise.
29524         * termios/tcdrain.c: Likewise.
29525         * termios/tcflow.c: Likewise.
29526         * termios/tcflush.c: Likewise.
29527         * termios/tcgetattr.c: Likewise.
29528         * termios/tcgetpgrp.c: Likewise.
29529         * termios/tcsendbrk.c: Likewise.
29530         * termios/tcsetattr.c: Likewise.
29531         * termios/tcsetpgrp.c: Likewise.
29532         * time/adjtime.c: Likewise.
29533         * time/clock.c: Likewise.
29534         * time/getitimer.c: Likewise.
29535         * time/gettimeofday.c: Likewise.
29536         * time/setitimer.c: Likewise.
29537         * time/settimeofday.c: Likewise.
29538         * time/stime.c: Likewise.
29539         * time/time.c: Likewise.
29540
29541 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29542
29543         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29544         /usr/old/bin.
29545
29546         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29547         instead of spaces.
29548         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29549
29550 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29551
29552         [BZ #14796]
29553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29554         FE_TONEAREST before applying Dekker multiplication and Knuth
29555         addition.  Clear inexact exceptions and check for exact zero
29556         results afterwards.
29557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29560         * math/libm-test.inc (fma_test): Add more tests.
29561         (fma_test_towardzero): Likewise.
29562         (fma_test_downward): Likewise.
29563         (fma_test_upward): Likewise.
29564         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29565         function.
29566         (libc_fesetround): New macro.
29567         (libc_fesetroundf): Likewise.
29568         (libc_fesetroundl): Likewise.
29569         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29570         function.
29571         (libc_fesetround_387): Likewise.
29572         (libc_fesetroundf): New macro.
29573         (libc_fesetround): Likewise.
29574         (libc_fesetroundl): Likewise.
29575         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29576         function.
29577         (libc_fesetroundf): New macro.
29578         (libc_fesetround): Likewise.
29579         (libc_fesetroundl): Likewise.
29580         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29581         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29582         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29583         libm_hidden_ver.
29584         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29585         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29586         libm_hidden_def.
29587         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29588         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29589         libm_hidden_ver.
29590         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29591         libm_hidden_def.
29592
29593         [BZ #3439]
29594         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29595         integer constant usable in #if and use that to give value to enum
29596         constant.
29597         (FE_DIVBYZERO): Likewise.
29598         (FE_UNDERFLOW): Likewise.
29599         (FE_OVERFLOW): Likewise.
29600         (FE_INVALID): Likewise.
29601         (FE_INVALID_SNAN): Likewise.
29602         (FE_INVALID_ISI): Likewise.
29603         (FE_INVALID_IDI): Likewise.
29604         (FE_INVALID_ZDZ): Likewise.
29605         (FE_INVALID_IMZ): Likewise.
29606         (FE_INVALID_COMPARE): Likewise.
29607         (FE_INVALID_SOFTWARE): Likewise.
29608         (FE_INVALID_SQRT): Likewise.
29609         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29610         (FE_TONEAREST): Likewise.
29611         (FE_TOWARDZERO): Likewise.
29612         (FE_UPWARD): Likewise.
29613         (FE_DOWNWARD): Likewise.
29614         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29615         (FE_DIVBYZERO): Likewise.
29616         (FE_OVERFLOW): Likewise.
29617         (FE_UNDERFLOW): Likewise.
29618         (FE_INEXACT): Likewise.
29619         (FE_TONEAREST): Likewise.
29620         (FE_DOWNWARD): Likewise.
29621         (FE_UPWARD): Likewise.
29622         (FE_TOWARDZERO): Likewise.
29623         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29624         (FE_UNDERFLOW): Likewise.
29625         (FE_OVERFLOW): Likewise.
29626         (FE_DIVBYZERO): Likewise.
29627         (FE_INVALID): Likewise.
29628         (FE_TONEAREST): Likewise.
29629         (FE_TOWARDZERO): Likewise.
29630         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29631         (FE_OVERFLOW): Likewise.
29632         (FE_UNDERFLOW): Likewise.
29633         (FE_DIVBYZERO): Likewise.
29634         (FE_INEXACT): Likewise.
29635         (FE_TONEAREST): Likewise.
29636         (FE_TOWARDZERO): Likewise.
29637         (FE_UPWARD): Likewise.
29638         (FE_DOWNWARD): Likewise.
29639         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29640         (FE_DIVBYZERO): Likewise.
29641         (FE_OVERFLOW): Likewise.
29642         (FE_UNDERFLOW): Likewise.
29643         (FE_INEXACT): Likewise.
29644         (FE_TONEAREST): Likewise.
29645         (FE_DOWNWARD): Likewise.
29646         (FE_UPWARD): Likewise.
29647         (FE_TOWARDZERO): Likewise.
29648
29649 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29650
29651         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29652
29653 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29654
29655         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29656         commands.  Quote $PWD.
29657         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29658         -x" by "export".
29659         (remove_newlines): Remove.
29660
29661 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29662
29663         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29664         * stdlib/stdlib.h (atof): Moved to ...
29665         * include/bits/stdlib-float.h: Here.  New file.
29666         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29667         * stdlib/bits/stdlib-float.h: New file.
29668         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29669         -mno-sse -mno-mmx.
29670         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29671         <xmmintrin.h>.
29672
29673 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29674
29675         * conform/conformtest.pl (@headers): Add fenv.h.
29676         * conform/data/fenv.h-data: New file.
29677         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29678         include of <math/fenv.h>.
29679
29680         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29681         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29682         && !UNIX98].  Enables tests for XOPEN2K8.
29683         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29684         POSIX2008]: Likewise.
29685
29686         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29687         (struct rusage): Do not expect type or its members.
29688
29689         [BZ #3439]
29690         * math/math.h (FP_NAN): Define macro to integer constant usable in
29691         #if and use that to give value to enum constant.
29692         (FP_INFINITE): Likewise.
29693         (FP_ZERO): Likewise.
29694         (FP_SUBNORMAL): Likewise.
29695         (FP_NORMAL): Likewise.
29696
29697 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29698
29699         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29700         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29701         arguments.
29702
29703 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29704
29705         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29706         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29707         autoconf-time if not.
29708         * configure.in: Remove AC_PREREQ.
29709
29710 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29711
29712         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29713         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29714         of the internal implementation.
29715
29716 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29717
29718         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29719         except include of <misc/sys/syslog.h>.
29720
29721 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29722
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29724         function returns with a NULL context exit with zero.
29725
29726 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29727
29728         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29729
29730 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29731
29732         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29733         (run_program_cmd): This.
29734         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29735         (tst_langinfo): New variable.  Use it.
29736
29737 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29738
29739         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29740         floating point opcodes.
29741
29742 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29743
29744         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29745         variable.
29746
29747         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29748
29749         * sysdeps/mach/hurd/powerpc: Remove directory.
29750         * sysdeps/mach/powerpc: Likewise.
29751
29752 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29753
29754         * scripts/check-local-headers.sh: Ignore c++ headers.
29755
29756 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29757
29758         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29759         __libc_cleanup_region_start argument.
29760
29761 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29762
29763         [BZ #14784]
29764         [BZ #14785]
29765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29766         x * y using scaling, not as x * y + z.
29767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29768         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29769         * math/libm-test.inc (fma_test): Add more tests.
29770         (fma_test_towardzero): Likewise.
29771         (fma_test_downward): Likewise.
29772         (fma_test_upward): Likewise.
29773
29774 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29775
29776         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29777
29778 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29779
29780         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29781         New variable.
29782
29783 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29784
29785         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29786
29787 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29788
29789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29790         Fix sort order.
29791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29792         Likewise.
29793
29794 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29795
29796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29797         Fix the order of the list for glibc 2.17.
29798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29799         Likewise.
29800
29801 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29802
29803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29804
29805 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29806
29807         [BZ #14610]
29808         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29809         for low part of x being zero before using __atanl (y).
29810         * math/libm-test.inc (atan2_test): Add another test.
29811
29812         * manual/install.texi (Configuring and compiling): Document
29813         general use of test-wrapper and test-wrapper-env.
29814         * INSTALL: Regenerated.
29815
29816         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29817         (__fma): Do not extract and scale down low bits on after-rounding
29818         systems when result rounded to normal precision would have normal
29819         exponent.
29820         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29821         (__fmal): Do not extract and scale down low bits on after-rounding
29822         systems when result rounded to normal precision would have normal
29823         exponent.
29824         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29825         (__fmal): Do not extract and scale down low bits on after-rounding
29826         systems when result rounded to normal precision would have normal
29827         exponent.
29828         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29829         macro.
29830         (fma_test): Add more tests.
29831         (fma_test_towardzero): Likewise.
29832         (fma_test_downward): Likewise.
29833         (fma_test_upward): Likewise.
29834
29835 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29836
29837         * sysdeps/i386/tininess.h: Renamed to ...
29838         * sysdeps/x86/tininess.h: This.
29839         * sysdeps/x86_64/tininess.h: Removed.
29840
29841 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29842
29843         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29844         input.  Use $(build-program-cmd).
29845         ($(objpfx)tst-array1-static.out): Likewise.
29846         ($(objpfx)tst-array2.out): Likewise.
29847         ($(objpfx)tst-array3.out): Likewise.
29848         ($(objpfx)tst-array4.out): Likewise.
29849         ($(objpfx)tst-array5.out): Likewise.
29850         ($(objpfx)tst-array5-static.out): Likewise.
29851
29852 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29853
29854         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29855         if defined.
29856
29857         * nss/nsswitch.h (nss_interface_function): Provide new
29858         macro for use with NSS functions.
29859         * grp/initgroups.c: Use new macro.
29860         * nss/getXXbyYY.c: Likewise.
29861         * nss/getXXbyYY_r.c: Likewise.
29862         * nss/getXXent.c: Likewise.
29863         * nss/getXXent_r.c: Likewise.
29864         * sysdeps/posix/getaddrinfo.c: Likewise.
29865
29866 2012-10-30  Andreas Jaeger  <aj@suse.de>
29867
29868         * po/ru.po: Update Russion translation from translation project.
29869
29870 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29871
29872         [BZ #14152]
29873         [BZ #14783]
29874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29875         result and shift together with sticky bit instead of replicating
29876         round-to-nearest rounding.
29877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29879         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29880         missing underflow exceptions.
29881         (fma_test_towardzero): Add more tests.
29882         (fma_test_downward): Likewise.
29883         (fma_test_upward): Likewise.
29884
29885         [BZ #14047]
29886         * sysdeps/generic/tininess.h: New file.
29887         * sysdeps/i386/tininess.h: Likewise.
29888         * sysdeps/sh/tininess.h: Likewise.
29889         * sysdeps/x86_64/tininess.h: Likewise.
29890         * stdlib/tst-strtod-underflow.c: Likewise.
29891         * stdlib/tst-tininess.c: Likewise.
29892         * stdlib/strtod_l.c: Include <tininess.h>.
29893         (round_and_return): Do not set errno for exact underflow cases.
29894         Force an underflow exception when setting errno for underflow.
29895         Determine underflow based on rounding to normal precision if
29896         TININESS_AFTER_ROUNDING.
29897         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29898         ERANGE for exact underflow cases.
29899         * stdlib/Makefile (tests): Add tst-tininess and
29900         tst-strtod-underflow.
29901         ($(objpfx)tst-tininess): Use $(link-libm).
29902         ($(objpfx)tst-strtod-underflow): Likewise.
29903
29904 2012-10-30  Andreas Jaeger  <aj@suse.de>
29905
29906         [BZ#14767]
29907         * elf/Makefile (tests): Remove conditional for have-initfini-array
29908         since this is now always required and the variable does not exist
29909         anymore.
29910         (tests-static): Likewise.
29911         (modules-names): Likewise.
29912
29913         * po/eo.po: Add Esperanto translation from translation project.
29914
29915         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29916         merged with constructor/destructor.
29917         (init_array): Likewise.
29918         * elf/tst-array2dep.c (fini_array): Likewise.
29919         (init_array): Likewise.
29920
29921 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29922
29923         * manual/message.texi: Delete @cartouche tags.
29924
29925 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29926
29927         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29928         EOPNOTSUPP.
29929         * sysdeps/mach/hurd/fsync.c: Likewise.
29930
29931         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29932         [_POSIX_REALTIME_SIGNALS]: Change condition to
29933         [_POSIX_REALTIME_SIGNALS > 0].
29934
29935 2012-10-27  Andreas Jaeger  <aj@suse.de>
29936
29937         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29938         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29940         [__WORDSIZE != 64]: Likewise.
29941
29942 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29943
29944         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29945         *  iconvdata/tst-tables.sh: Likewise.
29946
29947 2012-10-25  David S. Miller  <davem@davemloft.net>
29948
29949         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29950         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29951         of strtoull.
29952
29953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29954         ifunc-impl-list.c
29955         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29956         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29957         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29958         file.
29959
29960 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29961
29962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29963         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29964         __getdirentries.
29965
29966 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29967             Jim Blandy  <jimb@codesourcery.com>
29968
29969         * scripts/cross-test-ssh.sh: New file.
29970         * manual/install.texi (Configuring and compiling): Document use of
29971         cross-test-ssh.sh.
29972         * INSTALL: Regenerated.
29973
29974 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29975
29976         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29977         EOPNOTSUPP.
29978
29979 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29980
29981         * Makeconfig (run-program-prefix): Fix comment.
29982
29983 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29984             Jim Blandy  <jimb@codesourcery.com>
29985
29986         * Makeconfig (test-wrapper): New variable,
29987         (test-wrapper-env): Likewise.
29988         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29989         (run-built-tests): Define to yes.
29990         (run-program-prefix): Use $(test-wrapper).
29991         (built-program-cmd): Likewise.
29992         * Rules (make-test-out): Use $(test-wrapper-env) and
29993         $(host-built-program-cmd).
29994         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29995         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29996         tst-pathopt.sh.
29997         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29998         $(test-wrapper-env) to tst-rtld-load-self.sh.
29999         ($(objpfx)order2.out): Use $(test-wrapper).
30000         ($(objpfx)tst-initorder.out): Likewise.
30001         ($(objpfx)tst-initorder2.out): Likewise.
30002         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30003         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30004         (test_wrapper_env): New variable.  Use it to run ld.so.
30005         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30006         Use it to run ld.so.
30007         (test_wrapper_env): Likewise.
30008         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30009         $(test-wrapper) to run-iconv-test.sh.
30010         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30011         (ICONV): Use $test_wrapper.
30012         * posix/Makefile ($(objpfx)globtest.out): Pass
30013         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30014         globtest.sh, not $(run-program-prefix).
30015         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30016         (test_wrapper): Likewise.
30017         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30018         set together with run_via_rtld_prefix.
30019         (run_program_prefix): Define in terms of test_wrapper and
30020         run_via_rtld_prefix.
30021
30022 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30023
30024         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30025         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30026         Targets removed.
30027
30028         [BZ #14743]
30029         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30030         Declare __clock_getres, __clock_gettime, __clock_settime,
30031         __clock_nanosleep, and __clock_getcpuclockid.
30032         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30033         Remove librt_hidden_def (clock_gettime).
30034         * sysdeps/unix/clock_gettime.c: Likewise.
30035         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30036         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30037         * rt/clock_getres.c: Define __clock_getres as an alias.
30038         * sysdeps/posix/clock_getres.c: Likewise.
30039         * rt/clock_settime.c: Define __clock_settime as an alias.
30040         * sysdeps/unix/clock_settime.c: Likewise.
30041         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30042         * sysdeps/unix/clock_nanosleep.c: Likewise.
30043         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30044         * rt/clock-compat.c: New file.
30045         * rt/Makefile (librt-routines): Add clock-compat and move
30046         $(clock-routines) to ...
30047         (routines): ... here, new variable.
30048         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30049         Don't add get_clockfreq here.
30050         * rt/Versions (libc: GLIBC_2.17): New version set.
30051         Add clock_* symbols here.
30052         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30053         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30054         (GLIBC_2.17): Add clock_* symbols.
30055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30057         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30059         Likewise.
30060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30061         Likewise.
30062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30066         * NEWS: Mention the move.
30067
30068         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30069         Use __open, __read, __close rather than their public counterparts.
30070         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30071         (__get_clockfreq_via_cpuinfo): Likewise.
30072         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30073         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30074
30075         * config.h.in (HAVE_IFUNC): New #undef.
30076         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30077         was successful.
30078         * configure: Regenerated.
30079
30080 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30081
30082         * configure.in: Move READELF check to start of file.
30083         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30084         libc_cv_asm_gnu_indirect_function in the process.
30085         * configure: Regenerated.
30086
30087 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30088
30089         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30090         send the output to /dev/null.
30091         (libc_cv_cc_with_libunwind): Likewise.
30092         (libc_cv_as_noexecstack): Likewise.
30093         * configure: Regenerate.
30094
30095 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30096
30097         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30098
30099         * posix/globtest.sh (TMPDIR): Do not set.
30100         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30101         (testout): Likewise.
30102
30103 2012-10-24  Andreas Jaeger  <aj@suse.de>
30104
30105         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30106         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30107         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30108         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30109         posix_fadvise64, posix_fallocate64.
30110
30111         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30112         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30113         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30114         Likewise.
30115         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30116         Likewise.
30117         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30118
30119         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30120         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30121         <bits/fcntl-linux.h>.
30122         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30123
30124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30125         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30126         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30127         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30128         [__WORDSIZE != 64]: Likewise.
30129
30130 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30131
30132         * Makeconfig (run-built-tests): New variable.
30133         * Rules [$(cross-compiling) = yes]: Change condition to
30134         [$(run-built-tests) = no].
30135         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30136         to [$(run-built-tests) = yes].
30137         * elf/Makefile [$(cross-compiling) = no]: Likewise
30138         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30139         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30140         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30141         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30142         * io/Makefile [$(cross-compiling) = no]: Likewise.
30143         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30144         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30145         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30146         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30147         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30148         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30149         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30150         * string/Makefile [$(cross-compiling) = no]: Likewise.
30151
30152         * posix/Makefile ($(objpfx)globtest.out): Pass
30153         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30154         $(rtld-installed-name).
30155         * posix/globtest.sh (elf_objpfx): Remove variable.
30156         (rtld_installed_name): Likewise.
30157         (library_path): Likewise.
30158         (run_program_prefix): New variable.  Use for running globtest
30159         binary.
30160
30161 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30162             Joseph Myers  <joseph@codesourcery.com>
30163
30164         * Makeconfig (host-built-program-cmd): New variable.
30165         * elf/Makefile (tst-stackguard1-ARGS): Use
30166         $(host-built-program-cmd).
30167         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30168         (tst-spawn-ARGS): Likewise.
30169         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30170
30171 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30172             Jim Blandy  <jimb@codesourcery.com>
30173
30174         * Makeconfig (run-via-rtld-prefix): New variable.
30175         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30176         (built-program-cmd): Likewise.
30177
30178 2012-10-22  Andreas Jaeger  <aj@suse.de>
30179
30180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30181         __O_RSYNC if it exists, otherwise to O_SYNC.
30182
30183 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30184             Joseph Myers  <joseph@codesourcery.com>
30185
30186         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30187         /dev/null.
30188         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30189         from /dev/null
30190         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30191         /dev/null.
30192
30193 2012-10-22  Andreas Jaeger  <aj@suse.de>
30194
30195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30196         Define always.
30197         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30198
30199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30200         bits/fcntl-linux.h.
30201
30202         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30203         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30204
30205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30206         to __O_LARGEFILE.
30207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30208         to __O_LARGEFILE.
30209
30210 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30211             Joseph Myers  <joseph@codesourcery.com>
30212
30213         * config.make.in (NM): New variable.
30214
30215 2012-10-21  Andreas Jaeger  <aj@suse.de>
30216
30217         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30218         definitions and declarations that are provided by
30219         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30220
30221 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30222
30223         [BZ #14683]
30224         * elf/Makefile (tests-static): Add tst-leaks1-static.
30225         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30226         ($(objpfx)tst-leaks1-static): New rule.
30227         ($(objpfx)tst-leaks1-static-mem): Likewise.
30228         (tst-leaks1-static-ENV): New macro.
30229         * elf/dl-open.c (dl_open_worker): Check the main application
30230         only if SHARED is defined.
30231         * elf/tst-leaks1-static.c: New file.
30232
30233 2012-10-20  Andreas Jaeger  <aj@suse.de>
30234
30235         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30236         generic values for Linux.
30237         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30238         and declarations that are provided by <bits/fcntl-linux.h> and
30239         include <bits/fcntl-linux.h>.
30240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30242
30243 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30244
30245         * io/fcntl.h: Move include of <bits/types.h> to the top and
30246         include it unconditionally.
30247
30248 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30249
30250         * wcsmbs/Makefile (tests-ifunc): New variable.
30251         (tests): Add $(tests-ifunc).
30252         * wcsmbs/test-wcschr-ifunc.c: New file.
30253         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30254         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30255         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30256         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30257         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30258
30259         * string/Makefile (tests-ifunc): New variable.
30260         (tests): Add $(tests-ifunc).
30261         * string/test-memccpy.c (TEST_NAME): New macro.
30262         * string/test-memchr.c (TEST_NAME): Likewise.
30263         * string/test-memcmp.c (TEST_NAME): Likewise.
30264         * string/test-memcpy.c (TEST_NAME): Likewise.
30265         * string/test-memmem.c (TEST_NAME): Likewise.
30266         * string/test-memmove.c (TEST_NAME): Likewise.
30267         * string/test-memset.c (TEST_NAME): Likewise.
30268         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30269         * string/test-stpcpy.c (TEST_NAME): Likewise.
30270         * string/test-stpncpy.c (TEST_NAME): Likewise.
30271         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30272         * string/test-strcasestr.c (TEST_NAME): Likewise.
30273         * string/test-strcat.c (TEST_NAME): Likewise.
30274         * string/test-strchr.c (TEST_NAME): Likewise.
30275         * string/test-strcmp.c(TEST_NAME): Likewise.
30276         * string/test-strcpy.c (TEST_NAME): Likewise.
30277         * string/test-strcspn.c (TEST_NAME): Likewise.
30278         * string/test-strlen.c (TEST_NAME): Likewise.
30279         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30280         * string/test-strncmp.c (TEST_NAME): Likewise.
30281         * string/test-strncpy.c (TEST_NAME): Likewise.
30282         * string/test-strnlen.c (TEST_NAME): Likewise.
30283         * string/test-strpbrk.c (TEST_NAME): Likewise.
30284         * string/test-strrchr.c (TEST_NAME): Likewise.
30285         * string/test-strspn.c (TEST_NAME): Likewise.
30286         * string/test-strstr.c (TEST_NAME): Likewise.
30287         * string/test-bcopy-ifunc.c: New file.
30288         * string/test-bzero-ifunc.c: Likewise.
30289         * string/test-memccpy-ifunc.c: Likewise.
30290         * string/test-memchr-ifunc.c: Likewise.
30291         * string/test-memcmp-ifunc.c: Likewise.
30292         * string/test-memcpy-ifunc.c: Likewise.
30293         * string/test-memmem-ifunc.c: Likewise.
30294         * string/test-memmove-ifunc.c: Likewise.
30295         * string/test-mempcpy-ifunc.c: Likewise.
30296         * string/test-memset-ifunc.c: Likewise.
30297         * string/test-rawmemchr-ifunc.c: Likewise.
30298         * string/test-stpcpy-ifunc.c: Likewise.
30299         * string/test-stpncpy-ifunc.c: Likewise.
30300         * string/test-strcasecmp-ifunc.c: Likewise.
30301         * string/test-strcasestr-ifunc.c: Likewise.
30302         * string/test-strcat-ifunc.c: Likewise.
30303         * string/test-strchr-ifunc.c: Likewise.
30304         * string/test-strchrnul-ifunc.c: Likewise.
30305         * string/test-strcmp-ifunc.c: Likewise.
30306         * string/test-strcpy-ifunc.c: Likewise.
30307         * string/test-strcspn-ifunc.c: Likewise.
30308         * string/test-strlen-ifunc.c: Likewise.
30309         * string/test-strncasecmp-ifunc.c: Likewise.
30310         * string/test-strncat-ifunc.c: Likewise.
30311         * string/test-strncmp-ifunc.c: Likewise.
30312         * string/test-strncpy-ifunc.c: Likewise.
30313         * string/test-strnlen-ifunc.c: Likewise.
30314         * string/test-strpbrk-ifunc.c: Likewise.
30315         * string/test-strrchr-ifunc.c: Likewise.
30316         * string/test-strspn-ifunc.c: Likewise.
30317         * string/test-strstr-ifunc.c: Likewise.
30318
30319         * debug/Makefile (tests-ifunc): New variable.
30320         (tests): Add $(tests-ifunc).
30321         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30322         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30323         * debug/test-stpcpy_chk-ifunc.c: New file.
30324         * debug/test-strcpy_chk-ifunc.c: Likewise.
30325
30326 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30327
30328         [BZ #13601]
30329         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30330         header is not read in.
30331
30332 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30333
30334         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30335         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30336         directly.  Pass built executable to script as
30337         $(built-program-cmd).
30338         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30339         $testprogram without using LD_LIBRARY_PATH and $ldso.
30340
30341         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30342         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30343         $(rtld-installed-name).
30344         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30345         (rtld_installed_name): Likewise.
30346         (library_path): Likewise.
30347         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30348         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30349         $(run-program-prefix) to tst-tables.sh.
30350         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30351         it to run tst-table-from and tst-table-to.
30352         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30353         Pass it to tst-table.sh.
30354         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30355         $(run-program-prefix) to tst-gettext.sh.
30356         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30357         tst-translit.sh.
30358         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30359         tst-gettext2.sh.
30360         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30361         to run tst-gettext.
30362         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30363         to run tst-gettext2.
30364         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30365         to run tst-translit.
30366         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30367         $(run-program-prefix) to tst-mtrace.sh.
30368         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30369         to run tst-mtrace.
30370         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30371         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30372         $(rtld-installed-name).
30373         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30374         (rtld_installed_name): Likewise.
30375         (run_program_prefix): New variable.  Use it to run wordexp-test.
30376
30377         * Makeconfig (ARCH): Remove all definitions.
30378         (machine): Likewise.
30379         [ARCH]: Remove conditional code.
30380         [!objdir]: Give error.
30381         [!objdir] (objpfx): Remove.
30382         [!objdir] (common-objpfx): Likewise.
30383         [!objdir] (common-objdir): Likewise.
30384         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30385         AC_CONFIG_FILES call.
30386         * configure: Regenerated.
30387
30388         [BZ #13888]
30389         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30390         or TMPDIR.
30391         (testout): Likewise.
30392
30393         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30394         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30395         $(rtld-installed-name).
30396         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30397         (rtld_installed_name): Likwise.
30398         (runit): Remove function.
30399         (run_getconf): New variable,  Use it for running getconf binary.
30400
30401 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30402
30403         [BZ #14716]
30404         * string/test-memmem.c (check_result): New function.
30405         (do_one_test): Use it.
30406         (check1): New function.
30407         (test_main): Use it.
30408
30409 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30410
30411         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30412
30413 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30414
30415         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30416         (_G_LSEEK64): Likewise.
30417         (_G_MMAP64): Likewise.
30418         (_G_FSTAT64): Likewise.
30419         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30420         (_G_LSEEK64): Likewise.
30421         (_G_MMAP64): Likewise.
30422         (_G_FSTAT64): Likewise.
30423         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30424         unconditional.  Call __mmap64 directly.
30425         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30426         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30427         __lseek64 directly.
30428         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30429         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30430         __mmap64 directly.
30431         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30432         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30433         __lseek64 directly.
30434         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30435         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30436         __lseek64 directly.
30437         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30438         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30439         __lseek64 directly.
30440         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30441         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30442         __fxstat64 directly.
30443         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30444         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30445         unconditional.
30446         (freopen64) [!_G_OPEN64]: Remove conditional code.
30447         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30448         unconditional.
30449         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30450         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30451         unconditional.
30452         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30453         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30454         unconditional.
30455         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30456         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30457         unconditional.
30458         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30459         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30460         unconditional.
30461         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30462         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30463         unconditional.
30464         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30465         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30466         unconditional.
30467         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30468
30469 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30470
30471         [BZ #12140]
30472         * manual/memory.texi (Malloc Tunable Parameters): Add note
30473         about free list pointers overwriting some perturb bytes.
30474         Wording suggested by Roland McGrath.
30475
30476 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30477
30478         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30479         (lgamma_test): Likewise.
30480         (tgamma_test): Likewise.
30481
30482 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30483
30484         [BZ #14700]
30485         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30486         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30487
30488 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30489
30490         * NEWS: Mention BZ #14716.
30491         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30492         when removing AVAILABLE1_USES_J macro.
30493
30494 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30495
30496         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30497         (__bswap_64): __uint64_t for unsigned 64-bit int.
30498
30499 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30500
30501         * include/string.h (memmem): Declare libc hidden alias.
30502         * string/memmem.c (memmem): Define libc hidden alias.
30503         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30504         __read, __close instead of open, read, close.
30505
30506 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30507
30508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30509         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30510         global and hidden.
30511         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30512         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30513         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30514         Likewise.
30515         (__rawmemchr_sse2): Likewise.
30516         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30517         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30518         (__strchr_sse2): Likewise.
30519         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30520         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30521         (__strcasecmp_sse2): Likewise.
30522         (__strncasecmp_sse2): Likewise.
30523         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30524         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30525         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30526         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30527         (__strrchr_sse2): Likewise.
30528         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30529         ifunc-impl-list.c.
30530         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30531         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30532         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30533         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30534         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30535         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30536         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30537         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30538         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30539         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30540         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30541         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30542         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30543         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30544         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30545         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30546         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30547         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30548         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30549         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30550         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30551         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30552         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30553         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30554         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30555         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30556         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30557         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30558         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30559         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30560
30561         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30562         global and hidden.
30563         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30564         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30565         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30566         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30567         Likewise.
30568         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30569         Likewise.
30570         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30571         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30572         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30573         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30574         ifunc-impl-list.c.
30575         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30576         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30577         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30578         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30579         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30580         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30581         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30582         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30583         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30584         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30585         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30586         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30587         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30588         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30589         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30590         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30591         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30592         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30593         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30594         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30595         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30596         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30597         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30598         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30599         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30600         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30601         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30602         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30603         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30604         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30605         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30606         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30607         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30608         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30609         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30610         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30611         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30612         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30613         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30614         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30615         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30616
30617         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30618         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30619         * include/ifunc-impl-list.h: New file.
30620         * misc/ifunc-impl-list.c: Likewise.
30621         * misc/Makefile (routines): Add ifunc-impl-list.
30622         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30623         * string/test-string.h: Include <ifunc-impl-list.h>.
30624         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30625         TEST_NAME]: New variables.
30626         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30627         are defined.
30628         (test_init): Call __libc_ifunc_impl_list to initialize
30629         func_list if TEST_IFUNC and TEST_NAME are defined.
30630
30631         * string/Makefile (strop-tests): Add bcopy and bzero.
30632         * string/test-bcopy.c: New file.
30633         * string/test-bzero.c: Likewise.
30634         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30635         defined.
30636         * string/test-memset.c: Support bzero test if TEST_BZERO is
30637         defined.
30638         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30639         __libc_memmove.
30640         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30641         __libc_memset.
30642         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30643         of memset.
30644
30645 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30646
30647         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30648         * configure: Regenerated.
30649
30650         * Makeconfig (+link-static-before-libc): Don't include
30651         $(link-static-libc).
30652
30653         * libio/libio.h (_IO_pos_t): Remove.
30654
30655 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30656
30657         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30658         McGrath.
30659
30660 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30661
30662         * crypt/crypt-entry.c: Include fips-private.h.
30663         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30664         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30665         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30666         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30667
30668 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30669
30670         * crypt/crypt-private.h: Include stdbool.h.
30671         (_ufc_setup_salt_r): Return bool.
30672         * crypt/crypt-entry.c: Include errno.h.
30673         (__crypt_r): Return NULL with EINVAL for bad salt.
30674         * crypt/crypt_util.c (bad_for_salt): New.
30675         (_ufc_setup_salt_r): Check that salt is long enough and within
30676         the specified alphabet.
30677         * crypt/badsalttest.c: New file.
30678         * crypt/Makefile (tests): Add it.
30679         ($(objpfx)badsalttest): New.
30680
30681 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30682
30683         * NEWS: Add entry for BZ #14602.
30684
30685 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30686
30687         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30688         type-generic.
30689         * math/libm-test.inc: Update comment listing what functions and
30690         macros are tested.
30691         (isgreater_test): New function.
30692         (isgreaterequal_test): Likewise.
30693         (isless_test): Likewise.
30694         (islessequal_test): Likewise.
30695         (islessgreater_test): Likewise.
30696         (isunordered_test): Likewise.
30697         (main): Call the new functions.
30698
30699 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30700
30701         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30702         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30703         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30704         * sysdeps/i386/configure: Regenerated.
30705         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30706         * sysdeps/mach/configure: Regenerated.
30707         * sysdeps/mach/hurd/configure: Regenerated.
30708         * sysdeps/powerpc/configure: Regenerated.
30709         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30710         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30711         * sysdeps/s390/s390-32/configure: Regenerated.
30712         * sysdeps/s390/s390-64/configure: Regenerated.
30713         * sysdeps/sh/configure: Regenerated.
30714         * sysdeps/sparc/configure: Regenerated.
30715         * sysdeps/unix/sysv/linux/configure: Regenerated.
30716         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30717         * sysdeps/x86_64/configure: Regenerated.
30718
30719         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30720         defined.  Don't check if MAP is NULL.
30721
30722 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30723
30724         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30725         (_G_stat64): Likewise.
30726         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30727         (_G_stat64): Likewise.
30728         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30729         instead of struct _G_stat64.
30730         * libio/fileops.c (mmap_remap_check): Likewise.
30731         (decide_maybe_mmap): Likewise.
30732         (_IO_new_file_seekoff): Likewise.
30733         (_IO_file_stat): Likewise.
30734         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30735         _G_off64_t.
30736         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30737         instead of struct _G_stat64.
30738         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30739
30740 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30741
30742         [BZ #14602]
30743         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30744         Replace with ...
30745         (CHECK_EOL): New macro.
30746         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30747         CHECK_EOL.
30748         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30749         Replace with CHECK_EOL.
30750         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30751         Replace with CHECK_EOL.
30752
30753 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30754
30755         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30756         type-generic.
30757         * math/libm-test.inc: Update comment listing what functions and
30758         macros are tested.
30759         (finite_test): New function.
30760         (isinf_test): Likewise.
30761         (isnan_test): Likewise.
30762         (fpclassify_test): Test subnormal input.
30763         (isfinite_test): Likewise.
30764         (isnormal_test): Likewise.
30765         (main): Call the new functions.
30766
30767 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30768
30769         [BZ #14660]
30770         * Makerules (%.dynsym): Force C locale when running
30771         $(OBJDUMP) --dynamic-syms.
30772
30773 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30774
30775         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30776         <stdint.h>.
30777
30778 2012-10-06  David S. Miller  <davem@davemloft.net>
30779
30780         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30781         upper 32-bits of the length value in %o2 since we use branch-on-register
30782         tests which consider the entire 64-bit register.
30783
30784 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30785
30786         * string/test-strstr.c (check2): Add a test for page boundary.
30787
30788 2012-10-05  David S. Miller  <davem@davemloft.net>
30789
30790         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30791         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30792         file.
30793         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30794         sysdep_routines.
30795         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30796         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30797         and bzero when HWCAP_SPARC_CRYPTO is present.
30798
30799 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30800
30801         [BZ #14602]
30802         * string/test-strstr.c (check2): New function.
30803         (test_main): Call check2.
30804
30805         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30806         and bug-strchr1.
30807         * string/bug-strcasestr1.c (do_test): Moved to ...
30808         * string/test-strcasestr.c (check1): Here.  New function.
30809         (do_one_test): Break out result checking code into ...
30810         (check_result): This.  New function.
30811         (do_one_test): Call check_result.
30812         (test_main): Call check1.
30813         * string/bug-strchr1.c (do_test): Moved to ...
30814         * string/test-strchr.c (check1): Here.  New function.
30815         (do_one_test): Break out result checking code into ...
30816         (check_result): This.  New function.
30817         (do_one_test): Call check_result.
30818         (test_main): Call check1.
30819         * string/bug-strstr1.c (main): Moved to ...
30820         * string/test-strstr.c (check1): Here.  New function.
30821         (do_one_test): Break out result checking code into ...
30822         (check_result): This.  New function.
30823         (do_one_test): Call check_result.
30824         (test_main): Call check1.
30825         * string/bug-strcasestr1.c: Removed.
30826         * string/bug-strchr1.c: Likewise.
30827         * string/bug-strstr1.c: Likewise.
30828
30829         * elf/Makefile (dl-routines): Add hwcaps.
30830         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30831         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30832         (_dl_important_hwcaps): Moved to ...
30833         * elf/dl-hwcaps.c: Here.  New file.
30834         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30835
30836         [BZ #14557]
30837         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30838         if IS_IN_rtld isn't defined.
30839
30840         * elf/dl-support.c (_dl_sysinfo_map): New.
30841         Include "get-dynamic-info.h" and "setup-vdso.h".
30842         (_dl_non_dynamic_init): Call setup_vdso.
30843         * elf/dynamic-link.h: Don't include <assert.h>.
30844         (elf_get_dynamic_info): Moved to ...
30845         * elf/get-dynamic-info.h: Here.  New file.
30846         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30847         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30848         * elf/setup-vdso.h: Here.  New file.
30849         * elf/rtld.c: Include "setup-vdso.h".
30850         (dl_main): Call setup_vdso.
30851
30852 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30853
30854         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30855         creal in comment listing functions tested.  List finite, isinf,
30856         isnan, isless, islessequal, isgreater, isgreaterequal,
30857         islessgreater, isunordered, lgamma_r and pow10 as functions and
30858         macros not tested.  Mention which functions not tested are aliases
30859         for other functions.  Fix typo.  Note that signs of NaNs are not
30860         tested.
30861
30862         * scripts/config.guess: Update from config.git.
30863         * scripts/config.sub: Likewise.
30864
30865 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30866
30867         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30868         * misc/madvise.c (madvise): Renamed to __madvise.
30869         Make madvise a weak alias.
30870         * include/sys/mman.h: Declare __madvise.
30871         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30872         * sysdeps/unix/syscalls.list
30873         (madvise): Make __madvise the strong name, and madvise a weak alias.
30874         * sysdeps/unix/sysv/linux/syscalls.list
30875         (madvise, mmap): Remove redundant entries.
30876         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30877         * malloc/malloc.c (mtrim): Likewise.
30878         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30879
30880 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30881
30882         * sysdeps/mach/hurd/dl-cache.c: File removed.
30883         * config.h.in (USE_LDCONFIG): New #undef.
30884         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30885         * configure: Regenerated.
30886         * elf/Makefile (dl-routines): Add dl-cache only under
30887         [$(use-ldconfig) = yes].
30888         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30889         cache on [USE_LDCONFIG].
30890         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30891         [USE_LDCONFIG].
30892         * elf/rtld.c (dl_main): Likewise.
30893
30894 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30895
30896         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30897         _SC_LEVEL4_CACHE_LINESIZE.
30898
30899 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30900
30901         * sysdeps/unix/bsd/confstr.h: File removed.
30902
30903 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30904
30905         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30906         sys/sdt-config.h.
30907
30908 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30909
30910         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30911         Make 'mapoff' field ElfW(Off) rather than off_t.
30912
30913 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30914
30915         * nscd/Makefile: Remove nscd-cflags and all its users.
30916         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30917         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30918
30919         [BZ #10631]
30920         * malloc.c (malloc_printerr): Clarify error message.
30921
30922 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30923
30924         [BZ #14648]
30925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30926         Set bit_FMA_Usable if FMA is supported.
30927         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30928         macro.
30929         (bit_FMA4_Usable): Updated.
30930         (index_FMA_Usable): New macro.
30931         (CPUID_FMA): Likewise
30932         (HAS_FMA): Defined with bit_FMA_Usable.
30933
30934 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30935
30936         * bits/types.h (__swblk_t): Type removed.
30937         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30938         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30939         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30940         (__SWBLK_T_TYPE): Likewise.
30941         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30942         (__SWBLK_T_TYPE): Likewise.
30943         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30944         (__SWBLK_T_TYPE): Likewise.
30945         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30946         (__SWBLK_T_TYPE): Likewise.
30947
30948 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30949             Honza Horak <hhorak@redhat.com>
30950
30951         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30952         (xdr_mapname): Use YPMAXMAP as maxsize.
30953         (xdr_peername): Use YPMAXPEER as maxsize.
30954         (xdr_keydat): Use YPAXRECORD as maxsize.
30955         (xdr_valdat): Use YPMAXRECORD as maxsize.
30956
30957 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30958
30959         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30960
30961         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30962         * csu/init-first.c: ... here.
30963         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30964         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30965         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30966         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30967         * sysdeps/i386/init-first.c: File removed.
30968         * sysdeps/sh/init-first.c: File removed.
30969
30970 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30971
30972         [BZ #14645]
30973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30974         if x * y might underflow to zero and z is zero.
30975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30976         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30977         * math/libm-test.inc (min_subnorm_value): New variable.
30978         (fma_test): Add more tests.
30979         (fma_test_towardzero): Likewise.
30980         (fma_test_downward): Likewise
30981         (fma_test_upward): Likewise.
30982         (initialize): Set min_subnorm_value.
30983
30984 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30985
30986         [BZ #14638]
30987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30988         0 + 0.
30989         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30990         mode for addition resulting in exact zero.
30991         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30993         exact 0 + 0.
30994         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30996         * math/libm-test.inc (fma_test): Add more tests.
30997         (fma_test_towardzero): New function.
30998         (fma_test_downward): Likewise.
30999         (fma_test_upward): Likewise.
31000         (main): Call the new functions.
31001
31002 2012-09-28  David S. Miller  <davem@davemloft.net>
31003
31004         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31005
31006 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31007
31008         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31009         instead of SIGALRM.
31010
31011         * sysdeps/gnu/_G_config.h: Moved to ...
31012         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31013         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31014         * sysdeps/generic/_G_config.h: ... here.
31015
31016         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31017
31018         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31019
31020         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31021         Conditionalize target on [libnss_test1.so-version].
31022
31023         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31024
31025         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31026         (elfobjdir): Move out of conditionals.
31027
31028         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31029         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31030         (__nss_lookup_function): Conditionalize label remove_from_tree on
31031         [!DO_STATIC_NSS || SHARED], matching its only use.
31032
31033 2012-09-28  David S. Miller  <davem@davemloft.net>
31034
31035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31036         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31037         file.
31038         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31039         sysdep_routines.
31040         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31041         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31042         when HWCAP_SPARC_CRYPTO is present.
31043
31044 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31045
31046         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31047
31048 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31049
31050         [BZ #6530]
31051         * stdio-common/vfprintf.c (process_string_arg): Revert
31052         2000-07-22 change.
31053
31054 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31055
31056         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31057         for testcase.
31058         * stdio-common/tst-sprintf.c: Include <locale.h>
31059         (main): Test sprintf's handling of incomplete multibyte
31060         characters.
31061
31062 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31063
31064         * elf/dl-runtime.c (VERSYMIDX): Removed.
31065         * elf/dl-version.c (VERSYMIDX): Likewise.
31066         * elf/do-rel.h (VERSYMIDX): Likewise.
31067         (VALIDX): Likewise.
31068         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31069         * elf/rtld.c (VALIDX): Likewise.
31070         (ADDRIDX): Likewise.
31071         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31072         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31073         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31074         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31075         (VALIDX): Likewise.
31076         (ADDRIDX): Likewise.
31077
31078 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31079
31080         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31081
31082 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31083
31084         [BZ #11438]
31085         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31086         to global scope.
31087         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31088         addresses are in the same scope as 192.0.2/24.
31089         * posix/gai.conf: Document new scope table defaults.
31090
31091 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31092
31093         [BZ #5298]
31094         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31095         for ftell.  Compute offsets from write pointers instead.
31096         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31097
31098 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31099
31100         [BZ #14543]
31101         * libio/Makefile (tests): New test case tst-fseek.
31102         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31103         combination works in wide mode.
31104         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31105         state when the external buffer state changes.
31106
31107 2012-09-27  David S. Miller  <davem@davemloft.net>
31108
31109         [BZ #14376]
31110         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31111         pass reloc->r_addend in as the 'high' argument to
31112         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31113
31114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31115
31116 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31117
31118         * rt/tst-aio2.c: Include <pthread.h>.
31119         * rt/tst-aio3.c: Likewise.
31120
31121 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31122
31123         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31124
31125 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31126
31127         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31128         contents on [SHARED].
31129
31130 2012-09-26  Marek Polacek  <polacek@redhat.com>
31131
31132         [BZ #14530]
31133         [BZ #13741]
31134         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31135         for C++ and GCC <4.3 as well as for non GCC compilers.
31136
31137 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31138
31139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31140
31141 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31142
31143         * Makefile.in (all, install): Declare with .PHONY.
31144         Reported by Michael Hope <michael.hope@linaro.org>.
31145
31146 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31147
31148         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31149         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31150         system header.
31151         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31152         Likewise.
31153         (sydep_routines): Add the new and the internal functions.
31154         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31155         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31157         (GLIBC_2.17): Add the new function.
31158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31159         (GLIBC_2.17): Likewise.
31160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31161         (GLIBC_2.17): Likewise.
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31163         (GLIBC_2.17): Likewise.
31164         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31165
31166 2012-09-25  Alan Modra  <amodra@gmail.com>
31167
31168         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31169         Add release barrier before setting once_control to say
31170         initialisation is done.  Add hints on lwarx.  Use macro in
31171         place of isync.
31172         (clear_once_control): Add release barrier.
31173
31174 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31175
31176         [BZ #13629]
31177         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31178         specially.
31179         * math/s_clog10.c (__clog10): Likewise.
31180         * math/s_clog10f.c (__clog10f): Likewise.
31181         * math/s_clog10l.c (__clog10l): Likewise.
31182         * math/s_clogf.c (__clogf): Likewise.
31183         * math/s_clogl.c (__clogl): Likewise.
31184         * math/Makefile (libm-calls): Add x2y2m1.
31185         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31186         (__x2y2m1): Likewise.
31187         (__x2y2m1l): Likewise.
31188         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31189         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31190         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31191         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31192         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31193         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31194         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31195         * sysdeps/i386/fpu/libm-test-ulps: Update.
31196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31197
31198         [BZ #14621]
31199         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31200         int as type of variable DEPTH.
31201         (glob): Use size_t instead of int as type of variables NEWCOUNT
31202         and OLD_PATHC.
31203
31204 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31205
31206         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31207         Add s_sincosf-sse2.
31208         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31209         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31210         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31211         macros for using routine as __sincosf_ia32.
31212         Use macro for function declaration and weak_alias.
31213         * sysdeps/i386/fpu/libm-test-ulps: Update.
31214
31215         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31217
31218         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31219         subnormal argument.
31220         * math/s_cexpf.c (__cexpf): Likewise.
31221         * math/s_csinf.c (__csinf): Likewise.
31222         * math/s_csinhf.c (__csinhf): Likewise.
31223         * math/s_ctanf.c (__ctanf): Likewise.
31224         * math/s_ctanhf.c (__ctanhf): Likewise.
31225         * math/s_ccosh.c (__ccoshf): Likewise.
31226         * math/s_cexp.c (__cexpl): Likewise.
31227         * math/s_csin.c (__csin): Likewise.
31228         * math/s_csinh.c (__csinh): Likewise.
31229         * math/s_ctan.c (__ctan): Likewise.
31230         * math/s_ctanh.c (ctanh): Likewise.
31231         * math/s_ccoshl.c (__ccoshl): Likewise.
31232         * math/s_cexpl.c (__cexpl): Likewise.
31233         * math/s_csinl.c (__csinl): Likewise.
31234         * math/s_csinhl.c (__csinhl): Likewise.
31235         * math/s_ctanl.c (__ctanl): Likewise.
31236         * math/s_ctanhl.c (__ctanhl): Likewise.
31237
31238 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31239
31240         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31241         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31242         (_IO_off_t): Define to __off_t, not _G_off_t.
31243         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31244         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31245         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31246         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31247         type of __dummy and __dummy2 fields.
31248         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31249         (_G_ssize_t): Likewise.
31250         (_G_off_t): Likewise.
31251         (_G_pid_t): Likewise.
31252         (_G_uid_t): Likewise.
31253         (_G_wchar_t): Likewise.
31254         (_G_wint_t): Likewise.
31255         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31256         (_G_ssize_t): Likewise.
31257         (_G_off_t): Likewise.
31258         (_G_pid_t): Likewise.
31259         (_G_uid_t): Likewise.
31260         (_G_wchar_t): Likewise.
31261         (_G_wint_t): Likewise.
31262         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31263         (_G_ssize_t): Likewise.
31264         (_G_off_t): Likewise.
31265         (_G_pid_t): Likewise.
31266         (_G_uid_t): Likewise.
31267         (_G_wchar_t): Likewise.
31268         (_G_wint_t): Likewise.
31269
31270 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31271
31272         * malloc/arena.c: Include malloc-sysdep.h.
31273         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31274         is sufficient to shrink the heap or an unmap is needed.
31275         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31276         new function check_may_shrink_heap.
31277         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31278         new function check_may_shrink_heap.
31279
31280 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31281
31282         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31283         comments.
31284
31285 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31286
31287         * catgets/test-gencat.sh: Add "set -e".
31288         * elf/tst-pathopt.sh: Likewise.
31289         * grp/tst_fgetgrent.sh: Likewise.
31290         * iconvdata/run-iconv-test.sh: Likewise.
31291         * intl/tst-gettext.sh: Likewise.
31292         * intl/tst-gettext2.sh: Likewise.
31293         * intl/tst-gettext4.sh: Likewise.
31294         * intl/tst-gettext6.sh: Likewise.
31295         * intl/tst-translit.sh: Likewise.
31296         * io/ftwtest-sh: Likewise.
31297         * libio/test-freopen.sh: Likewise.
31298         * malloc/tst-mtrace.sh: Likewise.
31299         * posix/globtest.sh: Likewise.
31300         * posix/tst-getconf.sh: Likewise.
31301         * posix/wordexp-tst.sh: Likewise.
31302         * stdio-common/tst-printf.sh: Likewise.
31303         * stdio-common/tst-unbputc.sh: Likewise.
31304         * stdlib/tst-fmtmsg.sh: Likewise.
31305         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31306         * catgets/Makefile: Do not specify -e option when running
31307         testsuite shell scripts.
31308         * elf/Makefile: Likewise.
31309         * grp/Makefile: Likewise.
31310         * iconvdata/Makefile: Likewise.
31311         * intl/Makefile: Likewise.
31312         * io/Makefile: Likewise.
31313         * libio/Makefile: Likewise.
31314         * malloc/Makefile: Likewise.
31315         * posix/Makefile: Likewise.
31316         * stdio-common/Makefile: Likewise.
31317         * stdlib/Makefile: Likewise.
31318         * sysdeps/x86_64/Makefile: Likewise.
31319
31320         * io/ftwtest-sh: Add copyright header.
31321         * posix/globtest.sh: Likewise.
31322         * posix/tst-getconf.sh: Likewise.
31323         * posix/wordexp-tst.sh: Likewise.
31324         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31325
31326 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31327
31328         [BZ #13679]
31329         * Makeconfig (+link): Defined as $(+link-static) if
31330         $(build-shared) isn't yes.
31331         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31332         isn't yes.
31333         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31334
31335         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31336
31337         [BZ #14562]
31338         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31339         new chunk size with MALLOC_ALIGN_MASK.
31340
31341 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31342
31343         [BZ #5044]
31344         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31345         <rounding-mode.h>.
31346         (__printf_fphex): Determine rounding using get_rounding_mode and
31347         round_away.
31348         * stdio-common/tst-printf-round.c (struct hex_test): New
31349         structure.
31350         (hex_tests): New variable.
31351         (test_hex_in_one_mode): New function.
31352         (do_test): Also run tests for hex float output.
31353
31354 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31355
31356         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31357         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31358         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31359         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31360         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31361         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31362         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31363         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31364
31365 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31366
31367         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31368         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31369         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31370         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31371
31372 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31373
31374         [BZ #14579]
31375         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31376         mode only.
31377         * elf/tst-rtld-load-self.sh: New test.
31378         * elf/Makefile: Run it.
31379
31380 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31381
31382         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31383         (tst-writev-ENV): Remove.
31384         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31385
31386 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31387
31388         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31389
31390 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31391
31392         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31393         unconditional.
31394         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31395         Likewise.
31396         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31397         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31398         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31399         Likewise.
31400
31401 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31402
31403         [BZ #14587]
31404         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31405         * config.make.in (have-cpp-asm-debuginfo): Removed.
31406         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31407         * configure: Regenerated.
31408
31409 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31410
31411         [BZ #5044]
31412         * stdio-common/printf_fp.c: Include <stdbool.h> and
31413         <rounding-mode.h>.
31414         (___printf_fp): Determine rounding using get_rounding_mode and
31415         round_away.
31416         * stdio-common/tst-printf-round.c: New file.
31417         * stdio-common/Makefile (tests): Add tst-printf-round.
31418         (link-libm): New variable.
31419         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31420
31421 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31422
31423         [BZ #14576]
31424         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31425         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31426         Likewise.
31427         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31428         Likewise.
31429
31430 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31431
31432         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31433         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31434         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31435         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31436
31437 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31438
31439         [BZ #14518]
31440         * include/rounding-mode.h: New file.
31441         * sysdeps/generic/get-rounding-mode.h: Likewise.
31442         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31443         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31444         (MAX_VALUE): New macro.
31445         (MIN_VALUE): Likewise.
31446         (overflow_value): New function.
31447         (underflow_value): Likewise.
31448         (round_and_return): Use overflow_value and underflow_value to
31449         determine return values in overflow and underflow cases.  Use
31450         round_away to determine rounding depending on rounding mode.
31451         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31452         determine return values in overflow and underflow cases.
31453         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31454         (struct test_results): New structure.
31455         (struct test): Use struct test_results to store expected results
31456         for all rounding modes.
31457         (TEST): Include expected results for all rounding modes.
31458         (test_in_one_mode): New function.
31459         (do_test): Use test_in_one_mode to compute and check results.
31460         Check results for all rounding modes.
31461         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31462         $(link-libm).
31463
31464 2012-12-09  Allan McRae  <allan@archlinux.org>
31465
31466         * sysdeps/i386/fpu/libm-test-ulps: Update
31467
31468 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31469
31470         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31471         (_G_int32_t): Likewise.
31472         (_G_uint16_t): Likewise.
31473         (_G_uint32_t): Likewise.
31474         (_G_HAVE_BOOL): Likewise.
31475         (_G_HAVE_ATEXIT): Likewise.
31476         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31477         (_G_HAVE_IO_FILE_OPEN): Likewise.
31478         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31479         (_G_int32_t): Likewise.
31480         (_G_uint16_t): Likewise.
31481         (_G_uint32_t): Likewise.
31482         (_G_HAVE_BOOL): Likewise.
31483         (_G_HAVE_ATEXIT): Likewise.
31484         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31485         (_G_HAVE_IO_FILE_OPEN): Likewise.
31486         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31487         (_G_int32_t): Likewise.
31488         (_G_uint16_t): Likewise.
31489         (_G_uint32_t): Likewise.
31490         (_G_HAVE_BOOL): Likewise.
31491         (_G_HAVE_ATEXIT): Likewise.
31492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31493         (_G_HAVE_IO_FILE_OPEN): Likewise.
31494
31495 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31496
31497         * csu/libc-tls.c: Update copyright years.
31498
31499 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31500
31501         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31502         [!_G_USING_THUNKS]: Remove conditional code.
31503         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31504         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31505
31506         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31507         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31508         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31509         (_G_VTABLE_LABEL_PREFIX): Likewise.
31510         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31511         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31512         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31513         (_G_VTABLE_LABEL_PREFIX): Likewise.
31514         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31515         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31516         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31517         (_G_VTABLE_LABEL_PREFIX): Likewise.
31518         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31519
31520 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31521
31522         * libio/Makefile: Include ../Makeconfig before tests.
31523         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31524         only if $(build-shared) is yes.
31525
31526         * iconv/gconv_db.c: Update copyright years.
31527
31528 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31529
31530         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31531         unwind info if defined PIC. Fix special cases description.
31532         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31533
31534         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31535         DP_HI_MASK entry.
31536         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31537
31538 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31539
31540         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31541
31542         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31543         is NULL.
31544
31545         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31546         (LDLIBS-tst-chk4): This.
31547         (LDFLAGS-tst-chk5): Renamed to ...
31548         (LDLIBS-tst-chk5): This.
31549         (LDFLAGS-tst-chk6): Renamed to ...
31550         (LDLIBS-tst-chk6): This.
31551         (LDFLAGS-tst-lfschk4): Renamed to ...
31552         (LDLIBS-tst-lfschk4): This.
31553         (LDFLAGS-tst-lfschk5): Renamed to ...
31554         (LDLIBS-tst-lfschk5): This.
31555         (LDFLAGS-tst-lfschk6): Renamed to ...
31556         (LDLIBS-tst-lfschk6): This.
31557
31558         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31559         on $(common-objpfx)soversions.mk.
31560
31561 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31562
31563         [BZ #10014]
31564         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31565         example host name.
31566
31567 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31568
31569         * malloc/arena.c (arena_get_retry): New function that gets
31570         another arena for the caller to try its request on.
31571         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31572         current arena cannot fulfill the request.
31573         (__libc_memalign): Likewise.
31574         (__libc_memalign): Likewise.
31575         (__libc_pvalloc): Likewise.
31576         (__libc_calloc): Likewise.
31577
31578 2012-09-05  John Tobey  <john.tobey@gmail.com>
31579
31580         [BZ #13542]
31581         * manual/arith.texi (Operations on Complex): Fix description
31582         of carg branch cut.
31583
31584 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31585
31586         [BZ #10014]
31587         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31588         host name.
31589
31590         [BZ #10038]
31591         * manual/memory.texi (Memory): Make order of menu items match
31592         order of sections.
31593
31594 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31595
31596         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31597         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31598         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31599
31600 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31601
31602         * csu/libc-tls.c (static_dtv): Renamed to ...
31603         (_dl_static_dtv): This.  Make it global.
31604         (_dl_initial_dtv): Removed.
31605         (__libc_setup_tls): Updated.
31606         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31607         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31608         DL_INITIAL_DTV.
31609
31610 2012-09-06  Petr Machata  <pmachata@redhat.com>
31611
31612         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31613         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31614         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31615         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31616
31617 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31618
31619         [BZ #14545]
31620         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31621         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31622         freeing dtv[-1].
31623
31624 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31625
31626         [BZ #14544]
31627         * Makeconfig (link-static-before-libc): Replace $(+prector)
31628         with $(+prectorT).
31629         (link-static-after-libc): Replace $(+postctor) with
31630         $(+postctorT).
31631         (link-bounded): Replace $(+prector)/$(+postctor) with
31632         $(+prectorT)/$(+postctorT).
31633         (+prectorT): New macro.
31634         (+postctorT): Likewise.
31635
31636 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31637
31638         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31639         (round_str): Handle values above the maximum for IBM long double
31640         as inexact.
31641         * stdlib/tst-strtod-round.c (tests): Regenerated.
31642
31643 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31644
31645         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31646         assembler flag.
31647         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31648         zarch_nohighgprs around the zarch optimized routines.
31649         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31650         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31651         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31652         for zarch.
31653
31654 2012-09-05  David S. Miller  <davem@davemloft.net>
31655
31656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31657
31658         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31659         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31660         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31661         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31662         entries.
31663
31664 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31665
31666         * malloc/arena.c: Fold copyright years.
31667         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31668
31669 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31670
31671         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31672
31673 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31674
31675         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31676
31677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31678
31679         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31680         change internal state upon failure.
31681
31682 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31683
31684         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31685         * malloc/memusage.c (mmap): Likewise.
31686         (mmap64, mremap): Likewise.  Adjust name in comment.
31687
31688 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31689
31690         * libio/fileops.c: Fix typos in comments.
31691         * libio/oldfileops.c: Likewise.
31692         * libio/wfileops.c: Likewise.
31693
31694 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31695
31696         [BZ #1349]
31697         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31698         (tst-malloc-usable-ENV): Set environment for test case.
31699         * malloc/hooks.c (malloc_check_get_size): New function to get
31700         requested size.
31701         * malloc/malloc.c (musable): Use malloc_check_get_size.
31702         * malloc/tst-malloc-usable.c: New test case.
31703
31704 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31705
31706         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31707
31708 2012-09-05  Allan McRae  <allan@archlinux.org>
31709
31710         [BZ #13966]
31711         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31712         determine header location.
31713         * configure: Regenerated.
31714
31715 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31716
31717         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31718         float format.
31719         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31720         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31721         format.
31722         (test): Regenerate.
31723
31724 2012-09-04  David S. Miller  <davem@davemloft.net>
31725
31726         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31727         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31728         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31729
31730 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31731
31732         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31733         failures.
31734
31735         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31736
31737 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31738
31739         [BZ #9914]
31740         * libio/iogetdelim.c: Include <limits.h>.
31741         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31742         + len + 1 would overflow.
31743
31744 2012-09-03  Andreas Jaeger  <aj@suse.de>
31745
31746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31747         * sysdeps/i386/fpu/libm-test-ulps: Update.
31748
31749 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31750
31751         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31752         Add s_sinf-sse2, s_conf-sse2.
31753
31754         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31755         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31756         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31757         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31758
31759         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31760         for using routine as __sinf_ia32.
31761         Use macro for function declaration and weak_alias.
31762         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31763         for using routine as __cosf_ia32.
31764         Use macro for function declaration and weak_alias.
31765
31766         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31767         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31768
31769         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31770         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31772
31773         * math/libm-test.inc (cos_test): Add more test cases.
31774         (sin_test): Likewise.
31775         (sincos_test): Likewise.
31776
31777 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31778
31779         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31780         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31781         hidden.
31782         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31783
31784 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31785
31786         [BZ #14538]
31787         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31788         first element of the GOT.
31789         (elf_machine_load_address): Return the difference between
31790         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31791
31792 2012-09-01  Allan McRae  <allan@archlinux.org>
31793
31794         [BZ #13412]
31795         * configure.in (AWK): Require gawk version 3.0 or later.
31796         * configure: Regenerated.
31797
31798 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31799
31800         * sysdeps/unix/sysv/linux/kernel-features.h
31801         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31802         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31803         [__NR_clock_getres]: Make code unconditional.
31804         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31805         (clock_getcpuclockid): Remove code left unreachable by removal of
31806         conditionals.
31807         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31808         code unconditional.
31809         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31810         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31811         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31812         Make code unconditional.
31813         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31814         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31815         * sysdeps/unix/sysv/linux/clock_settime.c
31816         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31817         conditional code.
31818         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31819         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31820
31821 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31822
31823         [BZ #14476]
31824         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31825         scripts/test-installation.pl.
31826
31827         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31828         and $ld_so_version if it is set.
31829
31830 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31831
31832         [BZ #14516]
31833         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31834         failure if reading from procfs failed.
31835         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31836
31837 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31838
31839         * sysdeps/unix/sysv/linux/kernel-features.h
31840         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31841         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31842         Remove conditional code.
31843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31844         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31845         Remove conditional code.
31846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31847         * sysdeps/unix/sysv/linux/i386/fxstat.c
31848         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31850         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31851         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31853         * sysdeps/unix/sysv/linux/i386/lxstat.c
31854         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31856         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31857         Remove conditional code.
31858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31859         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31860         Remove conditional code.
31861         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31862         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31863         <kernel-features.h>.
31864         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31865         Remove.
31866         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31867         Remove conditional code.
31868         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31869         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31870         Remove conditional.
31871
31872 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31873
31874         [BZ #5400]
31875         * NEWS: Add fixed bug number.
31876
31877 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31878
31879         [BZ #14519]
31880         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31881         underflowing exponent in case of negative sign.
31882         * stdlib/tst-strtod-round-data: Add more tests.
31883         * stdlib/tst-strtod-round.c (tests): Regenerated.
31884
31885         [BZ #3479]
31886         * stdlib/strtod_l.c (NDIG): Remove.
31887         (HEXNDIG): Likewise.
31888         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31889         smallest representable value.
31890         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31891         lie within an exact representation of 1/2 ulp of the result.
31892         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31893         unconditionally.
31894         (TENS_P9_IDX): Define unconditionally.
31895         (TENS_P9_SIZE): Likewise.
31896         (TENS_P10_IDX): Likewise.
31897         (TENS_P10_SIZE): Likewise.
31898         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31899         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31900         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31901         entries for 10^2^13 and 10^2^14.
31902         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31903         (TENS_P13_IDX): Define.
31904         (TENS_P13_SIZE): Likewise.
31905         (TENS_P14_IDX): Likewise.
31906         (TENS_P14_SIZE): Likewise.
31907         (_fpioconst_pow10): Change array size to
31908         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31909         unconditional.
31910         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31911         1024]: Add entries for 10^2^13 and 10^2^14.
31912         [LAST_POW10 > _LAST_POW10]: Remove #error.
31913         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31914         (_fpioconst_pow10): Change array size to
31915         FPIOCONST_POW10_ARRAY_SIZE.
31916         * stdlib/gen-fpioconst.c: New file.
31917         * stdlib/gen-tst-strtod-round.c: Likewise.
31918         * stdlib/tst-strtod-round-data: Likewise.
31919         * stdlib/tst-strtod-round.c: Likewise.
31920         * stdlib/Makefile (tests): Add tst-strtod-round.
31921
31922         [BZ #14459]
31923         * stdlib/strtod_l.c: Include <stdint.h>.
31924         (NDEBUG): Do not define.
31925         (round_and_return): Change EXPONENT parameter to type intmax_t.
31926         Rearrange calculations to avoid internal overflow possibilities.
31927         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31928         Rearrange calculations to avoid internal overflow possibilities.
31929         Assert that number fits inside MPNSIZE limbs.
31930         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31931         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31932         calculations and add assertions to avoid internal overflow
31933         possibilities.  Add casts to avoid signed/unsigned operations.
31934         * stdlib/tst-strtod-overflow.c: New file.
31935         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31936
31937 2012-08-25  Marek Polacek  <polacek@redhat.com>
31938
31939         * time/time.h: Fix some typos in comments.
31940
31941 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31942
31943         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31944         * posix/tst-rfc3484-2.c: Likewise.
31945         * posix/tst-rfc3484-3.c: Likewise.
31946
31947 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31948
31949         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31950         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31951
31952 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31953
31954         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31955         #include of fxstatat64.c.
31956
31957 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31958
31959         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31960         * shadow/getspent_r.c: Likewise.
31961         * shadow/getspnam.c: Likewise.
31962         * shadow/getspnam_r.c: Likewise.
31963         * gshadow/getsgent.c: Likewise.
31964         * gshadow/getsgent_r.c: Likewise.
31965         * gshadow/getsgnam.c: Likewise.
31966         * gshadow/getsgnam_r.c: Likewise.
31967         * inet/getnetbyad.c: Likewise.
31968         * inet/getnetbyad_r.c: Likewise.
31969         * inet/getnetbynm.c: Likewise.
31970         * inet/getnetbynm_r.c: Likewise.
31971         * inet/getnetent.c: Likewise.
31972         * inet/getnetent_r.c: Likewise.
31973         * inet/getproto.c: Likewise.
31974         * inet/getproto_r.c: Likewise.
31975         * inet/getprtent.c: Likewise.
31976         * inet/getprtent_r.c: Likewise.
31977         * inet/getprtname.c: Likewise.
31978         * inet/getprtname_r.c: Likewise.
31979         * inet/getrpcbyname.c: Likewise.
31980         * inet/getrpcbyname_r.c: Likewise.
31981         * inet/getrpcbynumber.c: Likewise.
31982         * inet/getrpcbynumber_r.c: Likewise.
31983         * inet/getrpcent.c: Likewise.
31984         * inet/getrpcent_r.c: Likewise.
31985         * inet/getaliasent.c: Likewise.
31986         * inet/getaliasent_r.c: Likewise.
31987         * inet/getaliasname.c: Likewise.
31988         * inet/getaliasname_r.c: Likewise.
31989         * nscd/getgrgid_r.c: Likewise.
31990         * nscd/getgrnam_r.c: Likewise.
31991         * nscd/gethstbyad_r.c: Likewise.
31992         * nscd/gethstbynm3_r.c: Likewise.
31993         * nscd/getpwnam_r.c: Likewise.
31994         * nscd/getpwuid_r.c: Likewise.
31995         * nscd/getsrvbynm_r.c: Likewise.
31996         * nscd/getsrvbypt_r.c: Likewise.
31997         * nscd/gai.c: Likewise.
31998
31999         * configure.in (build_nscd): New substituted variable, set
32000         by --disable-build-nscd and defaults to $use_nscd.
32001         * configure: Regenerated.
32002         * config.make.in (build-nscd): New substituted variable.
32003         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32004         Change conditional to require [$(build-nscd) = yes] as well.
32005         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32006
32007         [BZ# 13696]
32008         * configure.in (use_nscd): New substituted variable, set by
32009         --disable-nscd.  If enabled, define USE_NSCD.
32010         * configure: Regenerated.
32011         * config.h.in: Add USE_NSCD.
32012         * config.make.in (use-nscd): New substituted variable.
32013         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32014         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32015         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32016         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32017         (CFLAGS-getgrnam_r.c): Likewise.
32018         (CFLAGS-initgroups.c): Likewise.
32019         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32020         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32021         Variables removed.
32022         * inet/getnetgrent_r.c
32023         (nscd_setnetgrent): New function, broken out of ...
32024         (setnetgrent): ... here.  Call it.
32025         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32026         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32027         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32028         * nscd/Makefile (routines, aux): Move definitions after include of
32029         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32030         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32031         Conditionalize on [USE_NSCD].
32032         (is_nscd, nscd_init_cb): Likewise.
32033         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32034         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32035         * nss/nss_db/db-init.c: Likewise.
32036         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32037         [USE_NSCD].
32038         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32039         (make_request): Use it.
32040         (cache_valid_p): New function.
32041         (__check_pf): Use it.
32042         * NEWS: Add item for --disable-nscd.
32043
32044 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32045
32046         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32047         to support sed >= 4.2.1-20-ga9bf076.
32048         * configure: Regenerated.
32049
32050 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32051
32052         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32053         Conditionalize whole body on [IREL].
32054
32055 2012-08-22  Jeff Law <law@redhat.com>
32056
32057         [BZ #14505]
32058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32059         if the family is PF_UNSPEC.
32060
32061 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32062
32063         * Makerules (lib-version): Rename from V.
32064         (install-lib-nosubdir): Change V to lib-version.
32065
32066 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32067
32068         [BZ #14252]
32069         * powerpc32/power6/wcschr.c: New file.
32070         * powerpc32/power6/wcscpy.c: New file.
32071         * powerpc32/power6/wcsrchr.c: New file.
32072         * powerpc64/power6/wcschr.c: New file.
32073         * powerpc64/power6/wcscpy.c: New file.
32074         * powerpc64/power6/wcsrchr.c: New file.
32075
32076 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32077
32078         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32079         (two_way_short_needle): Use it.
32080         * string/strstr.c (AVAILABLE1_USES_J): Define.
32081         * string/strcasestr.c: Likewise.
32082
32083         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32084         array references.
32085         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32086
32087         [BZ #11607]
32088         * NEWS: Add an entry.
32089         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32090         define their defaults.
32091         (two_way_short_needle): Detect end-of-string on-the-fly.
32092         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32093         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32094         * string/bug-strcasestr1.c: New test.
32095         * string/Makefile: Run it.
32096
32097 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32098
32099         [BZ #11607]
32100         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32101         the first character.
32102
32103 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32104
32105         * csu/elf-init.c (__libc_csu_irel): Function removed.
32106         * csu/libc-start.c (apply_irel): New function.
32107         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32108
32109 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32110
32111         * sysdeps/unix/sysv/linux/kernel-features.h
32112         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32113         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32114         <kernel-features.h>.
32115         [__NR_fadvise64_64]: Make code unconditional.
32116         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32117         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32118         !__NR_fadvise64_64)]: Likewise.
32119         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32120         !__NR_fadvise64_64))]: Likewise.
32121         [__NR_fadvise64]: Make code unconditional.
32122         [!__NR_fadvise64]: Remove conditional code.
32123         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32124         <kernel-features.h>.
32125         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32126         unconditional.
32127         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32128         conditional code.
32129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32130         not include <kernel-features.h>.
32131         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32132         unconditional.
32133         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32134         conditional code.
32135         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32136         include <kernel-features.h>.
32137         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32138         unconditional.
32139         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32140         conditional code.
32141
32142 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32143
32144         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32145         slight instruction rearrangements per scrollpipe analysis.
32146         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32147
32148 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32149
32150         * manual/syslog.texi (syslog; vsyslog, closelog):
32151         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32152         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32153
32154         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32155         DSOCAPS to match condition on defining it.
32156
32157 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32158
32159         * sysdeps/unix/sysv/linux/kernel-features.h
32160         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32162         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32163         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32165         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32166         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32168         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32169         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32170
32171         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32172         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32173
32174         * sysdeps/unix/sysv/linux/kernel-features.h
32175         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32176         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32177         unconditional.
32178         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32179         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32180         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32181         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32182         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32183         Make code unconditional.
32184         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32185         (__mmap64) [!__NR_mmap2]: Likewise.
32186         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32187         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32188         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32189         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32190         [__NR_mmap2]: Make code unconditional.
32191         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32192         (__mmap64) [!__NR_mmap2]: Likewise.
32193
32194 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32195
32196         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32197
32198 2012-08-18  Andreas Jaeger  <aj@suse.de>
32199
32200         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32201
32202 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32203
32204         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32205         * include/unistd.h (__have_sock_cloexec): Likewise.
32206         (__have_pipe2): Likewise.
32207         (__have_dup3): Likewise.
32208
32209 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32210
32211         [BZ #9685]
32212         * include/unistd.h (__have_pipe2): Change define into an extern int.
32213         (__have_dup3): Likewise.
32214         * socket/have_sock_cloexec.c: Include fcntl.h.
32215         (__have_pipe2): New variable.
32216         (__have_dup3): Likewise.
32217
32218 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32219
32220         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32221
32222 2012-08-17  Marek Polacek  <polacek@redhat.com>
32223
32224         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32225         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32226
32227 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32228
32229         * configure.in: Add AC_SUBST for sysheaders.
32230         * configure: Regenerated.
32231         * config.make.in (sysheaders): New substituted variable.
32232
32233         * sysdeps/unix/mkfifo.c: Moved ...
32234         * sysdeps/posix/mkfifo.c: ... here.
32235         * sysdeps/unix/mkfifoat.c: Moved ...
32236         * sysdeps/posix/mkfifoat.c: ... here.
32237
32238         * sysdeps/unix/utime.c: Moved ...
32239         * sysdeps/posix/utime.c: ... here.
32240
32241         * sysdeps/unix/time.c: Moved ...
32242         * sysdeps/posix/time.c: ... here.
32243         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32244         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32245
32246         * sysdeps/unix/nice.c: Moved ...
32247         * sysdeps/posix/nice.c: ... here.
32248
32249         * sysdeps/unix/alarm.c: Moved ...
32250         * sysdeps/posix/alarm.c: ... here.
32251
32252         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32253
32254 2012-08-17  Jeff Law <law@redhat.com>
32255
32256         * intl/Makefile (codeset_mo): New variable.
32257         ($(codeset_mo)): New target.
32258         (tst-codeset.out): Depend on that.  Remove explicit rule.
32259         (tst-gettext3.out, tst-gettext5.out): Likewise.
32260         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32261         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32262         * intl/tst-codeset.sh: Remove.
32263         * intl/tst-gettext3.sh: Likewise.
32264         * intl/tst-gettext5.sh: Likewise.
32265
32266 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32267
32268         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32269         * sysdeps/unix/syscalls.list: ... here.
32270
32271         * sysdeps/posix/getaddrinfo.c
32272         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32273         (gaiconf_init, gaiconf_reload): Use them.
32274         [!_STATBUF_ST_NSEC]
32275         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32276         Define using time_t rather than struct timespec.
32277
32278         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32279         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32280         Macros removed.
32281         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32282         [!NO_THREADS].
32283         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32284         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32285         Likewise.
32286
32287         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32288         __libc_cleanup_push argument.
32289
32290         * bits/param.h: New file.
32291         * misc/sys/param.h: New file.
32292         * include/sys/param.h: New file.
32293         * misc/Makefile (headers): Add bits/param.h.
32294         * sysdeps/generic/sys/param.h: File removed.
32295         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32296         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32297         * sysdeps/mach/hurd/bits/param.h: New file.
32298         * sysdeps/mach/hurd/sys/param.h: File removed.
32299
32300         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32301         last change.
32302
32303         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32304         [_IO_MTSAFE_IO].
32305         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32306         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32307         New macros.
32308
32309         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32310         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32311         rather than -D_IO_MTSAFE_IO conditionally.
32312         * stdio-common/Makefile (CPPFLAGS): Likewise.
32313         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32314         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32315         Use $(libio-mtsafe).
32316         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32317         of -D_IO_MTSAFE_IO.
32318         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32319         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32320         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32321         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32322         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32323         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32324         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32325         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32326         (CFLAGS-fread_u_chk.c): Likewise.
32327         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32328         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32329         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32330         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32331         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32332         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32333         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32334         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32335         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32336
32337         * libio/Makefile: Test [$(libc-reentrant) = yes]
32338         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32339
32340         * Makeconfig
32341         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32342         * sysdeps/pthread/configure: File removed.
32343         * sysdeps/pthread/Makeconfig: New file.
32344         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32345         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32346
32347 2012-08-16  Gary Benson  <gbenson@redhat.com>
32348
32349         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32350         unmapping the first object in a namespace.
32351
32352 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32353
32354         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32355         (__internal_setnetgrent): ... this.  Add internal_function to
32356         definition.  Add libc_hidden_def.
32357         (setnetgrent): Update caller.
32358         (internal_endnetgrent): Renamed to ...
32359         (__internal_endnetgrent): ... this.  Add internal_function to
32360         definition.  Add libc_hidden_def.
32361         (endnetgrent): Update caller.
32362         (internal_getnetgrent_r): Renamed to ...
32363         (__internal_getnetgrent_r): ... this.  Add internal_function to
32364         definition.  Add libc_hidden_def.
32365         (__getnetgrent_r): Update caller.
32366         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32367
32368 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32369
32370         * stdlib/longlong.h: Update from GCC.
32371
32372 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32373
32374         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32375         on _QL, which is set by umul_ppmm but never used.
32376         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32377         variables, which are set by GMP macros but never used.
32378         * stdio-common/_itowa.c (_itowa): Likewise.
32379         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32380         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32381
32382 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32383
32384         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32385         struct La_sh_regs is not constant.
32386         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32387         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32388         and struct La_sparc64_regs are not constant.
32389
32390 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32391
32392         * sysdeps/unix/sysv/linux/kernel-features.h
32393         (__ASSUME_POSIX_TIMERS): Remove.
32394         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32395         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32396         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32397         Make code unconditional.
32398         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32399         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32400         Make code unconditional.
32401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32402         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32403         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32405         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32406         Make code unconditional.
32407         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32408         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32409         (__libc_missing_posix_timers): Remove.
32410
32411 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32412
32413         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32414         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32415
32416         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32417
32418         * elf/dl-sym.c: Include <stdlib.h>.
32419
32420         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32421         constants, which avoids warnings in 32-bit builds.
32422
32423         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32424         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32425
32426         * misc/lseek.c: File moved to ...
32427         * io/lseek.c: ... here.
32428
32429         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32430
32431         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32432         shifting LEN more than 31 bits at once.
32433
32434 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32435
32436         [BZ #14195]
32437         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32438         segmentation fault for a case of two empty input strings.
32439         * string/test-strncasecmp.c (check1): Renamed to...
32440         (bz12205): ...this.
32441         (bz14195): Add new testcase for two empty input strings and N > 0.
32442         (test_main): Call new testcase, adapt for renamed function.
32443
32444 2012-08-15  Andreas Jaeger  <aj@suse.de>
32445
32446         [BZ #14090]
32447         * crypt/md5test2.c: New test, based on test supplied by Serge
32448         Belyshev <belyshev@depni.sinp.msu.ru>.
32449         * crypt/Makefile (xtests): Add md5test-giant..
32450         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32451
32452 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32453
32454         [BZ #14090]
32455         * crypt/md5.c (md5_process_block): Don't assume the buffer
32456         length is less than 2**32.
32457         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32458         length is less than 2**64.
32459
32460 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32461
32462         * string/str-two-way.h: Include <sys/param.h>.
32463         (MAX): Macro removed.
32464
32465         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32466         Move #define and #undef of memmove to just before and after
32467         including <string.h>.
32468
32469         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32470         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32471         and after including <string.h>.  Move declarations of
32472         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32473         to before #include "string/memmove.c".
32474
32475         * include/dirent.h: Declare __getdirentries.
32476
32477         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32478         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32479
32480 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32481
32482         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32483         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32484         * sysdeps/i386/configure: Regenerated.
32485         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32486         STABS_CURRENT_FILE, and STABS_FUN.
32487         (END): Remove call to STABS_FUN_END.
32488         (STABS_CURRENT_FILE1): Delete.
32489         (STABS_CURRENT_FILE): Likewise.
32490         (STABS_FUN): Likewise.
32491         (STABS_FUN_END): Likewise.
32492         (STABS_FUN2): Likewise.
32493         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32494         * sysdeps/x86_64/configure: Regenerated.
32495
32496 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32497
32498         * elf/dl-open.c: Include <atomic.h>.
32499         * elf/dl-lookup.c: Likewise.
32500
32501 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32502
32503         * sysdeps/unix/sysv/linux/kernel-features.h
32504         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32505         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32506         unconditionally.
32507         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32508         unconditionally.
32509         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32510         condition on __ASSUME_CLONE_THREAD_FLAGS.
32511
32512 2012-08-14  Andreas Jaeger  <aj@suse.de>
32513
32514         * sysdeps/i386/fpu/libm-test-ulps: Update.
32515
32516 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32517
32518         * include/atomic.h (atomic_exchange_and_add): Split into ...
32519         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32520         New atomic macros.
32521
32522 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32523
32524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32525
32526 2012-08-13  Jeff Law <law@redhat.com>
32527
32528         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32529         null byte in the output string.
32530
32531 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32532
32533         * sysdeps/unix/sysv/linux/kernel-features.h
32534         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32535         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32536         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32537         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32538         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32539         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32540         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32541
32542 2012-08-09  Jeff Law <law@redhat.com>
32543
32544         [BZ #13939]
32545         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32546         When avoid_arena is set, don't retry in the that arena.  Pick the
32547         next one, whatever it might be.
32548         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32549         (arena_lock): Pass in new parameter to arena_get2.
32550         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32551         arena_get2.
32552         (__libc_malloc): Unify retrying after main arena failure with
32553         __libc_memalign version.
32554         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32555
32556 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32557
32558         [BZ #14166]
32559         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32560         to __redirect_strstr.
32561         (__strstr_sse42): Use typeof __redirect_strstr.
32562         (__strstr_ia32): Likewise.
32563         (__libc_strstr): New prototype.
32564         (strstr): Renamed to ...
32565         (__libc_strstr): This.
32566         (strstr): New strong alias of __libc_strstr.
32567         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32568         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32569         __redirect_time.
32570         Include <time.h>.
32571         (__libc_time): New prototype.
32572         (time_ifunc): Replace time with __libc_time.
32573         (time): New strong alias and hidden definition of __libc_time.
32574         (__GI_time): Remove strong alias.
32575         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32576         Include <stddef.h>.
32577         (memmove): Redefined to __redirect_memmove.
32578         (__memmove_sse2): Use typeof __redirect_memmove.
32579         (__memmove_ssse3): Likewise.
32580         (__memmove_ssse3_back): Likewise.
32581         (__libc_memmove): New prototype.
32582         (memmove): Renamed to ...
32583         (__libc_memmove): This.
32584         (memmove): New strong alias of __libc_memmove.
32585
32586 2012-08-08  Mark Salter  <msalter@redhat.com>
32587
32588         * elf/elf.h
32589         (R_MN10300_TLS_GD): Define.
32590         (R_MN10300_TLS_LD): Likewise.
32591         (R_MN10300_TLS_LDO): Likewise.
32592         (R_MN10300_TLS_GOTIE): Likewise.
32593         (R_MN10300_TLS_IE): Likewise.
32594         (R_MN10300_TLS_LE): Likewise.
32595         (R_MN10300_TLS_DTPMOD): Likewise.
32596         (R_MN10300_TLS_DTPOFF): Likewise.
32597         (R_MN10300_TLS_TPOFF): Likewise.
32598         (R_MN10300_SYM_DIFF): Likewise.
32599         (R_MN10300_ALIGN): Likewise.
32600         (R_MN10300_NUM): Update.
32601
32602 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32603
32604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32605         Remove.
32606
32607 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32608
32609         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32610
32611         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32612         sysdeps/unix -> sysdeps/posix move.
32613         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32614
32615 2012-08-07      Allan McRae     <allan@archlinux.org>
32616
32617         [BZ #14303]
32618         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32619         (SUNOS_CPP): Likewise.
32620         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32621         not found.
32622         (open_input): Call CPP using execvp.
32623
32624 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32625
32626         * sysdeps/unix/sysv/linux/kernel-features.h
32627         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32628         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32629         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32630         (__ASSUME_WAITID_SYSCALL): Likewise.
32631         * sysdeps/unix/sysv/linux/dl-execstack.c
32632         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32633         code unconditional.
32634         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32635         conditional code.
32636         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32637         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32638         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32639         code.
32640         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32641         unconditional.
32642         [__ASSUME_WAITID_SYSCALL]: Likewise.
32643         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32644
32645 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32646
32647         * sysdeps/unix/closedir.c: Renamed to ...
32648         * sysdeps/posix/closedir.c: ... here.
32649         * sysdeps/unix/dirfd.c: Renamed to ...
32650         * sysdeps/posix/dirfd.c: ... here.
32651         * sysdeps/unix/dirstream.h: Renamed to ...
32652         * sysdeps/posix/dirstream.h: ... here.
32653         * sysdeps/unix/fdopendir.c: Renamed to ...
32654         * sysdeps/posix/fdopendir.c: ... here.
32655         * sysdeps/unix/opendir.c: Renamed to ...
32656         * sysdeps/posix/opendir.c: ... here.
32657         * sysdeps/unix/readdir.c: Renamed to ...
32658         * sysdeps/posix/readdir.c: ... here.
32659         * sysdeps/unix/readdir_r.c: Renamed to ...
32660         * sysdeps/posix/readdir_r.c: ... here.
32661         * sysdeps/unix/rewinddir.c: Renamed to ...
32662         * sysdeps/posix/rewinddir.c: ... here.
32663         * sysdeps/unix/seekdir.c: Renamed to ...
32664         * sysdeps/posix/seekdir.c: ... here.
32665         * sysdeps/unix/telldir.c: Renamed to ...
32666         * sysdeps/posix/telldir.c: ... here.
32667         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32668         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32669         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32670         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32671
32672         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32673         * bits/fcntl.h: ... here.
32674
32675         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32676         not 0.
32677         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32678         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32679         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32680         (struct flock): Move l_start, l_len to the beginning.
32681         Use __pid_t for l_pid.
32682         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32683         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32684         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32685         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32686         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32687         [__USE_LARGEFILE64] (struct flock64): New type.
32688         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32689
32690         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32691         * bits/dirent.h: ... here.
32692
32693         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32694         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32695
32696 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32697
32698         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32699         Change from 2.6.0 to 2.6.16.
32700         * sysdeps/unix/sysv/linux/configure: Regenerated.
32701         * sysdeps/unix/sysv/linux/kernel-features.h
32702         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32703         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32704         version.
32705         (__ASSUME_UTIMES): Likewise.
32706         (__ASSUME_CLONE_STOPPED): Remove.
32707         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32708         architectures, not kernel version.
32709         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32710         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32711         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32712         (__ASSUME_WAITID_SYSCALL): Likewise.
32713         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32714         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32715         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32716         refer to older versions.
32717
32718 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32719
32720         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32721         Define alphasort64 as an alias.
32722         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32723         Define versionsort64 as an alias.
32724         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32725         Define scandir64 as an alias.
32726         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32727         Define scandirat64 as an alias.
32728         * dirent/alphasort64.c (alphasort64):
32729         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32730         * dirent/versionsort64.c: Likewise.
32731         * dirent/scandir64.c: Likewise.
32732         * dirent/scandirat64.c: Likewise.
32733         * sysdeps/wordsize-64/alphasort.c: File removed.
32734         * sysdeps/wordsize-64/alphasort64.c: File removed.
32735         * sysdeps/wordsize-64/scandir.c: File removed.
32736         * sysdeps/wordsize-64/scandir64.c: File removed.
32737         * sysdeps/wordsize-64/scandirat.c: File removed.
32738         * sysdeps/wordsize-64/scandirat64.c: File removed.
32739         * sysdeps/wordsize-64/versionsort.c: File removed.
32740         * sysdeps/wordsize-64/versionsort64.c: File removed.
32741         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32742         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32743         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32744         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32745         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32746         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32747         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32748         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32749
32750         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32751         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32752         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32753         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32754         [defined __arch64__ || defined __sparcv9]
32755         (__INO_T_MATCHES_INO64_T): New macro.
32756         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32757         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32758         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32759         * sysdeps/unix/sysv/linux/bits/dirent.h
32760         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32761         (_DIRENT_MATCHES_DIRENT64): New macro.
32762
32763         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32764         Define lockf64 as an alias.
32765         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32766         Define fseeko64 as an alias.
32767         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32768         Define ftello64 as an alias.
32769         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32770         Define _IO_fgetpos64 and fgetpos64 as aliases.
32771         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32772         Define _IO_fsetpos64 and fsetpos64 as aliases.
32773         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32774         Conditionalize body on this.
32775         * libio/fseeko64.c: Likewise.
32776         * libio/ftello64.c: Likewise.
32777         * libio/iofgetpos64.c: Likewise.
32778         * libio/iofsetpos64.c: Likewise.
32779         * sysdeps/wordsize-64/lockf.c: File removed.
32780         * sysdeps/wordsize-64/lockf64.c: File removed.
32781         * sysdeps/wordsize-64/fseeko.c: File removed.
32782         * sysdeps/wordsize-64/fseeko64.c: File removed.
32783         * sysdeps/wordsize-64/ftello.c: File removed.
32784         * sysdeps/wordsize-64/ftello64.c: File removed.
32785         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32786         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32787         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32788         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32789         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32790         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32791         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32793         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32795         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32796         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32797         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32798         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32799
32800         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32801         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32802         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32803         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32804         [defined __arch64__ || defined __sparcv9]
32805         (__OFF_T_MATCHES_OFF64_T): New macro.
32806         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32807         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32809         (__OFF_T_MATCHES_OFF64_T): New macro.
32810
32811 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32812
32813         * stdlib/secure-getenv.c (__secure_getenv): Replace
32814         GLIBC_2_16 with GLIBC_2_17.
32815
32816 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32817
32818         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32819         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32820
32821 2012-08-03  David S. Miller  <davem@davemloft.net>
32822
32823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32824
32825 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32826
32827         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32828         Remove.
32829         (__ASSUME_CORRECT_SI_PID): Likewise.
32830         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32831         (__ASSUME_TMPFS_NAME): Likewise.
32832         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32833         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32834         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32835         (HAVE_AUX_SECURE): Make definition unconditional.
32836         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32837         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32838
32839 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32840
32841         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32842         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32843         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32844         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32845         __eloop_threshold instead of SYMLOOP_MAX.
32846
32847         * sysdeps/generic/eloop-threshold.h: New file.
32848         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32849         of MAXSYMLINKS.
32850         * elf/chroot_canon.c (chroot_canon): Likewise.
32851
32852 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32853
32854         [BZ #13717]
32855         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32856         Change to 2.6.0 everywhere.
32857         * sysdeps/unix/sysv/linux/configure: Regenerated.
32858         * sysdeps/unix/sysv/linux/kernel-features.h
32859         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32860         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32861         kernel versions.
32862         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32863         (__ASSUME_FUTEX_REQUEUE): Remove.
32864         (__ASSUME_STATFS64): Define unconditionally.
32865         (__ASSUME_AT_SECURE): Likewise.
32866         (__ASSUME_CORRECT_SI_PID): Likewise.
32867         (__ASSUME_TGKILL): Define without depending on kernel version for
32868         i386.
32869         (__ASSUME_UTIMES): Likewise.
32870         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32871         kernel version.
32872         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32873         (__ASSUME_TMPFS_NAME): Likewise.
32874         * README: Update reference to Linux kernel versions.
32875
32876 2012-08-02  Marek Polacek  <polacek@redhat.com>
32877
32878         [BZ# 14150]
32879         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32880         libc_cv_asm_type_prefix with %.
32881         * configure: Regenerated.
32882         * include/libc-symbols.h: Remove comment about
32883         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32884         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32885         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32886         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32887         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32888         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32889         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32890         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32891         * elf/tst-unique2mod1.c: Likewise.
32892         * elf/tst-unique1mod2.c: Likewise.
32893         * elf/tst-unique1mod1.c: Likewise.
32894         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32895         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32896         Replace ASM_TYPE_DIRECTIVE with .type.
32897         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32898         * sysdeps/i386/sysdep.h: Likewise.
32899         * sysdeps/x86_64/sysdep.h: Likewise.
32900         * sysdeps/sh/sysdep.h: Likewise.
32901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32902         Do not define ASM_TYPE_DIRECTIVE.
32903         * sysdeps/powerpc/sysdep.h: Likewise.
32904         * sysdeps/powerpc/powerpc32/sysdep.h:
32905         Replace ASM_TYPE_DIRECTIVE with .type.
32906         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32907         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32908         * sysdeps/i386/fpu/e_powf.S: Likewise.
32909         * sysdeps/i386/fpu/e_expl.S: Likewise.
32910         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32911         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32912         * sysdeps/i386/fpu/e_pow.S: Likewise.
32913         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32914         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32915         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32916         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32917         * sysdeps/i386/fpu/e_log2.S: Likewise.
32918         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32919         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32920         * sysdeps/i386/fpu/e_powl.S: Likewise.
32921         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32922         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32923         * sysdeps/i386/fpu/e_logl.S: Likewise.
32924         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32925         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32926         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32927         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32928         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32929         * sysdeps/i386/fpu/e_log.S: Likewise.
32930         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32931         * sysdeps/i386/fpu/e_logf.S: Likewise.
32932         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32933         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32934         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32935         * sysdeps/i386/fpu/e_log10.S: Likewise.
32936         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32937         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32938         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32939         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32940         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32941         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32942         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32943         * sysdeps/i386/i686/strtok.S: Likewise.
32944         * sysdeps/i386/i386-mcount.S: Likewise.
32945         * sysdeps/i386/strtok.S: Likewise.
32946         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32947         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32948         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32949         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32950         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32951         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32952         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32953         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32954         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32955         * sysdeps/x86_64/_mcount.S: Likewise.
32956         * sysdeps/x86_64/strtok.S: Likewise.
32957         * sysdeps/sh/_mcount.S: Likewise.
32958
32959 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32960
32961         * libio/iofopen.c: Include <fcntl.h>.
32962         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32963         (_IO_fopen64, fopen64): Define as aliases.
32964         * libio/iofopen64.c: Include <fcntl.h>.
32965         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32966         Conditionalize body on this.
32967         * sysdeps/wordsize-64/iofopen.c: File removed.
32968         * sysdeps/wordsize-64/iofopen64.c: File removed.
32969
32970 2012-08-01  Marek Polacek  <polacek@redhat.com>
32971
32972         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32973         Use dlfcn directly instead of a variable.
32974         (binfmt-subdir): Do not define.
32975         (dlfcn): Likewise.
32976
32977 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32978
32979         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32980         Remove all definitions.
32981         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32982         <kernel-features.h>.
32983         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32984         (miss_F_GETOWN_EX): Remove all definitions.
32985         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32986         macro definition.
32987         [!__ASSUME_FCNTL64]: Remove conditional code.
32988         [__ASSUME_FCNTL64]: Make code unconditional.
32989         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32990         <kernel-features.h>.
32991         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32992         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32993         (lockf64) [__NR_fcntl64]: Make code unconditional.
32994         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32995
32996         * sysdeps/unix/sysv/linux/kernel-features.h
32997         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32998         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32999         Make code unconditional.
33000         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33001         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33003         [__NR_vfork]: Make code unconditional.
33004         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33005         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33007         [__NR_vfork]: Make code unconditional.
33008         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33009         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33010
33011 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33012
33013         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33014         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33015
33016         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33017         Define mkstemp64 as an alias.
33018         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33019         Define mkstemps64 as an alias.
33020         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33021         Define mkostemp64 as an alias.
33022         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33023         Define mkostemps64 as an alias.
33024         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33025         Conditionalize body on this.
33026         * misc/mkostemp64.c: Likewise.
33027         * misc/mkostemps64.c: Likewise.
33028         * misc/mkstemps64.c: Likewise.
33029         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33030         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33031         * sysdeps/wordsize-64/mkostemp.c: File removed.
33032         * sysdeps/wordsize-64/mkstemp.c: File removed.
33033         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33034         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33035         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33036         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33037
33038         [BZ #14138]
33039         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33040         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33041         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33042         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33043
33044         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33045         compat_symbol macros from <shlib-compat.h> rather than the underlying
33046         default_symbol_version and symbol_version macros, so that DEFAULT
33047         lines in shlib-versions are respected.
33048         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33049
33050 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33051
33052         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33053         Declare with warn_unused_result.
33054         (setgid, setregid, setegid, setresgid): Likewise.
33055         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33056         Likewise.
33057         * WUR-REPORT: Remove set*id functions.
33058
33059 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33060
33061         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33062
33063 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33064
33065         [BZ #10191]
33066         * include/sys/socket.h (__libc_accept, __libc_accept4):
33067         Add attribute_hidden.
33068         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33069
33070         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33071         use of PTR_MANGLE.
33072         * inet/getnetgrent_r.c (setup): Likewise.
33073
33074         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33075
33076 2012-07-31  David S. Miller  <davem@davemloft.net>
33077
33078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33079
33080 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33081
33082         [BZ #13629]
33083         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33084         value between 1.0 and 2.0 and smaller part has absolute value less
33085         than 1.0.
33086         * math/s_clog10.c (__clog10): Likewise.
33087         * math/s_clog10f.c (__clog10f): Likewise.
33088         * math/s_clog10l.c (__clog10l): Likewise.
33089         * math/s_clogf.c (__clogf): Likewise.
33090         * math/s_clogl.c (__clogl): Likewise.
33091         * math/libm-test.inc (clog_test): Add more tests.
33092         (clog10_test): Likewise.
33093         * sysdeps/i386/fpu/libm-test-ulps: Update.
33094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33095
33096 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33097
33098         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33099         Exit with zero in case no suitable GID is found, and write a
33100         message to standard error.
33101
33102 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33103
33104         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33105         rather than to 1.
33106         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33107         (MAXPATHLEN): Removed.
33108         (NOGROUP, NODEV): New macros.
33109         (setbit, clrbit, isset, isclr): New macros.
33110         (howmany, roundup, powerof2): New macros.
33111         (DEV_BSIZE): New macro.
33112
33113         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33114         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33115
33116         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33117         definition on [!__NO_LONG_DOUBLE_MATH].
33118
33119         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33120         PTR_MANGLE and PTR_DEMANGLE.
33121
33122         * socket/accept4.c (accept4): Rename to __libc_accept4.
33123         Define accept4 as a weak alias.
33124
33125         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33126         on [_DIRENT_HAVE_D_TYPE].
33127         * io/ftw.c (ftw_dir): Likewise.
33128
33129         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33130
33131         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33132
33133         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33134         Use the BSD numbers rather than the arbitrary ones we had.
33135         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33136         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33137         (SIGXCPU, SIGXFSZ): New macros.
33138         (_NSIG): Now 32.
33139
33140         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33141         initializer on [_LIBC_REENTRANT].
33142
33143         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33144         definitions inside [_POSIX_MAPPED_FILES].
33145
33146         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33147
33148         * dirent/opendir.c: Include <fcntl.h>.
33149
33150         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33151         (__libc_getspecific): Likewise.
33152         (__libc_key_create): Likewise.
33153
33154         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33155         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33156         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33157         (tmpfile64): Define as alias.
33158         * sysdeps/wordsize-64/tmpfile.c: File removed.
33159         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33160         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33161         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33162
33163         * stdio-common/vfscanf.c: Include <stdbool.h>.
33164         * nss/makedb.c: Likewise.
33165         * stdio-common/_i18n_number.h: Likewise.
33166         * argp/argp-help.c: Likewise.
33167         * posix/wordexp.c: Likewise.
33168         * sysdeps/posix/spawni.c: Likewise.
33169         * nss/nss_files/files-initgroups.c: Likewise.
33170         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33171         * nss/nss_files/files-initgroups.c: Likewise.
33172         * nss/nss_db/db-netgrp.c: Likewise.
33173         * nss/nss_db/db-initgroups.c: Likewise.
33174         * io/fchmodat.c: Include <sys/stat.h>.
33175
33176         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33177         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33178
33179         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33180         [HAVE_MMAP].
33181
33182         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33183         Add multiple inclusion protection.
33184
33185 2012-07-27  David S. Miller  <davem@davemloft.net>
33186
33187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33188
33189 2012-07-27  Gary Benson  <gbenson@redhat.com>
33190
33191         [BZ #14298]
33192         * elf/rtld.c: Include <stap-probe.h>.
33193         (dl_main): Added static probes "init_start" and "init_complete".
33194         * elf/dl-load.c: Include <stap-probe.h>.
33195         (lose): Take new parameter "nsid".
33196         Added static probe "map_failed".
33197         (_dl_map_object_from_fd): Pass namespace id to lose.
33198         Added static probe "map_start".
33199         (open_verify): Pass namespace id to lose.
33200         * elf/dl-open.c: Include <stap-probe.h>.
33201         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33202         and "reloc_complete".
33203         * elf/dl-close.c: Include <stap-probe.h>.
33204         (_dl_close_worker): Added static probes "unmap_start" and
33205         "unmap_complete".
33206         * elf/rtld-debugger-interface.txt: New file documenting the above.
33207
33208 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33209
33210         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33211         rather than a string variable.
33212         * sunrpc/rpc_main.c (h_output): Likewise.
33213         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33214
33215 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33216
33217         * inet/check_native.c: New file.
33218
33219 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33220
33221         [BZ #13629]
33222         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33223         if larger part has absolute value 1.0.
33224         * math/s_clog10.c (__clog10): Likewise.
33225         * math/s_clog10f.c (__clog10f): Likewise.
33226         * math/s_clog10l.c (__clog10l): Likewise.
33227         * math/s_clogf.c (__clogf): Likewise.
33228         * math/s_clogl.c (__clogl): Likewise.
33229         * math/libm-test.inc (clog_test): Add more tests.
33230         (clog10_test): Likewise.
33231         * sysdeps/i386/fpu/libm-test-ulps: Update.
33232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33233
33234         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33235         (pltexit): Likewise.
33236         (La_regs): Likewise.
33237         (La_retval): Likewise.
33238         (int_retval): Likewise.
33239         Update #error for removed macros to refer only to definitions in
33240         tst-audit.h.
33241         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33242         macro.
33243         (pltexit): Likewise.
33244         (La_regs): Likewise.
33245         (La_retval): Likewise.
33246         (int_retval): Likewise.
33247         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33248         macro.
33249         (pltexit): Likewise.
33250         (La_regs): Likewise.
33251         (La_retval): Likewise.
33252         (int_retval): Likewise.
33253         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33254         macro.
33255         (pltexit): Likewise.
33256         (La_regs): Likewise.
33257         (La_retval): Likewise.
33258         (int_retval): Likewise.
33259         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33260         macro.
33261         (pltexit): Likewise.
33262         (La_regs): Likewise.
33263         (La_retval): Likewise.
33264         (int_retval): Likewise.
33265         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33266         macro.
33267         (pltexit): Likewise.
33268         (La_regs): Likewise.
33269         (La_retval): Likewise.
33270         (int_retval): Likewise.
33271         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33272         macro.
33273         (pltexit): Likewise.
33274         (La_regs): Likewise.
33275         (La_retval): Likewise.
33276         (int_retval): Likewise.
33277         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33278         macro definitions in tst-audit.h.
33279         * sysdeps/i386/tst-audit.h: New file.
33280         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33281         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33282         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33283         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33284         * sysdeps/sh/tst-audit.h: Likewise.
33285         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33286         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33287         * sysdeps/x86_64/tst-audit.h: Likewise.
33288
33289 2012-07-26  Andreas Jaeger  <aj@suse.de>
33290
33291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33292         ptrace.
33293
33294         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33295         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33296         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33297         PTRACE_O_MASK.
33298         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33299         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33300         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33301
33302         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33303         value.
33304
33305         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33306         _sigsys.
33307         (si_call_addr, si_syscall, si_arch): Define new macro.
33308         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33309         _sigsys.
33310         (si_call_addr, si_syscall, si_arch): Define new marcro.
33311         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33312         _sigsys.
33313         (si_call_addr, si_syscall, si_arch): Define new macro.
33314         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33315         _sigsys.
33316         (si_call_addr, si_syscall, si_arch): Define new macro.
33317
33318 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33319
33320         [BZ #13717]
33321         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33322         Change to 2.4.21 where previously 2.4.1.
33323         * sysdeps/unix/sysv/linux/configure: Regenerated.
33324         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33325         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33326         Linux kernel version.
33327         (__ASSUME_STD_AUXV): Remove.
33328         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33329         kernel version.
33330         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33331         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33332         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33333         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33334         (__ASSUME_NETLINK_SUPPORT): Likewise.
33335         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33336         (__no_netlink_support): Remove conditional definition.
33337         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33338         Remove.
33339         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33340         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33341         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33342         (if_nameindex_ioctl): Remove.
33343         (if_nameindex_netlink): Do not handle __no_netlink_support.
33344         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33345         code.
33346         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33347         Remove conditional code.
33348         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33349         code.
33350         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33351         unconditional.
33352         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33353         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33354         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33355         Remove.
33356         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33357         [!__ASSUME_STD_AUXV]: Remove conditional code.
33358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33359         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33360         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33362         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33363         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33364         code.
33365         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33367         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33368         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33369         conditional code.
33370         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33372         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33373         code.
33374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33375         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33376         conditional code.
33377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33378         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33379         code unconditional.
33380         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33381         conditional code.
33382         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33383         unconditional.
33384         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33385         conditional code.
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33387         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33388         unconditional.
33389         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33390         conditional code.
33391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33392         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33393         code unconditional.
33394         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33395         conditional code.
33396         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33397         unconditional.
33398         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33399         conditional code.
33400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33401         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33402         code unconditional.
33403         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33404         conditional code.
33405         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33406         unconditional.
33407         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33408         conditional code.
33409
33410 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33411
33412         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33413         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33414         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33415         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33416         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33417         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33418         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33419         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33420         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33421         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33422         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33423         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33424         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33425         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33426         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33427         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33428         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33429         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33430         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33432         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33433         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33434         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33435
33436 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33437
33438         * Versions.def: Add GLIBC_2.17.
33439         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33440         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33441         Introduce __libc_secure_getenv.
33442         * stdlib/Versions (2.17): Add secure_getenv
33443         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33444         * stdlib/secure-getenv.c: Rename __secure_getenv to
33445         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33446         symbol __secure_getenv for GLIBC_2.0.
33447         * stdlib/tst-secure-getenv.c: New.
33448         * stdlib/Makefile (tests): Add testcase.
33449         * manual/startup.texi (Environment Access): Document
33450         secure_getenv.
33451         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33452         __libc_secure_getenv.
33453         * inet/ruserpass.c (ruserpass): Likewise.
33454         * malloc/mtrace.c (mtrace): Likewise.
33455         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33456         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33457         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33458         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33459         HAVE_SECURE_GETENV.
33460         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33461         __secure_getenv to __libc_secure_getenv.
33462         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33464         Likewise.
33465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33466         Likewise.
33467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33474
33475 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33476
33477         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33478         (struct La_i86_retval): Likewise.
33479         (struct La_x86_64_regs): Likewise.
33480         (struct La_x86_64_retval): Likewise.
33481         (struct La_x32_regs): Likewise.
33482         (struct La_x32_retval): Likewise.
33483         (struct La_ppc32_regs): Likewise.
33484         (struct La_ppc32_retval): Likewise.
33485         (struct La_ppc64_regs): Likewise.
33486         (struct La_ppc64_retval): Likewise.
33487         (struct La_sh_regs): Likewise.
33488         (struct La_sh_retval): Likewise.
33489         (struct La_s390_32_regs): Likewise.
33490         (struct La_s390_32_retval): Likewise.
33491         (struct La_s390_64_regs): Likewise.
33492         (struct La_s390_64_retval): Likewise.
33493         (struct La_sparc32_regs): Likewise.
33494         (struct La_sparc32_retval): Likewise.
33495         (struct La_sparc64_regs): Likewise.
33496         (struct La_sparc64_retval): Likewise.
33497         (struct audit_ifaces): Remove architecture-specific pltenter and
33498         pltexit members.
33499         * sysdeps/i386/ldsodefs.h: New file.
33500         * sysdeps/powerpc/ldsodefs.h: Likewise.
33501         * sysdeps/s390/ldsodefs.h: Likewise.
33502         * sysdeps/sh/ldsodefs.h: Likewise.
33503         * sysdeps/sparc/ldsodefs.h: Likewise.
33504         * sysdeps/x86_64/ldsodefs.h: Likewise.
33505
33506 2012-07-25  Marek Polacek  <polacek@redhat.com>
33507
33508         [BZ #6808]
33509         * math/libm-test.inc (yn_test): Add another test.
33510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33511         to ERANGE when the result is +-Inf.
33512         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33513         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33514         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33515         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33516
33517 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33518
33519         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33520         equal to 0.
33521         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33522         clock_t.
33523         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33524
33525 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33526
33527         * configure.in <sysdeps resolving>: Correct printing
33528         Implies_before.
33529         * configure: Regenerate.
33530
33531 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33532
33533         * math/w_ilogb.c: Include <limits.h>.
33534         * math/w_ilogbl.c: Likewise.
33535
33536 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33537
33538         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33539         va_copy.  Document allowing for unavailable va_copy only as
33540         pre-C99 compatibility.
33541         * manual/string.texi (Copying and Concatenation): Use va_copy
33542         instead of __va_copy in concat example.
33543
33544 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33545
33546         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33547         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33548         it if not null.
33549
33550         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33551         with O_NOLINK passed to __file_name_lookup.
33552
33553         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33554         with O_NOLINK passed to __file_name_lookup.
33555
33556         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33557         negative N or less than NGIDS.
33558
33559         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33560         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33561         enough.  Use memcpy instead of strncpy.
33562
33563 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33564
33565         * elf/Makefile (check-data): Remove.
33566         (localplt.data): New vpath directive.
33567         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33568         instead of $(check-data).
33569         * scripts/data/localplt-generic.data: Move to ...
33570         * sysdeps/generic/localplt.data: ... here.
33571         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33572         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33573         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33575         ... here.
33576         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33578         ... here.
33579         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33581         ... here.
33582         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33584         ... here.
33585         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33587         ... here.
33588         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33590         ... here.
33591
33592 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33593
33594         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33595         PPC32 and PPC64 files.
33596         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33597         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33598
33599 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33600
33601         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33602         __makecontext_ret to ...
33603         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33604         ... here and call exit if uc_link is NULL.  New file.
33605         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33606         __makecontext_ret.S.
33607         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33608         __makecontext_ret to ...
33609         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33610         ... here and call exit if uc_link is NULL.  New file.
33611         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33612         __makecontext_ret.S.
33613
33614 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33615
33616         * elf/elf.h (R_390_IRELATIVE): New definition.
33617         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33618         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33619         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33620         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33621         (elf_machine_lazy_rel): Likewise.
33622         * sysdeps/s390/dl-irel.h: New file.
33623         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33624         * sysdeps/s390/s390-64/memset.S: New asm code.
33625         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33626         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33627         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33628         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33629         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33630         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33631         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33632         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33633         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33634         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33635         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33636         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33637         * sysdeps/s390/s390-32/memset.S: New asm code.
33638         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33639
33640 2012-07-17  Marek Polacek  <polacek@redhat.com>
33641
33642         [BZ #14349]
33643         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33644         * sysdeps/s390/s390-64/configure.in: Likewise.
33645         * sysdeps/sparc/configure.in: Likewise.
33646         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33647         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33648         * sysdeps/i386/configure.in: Likewise.
33649         * sysdeps/x86_64/configure.in: Likewise.
33650         * sysdeps/sh/configure.in: Likewise.
33651         * sysdeps/s390/s390-32/configure: Regenerated.
33652         * sysdeps/s390/s390-64/configure: Likewise.
33653         * sysdeps/x86_64/configure: Likewise.
33654         * sysdeps/sh/configure: Likewise.
33655         * sysdeps/powerpc/powerpc64/configure: Likewise.
33656         * sysdeps/powerpc/powerpc32/configure: Likewise.
33657         * sysdeps/sparc/configure: Likwise.
33658         * sysdeps/i386/configure: Likewise.
33659
33660         * elf/dl-open.c: Comment fixes.
33661
33662 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33663
33664         * Makefile [CXX] (check-data): Remove.
33665         [CXX] (c++-types.data): New vpath directive.
33666         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33667         vpath.  Do not allow for C++ type data being missing.
33668         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33669         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33670         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33671         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33672         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33673         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33674         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33676         ... here.
33677         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33679         ... here.
33680         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33682         ... here.
33683         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33685         ... here.
33686         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33688         ... here.
33689         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33691         ... here.
33692         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33694         ... here.
33695         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33697
33698         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33699         definitions to architecture-specific files.
33700         (TLS_IE): Likewise.
33701         (TLS_LD): Likewise.
33702         (TLS_GD): Likewise.
33703         * sysdeps/i386/tls-macros.h: New file.
33704         * sysdeps/powerpc/tls-macros.h: Likewise.
33705         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33706         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33707         * sysdeps/sh/tls-macros.h: Likewise.
33708         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33709         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33710         * sysdeps/x86_64/tls-macros.h: Likewise.
33711
33712 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33713
33714         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33715         zero value for regular exit case.
33716
33717         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33718         (__start_context): Preserve zero value for regular exit case.
33719
33720 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33721             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33722
33723         * manual/setjmp.texi (setcontext): Clarify normal process
33724         termination when uc_link is the null pointer.
33725         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33726         exit call.
33727
33728 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33729
33730         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33731         preprocessor.  Test for each exception mask separately.
33732
33733 2012-07-16  Andreas Jaeger  <aj@suse.de>
33734
33735         * po/ru.po: Update from translation team.
33736
33737 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33738
33739         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33740         equal to 0.
33741         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33742         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33743         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33744         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33746
33747 2012-07-13  Andreas Jaeger  <aj@suse.de>
33748
33749         * po/fr.po: Update from translation team.
33750
33751 2012-07-12  Marek Polacek  <polacek@redhat.com>
33752
33753         [BZ #14173]
33754         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33755         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33756         loop condition.
33757
33758 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33759
33760         [BZ #13717]
33761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33762         Change to 2.4.1 where previously 2.4.0.
33763         * sysdeps/unix/sysv/linux/configure: Regenerated.
33764         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33765         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33766         version.
33767         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33768         (__ASSUME_AT_CLKTCK): Remove.
33769         (__ASSUME_AT_PAGESIZE): Likewise.
33770         (__ASSUME_AT_XID): Likewise.
33771         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33772         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33773         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33774         unconditionally.
33775         (HAVE_AUX_PAGESIZE): Likewise.
33776         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33777         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33778         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33779
33780 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33781
33782         [BZ #14307]
33783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33784         the temporary buffer used to invoke __gethostbyname2_r,
33785         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33786         host_data / struct gaih_addrtuple.
33787         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33788         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33789         header file nss/nsswitch.h.
33790         * nss/nsswitch.h (global scope): Add definition of implementation
33791         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33792         resolv/nss_dns/dns-host.c).
33793
33794 2012-07-11  Andreas Jaeger  <aj@suse.de>
33795
33796         * po/fr.po: Update from translation team.
33797
33798         * po/sv.po: Update from translation team
33799         * po/fr.po: Another update from translation team.
33800
33801 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33802
33803         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33804         for subnormals or multiply small sinh result by itself.
33805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33807
33808 2012-07-11  David S. Miller  <davem@davemloft.net>
33809
33810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33811
33812 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33813
33814         [BZ #14347]
33815         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33816         (INTERNAL_MARK): Shift it here.
33817
33818 2012-07-10  Marek Polacek  <polacek@redhat.com>
33819
33820         [BZ #14151]
33821         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33822         libc_cv_asm_global_directive with .globl.
33823         * configure: Regenerated.
33824         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33825         with .globl.
33826         * sysdeps/i386/configure: Regenerated.
33827         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33828         with .globl.
33829         * sysdeps/x86_64/configure: Regenerated.
33830         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33831         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33832         * elf/tst-unique2mod2.c: Likewise.
33833         * elf/tst-unique2mod1.c: Likewise.
33834         * elf/tst-unique1mod2.c: Likewise.
33835         * elf/tst-unique1mod1.c: Likewise.
33836         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33837         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33838         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33839         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33840         * sysdeps/mach/sysdep.h: Likewise.
33841         * sysdeps/i386/sysdep.h: Likewise.
33842         * sysdeps/i386/i386-mcount.S: Likewise.
33843         * sysdeps/x86_64/_mcount.S: Likewise.
33844         * sysdeps/x86_64/sysdep.h: Likewise.
33845         * sysdeps/sh/_mcount.S: Likewise.
33846         * sysdeps/sh/sysdep.h: Likewise.
33847         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33848         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33849         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33850         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33851         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33852         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33853         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33854         * locale/localeinfo.h: Likewise.
33855         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33856         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33857
33858 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33859
33860         [BZ #14336]
33861         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33862         system".
33863         * manual/message.texi (The Uniforum approach): Likewise.
33864         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33865         (glibc iconv Implementation): Likewise.
33866
33867 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33868
33869         [BZ #14337]
33870         * math/s_clog.c (__clog): Avoid scaling a value down where that
33871         could result in underflow.
33872         * math/s_clog10.c (__clog10): Likewise.
33873         * math/s_clog10f.c (__clog10f): Likewise.
33874         * math/s_clog10l.c (__clog10l): Likewise.
33875         * math/s_clogf.c (__clogf): Likewise.
33876         * math/s_clogl.c (__clogl): Likewise.
33877         * math/libm-test.inc (clog_test): Add more tests.
33878         (clog10_test): Likewise.
33879         * sysdeps/i386/fpu/libm-test-ulps: Update.
33880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33881
33882 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33883
33884         [BZ #14283]
33885         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33886         by 7 not 8 to examine high bit of fractional part.
33887
33888         [BZ #14042]
33889         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33890         for call to __mcount_internal.
33891         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33892         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33893         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33894
33895 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33896
33897         [BZ #14154]
33898         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33899         approximation for values within 0x1p-13f of an odd multiple of
33900         pi/4.
33901         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33902         exception.  Add more tests.
33903         * sysdeps/i386/fpu/libm-test-ulps: Update.
33904
33905         [BZ #6778]
33906         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33907         inputs and return -1 for them.  Do not check for +Inf in case not
33908         reachable for +Inf.
33909         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33910         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33911         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33912         and return -1 for them.  Do not check for +Inf in case not
33913         reachable for +Inf.
33914         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33915         define.
33916         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33917         and return -1 for them.  Do not check for +Inf in case not
33918         reachable for +Inf.
33919         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33920         spurious underflow.
33921         * sysdeps/i386/fpu/libm-test-ulps: Update.
33922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33923
33924 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33925
33926         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33927
33928 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33929
33930         [BZ #14157]
33931         [BZ #14331]
33932         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33933         could result in spurious underflow.  Scale down values above
33934         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33935         * math/s_csqrtf.c (__csqrtf): Likewise.
33936         * math/s_csqrtl.c (__csqrtl): Likewise.
33937         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33938         spurious underflow.
33939         * sysdeps/i386/fpu/libm-test-ulps: Update.
33940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33941
33942 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33943
33944         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33945         xopen-msg.sed.
33946         * catgets/xopen-msg.awk: New file.
33947         * catgets/xopen-msg.sed: Removed.
33948
33949         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33950         po2text.sed.
33951         * intl/po2test.awk: New file.
33952         * intl/po2test.sed: Removed.
33953
33954 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33955
33956         [BZ #14328]
33957         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33958         or multiply small sinh result by itself.
33959         * math/s_ctanf.c (__ctanf): Likewise.
33960         * math/s_ctanh.c (__ctanh): Likewise.
33961         * math/s_ctanhf.c (__ctanhf): Likewise.
33962         * math/s_ctanhl.c (__ctanhl): Likewise.
33963         * math/s_ctanl.c (__ctanl): Likewise.
33964         * math/libm-test.inc (ctan_test_tonearest): New function.
33965         (ctan_test_towardzero): Likewise.
33966         (ctan_test_downward): Likewise.
33967         (ctan_test_upward): Likewise.
33968         (ctanh_test_tonearest): Likewise.
33969         (ctanh_test_towardzero): Likewise.
33970         (ctanh_test_downward): Likewise.
33971         (ctanh_test_upward): Likewise.
33972         (main): Call these new functions.
33973         * sysdeps/i386/fpu/libm-test-ulps: Update.
33974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33975
33976 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33977
33978         * .gitignore: Delete /ports entry.
33979
33980 2012-07-03  Andreas Jaeger  <aj@suse.de>
33981
33982         * po/bg.po: Update from translation team.
33983         * po/cs.po: Likewise.
33984         * po/de.po: Likewise.
33985         * po/hr.po: Likewise.
33986         * po/nl.pl: Likewise.
33987         * po/pl.po: Likewise.
33988         * po/vi.po: Likewise.
33989
33990 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33991
33992         * Makeconfig [!+link] (+link-before-libc): New variable.
33993         [!+link] (+link-after-libc): Likewise.
33994         [!+link] (+link-tests): Likewise.
33995         [!+link] (+link): Define in terms of $(+link-before-libc) and
33996         $(+link-after-libc).
33997         [!+link-static] (+link-static-before-libc): New variable.
33998         [!+link-static] (+link-static-after-libc): Likewise.
33999         [!+link-static] (+link-static-tests): Likewise.
34000         [!+link-static] (+link-static): Define in terms of
34001         $(+link-static-before-libc) and $(+link-static-after-libc).
34002         [build-shared] (link-libc-before-gnulib): New variable.
34003         [build-shared] (link-libc-tests): Likewise.
34004         [build-shared] (link-libc): Define in terms of
34005         $(link-libc-before-gnulib).
34006         [!build-shared] (link-libc-tests): New variable.
34007         (link-libc-static-tests): New variable.
34008         [!gnulib] (gnulib-arch): New variable.
34009         [!gnulib] (gnulib-tests): Likewise.
34010         [!gnulib] (static-gnulib-arch): Likewise.
34011         [!gnulib] (static-gnulib-tests): Likewise.
34012         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34013         Define with "=" instead of ":=".
34014         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34015         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34016         * Rules (binaries-all-notests): New variable.
34017         (binaries-all-tests): Likewise.
34018         (binaries-static-notests): Likewise.
34019         (binaries-static-tests): Likewise.
34020         (binaries-all): Define using $(binaries-all-notests) and
34021         $(binaries-all-tests).
34022         (binaries-static): Define using $(binaries-static-notests) and
34023         $(binaries-static-tests).
34024         (binaries-shared-tests): New variable.
34025         (binaries-shared-notests): Likewise.
34026         (binaries-shared): Remove variable.
34027         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34028         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34029         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34030         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34031         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34032         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34033         * elf/Makefile (sln-modules): New variable.
34034         (extra-objs): Add $(sln-modules:=.o).
34035         (ldconfig-modules): Add static-stubs.
34036         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34037         * elf/static-stubs.c: New file.
34038
34039         [BZ #14283]
34040         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34041         by 7 not 8 to examine high bit of fractional part.  Use volatile
34042         variables when splitting into final array of floats if
34043         __FLT_EVAL_METHOD__ != 0.
34044         * math/libm-test.inc (cos_test): Add another test.
34045         (sin_test): Likewise.
34046         * sysdeps/i386/fpu/libm-test-ulps: Update.
34047
34048         [BZ #14273]
34049         * math/libm-test.inc (cosh_test): Add more tests.
34050
34051         * version.h (RELEASE): Set to "development".
34052         (VERSION): Set to "2.16.90".
34053
34054 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34055
34056         * NEWS: Update copyright. Remove last-updated date.
34057         Mention math library bug fixes and timezone data changes.
34058         * README: Mention GNU/Hurd, x32, and HPPA support status.
34059
34060 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34061
34062         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34063
34064 2012-06-27  Andreas Jaeger  <aj@suse.de>
34065
34066         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34067
34068 2012-06-25  Andreas Jaeger  <aj@suse.de>
34069
34070         * sysdeps/s390/fpu/libm-test-ulps: Update.
34071
34072 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34073             Thomas Schwinge  <thomas@codesourcery.com>
34074
34075         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34076         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34078         fanotify_mark.
34079
34080 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34081
34082         * sysdeps/mach/start.c: Remove file.
34083         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34084         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34085         * sysdeps/sh/init-first.c: Likewise.
34086
34087         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34088         registers for frame unwinding purposes, add CFI directives.
34089         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34090         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34091         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34092         Likewise.
34093
34094         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34095         __fortify_fail returning.
34096         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34097
34098         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34099         sysdeps/sh/____longjmp_chk.S.
34100         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34101         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34102         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34103         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34104
34105         * sysdeps/sh/abort-instr.h: New file.
34106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34107         process in case exit returns.
34108
34109         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34110         initialize the GOT register before use.
34111
34112         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34113         calculation of ARGC > 4.
34114
34115         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34116         meaningful names to some local labels.
34117
34118 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34119             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34120
34121         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34122         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34123         (__arch_compare_and_exchange_val_16_acq): Likewise.
34124         (__arch_compare_and_exchange_val_32_acq): Likewise.
34125         (atomic_exchange_and_add): Fix gUSA sequence.
34126         (atomic_add): Likewise.
34127         (atomic_add_negative): Likewise.
34128         (atomic_add_zero): Likewise.
34129         (atomic_bit_test_set): Likewise.
34130
34131 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34132
34133         [BZ #13579]
34134         * include/link.h (struct link_map): Add l_free_initfini.
34135         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34136         l_initfini.
34137         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34138         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34139         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34140         set.
34141
34142 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34143
34144         * configure.in: Use AC_LANG_SOURCE.
34145         * configure: Regenerate.
34146
34147 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34148
34149         * configure.in (libc_cv_localstatedir): New substituted variable.
34150         * configure: Regenerated.
34151         * config.make.in (localstatedir): New variable, substituted from
34152         libc_cv_localstatedir.
34153         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34154         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34155         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34156         * sysdeps/gnu/configure: Regenerated.
34157
34158 2012-06-21  Jeff Law  <law@redhat.com>
34159
34160         [BZ #14277]
34161         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34162         free.  Simplify list management for _LIBC case.
34163
34164 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34165
34166         [BZ #14273]
34167         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34168         Clear sign bit of 64-bit integer value before comparing against
34169         overflow value.
34170
34171         * sysdeps/mach/configure: Regenerated.
34172
34173 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34174
34175         [BZ #14278]
34176         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34177
34178 2012-06-21  Jeff Law  <law@redhat.com>
34179
34180         [BZ #13882]
34181         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34182         uint16_t for elements in the "seen" array to avoid char overflows.
34183         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34184         * elf/dl-open.c (dl_open_worker): Likewise.
34185
34186 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34187
34188         * scripts/list-sources.sh: Scan PORTS for translations.
34189         * po/libc.pot: Regenerated.
34190
34191 2012-06-21  Andreas Jaeger  <aj@suse.de>
34192
34193         [BZ #12194]
34194         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34195         warning.
34196         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34197         * bits/byteswap-16.h (__bswap_16): Likewise.
34198         * bits/byteswap.h (__bswap_constant_16): Likewise.
34199
34200 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34201
34202         [BZ #14117]
34203         * sysdeps/i386/fpu_control.h: Removed.
34204         * sysdeps/x86_64/fpu_control.h: Moved to ...
34205         * sysdeps/x86/fpu_control.h: Here.
34206
34207         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34208         (_FPU_SETCW): Likewise.
34209
34210 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34211
34212         [BZ #14117]
34213         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34214         * sysdeps/x86/fpu/bits/mathinline.h: This.
34215         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34216
34217         [BZ #14050]
34218         [BZ #14117]
34219         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34220         functions if __x86_64__ is defined.
34221
34222 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34223
34224         * string/endian.h: Add !__ASSEMBLER__ condition for including
34225         conversion interfaces.
34226
34227 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34228
34229         [BZ #14241]
34230         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34231         of ABS(x) in calculating zero to negative powers other than odd
34232         integers.
34233         * math/libm-test.inc (pow_test): Add more tests.
34234
34235 2012-06-15  Andreas Jaeger  <aj@suse.de>
34236
34237         * manual/contrib.texi (Contributors): Update entry of Liubov
34238         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34239         Machado Filho.
34240
34241 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34242
34243         * string/string.h: Add __wur to GNU version of strerror_r.
34244
34245 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34246
34247         [BZ #14229]
34248         * string/Makefile (tests): Add tst-strtok_r.
34249         * string/tst-strtok_r.c: New file.
34250         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34251         RAX_LP/RDX_LP on SAVE_PTR.
34252
34253 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34254
34255         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34256
34257 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34258
34259         * libm_test.inc (csqrt_test): Allow more spurious underflow
34260         exceptions.
34261         (j0_test): Likewise.
34262         (j1_test): Likewise.
34263         (y0_test): Likewise.
34264         (y1_test): Likewise.
34265
34266 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34267
34268         * po/Makefile (libc.pot): Use UTF-8 charset.
34269
34270 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34271
34272         [BZ #14210]
34273         Suppress sign-conversion warning from FD_SET.
34274         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34275         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34276         not unsigned long int.
34277         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34278
34279 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34280
34281         [BZ #14050]
34282         [BZ #14117]
34283         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34284         __extern_always_inline instead of __extern_inline.
34285         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34286         (__signbit): Likewise.
34287         (__signbitl): Support C++ namespace.
34288         (lrintf): New inline function.
34289         (lrint): Likewise.
34290         (llrintf): Likewise.
34291         (llrint): Likewise.
34292         (fmaxf): Likewise.
34293         (fmax): Likewise.
34294         (fminf): Likewise.
34295         (fmin): Likewise.
34296         (rint): Likewise.
34297         (rintf): Likewise.
34298         (ceil): Likewise.
34299         (ceilf): Likewise.
34300         (floor): Likewise.
34301         (floorf): Likewise.
34302         (nearbyint): Likewise.
34303         (nearbyintf): Likewise.
34304
34305 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34306
34307         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34308         non-default versions.
34309
34310 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34311
34312         [BZ #14218]
34313         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34314
34315 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34316
34317         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34318         (FE_UPWARD, FE_DOWNWARD): Don't define.
34319         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34320         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34321
34322         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34323         reading it.
34324         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34325         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34326
34327 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34328
34329         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34330         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34331         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34332         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34333
34334 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34335
34336         [BZ #14117]
34337         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34338         * sysdeps/i386/fpu/Implies: New file.
34339         * sysdeps/x86_64/fpu/Implies: Likewise.
34340         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34341         * sysdeps/x86/fpu/bits/fenv.h: This.
34342
34343         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34344         __SSE_MATH__.
34345
34346 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34347
34348         [BZ #14134]
34349         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34350         character 0xffff that matches the last element of the
34351         conversion table.
34352
34353 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34354
34355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34356         fmodl commit.
34357
34358 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34359
34360         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34361         values higher than 25.6283.
34362
34363 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34364
34365         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34366         subnormal exponent extraction and add some __builtin_expect.
34367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34368         Fix for subnormal mantissa calculation.
34369
34370 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34371
34372         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34373         cpu2 is -1 and errno is not ENOSYS.
34374
34375 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34376
34377         [BZ #14117]
34378         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34379         * sysdeps/x86/bits/string.h: This.
34380         * sysdeps/x86_64/bits/string.h: Removed.
34381
34382         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34383         if not compiling for x86-64, but compiling for >= i486.
34384
34385         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34386         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34387
34388         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34389         New macro from Linux kernel 3.4.0.
34390         (FP_XSTATE_MAGIC2): Likewise.
34391         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34392         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34393         (struct _fpx_sw_bytes): New struct.
34394         (struct _xsave_hdr): Likewise.
34395         (struct _ymmh_state): Likewise.
34396         (struct _xstate): Likewise.
34397
34398         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34399         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34400         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34401         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34402         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34403         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34404
34405         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34406         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34407         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34408         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34409         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34410         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34411
34412 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34413
34414         [BZ #13743]
34415         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34416         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34417         (sysdep_headers): Include sys/platform/ppc.h.
34418         * sysdeps/powerpc/test-gettimebase.c: Test for
34419         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34420         * manual/Makefile (appendices): Include platform.texi.
34421         * manual/contrib.texi (Contributors): Update @node pointers.
34422         * manual/maint.texi (Maintenance): Likewise.
34423         (Platform): New node.
34424         * manual/platform.texi: New file.  Document the new features.
34425
34426 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34427             Jakub Jelinek  <jakub@redhat.com>
34428
34429         [BZ #14188]
34430         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34431         where __builtin_expect is unavailable.
34432
34433 2012-06-03  David S. Miller  <davem@davemloft.net>
34434
34435         * stdlib/longlong.h: Updated from GCC.
34436
34437 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34438
34439         [BZ #14042]
34440         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34441         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34442         __mcount_internal.
34443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34444         (GLIBC_2.16): Likewise.
34445
34446 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34447
34448         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34449
34450 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34451
34452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34453         (default-abi): New variable.
34454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34455         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34456         variable.
34457         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34458         Likewise.
34459         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34460         Likewise.
34461         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34462         Likewise.
34463
34464         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34465         definition.  Document in comment.
34466
34467 2012-06-01  David S. Miller  <davem@davemloft.net>
34468
34469         * stdlib/longlong.h: Updated from GCC.
34470
34471 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34472
34473         [BZ #14117]
34474         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34475         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34476         sys/debugreg.h sys/io.h here.
34477         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34478         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34479         sys/io.h.
34480         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34481         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34482         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34483         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34484         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34485         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34486
34487         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34488         Define only if __x86_64__ is defined.
34489
34490 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34491
34492         [BZ #14048]
34493         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34494         Use int64_t for variable i.
34495         * math/libm-test.inc (fmod_test): Add more tests.
34496
34497         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34498         z computation is not scheduled after fetestexcept.
34499         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34500         Use math_force_eval instead of asm to ensure calculation scheduled
34501         before exception test.
34502         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34503         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34504
34505 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34506
34507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34508         computation is not scheduled after fetestexcept.
34509
34510 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34511
34512         [BZ #14117]
34513         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34514         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34515
34516 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34517
34518         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34519         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34520
34521 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34522
34523         [BZ #14117]
34524         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34525         <bits/wordsize.h>.
34526         (__WCHAR_MIN): Support __WORDSIZE == 64.
34527         (__WCHAR_MAX): Likewise.
34528
34529         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34530         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34531
34532         [BZ #14183]
34533         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34534         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34535
34536         [BZ #14117]
34537         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34538         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34539
34540         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34541         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34542
34543         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34544         Defined to 1 if __x86_64__ isn't defined.
34545         (_STAT_VER_LINUX_OLD): New.
34546         (st_atime): Remove duplicate.
34547         (st_mtime): Likewise.
34548         (st_ctime): Likewise.
34549
34550 2012-05-31  David S. Miller  <davem@davemloft.net>
34551
34552         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34553         entries.
34554
34555 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34556
34557         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34558         gen-libm-test.pl.
34559
34560         [BZ #14132]
34561         * elf/dl-reloc.c: Include <_itoa.h>.
34562         (_dl_reloc_bad_type): Remove use of INTUSE.
34563         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34564         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34565         * stdio-common/psiginfo.c (psiginfo): Likewise.
34566         * stdio-common/psignal.c (psignal): Likewise.
34567         * string/strsignal.c (strsignal): Likewise.
34568         * include/signal.h (_sys_siglist): Declare hidden proto.
34569         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34570         INTVARDEF with libc_hidden_data_def.
34571         * stdio-common/itoa-udigits.c: Likewise.
34572         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34573         (_itoa_lower_digits_internal): Remove declaration.
34574         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34575         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34576         (_sys_sigabbrev_internal): Remove aliases.
34577         (_sys_siglist): Define hidden alias.
34578
34579 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34580
34581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34582         bits/sysctl.h.
34583
34584 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34585
34586         [BZ #14117]
34587         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34588         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34589
34590         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34591         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34592         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34593         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34594         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34595         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34596
34597         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34598         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34599         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34600
34601         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34602         with __addr.
34603         (insw): Likewise.
34604         (insl): Likewise.
34605         (outsb): Likewise.
34606         (outsw): Likewise.
34607         (outsl): Likewise.
34608
34609         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34610         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34611         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34612
34613         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34614         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34615         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34616         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34617         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34618         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34619
34620         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34621         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34622
34623         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34624         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34625
34626         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34627         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34628         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34629
34630         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34631         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34632         to ...
34633         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34634
34635         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34636         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34637         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34638
34639         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34640         for x86-64.
34641         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34642
34643 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34644
34645         * math/math.h (M_El): Use two more decimal places.
34646         (M_LOG2El): Likewise.
34647         (M_LOG10El): Likewise.
34648         (M_LN2l): Likewise.
34649         (M_LN10l): Likewise.
34650         (M_PIl): Likewise.
34651         (M_PI_2l): Likewise.
34652         (M_PI_4l): Likewise.
34653         (M_1_PIl): Likewise.
34654         (M_2_PIl): Likewise.
34655         (M_2_SQRTPIl): Likewise.
34656         (M_SQRT2l): Likewise.
34657         (M_SQRT1_2l): Likewise.
34658
34659 2012-05-31  David S. Miller  <davem@davemloft.net>
34660
34661         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34662         values between float registers.
34663         * sysdeps/sparc/sparc64/memset.S: Likewise.
34664         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34665
34666 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34667
34668         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34669         -D_FORTIFY_SOURCE=1.
34670         (CPPFLAGS-tst-longjmp_chk.c): Define.
34671         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34672         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34673         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34674         CFLAGS-tst-wchar-h.c.
34675
34676 2012-05-31  Marek Polacek  <polacek@redhat.com>
34677
34678         [BZ #14132]
34679         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34680         __endmntent_internal): Remove declaration.
34681         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34682         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34683         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34684
34685 2012-05-30  David S. Miller  <davem@davemloft.net>
34686
34687         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34688         (___Q_simulate_exceptions): Use real FP ops rather than writing
34689         into the %fsr.
34690         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34691         Likewise.
34692
34693 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34694
34695         [BZ #14117]
34696         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34697         * sysdeps/x86/bits/xtitypes.h: This.
34698
34699         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34700         * sysdeps/x86/bits/wordsize.h: This.
34701
34702         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34703         * sysdeps/x86/bits/huge_vall.h: This.
34704
34705         * sysdeps/i386/bits/select.h: Removed.
34706         * sysdeps/x86_64/bits/select.h: Renamed to ...
34707         * sysdeps/x86/bits/select.h: This.
34708
34709         * sysdeps/i386/bits/setjmp.h: Removed.
34710         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34711         * sysdeps/x86/bits/setjmp.h: This.
34712
34713         * sysdeps/i386/bits/mathdef.h: Removed.
34714         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34715         * sysdeps/x86/bits/mathdef.h: This.
34716
34717 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34718
34719         [BZ #14132]
34720         * include/sys/socket.h (__connect_internal)
34721         (__libc_sa_len_internal): Remove declaration.
34722         (__connect, __libc_sa_len): Declare hidden_proto.
34723         (SA_LEN): Remove use of INTUSE.
34724         * socket/connect.c: Add libc_hidden_def.
34725         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34726         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34727         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34728         alias.
34729         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34730         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34731         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34732         of adding _internal alias.
34733
34734 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34735
34736         [BZ #14117]
34737         * sysdeps/i386/bits/link.h: Removed.
34738         * sysdeps/i386/bits/linkmap.h: Likewise.
34739         * sysdeps/x86_64/bits/link.h: Renamed to ...
34740         * sysdeps/x86/bits/link.h: This.
34741         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34742         * sysdeps/x86/bits/linkmap.h: This.
34743
34744         * sysdeps/i386/bits/endian.h: Removed.
34745         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34746         * sysdeps/x86/bits/endian.h: This.
34747
34748         * sysdeps/i386/bits/byteswap.h: Removed.
34749         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34750         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34751         * sysdeps/x86/bits/byteswap.h: This.
34752         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34753         * sysdeps/x86/bits/byteswap-16.h: This.
34754         * sysdeps/i386/Implies: Add x86.
34755         * sysdeps/x86_64/Implies: Likewise.
34756
34757 2012-05-30  David S. Miller  <davem@davemloft.net>
34758
34759         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34760         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34762         (FP_TRAPPING_EXCEPTIONS): Define.
34763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34764         (FP_TRAPPING_EXCEPTIONS): Define.
34765         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34766         subnormals only when inexact has been signalled or underflow
34767         exceptions are enabled.
34768         (_FP_PACK_CANONICAL): Likewise.
34769
34770 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34771
34772         [BZ #14183]
34773         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34774         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34775
34776 2012-05-30  Richard Henderson  <rth@twiddle.net>
34777
34778         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34779         with #ifndef NOT_IN_libc.
34780
34781         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34782         marked to avoid plt entry.
34783
34784 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34785
34786         [BZ #14112]
34787         * Makeconfig (default-abi): New macro.
34788         (abi-includes): Likewise.
34789         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34790         $(abi-$(default-abi)-lib-soname) for soname if defined.
34791         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34792         abi-variants.
34793         * Makefile (installed-stubs): Likewise.
34794         * include/stubs-biarch.h: Removed.
34795         * scripts/lib-names.awk: Only handle one library at a time.
34796         * scripts/soversions.awk: Remove WORDSIZE support.
34797         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34798         entries.
34799         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34800         Removed.
34801         (syscall-list-default-condition): Likewise.
34802         (syscall-list-default-condition): Likewise.
34803         (syscall-list-includes): Likewise.
34804         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34805         syscall-list-* with abi-*.  Handle undefined abi-variants.
34806         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34807         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34808         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34809         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34810         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34811         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34812         Removed.
34813         (syscall-list-32-options): Likewise.
34814         (syscall-list-32-condition): Likewise.
34815         (syscall-list-64-options): Likewise.
34816         (syscall-list-64-condition): Likewise.
34817         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34818         macro.
34819         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34820         Renamed to ...
34821         (abi-*): This.
34822         (abi-64-ld-soname): New macro.
34823         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34824         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34825         Renamed to ...
34826         (abi-*): This.
34827         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34828         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34829
34830 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34831
34832         * sysdeps/unix/sysv/linux/kernel-features.h
34833         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34834         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34835         include <kernel-features.h>.
34836         [!__NR_ftruncate64]: Remove conditional code.
34837         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34838         [__NR_ftruncate64]: Make code unconditional.
34839         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34840         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34841         include <kernel-features.h>.
34842         [!__NR_ftruncate64]: Remove conditional code.
34843         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34844         [__NR_ftruncate64]: Make code unconditional.
34845         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34847         include <kernel-features.h>.
34848         [!__NR_ftruncate64]: Remove conditional code.
34849         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34850         [__NR_ftruncate64]: Make code unconditional.
34851         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34853         include <kernel-features.h>.
34854         [!__NR_ftruncate64]: Remove conditional code.
34855         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34856         [__NR_ftruncate64]: Make code unconditional.
34857         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34858
34859         * configure.in (libc_cv_fpie): Weaken to a compile test using
34860         LIBC_TRY_CC_OPTION.
34861         * configure: Regenerated.
34862
34863 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34864
34865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34869         Refreshed.
34870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34876         Refreshed.
34877
34878 2012-05-27  David S. Miller  <davem@davemloft.net>
34879
34880         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34881         (___Q_zero): New.
34882         (__Q_simulate_exceptions): Return void.  Change to simulate
34883         exceptions by writing into the %fsr.
34884         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34885         (__Qp_handle_exceptions): Likewise.
34886         (numbers): Delete.
34887         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34888         __Qp_handle_exceptions.
34889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34890         __Qp_handle_exceptions.
34891         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34892         as unused and give dummy FP_RND_NEAREST initializer.
34893         (FP_INHIBIT_RESULTS): Define.
34894         (___Q_simulate_exceptions): Update declaration.
34895         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34896         formatting.
34897         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34898         as unused and give dummy FP_RND_NEAREST initializer.
34899         (__Qp_handle_exceptions): Update declaration.
34900         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34901         formatting.
34902
34903 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34904
34905         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34906         the temporary FPU control word.
34907         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34908         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34909         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34910         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34911         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34912         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34913         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34914         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34915         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34916         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34917         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34918
34919 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34920
34921         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34922         fields.
34923
34924 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34925
34926         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34927         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34928         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34929         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34930         Likewise.
34931         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34932         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34933         Likewise.
34934
34935 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34936
34937         * po/h.po: Update from translation team.
34938
34939 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34940
34941         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34942
34943         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34944         handling of denormals.
34945         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34946         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34947         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34948         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34949         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34951         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34952         Likewise.
34953
34954 2012-05-26  Marek Polacek  <polacek@redhat.com>
34955
34956         [BZ #14152]
34957         * math/libm-test.inc (fma_test): Don't always expect underflow
34958         exception.
34959
34960 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34961
34962         [BZ #12416]
34963         * elf/tst-execstack.c: Include stackinfo.h.
34964         (do_test): Adjust test case to ensure that pthread_getattr_np
34965         behaviour remains the same after marking stack executable.
34966
34967 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34968
34969         * sysdeps/unix/sysv/linux/kernel-features.h
34970         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34971         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34972         kernel-features.h.
34973         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34974         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34975         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34976         kernel-features.h.
34977         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34978         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34979
34980 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34981
34982         * configure.in: Define the default includes to being none.
34983         * configure: Regenerated.
34984
34985 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34986
34987         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34988         * sysdeps/x86_64/setjmp.S: Likewise.
34989         * sysdeps/i386/bsd-setjmp.S: Likewise.
34990         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34991         * sysdeps/i386/setjmp.S: Likewise.
34992         * sysdeps/i386/__longjmp.S: Likewise.
34993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34994         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34995
34996         * include/stap-probe.h: New file.
34997         * configure.in: Handle --enable-systemtap.
34998         * configure: Regenerated.
34999         * config.h.in (USE_STAP_PROBE): New #undef.
35000         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35001         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35002         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35003
35004 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35005
35006         [BZ #13717]
35007         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35008         to 2.4.0 where earlier.
35009         * sysdeps/unix/sysv/linux/configure: Regenerated.
35010         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
35019         [__ASSUME_32BITUIDS]: Make code unconditional.
35020         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35021         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35022         <kernel-features.h>.
35023         [__ASSUME_32BITUIDS]: Make code unconditional.
35024         [!__ASSUME_32BITUIDS]: Remove conditional code.
35025         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35026         <kernel-features.h>.
35027         [__ASSUME_32BITUIDS]: Make code unconditional.
35028         [!__ASSUME_32BITUIDS]: Remove conditional code.
35029         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35030         <kernel-features.h>.
35031         [__ASSUME_32BITUIDS]: Make code unconditional.
35032         [!__ASSUME_32BITUIDS]: Remove conditional code.
35033         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35034         <kernel-features.h>.
35035         [__ASSUME_32BITUIDS]: Make code unconditional.
35036         [!__ASSUME_32BITUIDS]: Remove conditional code.
35037         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35038         <kernel-features.h>.
35039         [__ASSUME_32BITUIDS]: Make code unconditional.
35040         [!__ASSUME_32BITUIDS]: Remove conditional code.
35041         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35042         <kernel-features.h>.
35043         [__ASSUME_32BITUIDS]: Make code unconditional.
35044         [!__ASSUME_32BITUIDS]: Remove conditional code.
35045         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35046         <kernel-features.h>.
35047         [__ASSUME_32BITUIDS]: Make code unconditional.
35048         [!__ASSUME_32BITUIDS]: Remove conditional code.
35049         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35050         <kernel-features.h>.
35051         [__ASSUME_32BITUIDS]: Make code unconditional.
35052         [!__ASSUME_32BITUIDS]: Remove conditional code.
35053         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35054         <kernel-features.h>.
35055         [__ASSUME_32BITUIDS]: Make code unconditional.
35056         [!__ASSUME_32BITUIDS]: Remove conditional code.
35057         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35058         <kernel-features.h>.
35059         [__ASSUME_32BITUIDS]: Make code unconditional.
35060         [!__ASSUME_32BITUIDS]: Remove conditional code.
35061         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35062         <kernel-features.h>.
35063         [__NR_setresgid] (__setresgid): Do not declare.
35064         [__ASSUME_32BITUIDS]: Make code unconditional.
35065         [!__ASSUME_32BITUIDS]: Remove conditional code.
35066         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35067         <kernel-features.h>.
35068         [__NR_setresuid] (__setresuid): Do not declare.
35069         [__ASSUME_32BITUIDS]: Make code unconditional.
35070         [!__ASSUME_32BITUIDS]: Remove conditional code.
35071         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35072         <kernel-features.h>.
35073         [__ASSUME_32BITUIDS]: Make code unconditional.
35074         [!__ASSUME_32BITUIDS]: Remove conditional code.
35075         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35076         <kernel-features.h>.
35077         [__ASSUME_32BITUIDS]: Make code unconditional.
35078         [!__ASSUME_32BITUIDS]: Remove conditional code.
35079         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35080         <kernel-features.h>.
35081         [__ASSUME_32BITUIDS]: Make code unconditional.
35082         [!__ASSUME_32BITUIDS]: Remove conditional code.
35083         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35084         <kernel-features.h>.
35085         [__ASSUME_32BITUIDS]: Make code unconditional.
35086         [!__ASSUME_32BITUIDS]: Remove conditional code.
35087         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35088         <kernel-features.h>.
35089         [__ASSUME_32BITUIDS]: Make code unconditional.
35090         [!__ASSUME_32BITUIDS]: Remove conditional code.
35091         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35092         <kernel-features.h>.
35093         [__ASSUME_32BITUIDS]: Make code unconditional.
35094         [!__ASSUME_32BITUIDS]: Remove conditional code.
35095         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35096         <kernel-features.h>.
35097         [__ASSUME_32BITUIDS]: Make code unconditional.
35098         [!__ASSUME_32BITUIDS]: Remove conditional code.
35099         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35100         <kernel-features.h>.
35101         [__ASSUME_32BITUIDS]: Make code unconditional.
35102         [!__ASSUME_32BITUIDS]: Remove conditional code.
35103         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35104         <kernel-features.h>.
35105         [__ASSUME_32BITUIDS]: Make code unconditional.
35106         [!__ASSUME_32BITUIDS]: Remove conditional code.
35107         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35108         <kernel-features.h>.
35109         [__ASSUME_32BITUIDS]: Make code unconditional.
35110         [!__ASSUME_32BITUIDS]: Remove conditional code.
35111         * sysdeps/unix/sysv/linux/kernel-features.h
35112         (__ASSUME_SETRESUID_SYSCALL): Remove.
35113         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35114         (__ASSUME_32BITUIDS): Likewise.
35115         (__ASSUME_LDT_WORKS): Likewise.
35116         (__ASSUME_O_DIRECTORY): Likewise.
35117         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35118         architecture but not kernel version.
35119         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35120         (__ASSUME_MMAP2_SYSCALL): Likewise.
35121         (__ASSUME_STAT64_SYSCALL): Likewise.
35122         (__ASSUME_IPC64): Likewise.
35123         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35124         <kernel-features.h>.
35125         [__ASSUME_32BITUIDS]: Make code unconditional.
35126         [!__ASSUME_32BITUIDS]: Remove conditional code.
35127         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35128         <kernel-features.h>.
35129         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35130         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35131         132096]: Remove conditional code.
35132         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35133         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35134         <kernel-features.h>.
35135         [__ASSUME_32BITUIDS]: Make code unconditional.
35136         [!__ASSUME_32BITUIDS]: Remove conditional code.
35137         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35138         <kernel-features.h>.
35139         [__ASSUME_32BITUIDS]: Make code unconditional.
35140         [!__ASSUME_32BITUIDS]: Remove conditional code.
35141         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35142         <kernel-features.h>.
35143         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35144         unconditional.
35145         (__setresgid): Do not declare.
35146         [__ASSUME_32BITUIDS]: Make code unconditional.
35147         [!__ASSUME_32BITUIDS]: Remove conditional code.
35148         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35149         <kernel-features.h>.
35150         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35151         unconditional.
35152         (__setresuid): Do not declare.
35153         [__ASSUME_32BITUIDS]: Make code unconditional.
35154         [!__ASSUME_32BITUIDS]: Remove conditional code.
35155         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35156         <kernel-features.h>.
35157         [__ASSUME_32BITUIDS]: Make code unconditional.
35158         [!__ASSUME_32BITUIDS]: Remove conditional code.
35159         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35160         <kernel-features.h>.
35161         [__ASSUME_32BITUIDS]: Make code unconditional.
35162         [!__ASSUME_32BITUIDS]: Remove conditional code.
35163
35164 2012-05-25  Richard Henderson  <rth@twiddle.net>
35165
35166         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35167         dl_hwcap to ifunc resolver.
35168         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35169         elf_ifunc_invoke.
35170         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35171         dl_hwcap to ifunc resolver.
35172         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35173
35174 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35175
35176         [BZ #14153]
35177         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35178         for |x| <= 2**-26, not 2**-57.
35179         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35180         exception.
35181
35182 2012-05-24  Jeff Law  <law@redhat.com>
35183
35184         * stdio-common/Makefile (tests): Add bug25.
35185         * stdio-common/bug25.c: New test.
35186
35187 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35188
35189         [BZ #13576]
35190         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35191         multiple of MALLOC_ALIGNMENT in size.
35192         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35193
35194 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35195
35196         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35197         Require >= 256.
35198         (FILENAME_MAX): Use macro-int-constant.
35199         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35200         (_IOFBF): Use macro-int-constant.
35201         (_IOLBF): Likewise.
35202         (_IONBF): Likewise.
35203         (SEEK_CUR): Likewise.
35204         (SEEK_END): Likewise.
35205         (SEEK_SET): Likewise.
35206         (TMP_MAX): Likewise.
35207         (EOF): Use macro-int-constant.  Require < 0.
35208         (NULL): Use macro-constant.  Require == 0.
35209         (stdin): Require type to be FILE *.
35210         (stdout): Likewise.
35211         (stderr): Likewise.
35212         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35213         macro-int-constant.
35214         (EXIT_SUCCESS): Likewise.
35215         (NULL): Use macro-constant.  Require == 0.
35216         (RAND_MAX): Use macro-int-constant.
35217         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35218         [C99-based standards] (strtof): Require function.
35219         [C99-based standards] (strtold): Likewise.
35220         [C99-based standards] (strtoll): Likewise.
35221         [C99-based standards] (strtoull): Likewise.
35222         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35223         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35224         [ISO || ISO99 || ISO11] (math.h): Likewise.
35225         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35226         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35227         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35228
35229 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35230
35231         [BZ #14132]
35232         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35233         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35234         * intl/dgettext.c (DCGETTEXT): Likewise.
35235         * intl/gettext.c (DCGETTEXT): Likewise.
35236         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35237         * posix/regex_internal.h (gettext): Likewise.
35238         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35239         Remove declaration.
35240         * include/argz.h (__argz_count_internal)
35241         (__argz_stringify_internal): Remove declaration.
35242         (__argz_count, __argz_stringify): Declare hidden proto.
35243         * intl/dcgettext.c: Remove use of INTDEF.
35244         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35245         * string/argz-stringify.c: Likewise.
35246         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35247         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35248         Declare hidden proto.
35249         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35250         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35251         Declare hidden proto.
35252         * include/stdio.h (__asprintf_internal): Don't declare.
35253         (__asprintf): Don't define as macro.  Declare hidden proto.
35254         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35255         (__fsetlocking): Declare hidden proto.
35256         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35257         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35258         hidden proto.
35259         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35260         (_IO_setlinebuf): Remove use of INTUSE.
35261         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35262         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35263         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35264         Remove declaration.
35265         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35266         (_IO_do_flush): Remove use of INTUSE.
35267         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35268         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35269         (_IO_adjust_column, _IO_least_wmarker)
35270         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35271         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35272         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35273         (_IO_default_doallocate, _IO_wdefault_doallocate)
35274         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35275         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35276         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35277         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35278         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35279         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35280         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35281         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35282         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35283         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35284         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35285         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35286         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35287         proto.
35288         (_IO_flush_all_internal, _IO_adjust_column_internal)
35289         (_IO_default_uflow_internal, _IO_default_finish_internal)
35290         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35291         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35292         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35293         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35294         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35295         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35296         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35297         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35298         (_IO_file_close_internal, _IO_file_close_it_internal)
35299         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35300         (_IO_file_init_internal, _IO_file_attach_internal)
35301         (_IO_file_fopen_internal, _IO_file_read_internal)
35302         (_IO_file_sync_internal, _IO_file_seek_internal)
35303         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35304         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35305         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35306         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35307         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35308         (_IO_list_all_internal, _IO_link_in_internal)
35309         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35310         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35311         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35312         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35313         (_IO_do_write_internal, _IO_padn_internal)
35314         (_IO_getline_info_internal, _IO_getline_internal)
35315         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35316         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35317         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35318         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35319         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35320         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35321         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35322         with libc_hidden_ver, remove use of INTUSE.
35323         * libio/genops.c: Likewise.
35324         * libio/freopen.c: Likewise.
35325         * libio/freopen64.c: Likewise.
35326         * libio/iofclose.c: Likewise.
35327         * libio/iofdopen.c: Likewise.
35328         * libio/iofflush.c: Likewise.
35329         * libio/iofflush_u.c: Likewise.
35330         * libio/iofgets.c: Likewise.
35331         * libio/iofgets_u.c: Likewise.
35332         * libio/iofopen.c: Likewise.
35333         * libio/iofopncook.c: Likewise.
35334         * libio/iofread.c: Likewise.
35335         * libio/iofread_u.c: Likewise.
35336         * libio/ioftell.c: Likewise.
35337         * libio/iofwrite.c: Likewise.
35338         * libio/iogetline.c: Likewise.
35339         * libio/iogets.c: Likewise.
35340         * libio/iogetwline.c: Likewise.
35341         * libio/iopadn.c: Likewise.
35342         * libio/iopopen.c: Likewise.
35343         * libio/ioseekoff.c: Likewise.
35344         * libio/ioseekpos.c: Likewise.
35345         * libio/iosetbuffer.c: Likewise.
35346         * libio/iosetvbuf.c: Likewise.
35347         * libio/ioungetc.c: Likewise.
35348         * libio/ioungetwc.c: Likewise.
35349         * libio/iovdprintf.c: Likewise.
35350         * libio/iovsprintf.c: Likewise.
35351         * libio/iovsscanf.c: Likewise.
35352         * libio/memstream.c: Likewise.
35353         * libio/obprintf.c: Likewise.
35354         * libio/oldfileops.c: Likewise.
35355         * libio/oldiofclose.c: Likewise.
35356         * libio/oldiofdopen.c: Likewise.
35357         * libio/oldiofopen.c: Likewise.
35358         * libio/oldiopopen.c: Likewise.
35359         * libio/oldstdfiles.c: Likewise.
35360         * libio/putc.c: Likewise.
35361         * libio/setbuf.c: Likewise.
35362         * libio/setlinebuf.c: Likewise.
35363         * libio/stdfiles.c: Likewise.
35364         * libio/strops.c: Likewise.
35365         * libio/vasprintf.c: Likewise.
35366         * libio/vscanf.c: Likewise.
35367         * libio/vsnprintf.c: Likewise.
35368         * libio/vswprintf.c: Likewise.
35369         * libio/wfiledoalloc.c: Likewise.
35370         * libio/wfileops.c: Likewise.
35371         * libio/wgenops.c: Likewise.
35372         * libio/wmemstream.c: Likewise.
35373         * libio/wstrops.c: Likewise.
35374         * libio/__fpurge.c: Likewise.
35375         * libio/__fsetlocking.c: Likewise.
35376         * assert/assert.c: Likewise.
35377         * debug/fgets_chk.c: Likewise.
35378         * debug/fgets_u_chk.c: Likewise.
35379         * debug/fread_chk.c: Likewise.
35380         * debug/fread_u_chk.c: Likewise.
35381         * debug/gets_chk.c: Likewise.
35382         * debug/obprintf_chk.c: Likewise.
35383         * debug/vasprintf_chk.c: Likewise.
35384         * debug/vdprintf_chk.c: Likewise.
35385         * debug/vsnprintf_chk.c: Likewise.
35386         * debug/vsprintf_chk.c: Likewise.
35387         * malloc/mtrace.c: Likewise.
35388         * misc/error.c: Likewise.
35389         * misc/syslog.c: Likewise.
35390         * stdio-common/asprintf.c: Likewise.
35391         * stdio-common/fxprintf.c: Likewise.
35392         * stdio-common/getw.c: Likewise.
35393         * stdio-common/isoc99_fscanf.c: Likewise.
35394         * stdio-common/isoc99_scanf.c: Likewise.
35395         * stdio-common/isoc99_vfscanf.c: Likewise.
35396         * stdio-common/isoc99_vscanf.c: Likewise.
35397         * stdio-common/isoc99_vsscanf.c: Likewise.
35398         * stdio-common/printf-prs.c: Likewise.
35399         * stdio-common/printf_fp.c: Likewise.
35400         * stdio-common/printf_fphex.c: Likewise.
35401         * stdio-common/printf_size.c: Likewise.
35402         * stdio-common/putw.c: Likewise.
35403         * stdio-common/scanf.c: Likewise.
35404         * stdio-common/sprintf.c: Likewise.
35405         * stdio-common/tmpfile.c: Likewise.
35406         * stdio-common/vfprintf.c: Likewise.
35407         * stdio-common/vfscanf.c: Likewise.
35408         * stdlib/strfmon_l.c: Likewise.
35409         * sunrpc/openchild.c: Likewise.
35410         * sunrpc/xdr_stdio.c: Likewise.
35411         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35412         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35413
35414 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35415
35416         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35417
35418         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35419         in the third column, to generate for the shared library an IFUNC
35420         that uses _dl_vdso_vsym.
35421         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35422         * Makeconfig (object-suffixes-noshared): New variable.
35423
35424         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35425         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35426         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35427         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35428
35429         [BZ #14132]
35430         * include/sys/time.h (__gettimeofday): Remove macro.
35431         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35432         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35433         Remove INTDEF.
35434         (__gettimeofday): Add libc_hidden_def.
35435         (gettimeofday): Add libc_hidden_weak.
35436         * sysdeps/mach/gettimeofday.c: Likewise.
35437         * sysdeps/posix/gettimeofday.c: Likewise.
35438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35439         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35440         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35441         (__gettimeofday_internal): Remove strong_alias.
35442         (__gettimeofday): Add libc_hidden_def.
35443         (gettimeofday): Add libc_hidden_weak.
35444         * sysdeps/unix/syscalls.list (gettimeofday):
35445         Remove __gettimeofday_internal alias.
35446
35447 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35448             H.J. Lu  <hongjiu.lu@intel.com>
35449
35450         [BZ #12495]
35451         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35452         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35453         (largebin_index_32_big): New.
35454         (largebin_index): Use it for 16-byte alignment.
35455         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35456         correction with front_misalign.
35457
35458 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35459
35460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35462         Likewise.
35463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35464         Likewise.
35465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35466         Likewise.
35467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35468         Likewise.
35469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35470         Likewise.
35471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35472         Likewise.
35473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35474         Likewise.
35475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35476         Likewise.
35477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35478         Likewise.
35479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35480         Likewise.
35481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35482         Likewise.
35483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35484         Likewise.
35485
35486         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35487         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35488
35489 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35490
35491         [BZ #10846]
35492         [BZ #14036]
35493         * math/libm-test.inc (exp_test): Add test from bug 14036.
35494         (pow_test): Add test from bug 10846.
35495
35496         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35497         and other flags.
35498         (special_function): Do not include flags in test name.
35499         (parse_args): Likewise.
35500         * sysdeps/i386/fpu/libm-test-ulps: Update.
35501         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35502         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35503         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35505
35506         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35507         exceptions.
35508         * math/libm-test.inc ("Philosophy"): Update comment about
35509         exception testing.
35510         (UNDERFLOW_EXCEPTION): New macro.
35511         (UNDERFLOW_EXCEPTION_OK): Likewise.
35512         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35513         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35514         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35515         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35516         (INVALID_EXCEPTION_OK): Update value.
35517         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35518         (OVERFLOW_EXCEPTION_OK): Likewise.
35519         (IGNORE_ZERO_INF_SIGN): Likewise.
35520         (test_exceptions): Handle underflow exceptions.
35521         (acos_test): Update for underflow exception expectations.
35522         (cexp_test): Likewise.
35523         (clog_test): Likewise.
35524         (clog10_test): Likewise.
35525         (csqrt_test): Likewise.
35526         (ctan_test): Likewise.
35527         (ctanh_test): Likewise.
35528         (exp_test): Likewise.
35529         (exp10_test): Likewise.
35530         (exp2_test): Likewise.
35531         (expm1_test): Likewise.
35532         (fma_test): Likewise.
35533         (j0_test): Likewise.
35534         (jn_test): Likewise.
35535         (nexttoward_test): Likewise.
35536         (pow_test): Likewise.
35537         (scalbn_test): Likewise.
35538         (scalbln_test): Likewise.
35539         (tan_test): Likewise.
35540         (y1_test): Likewise.
35541         * sysdeps/i386/fpu/libm-test-ulps: Update.
35542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35543
35544 2012-05-23  David S. Miller  <davem@davemloft.net>
35545
35546         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35547         (__libc_sigaction): Remove unused local variables.
35548
35549 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35550
35551         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35552
35553 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35554
35555         mktime: avoid signed integer overflow
35556         * time/mktime.c (__mktime_internal): Do not mishandle the case
35557         where diff == INT_MIN.
35558
35559         mktime: simplify computation of average
35560         * time/mktime.c (ranged_convert): Use new time_t_avg function
35561         instead of rolling our own (probably-slower) code.
35562
35563         mktime: do not assume signed right shift propagates sign bit
35564         * time/mktime.c (isdst_differ): New static function.
35565         (__mktime_internal): No need to normalize tm_isdst now.
35566         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35567         tm_isdst values.
35568
35569         mktime: merge another wrapv change from gnulib
35570         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35571         from some compilers.
35572
35573         mktime: remove incorrect attempt at unusual arithmetics
35574         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35575         The code didn't really work on such machines anyway.
35576         (TYPE_MINIMUM): Assume two's complement.
35577         (twos_complement_arithmetic): Verify that long_int and time_t
35578         are two's complement (or unsigned, in the latter case).
35579
35580         mktime: check signed shifts on long_int and time_t, too
35581         * time/mktime.c (SHR): Check that shifts work as desired
35582         on the types long_int and time_t too, as SHR is used on
35583         such types.
35584
35585         mktime: do not assume 'long' is wide enough
35586         * time/mktime.c (verify): Move decl up.
35587         (long_int): New type.
35588         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35589         to remove assumption in the code that 'long' is wide enough to
35590         store year values.  This assumption is not true on x32 and on
35591         some non-glibc platforms.
35592
35593         mktime: merge wrapv change from gnulib
35594         * time/mktime.c (WRAPV): New macro.
35595         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35596         (guess_time_tm, __mktime_internal): Do not assume that signed
35597         integer overflow wraps around; modern compilers generate code
35598         where this assumption is no longer valid.
35599
35600 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35601
35602         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35603         Replace "jmp L(pseudo_end)" with "ret".
35604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35605         Likewise.
35606
35607 2012-05-23  Andreas Jaeger  <aj@suse.de>
35608
35609         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35610         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35611
35612 2012-05-23  Andreas Jaeger  <aj@suse.de>
35613             Maximilian Attems  <max@stro.at>
35614
35615         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35616         New macros.
35617
35618 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35619
35620         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35621         code so that pseudo_end is just ret and the stack pointer is
35622         correct also for static library in error case.
35623
35624 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35625
35626         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35627         move to syscalls.list.
35628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35632
35633         * manual/install.texi (Running make install): Do not mention Linux
35634         kernel version for which pt_chown is not needed.
35635         (Linux): Do not mention problems with nscd with 2.0 kernels.
35636         * INSTALL: Regenerated.
35637
35638 2012-05-23  Andreas Jaeger  <aj@suse.de>
35639
35640         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35641         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35642         macro.
35643         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35644         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35645         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35646         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35647         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35648         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35649         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35650         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35651         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35653         * sysdeps/unix/sysv/linux/bits/in.h
35654         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35655
35656 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35657
35658         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35659         (PREPARE_VERSION): Just use assert instead, it will be elided
35660         under [NDEBUG] anyway.
35661
35662 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35663
35664         * sysdeps/unix/sysv/linux/Makefile: Include
35665         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35666         (sysdep_routines): Remove sysctl.
35667         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35668         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35669         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35670         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35671         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35672
35673 2012-05-22  Andreas Jaeger  <aj@suse.de>
35674
35675         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35676         that pseudo_end is just ret and the stack pointer is correct also
35677         for static library in error case.
35678
35679 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35680
35681         [BZ #14122]
35682         * nss/nsswitch.c (defconfig_entries): New variable.
35683         (__nss_database_lookup): Don't leak defconfig entries.
35684         (nss_parse_service_list): Don't leak on error paths.
35685         (free_database_entries): New function.
35686         (free_defconfig): New function.
35687         (free_mem): Move common code to free_database_entries.
35688
35689 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35690
35691         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35692         Add arch_prctl.
35693         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35694
35695         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35696         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35698         New macro.
35699         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35700         (INTERNAL_SYSCALL_TYPES): Likewise.
35701         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35702         (LOAD_REGS_TYPES_[1-6]): Likewise.
35703         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35704         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35705
35706 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35707
35708         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35709         copysignl for GLIBC_2_0.
35710         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35711         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35712         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35713         logbl for GLIBC_2_0.
35714         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35715         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35716
35717 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35718
35719         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35720         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35721
35722         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35723         Use "neg %eax".
35724
35725         * time/mktime.c: Update copyright years.
35726
35727 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35728
35729         mktime: merge comment-quoting-style change from gnulib
35730         * time/mktime.c: Quote 'like this' in comments.
35731         The GNU coding standards suggest that we no longer quote `like this',
35732         as "`" and "'" are typically rendered asymmetrically nowadays.
35733         The typical gnulib style is to quote 'like this' when quoting
35734         code, and "like this" when quoting English.
35735
35736         * time/mktime.c (compile-command): Add "-I.".
35737
35738         mktime: merge mktime-internal.h change from gnulib
35739         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35740
35741         mktime: merge time_r change from gnulib
35742         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35743
35744         mktime: merge DEBUG change from gnulib
35745         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35746         case system <time.h> has a #define.
35747
35748         mktime: merge <sys/types.h> change from gnulib
35749         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35750         since <time.t> is now guaranteed to define time_t.
35751
35752         mktime: merge HAVE_CONFIG_H change from gnulib
35753         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35754
35755 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35756
35757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35758         Use "neg %eax".
35759
35760         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35761         __rlim_t cast.
35762         (struct rusage): Use anonymous union to pad each field to
35763         __syscall_slong_t.
35764
35765 2012-05-21  David S. Miller  <davem@davemloft.net>
35766
35767         * Makefules (o-iterator): Remove .s cases.
35768         (compile-command.s): Delete.
35769         (COMPILE.s): Delete.
35770         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35771
35772 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35773
35774         * configure.in (libc_cv_predef_stack_protector): Only consider
35775         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35776         * configure: Regenerated.
35777
35778 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35779
35780         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35781         New macro.  Use R*LP on int and pointer.
35782         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35783         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35784         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35785         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35786
35787         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35788         [__WORDSIZE_TIME64_COMPAT32] instead of
35789         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35790         (struct utmp): Likewise.
35791         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35792         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35793         Renamed to ...
35794         (__WORDSIZE_TIME64_COMPAT32): This.
35795         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35796         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35797         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35798         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35799         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35800         (__WORDSIZE_TIME64_COMPAT32): New macro.
35801
35802 2012-05-21  Andreas Jaeger  <aj@suse.de>
35803
35804         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35805         only if [SHARED]. Add prototype for __wcschr_ia32.
35806
35807 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35808
35809         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35810         of %rbp unmolested in the jmp_buf while mangling the low bits.
35811         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35812         unmolested high bits of %rbp while demangling the low bits.
35813         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35814
35815 2012-05-21  Andreas Jaeger  <aj@suse.de>
35816
35817         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35818         * sunrpc/svc_simple.c: Use it for registerrpc.
35819         * sunrpc/xcrypt.c: Use it for passwd2des.
35820
35821         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35822
35823 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35824
35825         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35826         Don't define if [__SYSCALL_WORDSIZE != 32].
35827         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35828         New macro.
35829
35830 2012-05-21  Bruno Haible  <bruno@clisp.org>
35831             Andreas Jaeger  <aj@suse.de>
35832
35833         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35834         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35835         inptr and inend for must_buffer_ch.
35836         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35837         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35838         * stdio-common/Makefile (tests): Remove bug15.
35839         (bug15-ENV): Remove macro.
35840         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35841         anymore.
35842
35843 2012-05-19  Andreas Jaeger  <aj@suse.de>
35844             Roland McGrath  <roland@hack.frob.com>
35845
35846         * manual/contrib.texi: Completely rewritten. It contains now an
35847         alphabetical list of contributors and their contributions.
35848
35849 2012-05-21  Richard Henderson  <rth@twiddle.net>
35850
35851         * misc/getauxval.c (__getauxval): Use unsigned long int.
35852         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35853         (getauxval): Use unsigned long int.
35854
35855 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35856
35857         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35858
35859 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35860
35861         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35862         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35863         __alignof__ (long double).
35864
35865 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35866
35867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35868
35869 2012-05-20  Richard Henderson  <rth@twiddle.net>
35870
35871         * misc/getauxval.c: New file.
35872         * misc/sys/auxv.h: New file.
35873         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35874         (routines): Add getauxval.
35875         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35876         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35877         * elf/dl-sysdep.c (_dl_auxv): Remove.
35878         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35879         * elf/dl-support.c (_dl_auxv): New variable.
35880         (_dl_aux_init): Initialize it.
35881         * manual/startup.texi (Auxiliary Vector): New node.
35882         * sysdeps/generic/bits/hwcap.h: New file.
35883         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35884         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35885         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35886         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35887         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35888         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35890         Update.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35899
35900 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35901
35902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35903
35904 2012-05-19  David S. Miller  <davem@davemloft.net>
35905
35906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35907
35908 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35909
35910         [BZ #14123]
35911         * math/s_ccosh.c: Include <float.h>
35912         (__ccosh): Avoid internal overflow calculating sinh and cosh
35913         values before multiplying by sin and cos values.
35914         * math/s_ccoshf.c: Likewise.
35915         * math/s_ccoshl.c: Likewise.
35916         * math/s_csin.c: Likewise.
35917         * math/s_csinf.c: Likewise.
35918         * math/s_csinl.c: Likewise.
35919         * math/s_csinh.c: Likewise.
35920         * math/s_csinhf.c: Likewise.
35921         * math/s_csinhl.c: Likewise.
35922         * math/libm-test.inc (ccos_test): Add more tests.
35923         (ccosh_test): Likewise.
35924         (csin_test): Likewise.
35925         (csinh_test): Likewise.
35926         * sysdeps/i386/fpu/libm-test-ulps: Update.
35927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35928
35929 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35930
35931         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35932         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35933
35934         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35935
35936 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35937
35938         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35939         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35940         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35941         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35942         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35943         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35944         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35945         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35946         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35947         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35948         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35949         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35950         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35951         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35952         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35953         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35954         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35955         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35956         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35957         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35958         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35959         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35960         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35961         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35962         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35963         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35964         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35965         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35966         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35967         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35968         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35969
35970 2012-05-18  Andreas Jaeger  <aj@suse.de>
35971
35972         * csu/.gitignore: Delete.
35973
35974 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35975
35976         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35977         (timex): Use __syscall_slong_t.
35978
35979 2012-05-18  Andreas Jaeger  <aj@suse.de>
35980             Carlos O'Donell  <carlos_odonell@mentor.com>
35981
35982         * manual/install.texi (Configuring and compiling): Update
35983         description about files modified in the source directory.
35984         * INSTALL: Regenerated.
35985
35986 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35987
35988         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35989         value.  Use "or" to set return value to -1.
35990         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35991         negate return value.
35992
35993 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35994
35995         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35996         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35997         failure if the compiler has Graphite support disabled.
35998         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35999         Likewise.
36000         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36001         (CFLAGS-memmove.c): Likewise.
36002         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36003         Likewise.
36004
36005 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36006
36007         * sysdeps/x86_64/x32/_itoa.h: New file.
36008
36009         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36010         getdents system call only if kernel and user dirents have the
36011         same d_ino and d_off.
36012
36013         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36014         LLONG_MAX != LONG_MAX.
36015         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36016         (_fitoa_word): Likewise.
36017
36018         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36019         years.
36020         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36021         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36022         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36023
36024         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36025         include <bits/wordsize.h>.  Check __x86_64__ instead of
36026         __WORDSIZE.
36027         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36028         if __x86_64__ is defined.  Use anonymous union on fpstate.
36029
36030         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36031         anonymous union.
36032
36033 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36034
36035         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36036         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36037         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36038         Refer to _rtld_local_ro instead of _rtld_global_ro.
36039         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36040         Likewise.
36041         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36042         Likewise.
36043         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36044         Likewise.
36045         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36046         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36047         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36048
36049         * sysdeps/powerpc/powerpc32/dl-machine.c
36050         (__elf_machine_runtime_setup) [PROF]: Don't reference
36051         _dl_prof_resolve.
36052
36053 2012-05-18  Andreas Jaeger  <aj@suse.de>
36054
36055         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36056         function only available for GCCs before 3.4 since GCC 3.4
36057         introduced a builtin.
36058         (lrint): Likewise.
36059         (llrintf): Likewise.
36060         (llrint): Likewise.
36061         (fmaxf): Likewise.
36062         (fmax): Likewise.
36063         (fminf): Likewise.
36064         (fmin): Likewise.
36065         (rint): Likewise.
36066         (rintf): Likewise.
36067         (nearbyint): Likewise.
36068         (nearbyintf): Likewise.
36069         (ceil): Likewise.
36070         (ceilf): Likewise.
36071         (floor): Likewise.
36072         (floorf): Likewise.
36073
36074 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36075
36076         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36077         on both fields and cast pointer to __syscall_ulong_t.
36078
36079         * bits/types.h (__fsword_t): New type.
36080         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36081         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36082         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36083         (__FSWORD_T_TYPE): Likewise.
36084         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36085         (__FSWORD_T_TYPE): Likewise.
36086         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36087         (__FSWORD_T_TYPE): Likewise.
36088         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36089         (__FSWORD_T_TYPE): Likewise.
36090         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36091         __SWORD_TYPE with __fsword_t.
36092         (statfs64): Likewise.
36093
36094 2012-05-17  David S. Miller  <davem@davemloft.net>
36095
36096         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36097
36098 2012-05-17  Andreas Jaeger  <aj@suse.de>
36099
36100         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36101         warning.
36102
36103 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36104
36105         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36106
36107 2012-05-17  Andreas Jaeger  <aj@suse.de>
36108
36109         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36110         when it is used.
36111
36112 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36113
36114         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36115
36116 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36117
36118         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36119         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36120
36121 2012-05-17  Andreas Jaeger  <aj@suse.de>
36122             Carlos O'Donell  <carlos_odonell@mentor.com>
36123
36124         [BZ #14059]
36125         * sysdeps/x86_64/multiarch/init-arch.h
36126         (bit_YMM_Usable): Rename to...
36127         (bit_AVX_Usable): ... this.
36128         (bit_FMA4_Usable): New macro.
36129         (bit_XMM_state): New macro.
36130         (bit_YMM_state): New macro.
36131         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36132         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36133         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36134         (CPUID_OSXSAVE): New macro.
36135         (CPUID_AVX): New macro.
36136         (CPUID_FMA4): New macro.
36137         (index_YMM_Usable): Rename to...
36138         (index_AVX_Usable): ... this.
36139         (HAS_AVX): Use HAS_ARCH_FEATURE.
36140         (HAS_FMA4): Likewise.
36141         (HAS_YMM_USABLE): Remove.
36142         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36143         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36144         are present.
36145         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36146         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36147         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36148         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36149         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36150
36151 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36152
36153         * math/libm-test.c: Support platforms without multiple rounding modes.
36154         * math/bug-nextafter.c: Support platforms without FP exceptions.
36155         * math/bug-nexttoward.c: Likewise.
36156         * math/test-fenv.c: Likewise.
36157         * math/test-misc.c: Likewise.
36158         * stdlib/bug-getcontext.c: Likewise.
36159
36160 2012-05-17  Andreas Jaeger  <aj@suse.de>
36161
36162         * manual/examples/search.c (critter_cmp): Change signature to
36163         avoid warnings.
36164         * manual/string.texi (Collation Functions): Likewise.
36165
36166 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36167
36168         * bits/types.h: Fold copyright years.
36169         * bits/typesizes.h: Likewise.
36170         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36171         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36173         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36174         * time/time.h: Likewise.
36175
36176 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36177
36178         [BZ #208]
36179         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36180         in instead of returning them.  Return void.
36181         (__libc_mallinfo): Accumulate over all arenas.
36182         (__malloc_stats): Adjust for change in int_mallinfo interface.
36183
36184 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36185
36186         [BZ #10375]
36187         * configure.in (NM): Add AC_CHECK_TOOL for it.
36188         (libc_extra_cflags): New substituted variable.
36189         Check for -fstack-protector being used implicitly.
36190         * configure: Regenerated.
36191         * config.make.in (config-extra-cflags): New variable,
36192         gets @libc_extra_cflags@.
36193         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36194
36195         [BZ #10375]
36196         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36197         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36198         * configure: Regenerated.
36199         * config.make.in (CPPUNDEFS): New substituted variable.
36200         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36201         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36202         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36203
36204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36205
36206         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36207         (mq_attr): Use __syscall_slong_t.
36208
36209 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36210
36211         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36212         Check __x86_64__ instead of __WORDSIZE.
36213         (_STAT_VER_LINUX): Likewise.
36214         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36215         __syscall_ulong_t and __syscall_slong_t.
36216         (stat64): Likewise.
36217
36218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36219
36220         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36221
36222 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36223
36224         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36225
36226 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36227
36228         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36229         __syscall_ulong_t.
36230
36231         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36232         include <bits/wordsize.h>.  Check __x86_64__ instead of
36233         __WORDSIZE.
36234         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36235         defined.
36236         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36237
36238         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36239         include <bits/wordsize.h>.  Check __x86_64__ instead of
36240         __WORDSIZE.
36241         (user_regs_struct): Use "__extension__ unsigned long long"
36242         instead of "unsigned long" if __x86_64__ is defined.
36243         (user): Likewise.  Pad after pointer field if __ILP32__ is
36244         defined.
36245
36246 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36247
36248         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36249         versions 5 to 9.
36250         * configure: Regenerated.
36251         * manual/install.texi (texinfo): Increase version requirement to
36252         4.5 or later.
36253         * INSTALL: Regenerated.
36254
36255         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36256
36257 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36258
36259         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36260
36261         * sysdeps/x86_64/x32/ffs.c: New file.
36262
36263         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36264         __syscall_ulong_t.
36265         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36266         defined.  Use __syscall_ulong_t.
36267         (shminfo): Use __syscall_ulong_t.
36268         (shm_info): Likewise.
36269
36270         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36271         __syscall_ulong_t.
36272
36273         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36274         <bits/wordsize.h>.
36275         (msgqnum_t): Use __syscall_ulong_t.
36276         (msglen_t): Likewise.
36277         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36278         __syscall_ulong_t.
36279
36280         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36281         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36282
36283         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36284
36285         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36286         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36287
36288         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36289         __syscall_slong_t.
36290
36291         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36292         include <bits/wordsize.h>.  Check __x86_64__ instead of
36293         __WORDSIZE.
36294
36295         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36296         "unsigned long long int" if __x86_64__ is defined.
36297         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36298
36299         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36300         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36301         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36302
36303         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36304         <stdint.h>.
36305         (GET_PC): Cast to uintptr_t first.
36306         (GET_FRAME): Likewise.
36307         (GET_STACK): Likewise.
36308
36309         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36310         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36311         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36312         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36313         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36314         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36315         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36316         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36317         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36318         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36319         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36320         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36321         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36322         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36323         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36324         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36325         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36326         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36327         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36328         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36329         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36330         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36331         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36332         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36333         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36334         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36335         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36336         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36337         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36338
36339 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36340
36341         * Makerules (+depfiles): Also collect depfiles from .oS in
36342         $(extra-objs).
36343         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36344         .oS, $(libnldbl-routines)).
36345
36346         * Makerules (native-compile-mkdep-flags): Define.
36347         * sunrpc/Makefile (extra-objs): Add $(addprefix
36348         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36349         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36350         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36351         calling $(make-target-directory).
36352
36353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36354
36355         * bits/types.h (__snseconds_t): Removed.
36356         * time/time.h (struct timespec): Replace __snseconds_t with
36357         __syscall_slong_t.
36358         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36359         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36360         Likewise.
36361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36362         (__SNSECONDS_T_TYPE): Likewise.
36363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36364         (__SNSECONDS_T_TYPE): Likewise.
36365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36366         (__SNSECONDS_T_TYPE): Likewise.
36367
36368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36369
36370         * sysdeps/mach/hurd/bits/typesizes.h
36371         (__SYSCALL_SLONG_TYPE): New macro.
36372         (__SYSCALL_ULONG_TYPE): Likewise.
36373
36374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36375
36376         * bits/types.h (__syscall_slong_t): New type.
36377         (__syscall_ulong_t): Likewise.
36378
36379         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36380         (__SYSCALL_ULONG_TYPE): Likewise.
36381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36382         (__SYSCALL_SLONG_TYPE): Likewise.
36383         (__SYSCALL_ULONG_TYPE): Likewise.
36384         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36385         (__SYSCALL_SLONG_TYPE): Likewise.
36386         (__SYSCALL_ULONG_TYPE): Likewise.
36387         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36388         (__SYSCALL_SLONG_TYPE): Likewise.
36389         (__SYSCALL_ULONG_TYPE): Likewise.
36390
36391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36392
36393         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36394         Add sigaltstack-offsets.sym.
36395         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36396         <sigaltstack-offsets.h>.
36397         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36398         longjmp_msg pointer.
36399         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36400         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36401         signal stack.
36402         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36403
36404 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36405
36406         * elf/stackguard-macros.h: Remove file.
36407         * sysdeps/generic/stackguard-macros.h: New file.
36408         * sysdeps/i386/stackguard-macros.h: Likewise.
36409         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36410         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36411         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36412         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36413         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36414         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36415         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36416         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36417         <elf/stackguard-macros.h>.
36418
36419         [BZ #14109]
36420         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36421         __aligned__ in attribute.
36422         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36423         (gregset_t): Likewise.
36424
36425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36426
36427         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36428         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36429         * sysdeps/x86_64/x32/Implies-after: New file.
36430
36431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36432
36433         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36434         and access return value for _dl_profile_fixup.  Use R10_LP to
36435         load frame size.
36436
36437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36438
36439         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36440
36441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36442
36443         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36444         * sysdeps/x86_64/x32/sysdep.h: New file.
36445
36446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36447
36448         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36449         * sysdeps/x86_64/setjmp.S: Likewise.
36450
36451 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36452
36453         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36454         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36455         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36456         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36457         remove unused global constant.
36458
36459 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36460
36461         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36462         include of <not-cancel.h>.
36463
36464 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36465
36466         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36467
36468 2012-05-15  Jeff Law  <law@redhat.com>
36469             Andreas Jaeger  <aj@suse.de>
36470
36471         [BZ #13594]
36472         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36473         out from...
36474         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36475         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36476         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36477         code changing __hst_map_handle.map.
36478
36479 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36480
36481         * configure.in (sysnames): Look for Implies-before and Implies-after
36482         files.
36483         * configure: Regenerated.
36484
36485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36486
36487         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36488         8-byte data alignment with LP_SIZE alignment.
36489
36490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36491
36492         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36493         into R10_LP.
36494
36495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36496
36497         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36498
36499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36500
36501         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36502         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36503         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36504         Likewise.
36505         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36506
36507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36508
36509         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36510         (stackinfo_sub_sp): Likewise.
36511
36512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36513
36514         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36515         RAX_LP.
36516
36517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36518
36519         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36520         into R*_LP.
36521
36522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36523
36524         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36525         sizes into R*_LP.
36526
36527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36528
36529         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36530
36531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36532
36533         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36534         into R11_LP and load __x86_64_shared_cache_size_half into
36535         R8_LP.
36536
36537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36538
36539         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36540         R8_LP.
36541
36542 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36543
36544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36545         logb for POWER7.
36546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36547         logbf for POWER7.
36548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36549         logbl for POWER7.
36550         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36551         powerpc32/power7/fpu/s_logb.c via #include.
36552         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36553         powerpc32/power7/fpu/s_logbf.c via #include.
36554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36555         powerpc32/power7/fpu/s_logbl.c via #include.
36556
36557 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36558
36559         * README.libm: Remove file.
36560
36561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36562
36563         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36564         count for x32.  Use R*_LP and omit operand-size suffix.
36565
36566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36567
36568         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36569         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36570         * sysdeps/x86_64/x32/shlib-versions: New file.
36571
36572 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36573
36574         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36575         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36576         Use _dl_fatal_printf instead.
36577
36578 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36579
36580         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36581         set if not set by the user.  Do not allow for being unset.
36582         * sysdeps/unix/sysv/linux/configure: Regenerated.
36583
36584 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36585
36586         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36587         the `q' suffix from lea and replace .quad with ASM_ADDR.
36588
36589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36590
36591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36592         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36593         instead of $17.
36594         (PTR_DEMANGLE): Likewise.
36595
36596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36597
36598         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36599         (LP_OP): Likewise.
36600         (ASM_ADDR): Likewise.
36601         (RAX_LP): Likewise.
36602         (RBP_LP): Likewise.
36603         (RBX_LP): Likewise.
36604         (RCX_LP): Likewise.
36605         (RDI_LP): Likewise.
36606         (RSI_LP): Likewise.
36607         (RSP_LP): Likewise.
36608         (R8_LP): Likewise.
36609         (R9_LP): Likewise.
36610         (R10_LP): Likewise.
36611         (R10_LP): Likewise.
36612         (R11_LP): Likewise.
36613         (R12_LP): Likewise.
36614         (R13_LP): Likewise.
36615         (R14_LP): Likewise.
36616         (R15_LP): Likewise.
36617
36618 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36619
36620         * sysdeps/x86_64/x32/dl-machine.h: New file.
36621
36622 2012-05-14  Andreas Jaeger  <aj@suse.de>
36623
36624         * manual/Makefile (subdir): Remove export of subdir.
36625         (all): Remove target.
36626         (.PHONY): Remove all from list.
36627         (mkinstalldirs): Remove.
36628         (.PHONY): Remove installdirs from list.
36629         ($(inst_infodir)/libc.info): Use make-target-directory.
36630         (installdirs): Remove.
36631         (subdir_%): Remove.
36632         (glibc-targets): Remove.
36633         (lib): Remove.
36634         (stubs): Remove.
36635         ($(objpfx)stubs ../po/manual.pot): Remove.
36636         ($(objpfx)stamp%): Remove.
36637         (make-target-directory): Remove.
36638         (subdir_install): Remove.
36639         (routines): Remove.
36640         (aux): Remove.
36641         (sources): Remove.
36642         (objects): Remove.
36643         (headers): Remove.
36644
36645         [BZ #13750]
36646         * manual/.gitignore: Remove, it's not needed anymore.
36647         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36648         all files in it.
36649         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36650         directory.
36651         (texis): Renamed to $(objpfx)texis.
36652         (texis-path): New, contains path to generated files.
36653         (chapters.%): Use texis-path for complete path, add extra argument
36654         libc-texinfo.sh.
36655         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36656         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36657         (summary,texi, stamp-summary): Use complete path of
36658         files. Generate files in build dir.
36659         (dir-add.texi): Build in build dir.
36660         (libm-err.texi,stamp-libm-err): Likewise.
36661         (version.texi, stamp-version): Likewise.
36662         (.%c.texi): Likewise.
36663         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36664         (mostlyclean): Remove target.
36665         (realclean): Remove target.
36666         (generated): Add new variable with contents from mostlyclean and
36667         realclean, remove entries duplicated in common-mostlyclean, add
36668         stamp-libm-err and stamp-version.
36669         (generated-dirs): Add libc directory.
36670         ($(inst_infodir)/libc.info): Install files from build dir.
36671
36672         * manual/install.texi (Configuring and compiling): Adjust since
36673         the info files are not part of the tar ball anymore.
36674
36675 2012-05-14  Andreas Jaeger  <aj@suse.de>
36676
36677         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36678         variable.
36679
36680 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36681
36682         [BZ #13717]
36683         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36684         to 2.2.0 where earlier.
36685         * sysdeps/unix/sysv/linux/configure: Regenerated.
36686         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36687         Remove conditional code.
36688         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36689         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36690         Remove conditional code.
36691         [!__NR_lchown]: Likewise.
36692         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36693         [__NR_lchown]: Likewise.
36694         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36695         comment referencing __ASSUME_LCHOWN_SYSCALL.
36696         * sysdeps/unix/sysv/linux/i386/sigaction.c
36697         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36698         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36699         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36700         Remove conditional code.
36701         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36702         (__protocol_available): Remove #if 0 code.
36703         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36704         conditional code.
36705         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36706         * sysdeps/unix/sysv/linux/kernel-features.h
36707         (__ASSUME_GETCWD_SYSCALL): Don't define.
36708         (__ASSUME_REALTIME_SIGNALS): Likewise.
36709         (__ASSUME_PREAD_SYSCALL): Likewise.
36710         (__ASSUME_PWRITE_SYSCALL): Likewise.
36711         (__ASSUME_POLL_SYSCALL): Likewise.
36712         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36713         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36714         non-SPARC.
36715         (__ASSUME_SIOCGIFNAME): Don't define.
36716         (__ASSUME_MSG_NOSIGNAL): Likewise.
36717         (__ASSUME_SENDFILE): Define unconditionally.
36718         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36719         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36720         conditional code.
36721         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36722         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36723         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36724         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36725         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36726         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36727         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36729         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36732         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36733         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36735         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36736         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36738         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36739         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36741         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36744         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36745         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36750         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36751         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36752         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36753         Remove conditional code.
36754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36755         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36756         Remove conditional code.
36757         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36758         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36759         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36760         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36761         Remove conditional code.
36762         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36763         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36764         Remove conditional code.
36765         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36766         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36767         Remove conditional code.
36768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36769         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36770         Remove conditional code.
36771         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36772         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36773         Remove conditional code.
36774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36775         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36776         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36777         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36778         * sysdeps/unix/sysv/linux/sigaction.c
36779         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36780         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36781         * sysdeps/unix/sysv/linux/sigpending.c
36782         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36783         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36784         * sysdeps/unix/sysv/linux/sigprocmask.c
36785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36787         * sysdeps/unix/sysv/linux/sigsuspend.c
36788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36790         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36791         (__libc_missing_rt_sigs): Remove.
36792         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36793         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36794         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36795         Remove conditional code.
36796         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36797         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36798         return 1.
36799         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36800         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36801         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36802         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36803
36804 2012-05-14  Andreas Jaeger  <aj@suse.de>
36805
36806         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36807         it's not used in glibc.
36808         (__coshm1): Likewise.
36809         (__acosh1p): Likewise.
36810         (__sgn): Likewise.
36811
36812         * manual/string.texi (Copying and Concatenation): Add missing
36813         variable in concat example.
36814         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36815
36816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36817
36818         [BZ #14103]
36819         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36820         __builtin_clzl with __builtin_clzll.
36821
36822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36823
36824         [BZ #14104]
36825         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36826         libc_freeres_ptr.
36827
36828 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36829
36830         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36831         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36832         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36833         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36834
36835 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36836
36837         * NEWS: Update ia64 info.
36838
36839 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36840
36841         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36842         used as bcopy.
36843
36844 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36845
36846         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36847         * sysdeps/unix/syscalls.list (dup3): Likewise.
36848         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36849         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36850
36851 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36852
36853         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36854         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36855
36856 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36857
36858         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36859         thread pointer.
36860         (TLS_IE): Use mov/add instead of movq/addq to load thread
36861         pointer.
36862         (TLS_GD_PREFIX): New.
36863         (TLS_GD): Use it.
36864
36865 2012-05-11  David S. Miller  <davem@davemloft.net>
36866
36867         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36868         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36869         (_FPU_SETCW): Likewise.
36870
36871 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36872
36873         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36874         is 32-byte aligned.
36875
36876 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36877
36878         [BZ #11837]
36879         * iconvdata/gb18030.c: Update tables.
36880         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36881         characters specially.
36882         (BODY for TO_LOOP): Add encoding of missing ranges.
36883
36884 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36885
36886         [BZ #13673]
36887         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36888         * sysdeps/mach/hurd/dup3.c: Likewise.
36889         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36890         * sysdeps/powerpc/memmove.c:: Likewise.
36891
36892 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36893
36894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36895         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36896
36897 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36898
36899         * elf/elf.h (R_X86_64_RELATIVE64): New.
36900         (R_X86_64_NUM): Updated.
36901         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36902         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36903         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36904         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36905         tst-quad1pie tst-quad2pie
36906         (modules-names): Add tst-quadmod1 tst-quadmod2.
36907         ($(objpfx)tst-quad1): New dependency.
36908         ($(objpfx)tst-quad2): Likewise.
36909         ($(objpfx)tst-quad1pie): Likewise.
36910         ($(objpfx)tst-quad2pie): Likewise.
36911         * sysdeps/x86_64/tst-quad1.c: New file.
36912         * sysdeps/x86_64/tst-quad1pie.c: New file.
36913         * sysdeps/x86_64/tst-quad2.c: Likewise.
36914         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36915         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36916         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36917         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36918         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36919
36920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36921
36922         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36923         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36924         * streams/stropts.h (t_scalar_t): Define type.
36925
36926         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36927         (_PATH_PRESERVE): Set to "/var/lib".
36928         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36929
36930         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36931         instead of int.
36932
36933         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36934         if __dir_mkfile succeeded.
36935
36936         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36937         checking for _hurd_dtablesize.  Unlock it right after having
36938         finished _hurd_dtable allocation.
36939
36940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36941
36942         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36943         * sysdeps/mach/hurd/configure: Regenerated.
36944         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36945         special-casing to...
36946         * sysdeps/gnu/configure.in: ... this new file.
36947         * sysdeps/unix/sysv/linux/configure: Regenerated.
36948         * sysdeps/gnu/configure: New generated file.
36949
36950         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36951         for Linux: use nsec instead of usec, as well as:
36952         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36953         members of type struct timespec.
36954         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36955         New macros.
36956         (struct stat64): Likewise.
36957         (_STATBUF_ST_NSEC): New macro.
36958         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36959
36960         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36961         __strtoul_internal rather than strtoul.
36962
36963 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36964
36965         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36966         and reject them.
36967
36968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36969
36970         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36971         which preserves existing values.
36972         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36973
36974 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36975
36976         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36977         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36978         greater than FD_SETSIZE.
36979
36980 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36981
36982         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36983         allocated, call __vm_protect to finish enabling the existing space, and
36984         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36985         allocate the remainder.
36986
36987 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36988
36989         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36990         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36991
36992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36993
36994         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36995         sysdeps/mach/hurd/readlink.c.
36996
36997         * posix/tst-sysconf.c (posix_options): Only use
36998         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36999         _POSIX_SYNCHRONIZED_IO when they are defined
37000         * sysdeps/mach/hurd/bits/posix_opt.h:
37001         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37002         (_XOPEN_REALTIME): Undefine macro.
37003         (_XOPEN_REALTIME_THREADS): Undefine macro.
37004         (_XOPEN_SHM): Undefine macro.
37005         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37006         macro to -1.
37007         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37008         macro to -1.
37009         (_POSIX_ASYNC_IO): Undefine macro.
37010         (_POSIX_PRIORITIZED_IO): Undefine macro.
37011         (_POSIX_SPIN_LOCKS): Define macro to -1.
37012
37013         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37014         SA_NODEFER, SA_RESETHAND.
37015         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37016         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37017         F_DUPFD_CLOEXEC.
37018
37019 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37020
37021         * elf/Makefile (pldd-modules): Define unconditionally.
37022
37023 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37024
37025         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37026
37027 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37028
37029         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37030         Return ENOENT when name is empty.
37031         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37032
37033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37034
37035         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37036
37037         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37038
37039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37040
37041         Fix mlock in all cases except non-readable pages.
37042         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37043         instead of VM_PROT_ALL as parameter to __vm_wire function.
37044
37045         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37046         (__mkdir): When path is `/', just fail with EEXIST.
37047         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37048
37049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37050
37051         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37052         <sys/uio.h> (for writev).
37053         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37054         and <sys/param.h> (for MIN).
37055
37056 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37057
37058         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37059         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37060         if interrupted.
37061
37062 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37063
37064         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37065         Depend on against $(link-rpcuserlibs).
37066
37067 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37068
37069         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37070         (__libc_stack_end): Do not use attribute_relro.
37071         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37072         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37073         to libthread-provided value.
37074         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37075         attribute_relro.
37076
37077 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37078
37079         [BZ #3748]
37080         * bits/libc-lock.h (__libc_once_get): New macro.
37081         * sysdeps/mach/bits/libc-lock.h: Likewise.
37082         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37084         instead of using implementation details.
37085
37086         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37087         * libio/freopen.c: Likewise.
37088         * libio/freopen64.c: Likewise.
37089         * misc/syslog.c: Likewise.
37090         * nscd/connections.c: Likewise.
37091         * nscd/netgroupcache.c: Likewise.
37092         * sysdeps/posix/getcwd.c: Likewise.
37093
37094 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37095
37096         * math/w_ilogbf.c: Add #include <limits.h>.
37097
37098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37099
37100         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37101         path instead of returning without unlocking.
37102
37103         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37104         immediate-write ioctls.
37105         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37106
37107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37108
37109         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37110         __builtin_frame_address instead of making assumptions about the
37111         location of the return address relative to DATA.  Force early load of
37112         the return address.
37113         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37114         __builtin_frame_address.
37115
37116         dup3 for GNU Hurd.
37117         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37118         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37119         implement dup3 and do some further code clean-ups.
37120         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37121         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37122
37123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37124
37125         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37126
37127         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37128         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37129         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37130         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37131         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37132         d->port.lock.
37133
37134         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37135         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37136         when handler == SIG_ERR, not when handler != SIG_ERR.
37137
37138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37139
37140         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37141         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37142         definitions.
37143
37144         accept4 for GNU Hurd.
37145         * include/sys/socket.h (__libc_accept4): New prototype.
37146         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37147         to implement __libc_accept4.
37148         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37149         __libc_accept4.
37150         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37151
37152         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37153         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37154         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37155         signal-defines.sym.
37156
37157 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37158
37159         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37160
37161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37162
37163         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37164         assertion on O_CLOEXEC flag.
37165         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37166         * hurd/intern-fd.c: Likewise.
37167         * hurd/port2fd.c: Likewise.
37168
37169 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37170
37171         [BZ #3906]
37172         * bits/in.h (IPV6_PKTINFO): Define new macro.
37173         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37174
37175 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37176
37177         [BZ #13954]
37178         [BZ #13955]
37179         [BZ #13956]
37180         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37182         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37183         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37184         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37185         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37186         * math/libm-test.inc (logb_test) : Additional logb tests.
37187
37188 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37189             Andreas Jaeger  <aj@suse.de>
37190
37191         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37192         * configure: Regenerated.
37193         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37194         * config.make.in (link-obsolete-rpc): New substituted variable.
37195         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37196         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37197         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37198         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37199         so that libc.a contains the symbols.
37200         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37201         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37202         * sunrpc/auth_none.c: Likewise.
37203         * sunrpc/auth_unix.c: Likewise.
37204         * sunrpc/authdes_prot.c: Likewise.
37205         * sunrpc/authuxprot.c: Likewise.
37206         * sunrpc/clnt_gen.c: Likewise.
37207         * sunrpc/clnt_perr.c: Likewise.
37208         * sunrpc/clnt_raw.c: Likewise.
37209         * sunrpc/clnt_simp.c: Likewise.
37210         * sunrpc/clnt_tcp.c: Likewise.
37211         * sunrpc/clnt_udp.c: Likewise.
37212         * sunrpc/clnt_unix.c: Likewise.
37213         * sunrpc/des_crypt.c: Likewise.
37214         * sunrpc/des_soft.c: Likewise.
37215         * sunrpc/get_myaddr.c: Likewise.
37216         * sunrpc/key_call.c: Likewise.
37217         * sunrpc/key_prot.c: Likewise.
37218         * sunrpc/netname.c: Likewise.
37219         * sunrpc/pm_getmaps.c: Likewise.
37220         * sunrpc/pm_getport.c: Likewise.
37221         * sunrpc/pmap_clnt.c: Likewise.
37222         * sunrpc/pmap_prot.c: Likewise.
37223         * sunrpc/pmap_prot2.c: Likewise.
37224         * sunrpc/pmap_rmt.c: Likewise.
37225         * sunrpc/publickey.c: Likewise.
37226         * sunrpc/rpc_cmsg.c: Likewise.
37227         * sunrpc/rpc_common.c: Likewise.
37228         * sunrpc/rpc_dtable.c: Likewise.
37229         * sunrpc/rpc_prot.c: Likewise.
37230         * sunrpc/rpc_thread.c: Likewise.
37231         * sunrpc/rtime.c: Likewise.
37232         * sunrpc/svc.c: Likewise.
37233         * sunrpc/svc_auth.c: Likewise.
37234         * sunrpc/svc_raw.c: Likewise.
37235         * sunrpc/svc_run.c: Likewise.
37236         * sunrpc/svc_tcp.c: Likewise.
37237         * sunrpc/svc_udp.c: Likewise.
37238         * sunrpc/svc_unix.c: Likewise.
37239         * sunrpc/svcauth_des.c: Likewise.
37240         * sunrpc/xcrypt.c: Likewise.
37241         * sunrpc/xdr.c: Likewise.
37242         * sunrpc/xdr_array.c: Likewise.
37243         * sunrpc/xdr_float.c: Likewise.
37244         * sunrpc/xdr_intXX_t.c: Likewise.
37245         * sunrpc/xdr_mem.c: Likewise.
37246         * sunrpc/xdr_rec.c: Likewise.
37247         * sunrpc/xdr_ref.c: Likewise.
37248         * sunrpc/xdr_sizeof.c: Likewise.
37249         * sunrpc/xdr_stdio.c: Likewise.
37250
37251 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37252
37253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37254         change.  Update copyright years.
37255
37256 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37257
37258         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37259
37260 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37261             Joseph Myers  <joseph@codesourcery.com>
37262             Paul Pluzhnikov  <ppluzhnikov@google.com>
37263
37264         [BZ #14012]
37265         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37266         requiring rpcgen.
37267         [cross-compiling] (extra-libs): Likewise.
37268         [cross-compiling] (extra-libs-others): Likewise.
37269         [cross-compiling] (librpcsvc-routines): Likewise.
37270         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37271         [cross-compiling] (omit-deps): Likewise.
37272         (sunrpc-CPPFLAGS): New variable.
37273         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37274         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37275         (cross-rpcgen-objs): New variable.
37276         (extra-objs): Append $(cross-rpcgen-objs).
37277         ($(cross-rpcgen-objs)): New rule.
37278         ($(objpfx)cross-rpcgen): Likewise.
37279         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37280         comment.
37281         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37282         ($(objpfx)x%.stmp): Likewise.
37283         * sunrpc/proto.h [IS_IN_build] (_): Define.
37284         [IS_IN_build] (_libc_intl_domainname): Likewise.
37285
37286 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37287
37288         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37289         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37290         and R_X86_64_TPOFF64.
37291
37292 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37293
37294         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37295         sysdeps/unix/sysv/syscalls.list.
37296         (stime): Likewise.
37297         (utime): Likewise.
37298         * sysdeps/unix/sysv/syscalls.list: Remove file.
37299
37300 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37301
37302         [BZ #3440]
37303         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37304         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37305         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37306         (__LC_IDENTIFICATION): Make these macros useful in #if
37307         expressions, as required by C99.
37308
37309 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37310
37311         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37312         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37313         after this.
37314
37315 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37316
37317         * stdlib/longlong.h: Updated from GCC.
37318
37319 2012-05-09  Andreas Jaeger  <aj@suse.de>
37320
37321         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37322         default is first entry.
37323         (run_mode): Set type.
37324         (main): Remove informal message about syslog.
37325         (options): Fix typo.
37326
37327         [BZ #14053]
37328         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37329         to asm.
37330         (lrint): Likewise.
37331         (llrintf): Likewise.
37332         (llrint): Likewise.
37333         (rint): Likewise.
37334         (rintf): Likewise.
37335         (nearbyint): Likewise.
37336         (nearbyintf): Likewise.
37337
37338 2012-05-09  Andreas Jaeger  <aj@suse.de>
37339             Pedro Alves  <palves@redhat.com>
37340
37341         * nscd/nscd.c (run_mode): Use enum.
37342         (main): Cleanup coding style issue.
37343
37344 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37345             Andreas Jaeger  <aj@suse.de>
37346
37347         * nscd/nscd.c (go_background): Replaced with...
37348         (run_mode): ... this.
37349         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37350         (options): Add -F --foreground.
37351         (main): Implement it.
37352         (parse_opt): Parse it.
37353
37354 2012-05-09  Andreas Jaeger  <aj@suse.de>
37355
37356         [BZ #14083]
37357         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37358         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37359         -Wconversion warning.
37360         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37361         Likewise.
37362
37363 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37364
37365         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37366         == 0.
37367         (LC_ALL): Use macro-int-constant.
37368         (LC_COLLATE): Likewise.
37369         (LC_CTYPE): Likewise.
37370         (LC_MESSAGES): Likewise.
37371         (LC_MONETARY): Likewise.
37372         (LC_NUMERIC): Likewise.
37373         (LC_TIME): Likewise.
37374         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37375         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37376         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37377         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37378         Specify type.
37379         [C99-based standards] (float_t): Expect type.
37380         [C99-based standards] (double_t): Expect type.
37381         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37382         type.
37383         [C99-based standards] (HUGE_VALL): Likewise.
37384         [C99-based standards] (INFINITY): Likewise.
37385         [C99-based standards] (NAN): Likewise.
37386         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37387         [C99-based standards] (FP_NAN): Likewise.
37388         [C99-based standards] (FP_NORMAL): Likewise.
37389         [C99-based standards] (FP_SUBNORMAL): Likewise.
37390         [C99-based standards] (FP_ZERO): Likewise.
37391         [C99-based standards] (FP_FAST_FMA): Use
37392         optional-macro-int-constant.  Specify type.  Require == 1.
37393         [C99-based standards] (FP_FAST_FMAF): Likewise.
37394         [C99-based standards] (FP_FAST_FMAL): Likewise.
37395         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37396         [C99-based standards] (FP_ILOGBNAN): Likewise.
37397         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37398         Specify type.
37399         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37400         [C99-based standards] (math_errhandling): Specify type.
37401         [ISO99 || ISO11] (signgam): Do not allow.
37402         [non-C99-based standards] (copysignf): Do not allow.
37403         [non-C99-based standards] (exp2f): Likewise.
37404         [non-C99-based standards] (log2f): Likewise.
37405         [non-C99-based standards] (modff): Allow.
37406         [non-C99-based standards] (erff): Do not allow.
37407         [non-C99-based standards] (erfcf): Likewise.
37408         [non-C99-based standards] (gammaf): Likewise.
37409         [non-C99-based standards] (hypotf): Likewise.
37410         [non-C99-based standards] (j0f): Likewise.
37411         [non-C99-based standards] (j1f): Likewise.
37412         [non-C99-based standards] (jnf): Likewise.
37413         [non-C99-based standards] (lgammaf): Likewise.
37414         [non-C99-based standards] (tgammaf): Likewise.
37415         [non-C99-based standards] (y0f): Likewise.
37416         [non-C99-based standards] (y1f): Likewise.
37417         [non-C99-based standards] (ynf): Likewise.
37418         [non-C99-based standards] (isnanf): Likewise.
37419         [non-C99-based standards] (acoshf): Likewise.
37420         [non-C99-based standards] (asinhf): Likewise.
37421         [non-C99-based standards] (atanhf): Likewise.
37422         [non-C99-based standards] (cbrtf): Likewise.
37423         [non-C99-based standards] (expm1f): Likewise.
37424         [non-C99-based standards] (ilogbf): Likewise.
37425         [non-C99-based standards] (log1pf): Likewise.
37426         [non-C99-based standards] (logbf): Likewise.
37427         [non-C99-based standards] (nextafterf): Likewise.
37428         [non-C99-based standards] (remainderf): Likewise.
37429         [non-C99-based standards] (rintf): Likewise.
37430         [non-C99-based standards] (scalbf): Likewise.
37431         [non-C99-based standards] (copysignl): Likewise.
37432         [non-C99-based standards] (exp2l): Likewise.
37433         [non-C99-based standards] (log2l): Likewise.
37434         [non-C99-based standards] (modfl): Allow.
37435         [non-C99-based standards] (erfl): Do not allow.
37436         [non-C99-based standards] (erfcl): Likewise.
37437         [non-C99-based standards] (gammal): Likewise.
37438         [non-C99-based standards] (hypotl): Likewise.
37439         [non-C99-based standards] (j0l): Likewise.
37440         [non-C99-based standards] (j1l): Likewise.
37441         [non-C99-based standards] (jnl): Likewise.
37442         [non-C99-based standards] (lgammal): Likewise.
37443         [non-C99-based standards] (tgammal): Likewise.
37444         [non-C99-based standards] (y0l): Likewise.
37445         [non-C99-based standards] (y1l): Likewise.
37446         [non-C99-based standards] (ynl): Likewise.
37447         [non-C99-based standards] (isnanl): Likewise.
37448         [non-C99-based standards] (acoshl): Likewise.
37449         [non-C99-based standards] (asinhl): Likewise.
37450         [non-C99-based standards] (atanhl): Likewise.
37451         [non-C99-based standards] (cbrtl): Likewise.
37452         [non-C99-based standards] (expm1l): Likewise.
37453         [non-C99-based standards] (ilogbl): Likewise.
37454         [non-C99-based standards] (log1pl): Likewise.
37455         [non-C99-based standards] (logbl): Likewise.
37456         [non-C99-based standards] (nextafterl): Likewise.
37457         [non-C99-based standards] (remainderl): Likewise.
37458         [non-C99-based standards] (rintl): Likewise.
37459         [non-C99-based standards] (scalbl): Likewise.
37460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37461         [non-C99-based standards] (FP_*): Do not allow.
37462         [C99-based standards] (FP_*): Change to
37463         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37464         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37465         allow.
37466         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37467         (SIG_ERR): Likewise.
37468         [X/Open-based standards] (SIG_HOLD): Likewise.
37469         (SIG_IGN): Likewise.
37470         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37471         positive value.
37472         (SIGFPE): Likewise.
37473         (SIGILL): Likewise.
37474         (SIGINT): Likewise.
37475         (SIGSEGV): Likewise.
37476         (SIGTER): Likewise.
37477         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37478         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37479         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37480         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37481         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37482         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37483         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37484         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37485         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37486         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37487         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37488         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37489         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37490         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37491         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37492         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37493         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37494         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37495         [X/Open-based standards] (SIGTRAP): Likewise.
37496         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37497         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37498         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37499         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37500         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37501         allow.
37502
37503 2012-05-08  Ian Wienand  <ianw@vmware.com>
37504
37505         [BZ #14080]
37506         * time/tzset.c (__tzset_parse_tz): Update default rules for
37507         daylight time changes in the Energy Policy Act of 2005.
37508
37509 2012-05-09  Andreas Jaeger  <aj@suse.de>
37510
37511         [BZ #13983]
37512         * elf/ldconfig.c (parse_conf): Change string to make clear that
37513         ldconfig only issued a warning if ld.so.conf does not exist.
37514
37515 2012-05-08  David S. Miller  <davem@davemloft.net>
37516
37517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37518         movxtod instead of popping the value on the stack.
37519
37520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37521
37522 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37523
37524         * config.h.in: Add HAVE_ARM_PCS_VFP.
37525
37526 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37527
37528         [BZ #13979]
37529         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37530         checking but the checks are disabled for any reason.
37531
37532 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37533
37534         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37535         and ELF64_R_TYPE with ELFW(R_TYPE).
37536
37537 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37538
37539         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37540         (ulimit): Likewise.
37541
37542         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37543         (settimeofday): Likewise.
37544
37545 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37546
37547         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37548         a struct th_u2 inside the union, and move tu_block/tu_code into
37549         a new th_u3 union of tu_block/tu_code inside of that.  Move
37550         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37551         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37552         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37553         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37554         (th_stuff): Change to th_u1.tu_stuff.
37555         (th_data): Define.
37556         (th_msg): Change to th_u1.th_u2.tu_data.
37557
37558 2012-05-07  David S. Miller  <davem@davemloft.net>
37559
37560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37561
37562         [BZ #14074]
37563         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37564         (SETUP_PIC_REG): Use it.
37565         (SETUP_PIC_REG_LEAF): Use it.
37566
37567 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37568
37569         [BZ #13885]
37570         [BZ #13923]
37571         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37572         USE_AS_EXPM1L.
37573         (EXPL_FINITE): Likewise.
37574         (FLDLOG): Likewise.
37575         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37576         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37577         e_expl.S.
37578         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37579         USE_AS_EXPM1L.
37580         (EXPL_FINITE): Likewise.
37581         (FLDLOG): Likewise.
37582         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37583         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37584         e_expl.S.
37585         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37586         test of -max_value argument for long double.
37587         * sysdeps/i386/fpu/libm-test-ulps: Update.
37588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37589
37590 2012-05-06  David S. Miller  <davem@davemloft.net>
37591
37592         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37593         quad soft-float symbols whose references which are compiler
37594         generated.
37595         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37596
37597 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37598
37599         [BZ #13884]
37600         [BZ #13914]
37601         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37602         USE_AS_EXP10L.
37603         (EXPL_FINITE): Likewise.
37604         (FLDLOG): Likewise.
37605         (c0): Likewise.
37606         (c1): Likewise.
37607         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37608         Adjust comments for base varying.
37609         (__expl_finite): Change alias to EXPL_FINITE.
37610         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37611         e_expl.S.
37612         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37613         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37614         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37615         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37616         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37617         USE_AS_EXP10L.
37618         (EXPL_FINITE): Likewise.
37619         (FLDLOG): Likewise.
37620         (c0): Likewise.
37621         (c1): Likewise.
37622         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37623         Adjust comments for base varying.
37624         (__expl_finite): Change alias to EXPL_FINITE.
37625         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37626         tests for bugs.
37627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37628
37629         [BZ #14064]
37630         * math/libm-test.inc (check_float_internal): Correct ulp
37631         calculation for subnormal expected results.
37632
37633 2012-05-06  Andreas Jaeger  <aj@suse.de>
37634
37635         * Makeconfig (+math-flags): New, set to -frounding-math.
37636         (+cflags): Add +math-flags so that all of glibc gets compiled with
37637         it.
37638
37639         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37640
37641 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37642
37643         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37644         Disable one test.
37645
37646         [BZ #13787]
37647         [BZ #13922]
37648         [BZ #14036]
37649         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37650         (__ieee754_expl): Allow for and saturate large arguments.
37651         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37652         (u_threshold): Likewise.
37653         (__exp): Call __ieee754_exp before checking for overflow and
37654         underflow.
37655         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37656         (u_threshold): Likewise.
37657         (__expf): Call __ieee754_expf before checking for overflow and
37658         underflow.
37659         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37660         (u_threshold): Likewise.
37661         (__expl): Call __ieee754_expl before checking for overflow and
37662         underflow.
37663         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37664         (__ieee754_expl): Allow for and saturate large arguments.
37665         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37666         missing overflow exception on overflow.
37667         (expm1_test): Do not allow missing overflow exception on overflow.
37668
37669         * sysdeps/i386/fpu/e_expl.c: Move to ...
37670         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37671         rather than using inline asm.
37672         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37673         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37674         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37675
37676         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37677         (nice): Likewise.
37678         (poll): Likewise.
37679         (signal): Likewise.
37680         (time): Likewise.
37681         (times): Likewise.
37682
37683 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37684
37685         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37686         sysdeps/unix/common/syscalls.list.
37687         (fchmod): Likewise.
37688         (fchown): Likewise.
37689         (ftruncate): Likewise.
37690         (getrusage): Likewise.
37691         (gettimeofday): Likewise.
37692         (setpgid): Likewise.
37693         (setregid): Likewise.
37694         (setreuid): Likewise.
37695         (sigaction): Likewise.
37696         (truncate): Likewise.
37697         (vhangup): Likewise.
37698         * sysdeps/unix/common/syscalls.list: Remove file.
37699         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37700         * sysdeps/unix/sysv/linux/Implies: Likewise.
37701
37702 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37703
37704         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37706         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37707         Moved to ...
37708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37709         Here.
37710         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37711         to ...
37712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37713         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37714         to ...
37715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37716         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37717         to ...
37718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37719         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37720         to ...
37721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37722         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37723         to ...
37724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37725         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37726         to ...
37727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37728         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37729         to ...
37730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37731         Here.
37732         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37733         to ...
37734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37735         Here.
37736         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37737         to ...
37738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37739         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37740         Moved to ...
37741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37742         Here.
37743         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37744         to ...
37745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37746
37747 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37748
37749         * sysdeps/unix/common/bits/dirent.h: Remove file.
37750         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37751
37752         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37753         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37754         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37755         * sysdeps/unix/bsd/isatty.c: Likewise.
37756         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37757         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37758         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37759
37760 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37761
37762         [BZ #13563]
37763         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37764         long double comparison inaccuracies.
37765         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37767
37768 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37769
37770         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37771         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37772
37773 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37774
37775         [BZ #14049]
37776         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37777         nonzero digits before rounding a hex value.
37778         * stdlib/tst-strtod.c (tests): Add another test.
37779
37780 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37781
37782         * sysdeps/s390/fpu/libm-test-ulps: Update.
37783
37784 2012-05-03  Andreas Jaeger  <aj@suse.de>
37785
37786         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37787         does not get optimized out.
37788         (malloc_opt_barrier): New.
37789
37790 2012-05-03  Andreas Jaeger  <aj@suse.de>
37791             Roland McGrath  <roland@hack.frob.com>
37792
37793         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37794         intermediate file deletion.
37795         (generated): Add .symlist files.
37796
37797 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37798
37799         [BZ #13775]
37800         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37801         Redirect under this condition.
37802         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37803         [__USE_GNU] (__dprintf_chk): Not under this condition.
37804         [__USE_GNU] (__vdprintf_chk): Likewise.
37805         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37806         under this condition.
37807         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37808         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37809         [__USE_XOPEN2K8] (vdprintf): Likewise.
37810         [__USE_GNU] (__dprintf_chk): Not under this condition.
37811         [__USE_GNU] (__vdprintf_chk): Likewise.
37812         [__USE_GNU] (dprintf): Likewise.
37813         [__USE_GNU] (vdprintf): Likewise.
37814
37815 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37816
37817         * elf/Makefile (common-generated): Set this instead of generated for
37818         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37819         $(all-built-dso)-derived lists.
37820
37821 2012-05-03  Andreas Jaeger  <aj@suse.de>
37822
37823         * sysdeps/i386/fpu/libm-test-ulps: Update.
37824
37825         * FAQ: Removed.
37826         * FAQ.in: Likewise.
37827         * scripts/gen-FAQ.pl: Likewise.
37828         * manual/install.texi (Installation): Point to online location of
37829         FAQ.
37830         * Makefile (files-for-dist): Remove FAQ.
37831         (FAQ): Remove.
37832
37833 2012-05-02  Allan McRae  <allan@archlinux.org>
37834
37835         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37836         (LDFLAGS-reldepmod5.so): Likewise.
37837         (LDFLAGS-reldep6mod1.so): Likewise.
37838         (LDFLAGS-reldep6mod4.so): Likewise.
37839         (LDFLAGS-reldep8mod3.so): Likewise.
37840         (LDFLAGS-unload4mod1.so): Likewise.
37841         (LDFLAGS-unload4mod2.so): Likewise.
37842         (LDFLAGS-tst-initorder): Likewise.
37843         (LDFLAGS-tst-initordera2.so): Likewise.
37844         (LDFLAGS-tst-initordera3.so): Likewise.
37845         (LDFLAGS-tst-initordera4.so): Likewise.
37846         (LDFLAGS-tst-initorderb2.so): Likewise.
37847         (LDFLAGS-noload): Likewise.
37848         (LDFLAGS-next): Likewise.
37849         (LDFLAGS-order2mod1.so): Likewise.
37850         (LDFLAGS-order2mod2.so): Likewise.
37851         (LDFLAGS-tst-initorder2): Likewise.
37852         (LDFLAGS-tst-initorder2a.so): Likewise.
37853         (LDFLAGS-tst-initorder2b.so): Likewise.
37854         (LDFLAGS-tst-initorder2c.so): Likewise.
37855         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37856
37857 2012-05-02  David S. Miller  <davem@davemloft.net>
37858
37859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37860
37861 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37862
37863         [BZ #14055]
37864         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37865
37866 2012-05-02  Andreas Jaeger  <aj@suse.de>
37867
37868         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37869         since we manipulate rounding mode.
37870         (CPPFLAGS-test-idouble.c): Likewise.
37871         (CPPFLAGS-test-ifloat.c): Likewise.
37872         (CFLAGS-test-ldouble.c): Likewise.
37873         (CFLAGS-test-double.c): Likewise.
37874         (CFLAGS-test-float.c): Likewise.
37875         (CFLAGS-test-misc.c): Likewise.
37876         (CFLAGS-test-test-fenv.c): Likewise.
37877
37878 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37879
37880         [BZ #2550]
37881         [BZ #2570]
37882         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37883         comparisons to determine direction to adjust input.
37884
37885 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37886
37887         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37888         output to the target.
37889
37890         * scripts/localplt.awk: New file.
37891         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37892         (check-localplt-CFLAGS): Variable removed.
37893         ($(all-built-dso:=.jmprel)): New static pattern rule.
37894         (generated): Add those targets.
37895         (localplt-built-dso): New variable.
37896         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37897
37898         * elf/check-localplt.c: File removed.
37899
37900         * scripts/check-execstack.awk: New file.
37901         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37902         (check-execstack-CFLAGS): Variable removed.
37903         ($(objpfx)check-execstack.h): Target removed.
37904         ($(objpfx)execstack-default): New target.
37905         (generated): Add that instead of check-execstack.h.
37906         ($(all-built-dso:=.phdr)): New static pattern rule.
37907         (generated): Add those targets.
37908         * elf/check-execstack.c: File removed.
37909
37910         * scripts/check-textrel.awk: New file.
37911         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37912         (check-textrel-CFLAGS): Variable removed.
37913         (all-built-dso): Use := to define.o
37914         ($(all-built-dso:=.dyn)): New static pattern rule.
37915         (generated): Add those targets.
37916         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37917         * config.make.in (READELF): New substituted variable.
37918         * elf/check-textrel.c: File removed.
37919
37920 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37921
37922         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37923         allow.
37924         * conform/data/ctype.h-data [C99-based standards] (isblank):
37925         Expect function.
37926         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37927         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37928         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37929         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37930         Specify type.  Require positive value.
37931         (EILSEQ): Likewise.
37932         (ERANGE): Likewise.
37933         [ISO || POSIX] (EILSEQ): Do not expect.
37934         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37935         Specify type.  Require positive value.
37936         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37937         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37938         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37939         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37940         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37941         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37942         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37943         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37944         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37945         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37946         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37947         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37948         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37949         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37950         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37951         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37952         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37953         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37954         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37955         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37956         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37957         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37958         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37959         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37960         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37961         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37962         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37963         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37964         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37965         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37966         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37967         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37968         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37969         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37970         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37971         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37972         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37973         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37974         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37975         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37976         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37977         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37978         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37979         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37980         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37981         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37982         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37983         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37984         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37985         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37986         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37987         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37988         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37989         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37990         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37991         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37992         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37993         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37994         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37995         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37996         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37997         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37998         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37999         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38000         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38001         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38002         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38003         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38004         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38005         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38006         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38007         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38008         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38009         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38010         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38011         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38012         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38013         Require >= 2.
38014         (FLT_ROUNDS): Expect as macro, not constant.
38015         (FLT_MANT_DIG): Use macro-int-constant.
38016         (DBL_MANT_DIG): Likewise.
38017         (LDBL_MANT_DIG): Likewise.
38018         (FLT_DIG): Likewise.
38019         (DBL_DIG): Likewise.
38020         (LDBL_DIG): Likewise.
38021         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38022         (DBL_MIN_EXP): Likewise.
38023         (LDBL_MIN_EXP): Likewise.
38024         (FLT_MAX_EXP): Use macro-int-constant.
38025         (DBL_MAX_EXP): Likewise.
38026         (LDBL_MAX_EXP): Likewise.
38027         (FLT_MAX_10_EXP): Likewise.
38028         (DBL_MAX_10_EXP): Likewise.
38029         (LDBL_MAX_10_EXP): Likewise.
38030         (FLT_MAX): Use macro-constant.
38031         (DBL_MAX): Likewise.
38032         (LDBL_MAX): Likewise.
38033         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38034         (DBL_EPSILON): Likewise.
38035         (LDBL_EPSILON): Likewise.
38036         (FLT_MIN): Likewise.
38037         (DBL_MIN): Likewise.
38038         (LDBL_MIN): Likewise.
38039         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38040         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38041         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38042         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38043         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38044         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38045         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38046         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38047         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38048         [ISO11] (FLT_TRUE_MIN): Likewise.
38049         [ISO11] (LDBL_TRUE_MIN): Likewise.
38050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38051         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38052         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38053         (SCHAR_MAX): Likewise.
38054         (UCHAR_MAX): Likewise.
38055         (CHAR_MIN): Likewise.
38056         (CHAR_MAX): Likewise.
38057         (MB_LEN_MAX): Use macro-int-constant.
38058         (SHRT_MIN): Use macro-int-constant.  Specify type.
38059         (SHRT_MAX): Likewise.
38060         (USHRT_MAX): Likewise.
38061         (INT_MAX): Likewise.
38062         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38063         bound negative.
38064         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38065         bound with "U".
38066         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38067         bound with "L".
38068         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38069         bound negative.  Suffix upper bound with "L".
38070         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38071         bound with "UL".
38072         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38073         Specify type.
38074         [C99-based standards] (LLONG_MAX): Likewise.
38075         [C99-based standards] (ULLONG_MAX): Likewise.
38076         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38077         == 0.
38078         [ISO11] (max_align_t): Require type.
38079         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38080
38081         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38082         from $CFLAGS, without defining away __attribute__ calls.
38083         (checknamespace): Use $CFLAGS_namespace.
38084
38085         * conform/conformtest.pl (@keywords): Only include C99 keywords
38086         for standards based on C99 or C11.
38087
38088         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38089         Disable tests.
38090         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38091         UNIX98]: Likewise.
38092
38093         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38094         usability of symbols in #if.
38095
38096         * conform/conformtest.pl: If macro or constant types start
38097         "promoted:", expect the symbol to be of the following type
38098         promoted by the integer promotions.
38099
38100         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38101         in one place.  Also handle "macro-constant".
38102
38103         * conform/conformtest.pl: Only accept expected macro values with
38104         "==".  Parse all "macro" lines in one place.
38105         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38106
38107         * conform/conformtest.pl: Handle braced types on "constant" lines
38108         instead of handling "typed-constant".
38109         * conform/data/signal.h-data: Use "constant" instead of
38110         "typed-constant".
38111
38112         * conform/conformtest.pl: Handle "optional-" at start of lines in
38113         one place rather than duplicating several cases.  Handle each
38114         format of "macro" line with initial "optional-".
38115
38116         * conform/conformtest.pl: Only accept expected constant or
38117         optional-constant values with "==".  Parse all "constant" lines in
38118         one place.  Parse all "optional-constant" lines in one place.
38119         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38120         * conform/data/fmtmsg.h-data: Likewise.
38121         * conform/data/netinet/in.h-data: Likewise.
38122         * conform/data/tar.h-data: Likewise.
38123         * conform/data/limits.h-data: Use "==" form on "constant" and
38124         "optional-constant" lines.
38125
38126         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38127         Use -std=c99 for XOPEN2K.
38128         (@knownproblems): Remove.
38129         (newtoken): Don't check %isknown.
38130
38131         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38132         Do not expect macro.
38133         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38136         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38137         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38138         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38139         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38140         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38141         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38142         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38143         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38144         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38145         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38146         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38147         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38148         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38149         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38150         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38151         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38152         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38153         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38154         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38155         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38156         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38157         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38158         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38159         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38160         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38161         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38162         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38163         [XPG3] (acosh): Likewise.
38164         [XPG3] (asinh): Likewise.
38165         [XPG3] (atanh): Likewise.
38166         [XPG3] (cbrt): Likewise.
38167         [XPG3] (expm1): Likewise.
38168         [XPG3] (ilogb): Likewise.
38169         [XPG3] (log1p): Likewise.
38170         [XPG3] (logb): Likewise.
38171         [XPG3] (nextafter): Likewise.
38172         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38173         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38174         [XPG3] (remainder): Likewise.
38175         [XPG3] (rint): Likewise.
38176         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38177         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38178         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38179         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38180         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38181         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38182         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38183         [UNIX98 || XOPEN2K] (scalb): Expect.
38184         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38185         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38186         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38187         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38188         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38189         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38190         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38191         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38192         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38193         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38194         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38195         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38196         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38197         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38198         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38199         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38200         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38201         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38202         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38203         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38204         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38205         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38206         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38207         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38208         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38209         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38210         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38211         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38212         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38213         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38214         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38215         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38216         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38217         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38218         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38219         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38220         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38221         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38222         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38223         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38224         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38225         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38226         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38227         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38228         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38229         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38230         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38231         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38232         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38233         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38234         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38235         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38236         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38237         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38238         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38239         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38240         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38241         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38242         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38243         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38244         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38245         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38246         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38247         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38248         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38249         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38250         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38251         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38252         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38253         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38254         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38255         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38256         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38257         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38258         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38259         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38260         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38261         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38262         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38263         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38264         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38265         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38266         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38267         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38268         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38269         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38270         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38271         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38272         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38273         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38274         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38275         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38276         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38277         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38278         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38279         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38280         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38281         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38282         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38283         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38284         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38285         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38286         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38287         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38288         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38289         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38290         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38291         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38292         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38293         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38294         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38295         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38296         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38297         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38298         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38299         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38300         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38301         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38302         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38303         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38304         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38305         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38306         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38307         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38308         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38309         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38310         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38311         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38312         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38313         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38314         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38315         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38316         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38317         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38318         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38319         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38320         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38321
38322         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38323         _XOPEN_SOURCE_EXTENDED for XPG4.
38324
38325         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38326
38327         * Makeconfig (localtime): Remove variable.
38328         (inst_localtime-file): Likewise.
38329
38330 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38331
38332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38333         Update.
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38335         Update.
38336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38337         Update.
38338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38339         Update.
38340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38341         Update.
38342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38343         Update.
38344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38345         Update.
38346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38347         Update.
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38349         Update.
38350
38351 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38352
38353         [BZ #2550]
38354         [BZ #2570]
38355         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38356         comparisons to determine direction to adjust input.
38357         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38358         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38359         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38360         Likewise.
38361         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38362         Likewise.
38363         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38364         Likewise.
38365         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38366         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38367         Likewise.
38368         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38369         Likewise.
38370         * math/libm-test.inc (nexttoward_test): Add more tests.
38371
38372 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38373
38374         [BZ #14040]
38375         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38376         in version GLIBC_2.1, not GLIBC_2.0.
38377         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38378         Likewise.
38379
38380 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38381
38382         [BZ #13942]
38383         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38384         (1 - x) * (1 + x).
38385         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38386         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38387         * math/libm-test.inc (acos_test): Add more tests.
38388         (asin_test): Likewise.
38389         * sysdeps/i386/fpu/libm-test-ulps: Update.
38390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38391
38392         [BZ #14034]
38393         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38394         of square root.
38395         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38396         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38397         * math/libm-test.inc (acos_test_tonearest): New function.
38398         (acos_test_towardzero): Likewise.
38399         (acos_test_downward): Likewise.
38400         (acos_test_upward): Likewise.
38401         (asin_test_tonearest): Likewise.
38402         (asin_test_towardzero): Likewise.
38403         (asin_test_downward): Likewise.
38404         (asin_test_upward): Likewise.
38405         (main): Call the new functions.
38406         * sysdeps/i386/fpu/libm-test-ulps: Update.
38407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38408
38409         [BZ #13884]
38410         [BZ #13924]
38411         * math/e_exp10.c: Include <float.h>.
38412         (__ieee754_exp10): Handle underflow here rather than multiplying
38413         large negative argument by M_LN10.
38414         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38415         of __ieee754_expf.
38416         * math/e_exp10l.c: Include <float.h>.
38417         (__ieee754_exp10l): Handle underflow here rather than multiplying
38418         large negative argument by M_LN10l.
38419         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38420         spurious overflow exception on underflow.
38421
38422 2012-04-29  Marek Polacek  <polacek@redhat.com>
38423
38424         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38425         (__fortify_function): New macro.
38426         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38427         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38428         __extern_always_inline.
38429         * libio/bits/stdio2.h: Likewise.
38430         * libio/bits/stdio.h: Likewise.
38431         * string/string.h: Likewise.
38432         * string/bits/string3.h: Likewise.
38433         * include/stdio.h: Likewise.
38434         * stdlib/bits/stdlib.h: Likewise.
38435         * stdlib/stdlib.h: Likewise.
38436         * rt/bits/mqueue2.h: Likewise.
38437         * rt/mqueue.h: Likewise.
38438         * posix/bits/unistd.h: Likewise.
38439         * posix/unistd.h: Likewise.
38440         * io/bits/poll2.h: Likewise.
38441         * io/bits/fcntl2.h: Likewise.
38442         * io/fcntl.h: Likewise.
38443         * io/sys/poll.h: Likewise.
38444         * misc/bits/syslog.h: Likewise.
38445         * misc/bits/syslog-ldbl.h: Likewise.
38446         * misc/sys/syslog.h: Likewise.
38447         * socket/bits/socket2.h: Likewise.
38448         * socket/sys/socket.h: Likewise.
38449         * debug/tst-chk1.c: Likewise.
38450         * wcsmbs/bits/wchar2.h: Likewise.
38451         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38452         * wcsmbs/wchar.h: Likewise.
38453
38454 2012-04-29  Andreas Jaeger  <aj@suse.de>
38455
38456         * Makerules (tests): Remove enable-check-abi protection.
38457         (check-abi-warn): Remove.
38458         (check-abi-%): Remove check-abi-warn usage.
38459
38460         * configure.in: Remove check-abi configure option.
38461         * configure: Regenerated.
38462         * config.make.in (enable-check-abi): Remove.
38463
38464 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38465
38466         [BZ #14033]
38467         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38468         double functions to double *_finite functions.
38469
38470         [BZ #13941]
38471         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38472         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38473         LDBL_MIN_EXP.
38474         * stdio-common/Makefile (tests): Add tst-sprintf3.
38475         * stdio-common/tst-sprintf3.c: New file.
38476
38477         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38478         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38479
38480 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38481
38482         * conform/conformtest.pl: Remove duplicate typed-constant
38483         handling.
38484
38485 2012-04-28  David S. Miller  <davem@davemloft.net>
38486
38487         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38488         (check-abi-%): Remove AWK script prerequisite and explicit
38489         abilist directory.
38490         (check-abi): Rewrite to just diff the symlist with the abilist.
38491         (config-tls, config-abi-config): Delete, no longer used.
38492         (update-abi-%): Remove AWK script and explicit abilist directory.
38493         (update-abi): Rewrite to simply compare and conditionally copy the
38494         symlist and the sysdep abilist file.  Remove update-abi-config
38495         checks.
38496         * abilist/ld.abilist: Remove.
38497         * abilist/libBrokenLocale.abilist: Remove.
38498         * abilist/libanl.abilist: Remove.
38499         * abilist/libcrypt.abilist: Remove.
38500         * abilist/libdl.abilist: Remove.
38501         * abilist/librt.abilist: Remove.
38502         * abilist/libthread_db.abilist: Remove.
38503         * abilist/libutil.abilist: Remove.
38504         * scripts/extract-abilist.awk: Remove.
38505         * scripts/merge-abilist.awk: Remove.
38506         * sysdeps/generic/libcidn.abilist: New file.
38507         * sysdeps/generic/libnss_compat.abilist: New file.
38508         * sysdeps/generic/libnss_db.abilist: New file.
38509         * sysdeps/generic/libnss_dns.abilist: New file.
38510         * sysdeps/generic/libnss_files.abilist: New file.
38511         * sysdeps/generic/libnss_hesiod.abilist: New file.
38512         * sysdeps/generic/libnss_nis.abilist: New file.
38513         * sysdeps/generic/libnss_nisplus.abilist: New file.
38514         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38515         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38516         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38517         file.
38518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38519         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38520         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38521         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38522         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38523         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38524         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38525         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38526         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38527         file.
38528         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38529         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38530         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38531         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38532         file.
38533         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38534         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38535         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38536         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38537         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38538         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38539         file.
38540         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38541         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38542         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38543         file.
38544         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38546         New file.
38547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38548         New file.
38549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38550         New file.
38551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38552         New file.
38553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38554         New file.
38555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38556         New file.
38557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38558         New file.
38559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38560         New file.
38561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38562         New file.
38563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38564         New file.
38565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38566         New file.
38567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38568         New file.
38569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38570         New file.
38571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38572         file.
38573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38574         New file.
38575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38576         New file.
38577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38578         file.
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38580         New file.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38582         New file.
38583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38584         file.
38585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38586         New file.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38588         New file.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38590         New file.
38591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38592         New file.
38593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38594         New file.
38595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38596         New file.
38597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38599         file.
38600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38601         New file.
38602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38603         file.
38604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38605         file.
38606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38607         file.
38608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38609         file.
38610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38611         file.
38612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38613         New file.
38614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38615         file.
38616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38617         file.
38618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38619         New file.
38620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38621         file.
38622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38624         file.
38625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38626         New file.
38627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38628         file.
38629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38630         file.
38631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38632         file.
38633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38634         file.
38635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38636         file.
38637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38638         New file.
38639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38640         file.
38641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38642         file.
38643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38644         New file.
38645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38646         file.
38647         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38648         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38649         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38650         file.
38651         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38652         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38653         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38654         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38655         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38656         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38657         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38658         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38659         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38660         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38663         file.
38664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38665         New file.
38666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38667         file.
38668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38669         file.
38670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38671         file.
38672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38673         file.
38674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38675         file.
38676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38677         New file.
38678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38679         New file.
38680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38681         file.
38682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38683         New file.
38684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38685         file.
38686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38688         file.
38689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38690         New file.
38691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38692         file.
38693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38694         file.
38695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38696         file.
38697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38698         file.
38699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38700         file.
38701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38702         New file.
38703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38704         New file.
38705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38706         file.
38707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38708         New file.
38709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38710         file.
38711
38712 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38713
38714         * conform/conformtest.pl: Fix typo in handling typed-constant from
38715         allow-header.
38716
38717 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38718
38719         * README: Cut down references to pre-2.6 Linux kernels and
38720         Linuxthreads.  Update lists of configurations in libc and ports
38721         and sort alphabetically.  Say "or newer" with Linux kernel version
38722         requirements.
38723
38724         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38725
38726 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38727
38728         [BZ #887]
38729         * math/libm-test.inc (logb_test_downward): New test to expose
38730         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38731         rounding mode.
38732
38733 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38734
38735         [BZ #14027]
38736         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38737         to be done.
38738         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38739         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38740
38741 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38742
38743         * sysdeps/unix/i386/brk.S: Remove file.
38744         * sysdeps/unix/i386/dl-brk.S: Likewise.
38745         * sysdeps/unix/i386/pipe.S: Likewise.
38746         * sysdeps/unix/i386/sigreturn.S: Likewise.
38747         * sysdeps/unix/i386/syscall.S: Likewise.
38748         * sysdeps/unix/i386/vfork.S: Likewise.
38749         * sysdeps/unix/i386/wait.S: Likewise.
38750
38751         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38752         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38753
38754         * configure.in (arm*-none*): Do not allow without
38755         --enable-hacker-mode.
38756         (netbsd*): Remove case setting base_os.
38757         (386bsd*): Likewise.
38758         (freebsd*): Likewise.
38759         (bsdi*): Likewise.
38760         (osf*): Likewise.
38761         (sunos*): Likewise.
38762         (ultrix*): Likewise.
38763         (newsos*): Likewise.
38764         (dynix*): Likewise.
38765         (*bsd*): Likewise.
38766         (sysv*): Likewise.
38767         (isc*): Likewise.
38768         (esix*): Likewise.
38769         (sco*): Likewise.
38770         (minix*): Likewise.
38771         (irix4*): Likewise.
38772         (irix6*): Likewise.
38773         (solaris[2-9]*): Likewise.
38774         (none): Likewise.
38775         * configure: Regenerated.
38776
38777 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38778
38779         [BZ #11521]
38780         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38781         overflow or cancellation in calculating denominator.
38782         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38783         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38784         down expression to avoid unexpected rounding in newer GCCs.
38785         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38786
38787 2012-04-26  David S. Miller  <davem@davemloft.net>
38788
38789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38790         long-double compat symbols.
38791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38804
38805 2012-04-25  David S. Miller  <davem@davemloft.net>
38806
38807         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38808         HWCAP_* values only after the memory barriers have been defined.
38809         (atomic_full_barrier): Define.
38810         (atomic_read_barrier): Define.
38811         (atomic_write_barrier): Define.
38812
38813 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38814
38815         * shlib-versions: Add libgcc_s version information.
38816         * sysdeps/generic/libgcc_s.h: Remove.
38817         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38818         libgcc_s.h.
38819         * sysdeps/gnu/unwind-resume.c: Likewise.
38820         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38821
38822 2012-04-25  David S. Miller  <davem@davemloft.net>
38823
38824         * sysdeps/unix/sparc/brk.S: Delete.
38825         * sysdeps/unix/sparc/dl-brk.S: Delete.
38826         * sysdeps/unix/sparc/pipe.S: Delete.
38827         * sysdeps/unix/sparc/sysdep.S: Delete.
38828         * sysdeps/unix/sparc/sysdep.h: Delete.
38829         * sysdeps/unix/sparc/vfork.S: Delete.
38830         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38831         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38832         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38833         (ret_ERRVAL, r0, r1, MOVE): Define.
38834         (JUMPTARGET): Remove.
38835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38836         sysdeps/unix/sparc/sysdep.h
38837         (ENTRY, END): Remove.
38838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38839
38840 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38841
38842         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38843         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38844         -DIS_IN_build.
38845
38846         * timezone/README: Update upstream location and email address for
38847         tzcode and tzdata.
38848         * timezone/zdump.c: Update from tzcode 2012b.
38849         * timezone/zic.c: Likewise.
38850
38851         * configure.in (libc_cv_as_needed): Remove test.
38852         * configure: Regenerated.
38853         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38854         conditional definition.
38855         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38856         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38857         * config.make.in (have-as-needed): Remove variable.
38858
38859 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38860             Paul Pluzhnikov  <ppluzhnikov@google.com>
38861
38862         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38863         strings correctly.
38864
38865 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38866
38867         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38868         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38869         * sysdeps/sh/strlen.S: Likewise.
38870
38871 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38872
38873         * sysdeps/unix/fork.S: Remove file.
38874         * sysdeps/unix/i386/fork.S: Likewise.
38875         * sysdeps/unix/sparc/fork.S: Likewise.
38876
38877         * sysdeps/unix/system.c: Remove file.
38878         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38879
38880         * sysdeps/unix/getegid.S: Remove file.
38881         * sysdeps/unix/geteuid.S: Likewise.
38882
38883 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38884
38885         * scripts/check-localplt.awk: New file.
38886         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38887         of diff.
38888         * scripts/data/localplt-generic.data: Add a comment.
38889
38890         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38891         NODE when __dir_mkfile failed.
38892         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38893         Reported by Ludovic Courtès <ludo@gnu.org>.
38894
38895 2012-04-24  Andreas Jaeger  <aj@suse.de>
38896
38897         * Makerules (common-clean): Also remove gen-as-const-headers
38898         files.
38899
38900 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38901
38902         * Makerules (native-compile): Do not change working directory for
38903         build.  Use $(OUTPUT_OPTION) in command.
38904         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38905
38906 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38907
38908         [BZ #13886]
38909         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38910         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38911         * math/libm-test.inc (floor_test): Add more tests.
38912         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38913
38914 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38915
38916         * sysdeps/unix/getdents.c: Remove file.
38917         * sysdeps/unix/sysv/getdents.c: Likewise.
38918         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38919
38920         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38921         sysdeps/unix/mman/syscalls.list.
38922         (mmap): Likewise.
38923         (mprotect): Likewise.
38924         (msync): Likewise.
38925         (munmap): Likewise.
38926         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38927         * sysdeps/unix/mman/syscalls.list: Remove.
38928         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38929
38930         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38931         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38932         * configure: Regenerated.
38933         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38934         $(libgcc_s_suffix).
38935         * config.make.in (libgcc_s_suffix): Remove variable.
38936
38937 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38938
38939         * sysdeps/unix/sysv/gethostname.c: Move to ...
38940         * sysdeps/posix/gethostname.c: ... here.
38941
38942         * sysdeps/unix/execve.S: Remove file.
38943
38944         * sysdeps/unix/_exit.S: Remove file.
38945
38946 2012-04-23  Andreas Jaeger  <aj@suse.de>
38947
38948         [BZ #13739]
38949         * manual/Makefile: Remove make dist support, there's no
38950         need for a stand-alone documentation tar ball.
38951         (TEXI2DVI): Define always, it's not in Makeconfig.
38952         (dist): Removed.
38953         (tar-it): Removed.
38954         (edition): Removed.
38955         (glibc-doc-$(edition).tar): Removed
38956         (%.Z): Removed.
38957         (%.gz): Removed.
38958         (%.uu): Removed.
38959         (ETAGS): Remove, it's in Makeconfig.
38960         (move-if-change): Remove, it's in Makeconfig.
38961
38962 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38963
38964         [BZ #13970]
38965         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38966         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38967         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38968         (strtod_l, strtof_l, strtold_l): Remove __wur.
38969         It is not necessarily an error to ignore strtol's return value.
38970         One can reliably look at the stored endptr to decide whether
38971         the number had valid syntax.
38972
38973 2012-04-21  Andreas Jaeger  <aj@suse.de>
38974
38975         [BZ #13739]
38976         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38977
38978 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38979
38980         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38981         * sysdeps/unix/sysv/Versions: Remove file.
38982
38983 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38984
38985         [BZ #13927]
38986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38987
38988 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38989
38990         [BZ #7064]
38991         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38992         version from __vm86.
38993
38994 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38995
38996         * sysdeps/unix/common/lxstat.c: Remove file.
38997         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38998
38999         * sysdeps/unix/sysv/Makefile: Remove file.
39000
39001         * sysdeps/unix/sysv/direct.h: Remove file.
39002
39003         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39004         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39005         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39006         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39007         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39008         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39009         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39010
39011         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39012
39013         * sysdeps/unix/xmknod.c: Remove file.
39014         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39015
39016         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39017
39018         * sysdeps/unix/sysv/i386/time.S: Remove file.
39019
39020         * sysdeps/unix/fxstat.c: Remove file.
39021         * sysdeps/unix/xstat.c: Likewise.
39022         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39023
39024         * sysdeps/unix/sysv/sigaction.c: Remove file.
39025
39026         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39027         (sysdep_headers): Remove variable.
39028         [termio.h not in sysdep_headers] (generated): Likewise.
39029         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39030         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39031         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39032         * sysdeps/unix/sysv/tcflow.c: Likewise.
39033         * sysdeps/unix/sysv/tcflush.c: Likewise.
39034         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39035         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39036         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39037         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39038         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39039
39040         * sysdeps/unix/siglist.c: Remove file.
39041
39042         * sysdeps/unix/getppid.S: Remove file.
39043
39044         * sysdeps/unix/mkdir.c: Remove file.
39045         * sysdeps/unix/rmdir.c: Likewise.
39046
39047 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39048
39049         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39050         ERR_MAX value.
39051         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39052         errlist-compat value.
39053
39054 2012-04-18  David S. Miller  <davem@davemloft.net>
39055
39056         * sysdeps/generic/memcopy.h (reg_char): Delete.
39057         * debug/strcat_chk.c: Use char, not reg_char.
39058         * debug/strcpy_chk.c: Likewise.
39059         * debug/strncat_chk.c: Likewise.
39060         * debug/strncpy_chk.c: Likewise.
39061         * string/memchr.c: Likewise.
39062         * string/memrchr.c: Likewise.
39063         * string/rawmemchr.c: Likewise.
39064         * string/strcat.c: Likewise.
39065         * string/strchr.c: Likewise.
39066         * string/strchrnul.c: Likewise.
39067         * string/strcmp.c: Likewise.
39068         * string/strcpy.c: Likewise.
39069         * string/strncat.c: Likewise.
39070         * string/strncmp.c: Likewise.
39071         * string/strncpy.c: Likewise.
39072
39073 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39074
39075         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39076         __builtin_memcopy is called when src and dest ranges are known to not
39077         overlap.
39078
39079 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39080
39081         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39082         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39083         fwd_align_merge macro call.
39084         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39085         bwd_align_merge macro call.
39086         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39087
39088 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39089
39090         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39091         bwd_align_merge macros.
39092         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39093         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39094         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39095
39096 2012-04-18  David S. Miller  <davem@davemloft.net>
39097
39098         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39099
39100 2012-04-18  Andreas Jaeger  <aj@suse.de>
39101
39102         [BZ# 6794]
39103         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39104         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39105         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39106
39107         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39108         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39109         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39110
39111         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39112         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39113         Adjust for changed ldbl-128 files.
39114
39115         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39116         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39117         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39118
39119 2012-04-17  David S. Miller  <davem@davemloft.net>
39120
39121         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39122
39123 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39124
39125         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39126         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39127         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39128         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39129         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39130         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39131
39132 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39133
39134         [BZ #6794]
39135         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39136         * math/libm-test.inc: Add ilogb errno and exception tests.
39137         * math/w_ilogb.c: New file: ilogb wrapper.
39138         * math/w_ilogbf.c: New file: ilogbf wrapper.
39139         * math/w_ilogbl.c: New file: ilogbl wrapper.
39140         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39141         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39142         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39143         exception being thrown with 0.0 as argument.
39144         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39145         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39146         exception being thrown with 0.0 as argument.
39147         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39148         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39149         exception being thrown with 0.0 as argument.
39150         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39151         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39152         exception being thrown with 0.0 as argument.
39153         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39154         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39155         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39156         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39157         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39158         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39159         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39160         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39161         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39162
39163 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39164
39165         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39166         with altivec.
39167
39168 2012-04-16  Marek Polacek  <polacek@redhat.com>
39169
39170         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39171
39172 2012-04-16  Marek Polacek  <polacek@redhat.com>
39173
39174         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39175         operands of fdivp instruction.
39176
39177 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39178
39179         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39180         * elf/tst-auditmod3b.c: Likewise.
39181         * elf/tst-auditmod4b.c: Likewise.
39182         * elf/tst-auditmod5b.c: Likewise.
39183         * elf/tst-auditmod6b.c: Likewise.
39184         * elf/tst-auditmod6c.c: Likewise.
39185         * elf/tst-auditmod7b.c: Likewise.
39186         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39187         * sysdeps/x86_64/preconfigure.in: Likewise.
39188         * sysdeps/x86_64/preconfigure: Regenerated.
39189
39190 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39191
39192         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39193         __ILP32__.
39194
39195 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39196
39197         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39198         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39199
39200 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39201
39202         [BZ #13973]
39203         * locale/iso-639.def: Fix gl language name. Spotted by
39204         Yaron Shahrabani.
39205
39206 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39207
39208         [BZ #2074]
39209         * libio/libio.h (__io_write_fn): Update comment.
39210
39211 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39212
39213         [BZ #2074]
39214         * stdio.texi (Hook Functions): The user provided writer function
39215         is not allowed to return -1.
39216
39217 2012-04-11  David S. Miller  <davem@davemloft.net>
39218
39219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39220
39221 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39222
39223         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39224         Add a leading slash to rtkaio.
39225
39226 2012-04-11  Jim Meyering  <meyering@redhat.com>
39227
39228         [BZ #11959]
39229         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39230         It is not necessarily an error to ignore fwrite's return
39231         value.  One can reliably use ferror to test for errors after
39232         the fact.
39233
39234 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39235
39236         * bits/types.h (__snseconds_t): New type.
39237         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39238
39239         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39241         (__SNSECONDS_T_TYPE): Likewise.
39242         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39243         (__SNSECONDS_T_TYPE): Likewise.
39244         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39245         (__SNSECONDS_T_TYPE): Likewise.
39246
39247 2012-04-10  Andreas Jaeger  <aj@suse.de>
39248
39249         [BZ #2636]
39250         * manual/time.texi (Processor Time): Return type of times is
39251         elapsed real time since an arbitrary point in the past.
39252         (CPU Time): Move CLK_TCK from here...
39253         (Processor Time): ...to here.  Correct description.
39254         * manual/conf.texi (Constants for Sysconf): Correct description of
39255         _SC_CLK_TCK.
39256
39257 2012-04-10  David S. Miller  <davem@davemloft.net>
39258
39259         [BZ #13967]
39260         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39261         where the is a gap between DT_REL(A) and DT_JMPREL.
39262
39263 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39264
39265         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39266         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39267         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39268
39269 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39270
39271         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39272         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39273         (dl_main): Handle --inhibit-cache.
39274         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39275         _dl_inhibit_cache.
39276         * elf/dl-load.c (_dl_map_object): Use it.
39277         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39278
39279 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39280
39281         [BZ #13872]
39282         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39283         (__ieee754_powl): Saturate large exponents rather than testing for
39284         overflow of y*log2(x).
39285         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39286         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39287         exceptions.
39288
39289         [BZ #11521]
39290         * math/s_ctan.c: Include <float.h>.
39291         (__ctan): Avoid internal overflow or cancellation in calculating
39292         denominator.
39293         * math/s_ctanf.c: Likewise.
39294         * math/s_ctanl.c: Likewise.
39295         * math/s_ctanh.c: Likewise.
39296         * math/s_ctanhf.c: Likewise.
39297         * math/s_ctanhl.c: Likewise.
39298         * math/libm-test.inc (ctan_test): Add more tests.
39299         (ctanh_test): Likewise.
39300         * sysdeps/i386/fpu/libm-test-ulps: Update.
39301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39302
39303 2012-04-09  Andreas Jaeger  <aj@suse.de>
39304
39305         [BZ #6894]
39306         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39307         is an optional BSD extension.
39308
39309         [BZ #10254]
39310         * manual/stdio.texi (Opening Streams): Document additional fopen
39311         parameters.
39312
39313 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39314
39315         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39316         %eax without telling the compiler.
39317
39318 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39319
39320         [BZ # 13963]
39321         * manual/install.texi: Use sourceware.org.
39322
39323 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39324
39325         [BZ #13873]
39326         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39327         (__ieee754_pow): Generate overflow and underflow using huge*huge
39328         and tiny*tiny rather than just returning constant infinity or zero
39329         for large exponents.
39330         * math/libm-test.inc (pow_test): Require overflow exceptions for
39331         applicable cases of large exponents.
39332
39333         [BZ #706]
39334         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39335         (__ieee754_pow): Use iterative multiplication algorithm only for
39336         integer exponents with absolute value below 1024.  Check for odd
39337         integer exponents when using algorithm for real exponents.
39338         * math/libm-test.inc (pow_test): Add more tests.
39339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39340
39341 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39342
39343         [BZ #13705]
39344         * math/libm-test.inc (exp_test): Do not allow overflow exception
39345         on underflow test.
39346
39347 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39348
39349         [BZ #13705]
39350         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39351         instead of __kernel_standard_f.
39352
39353 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39354
39355         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39356         * sysdeps/x86_64/memset_chk.S: Likewise.
39357
39358 2012-04-08  Andreas Jaeger  <aj@suse.de>
39359
39360         [BZ #10153]
39361         * manual/startup.texi (Environment Access): Describe return value
39362         for putenv and setenv.
39363
39364         [BZ #6895]
39365         * manual/filesys.texi (Directory Entries): Add description for
39366         DT_LNK.
39367
39368         [BZ #6890]
39369         * manual/filesys.texi (Directory Entries): Clarify that it's file
39370         system not operating system in the description of DT_UNKNOWN.
39371
39372         [BZ #6578]
39373         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39374
39375 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39376
39377         [BZ #6649]
39378         * manual/llio.texi (Opening and Closing Files): Add cross
39379         reference to explain mode argument.
39380
39381 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39382
39383         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39384         * sysdeps/x86_64/memset_chk.S: Likewise.
39385
39386 2012-04-07  David S. Miller  <davem@davemloft.net>
39387
39388         * elf/elf.h (R_SPARC_WDISP10): Define.
39389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39390         R_SPARC_SIZE32.
39391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39392         R_SPARC_SIZE64 and R_SPARC_H34.
39393
39394 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39395
39396         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39397         conditions and remove no longer applicable assertion.
39398
39399 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39400
39401         * bits/byteswap.h: Include <features.h>.
39402         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39403         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39404
39405 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39406
39407         * bits/byteswap.h (__bswap_16): Removed.
39408         Include <bits/byteswap-16.h> to get __bswap_16.
39409         * sysdeps/i386/bits/byteswap.h: Likewise.
39410         * sysdeps/s390/bits/byteswap.h: Likewise.
39411         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39412         * bits/byteswap-16.h: New file.
39413         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39414         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39415         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39416         * string/Makefile (headers): Add bits/byteswap-16.h.
39417
39418 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39419
39420         [BZ #13895]
39421         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39422         extra indirection.
39423         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39424         * nss/tst-nss-static.c: New.
39425
39426 2012-04-06  Robert Millan  <rmh@gnu.org>
39427
39428         [BZ #6486]
39429         * manual/llio.texi (File Position Primitive): lseek
39430         refers to WHENCE when it really means OFFSET.
39431
39432 2012-04-06  Andreas Jaeger  <aj@suse.de>
39433
39434         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39435         strncmp declarations.
39436
39437         * abilist/libc.abilist: Add __poll and __ppoll.
39438
39439 2012-04-05  David S. Miller  <davem@davemloft.net>
39440
39441         * scripts/check-local-headers.sh: Accept a host triplet in the
39442         path matched by the exclude regexp.
39443
39444         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39445         definition.
39446         * sysdeps/powerpc/powerpc32/dl-machine.h
39447         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39448         * sysdeps/s390/s390-32/dl-machine.h
39449         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39450         * sysdeps/sparc/sparc32/dl-machine.h
39451         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39452         * sysdeps/sparc/sparc64/dl-machine.h
39453         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39454
39455         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39456         lazy binding.
39457         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39458         undefined symbol errors.
39459
39460         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39461         DT_NEEDED entries.
39462
39463 2012-04-05  Michael Matz  <matz@suse.de>
39464
39465         [BZ #13592]
39466         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39467
39468 2012-04-05  Andreas Jaeger  <aj@suse.de>
39469
39470         [BZ #13908]
39471         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39472         comment.
39473
39474 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39475
39476         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39477         which ROUND is no valid rounding mode.
39478
39479 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39480
39481         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39482         read again.
39483         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39484
39485 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39486
39487         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39488         an exception using FPU order intentionally.
39489
39490 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39491
39492         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39493         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39494         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39495         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39496
39497 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39498
39499         [BZ #12340]
39500         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39501         EINVAL when BUFLEN is too smal.
39502
39503 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39504
39505         [BZ #13553]
39506         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39507         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39508
39509 2012-04-03  Andreas Jaeger  <aj@suse.de>
39510
39511         [BZ #13938]
39512         * manual/setjmp.texi (System V contexts): Fix sentence.
39513
39514         [BZ #13926]
39515         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39516         New macro for this case.
39517         [!__GNUC__] (__bswap_64): New inline function for this case.
39518         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39519         * bits/byteswap.h: Likewise.
39520         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39521         ull, guard with __GLIBC_HAVE_LONG_LONG.
39522
39523         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39524         __GLIBC_HAVE_LONG_LONG.
39525
39526         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39527         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39528
39529 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39530
39531         [BZ #13691]
39532         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39533         inptr and inend, rather than using last_ch.
39534
39535 2012-04-02  David S. Miller  <davem@davemloft.net>
39536
39537         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39538         * stdio-common/printf-parse.h (read_int): Change return type to
39539         'int', return -1 on INT_MAX overflow.
39540         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39541         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39542         overflows INT_MAX.  Check for overflow of in-format-string precision
39543         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39544         SIZE_MAX not INT_MAX for integer overflow test.
39545         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39546         skip the construct in the format string but do not record anything.
39547         * stdio-common/bug22.c: Adjust to test both width/prevision
39548         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39549         explicitly for proper errno values.
39550
39551 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39552
39553         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39554         CHAR_MAX.
39555         * string/test-strcmp.c [! WIDE]: Likewise.
39556         * time/tst-mktime2.c: Likewise for INT_MAX.
39557         * string/test-string.h: #include <sys/param.h> for MIN.
39558
39559         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39560         * sysdeps/i386/init-first.c (init): Likewise.
39561         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39562         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39563         * sysdeps/sh/init-first.c (init): Likewise.
39564
39565 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39566
39567         * po/ru.po: Update from translation team.
39568         * po/vi.po: Likewise.
39569
39570 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39571
39572         * resolv/nss_dns/dns-host.c: Merge copyright years.
39573
39574 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39575
39576         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39577         Optimize memcpy with prefetch if
39578         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39579         src, dst pointers have unequal 16 byte alignments.
39580
39581 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39582
39583         [BZ #13928]
39584         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39585         from a CNAME entry and return the minimum ttl for the query.
39586         (gaih_getanswer_slice): Likewise.
39587
39588 2012-03-30  Jeff Law  <law@redhat.com>
39589
39590         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39591         due to long keys.
39592         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39593         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39594
39595         * resolv/nss_dns/dns-host.c: Update copyright year.
39596
39597 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39598
39599         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39600         requests to save a system call.  Fix check that all bytes are sent.
39601
39602         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39603         comments for sendmmsg.
39604
39605 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39606
39607         [BZ #13691]
39608         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39609         with only 1 character between 0x0041 and 0x01b0.
39610         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39611         * wcsmbs/tst-mbsnrtowcs.c: New file.
39612
39613 2012-03-29  David S. Miller  <davem@davemloft.net>
39614
39615         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39616         small copies by hand.
39617
39618 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39619
39620         [BZ #13761]
39621         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39622         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39623         group memberships.
39624
39625 2012-03-28  David S. Miller  <davem@davemloft.net>
39626
39627         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39628         that branches into memcpy.
39629         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39630         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39631         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39632         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39634         bits.
39635         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39636         implementation too.
39637         * sysdeps/sparc/mempcpy.S: New file.
39638
39639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39640         the IFUNC routine in the libc case.
39641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39642
39643         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39644         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39645         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39646         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39647         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39648         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39649         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39650         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39651
39652         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39653         loop to 256 bytes instead of 64 bytes and fix test signedness.
39654
39655         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39656         * sysdeps/sparc/sparc32/Makefile: rather than here...
39657         * sysdeps/sparc/sparc64/Makefile: and here.
39658
39659 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39660
39661         * malloc/mallocbug.c: Avoid warnings about unused variables.
39662
39663 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39664
39665         [BZ #13760]
39666         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39667         in the right place. Discard and retry query if response is
39668         larger than input buffer size.
39669
39670 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39671
39672         [BZ #369]
39673         [BZ #2678]
39674         [BZ #3866]
39675         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39676         x for large integer exponent.
39677         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39678         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39679         sign of result as needed afterwards.
39680         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39681         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39682         result for underflowing pow the same as for overflow.
39683         (__kernel_standard_l): Handle powl overflow and underflow here
39684         rather than calling __kernel_standard.
39685         * math/libm-test.inc (pow_test): Add more tests.
39686
39687         [BZ #3868]
39688         [BZ #13879]
39689         [BZ #13910]
39690         [BZ #13911]
39691         [BZ #13912]
39692         [BZ #13913]
39693         [BZ #13915]
39694         [BZ #13916]
39695         [BZ #13917]
39696         [BZ #13918]
39697         [BZ #13919]
39698         [BZ #13920]
39699         [BZ #13921]
39700         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39701         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39702         (__kernel_standard_l): New function.
39703         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39704         __kernel_standard.
39705         * math/w_acosl.c (__acosl): Likewise.
39706         * math/w_asinl.c (__asinl): Likewise.
39707         * math/w_atan2l.c (__atan2l): Likewise.
39708         * math/w_atanhl.c (__atanhl): Likewise.
39709         * math/w_coshl.c (__coshl): Likewise.
39710         * math/w_exp10l.c (__exp10l): Likewise.
39711         * math/w_exp2l.c (__exp2l): Likewise.
39712         * math/w_fmodl.c (__fmodl): Likewise.
39713         * math/w_hypotl.c (__hypotl): Likewise.
39714         * math/w_j0l.c (__j0l, __y0l): Likewise.
39715         * math/w_j1l.c (__j1l, __y1l): Likewise.
39716         * math/w_jnl.c (__jnl, __ynl): Likewise.
39717         * math/w_lgammal.c (__lgammal): Likewise.
39718         * math/w_log10l.c (__log10l): Likewise.
39719         * math/w_log2l.c (__log2l): Likewise.
39720         * math/w_logl.c (__logl): Likewise.
39721         * math/w_powl.c (__powl): Likewise.
39722         * math/w_remainderl.c (__remainderl): Likewise.
39723         * math/w_scalbl.c (sysv_scalbl): Likewise.
39724         * math/w_sinhl.c (__sinhl): Likewise.
39725         * math/w_sqrtl.c (__sqrtl): Likewise.
39726         * math/w_tgammal.c (__tgammal): Likewise.
39727         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39728         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39729         * math/libm-test.inc (acos_test): Add more tests.
39730         (acosh_test): Likewise.
39731         (asin_test): Likewise.
39732         (atanh_test): Likewise.
39733         (exp_test): Likewise.
39734         (exp10_test): Likewise.
39735         (exp2_test): Likewise.
39736         (expm1_test): Likewise.
39737         (lgamma_test): Likewise.
39738         (log_test): Likewise.
39739         (log10_test): Likewise.
39740         (log1p_test): Likewise.
39741         (log2_test): Likewise.
39742         (pow_test): Do not allow some spurious overflow exceptions.
39743         (sqrt_test): Add more tests.
39744         (tgamma_test): Likewise.
39745         (y0_test): Likewise.
39746         (y1_test): Likewise.
39747         (yn_test): Likewise.
39748
39749 2012-03-27  Anton Blanchard  <anton@samba.org>
39750
39751         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39752         MAP_HUGETLB.
39753         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39754         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39755         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39756
39757 2012-03-27  David S. Miller  <davem@davemloft.net>
39758
39759         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39760
39761         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39762         have-as-vis3 check.
39763
39764 2012-03-27  Andreas Jaeger  <aj@suse.de>
39765
39766         * sysdeps/x86_64/elf/configure.in: Moved to ...
39767         * sysdeps/x86_64/configure.in: ... here.
39768         * sysdeps/x86_64/elf/start.S: Moved to ...
39769         * sysdeps/x86_64/start.S: ... here.
39770         * sysdeps/x86_64/elf/configure: Delete.
39771
39772         * sysdeps/x86_64/configure.in: Merge contents from
39773         sysdeps/i386/configure.in (without i686 check).
39774
39775         * sysdeps/i386/elf/Versions: Merge into ...
39776         * sysdeps/i386/Versions: ... this.
39777         * sysdeps/i386/elf/Versions: Delete file.
39778         * sysdeps/i386/elf/start.S: Moved to ...
39779         * sysdeps/i386/start.S: ...here.
39780         * sysdeps/i386/elf/configure.in: Merge into...
39781         * sysdeps/i386/configure.in: ...here.
39782         * sysdeps/i386/elf/configure.in: Delete file.
39783         * sysdeps/i386/elf/configure: Delete file.
39784
39785         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39786         * debug/backtracesyms.c: ... here.
39787         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39788         * debug/backtracesymsfd.c: ... here.
39789         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39790         * sysdeps/generic/ifunc-sel.h: ... here.
39791
39792         * sysdeps/unix/i386/start.c: Delete file.
39793         * sysdeps/unix/sparc/start.c: Delete file.
39794         * sysdeps/unix/start.c: Delete file.
39795
39796         * sysdeps/sh/elf/configure.in: Moved to ...
39797         * sysdeps/sh/configure.in: ... here.
39798         * sysdeps/sh/elf/start.S: Moved to ...
39799         * sysdeps/sh/start.S: ... here.
39800         * sysdeps/sh/elf/configure: Delete file.
39801
39802         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39803         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39804         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39805         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39806         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39807         * sysdeps/powerpc/powerpc64/start.S: here.
39808         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39809         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39810         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39811         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39812         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39813
39814         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39815         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39816         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39817         * sysdeps/powerpc/powerpc32/start.S: ... here.
39818         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39819         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39820         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39821
39822         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39823         * sysdeps/powerpc/ifunc-sel.h: ... here.
39824         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39825         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39826
39827         * sysdeps/sparc/elf/configure.in: Moved to ...
39828         * sysdeps/sparc/configure.in: ... here.
39829         * sysdeps/sparc/elf/configure: Delete file.
39830         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39831         * sysdeps/sparc/sparc32/start.S: ... here.
39832         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39833         * sysdeps/sparc/sparc64/start.S: ... here.
39834         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39835         * sysdeps/sparc/sparc32/Makefile: ... this.
39836         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39837         * sysdeps/sparc/sparc64/Makefile: ... this.
39838
39839         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39840         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39841         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39842         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39843         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39844         * sysdeps/s390/s390-32/setjmp.S: ... here.
39845         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39846         * sysdeps/s390/s390-32/configure.in: ... here.
39847         * sysdeps/s390/s390-32/elf/configure: Delete file.
39848         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39849         * sysdeps/s390/s390-32/start.S: ... here.
39850
39851         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39852         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39853         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39854         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39855         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39856         * sysdeps/s390/s390-64/setjmp.S: ... here.
39857         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39858         * sysdeps/s390/s390-64/configure.in: ... here
39859         * sysdeps/s390/s390-64/elf/configure: Delete file.
39860         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39861         * sysdeps/s390/s390-64/start.S: ... here.
39862         * sysdeps/s390/s390-64/elf/configure: Delete.
39863
39864         * configure.in: Remove support for elf directories in sysdeps.
39865
39866         * configure: Regenerated.
39867         * sysdeps/i386/configure: Regenerated.
39868         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39869         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39870         * sysdeps/s390/s390-32/configure: Regenerated.
39871         * sysdeps/s390/s390-64/configure: Regenerated.
39872         * sysdeps/sh/configure: Regenerated.
39873         * sysdeps/sparc/configure: Regenerated.
39874         * sysdeps/x86_64/configure: Regenerated.
39875
39876 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39877
39878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39879
39880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39881         denormal result into account.
39882
39883 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39884
39885         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39886         Reported by Allan McRae <allan@archlinux.org>.
39887
39888 2012-03-23  Jeff Law  <law@redhat.com>
39889
39890         * nss/getnssent.c (__nss_getent): Fix typo.
39891
39892 2012-03-23  David S. Miller  <davem@davemloft.net>
39893
39894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39895
39896 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39897
39898         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39899         to pad to uint64_t for each field.
39900         (dl_tls_index): Replace unsigned long with uint64_t.
39901
39902 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39903         Paul Pluzhnikov  <ppluzhnikov@google.com>
39904
39905         [BZ #6528]
39906         * grp/Makefile (otherlibs): Don't set it.
39907         * inet/Makefile (otherlibs): Likewise.
39908         * login/Makefile (otherlibs): Likewise.
39909         * nscd/Makefile (otherlibs): Likewise.
39910         * posix/Makefile (otherlibs): Likewise.
39911         * pwd/Makefile (otherlibs): Likewise.
39912         * rt/Makefile (otherlibs): Likewise.
39913         * sunrpc/Makefile (otherlibs): Likewise.
39914         * nss/Makefile (otherlibs): Likewise.
39915         Add libnss_files to routines and static-only-routines.
39916         ($(objpfx)getent): Remove rule.
39917         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39918         static-only-routines.
39919
39920 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39921
39922         [BZ #13892]
39923         * math/s_cexp.c: Include <float.h>.
39924         (__cexp): Handle exp result overflowing not necessarily
39925         overflowing both real and imaginary parts of result.
39926         * math/s_cexpf.c: Likewise.
39927         * math/s_cexpl.c: Likewise.
39928         * math/libm-test.inc (cexp_test): Add more tests.
39929         * sysdeps/i386/fpu/libm-test-ulps: Update.
39930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39931
39932 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39933
39934         * include/link.h (ELFW): New macro.
39935         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39936         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39937
39938 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39939
39940         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39941         with uint64_t.
39942
39943 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39944
39945         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39946         declaration.
39947         (struct La_x32_retval): Likewise.
39948
39949 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39950
39951         * sysdeps/x86_64/preconfigure.in: New file.
39952         * sysdeps/x86_64/preconfigure: New generated file.
39953
39954 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39955
39956         [BZ #13824]
39957         * math/e_exp2l.c: Include <float.h>.
39958         (__ieee754_exp2l): Handle overflow and underflow cases
39959         separately.  Only pass fractional part of argument to
39960         __ieee754_expl.
39961         * math/libm-test.inc (exp2_test): Add more tests.
39962
39963         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39964         negating x to take absolute value.
39965         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39966         Likewise.
39967         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39969         Likewise.
39970         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39971         computing low part if x was negated.
39972         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39973
39974 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39975
39976         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39977         la_x32_gnu_pltexit.
39978         (pltexit): Cast int_retval to ptrdiff_t.
39979         * elf/tst-auditmod3b.c: Likewise.
39980         * elf/tst-auditmod4b.c: Likewise.
39981         * elf/tst-auditmod5b.c: Likewise.
39982         * elf/tst-auditmod6b.c: Likewise.
39983         * elf/tst-auditmod6c.c: Likewise.
39984         * elf/tst-auditmod7b.c: Likewise.
39985
39986         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39987         and x32_gnu_pltexit.
39988
39989         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39990         __ELF_NATIVE_CLASS.
39991         (La_x32_regs): New macro.
39992         (La_x32_retval): Likewise.
39993         (la_x32_gnu_pltenter): New function prototype.
39994         (la_x32_gnu_pltexit): Likewise.
39995
39996 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39997
39998         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39999         exponent.
40000
40001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40002
40003         * configure.in (libc_cv_cc_nofma): Check for option to disable
40004         generation of FMA instructions.
40005         * configure: Regenerate.
40006         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40007         * sysdeps/ieee754/dbl-64/Makefile: New file.
40008         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40009         Remove brandred-fma4.
40010         (CFLAGS-brandred-fma4.c): Remove.
40011         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40012         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40013         define.
40014         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40015         define.
40016
40017 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40018
40019         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40020         LLONG_MAX != LONG_MAX.
40021         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40022         (_fitoa_word): Likewise.
40023         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40024         LLONG_MAX != LONG_MAX.
40025         * stdio-common/_itowa.h: Include <_itoa.h>.
40026         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40027         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40028         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40029         only if not defined.
40030         (_ITOA_WORD_TYPE): Likewise.
40031         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40032         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40033
40034 2012-03-21  David S. Miller  <davem@davemloft.net>
40035
40036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40037
40038 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40039
40040         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40041         of x86_64 when setting libc_cv_slibdir, libdir and
40042         libc_cv_localedir.
40043         * sysdeps/unix/sysv/linux/configure: Regenerated.
40044
40045 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40046
40047         * manual/lang.texi (Old Varargs): Remove section.
40048         (How Variadic): Update menu.
40049         (va_start): Do not mention varargs.h.
40050
40051 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40052             Joseph Myers  <joseph@codesourcery.com>
40053
40054         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40055         link test.
40056         * configure: Regenerated.
40057
40058 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40059
40060         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40061         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40062         conformtest.pl
40063
40064 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40065
40066         * NOTES: Remove.
40067         * Makefile (files-for-dist): Remove NOTES.
40068         (NOTES): Remove rule.
40069         * README: Don't refer to NOTES.
40070         * manual/creature.texi: Don't include macros.texi.
40071         * manual/intro.texi (creature.texi): Remove comment referring to
40072         NOTES.
40073
40074         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40075         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40076         * configure: Regenerated.
40077         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40078         LIBC_TRY_CC_OPTION.
40079         (libc_cv_as_i686): Likewise.
40080         (libc_cv_cc_avx): Likewise.
40081         (libc_cv_cc_sse2avx): Likewise.
40082         (libc_cv_cc_fma4): Likewise.
40083         (libc_cv_cc_novzeroupper): Likewise.
40084         * sysdeps/i386/configure: Regenerated.
40085
40086         [BZ #13883]
40087         * sysdeps/i386/fpu/s_cexp.S: Remove.
40088         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40089         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40090         * math/libm-test.inc (cexp_test): Add more tests.
40091         * sysdeps/i386/fpu/libm-test-ulps: Update.
40092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40093
40094 2012-03-21  Allan McRae  <allan@archlinux.org>
40095
40096         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40097
40098 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40099
40100         [BZ #13871]
40101         * math/w_exp2.c: Do not include <float.h>.
40102         (o_threshold, u_threshold): Remove.
40103         (__exp2): Calculate result before checking finiteness and calling
40104         __kernel_standard.
40105         * math/w_exp2f.c: Likewise.
40106         * math/w_exp2l.c: Likewise.
40107         * math/libm-test.inc (exp2_test): Require overflow exception for
40108         1e6 input.
40109
40110         [BZ #3866]
40111         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40112         range of signed 64-bit integers before using fistpll.  Remove
40113         checks for whether integers fit in mantissa bits.
40114         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40115         the range of signed 32-bit integers before using fistpl.  Remove
40116         checks for whether integers fit in mantissa bits.
40117         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40118         (__ieee754_powl): Test for y outside the range of signed 64-bit
40119         integers before using fistpll.  Reduce 64-bit values to 63-bit
40120         ones as needed.
40121         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40122         divide-by-zero is raised for zero to large negative powers.
40123         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40124         (__ieee754_powl): Test for y outside the range of signed 64-bit
40125         integers before using fistpll.  Reduce 64-bit values to 63-bit
40126         ones as needed.
40127         * math/libm-test.inc (pow_test): Add more tests.
40128
40129 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40130
40131         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40132         <stdio-common/_itoa.h>.
40133         * debug/segfault.c: Likewise.
40134         * elf/dl-cache.c: Likewise.
40135         * elf/dl-minimal.c: Likewise.
40136         * elf/dl-misc.c: Likewise.
40137         * elf/dl-sysdep.c: Likewise.
40138         * elf/dl-version.c: Likewise.
40139         * elf/rtld.c: Likewise.
40140         * hurd/hurdsock.c: Likewise.
40141         * hurd/lookup-retry.c: Likewise.
40142         * malloc/malloc.c: Likewise.
40143         * malloc/mtrace.c: Likewise.
40144         * nscd/nscd_getgr_r.c: Likewise.
40145         * nscd/nscd_getpw_r.c: Likewise.
40146         * nscd/nscd_getserv_r.c: Likewise.
40147         * posix/getopt_init.c: Likewise.
40148         * posix/wordexp.c: Likewise.
40149         * stdio-common/_itoa.c: Likewise.
40150         * stdio-common/printf_fphex.c: Likewise.
40151         * stdio-common/vfprintf.c: Likewise.
40152         * string/_strerror.c: Likewise.
40153         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40154         * sysdeps/i386/i686/hp-timing.h: Likewise.
40155         * sysdeps/mach/_strerror.c: Likewise.
40156         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40157         * sysdeps/mach/hurd/sethostid.c: Likewise.
40158         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40159         * sysdeps/mach/xpg-strerror.c: Likewise.
40160         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40162         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40163         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40164         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40165         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40166         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40167         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40168         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40169         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40170         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40171         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40172         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40173         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40174         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40175         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40176         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40177         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40178         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40179         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40180         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40181
40182         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40183
40184         * stdio-common/_itoa.h: Moved to ...
40185         * sysdeps/generic/_itoa.h: Here.
40186
40187         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40188
40189         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40190         instead of "_itoa.h" and "_itowa.h".
40191         * stdio-common/vfprintf.: Likewise.
40192
40193 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40194
40195         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40196         <bits/wordsize.h>.
40197         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40198         (__signbit): Likwise.
40199         (llrintf): Likwise.
40200         (llrint): Likwise.
40201
40202 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40203
40204         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40205         __WORDSIZE != 64.
40206
40207 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40208
40209         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40210         OVERFLOW_EXCEPTION_OK.
40211         * math/libm-test.inc ("Philosophy"): Update comment about
40212         exception testing.
40213         (OVERFLOW_EXCEPTION): Define.
40214         (OVERFLOW_EXCEPTION_OK): Likewise.
40215         (INVALID_EXCEPTION_OK): Renumber.
40216         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40217         (IGNORE_ZERO_INF_SIGN): Likewise.
40218         (test_exceptions): Handle FE_OVERFLOW.
40219         (exp10_test): Expect overflow exceptions.
40220         (exp2_test): Likewise.
40221         (expm1_test): Likewise.
40222         (nextafter_test): Likewise.
40223         (pow_test): Likewise.
40224         (scalbn_test): Likewise.
40225         (scalbln_test): Likewise.
40226
40227 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40228
40229         * sysdeps/x86_64/bits/atomic.h
40230         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40231         64bit integer.
40232         (atomic_exchange_acq): Likewise.
40233         (__arch_exchange_and_add_body): Likewise.
40234         (__arch_add_body): Likewise.
40235         (atomic_add_negative): Likewise.
40236         (atomic_add_zero): Likewise.
40237
40238 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40239
40240         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40241         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40242
40243 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40244
40245         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40246         Check __x86_64__ instead of __WORDSIZE.
40247
40248 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40249
40250         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40251
40252 2012-03-19  David S. Miller  <davem@davemloft.net>
40253
40254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40255
40256         * sysdeps/sparc/fpu/fenv_private.h: New file.
40257         * sysdeps/sparc/fpu/math_private.h: Use it.
40258         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40259         Remove.
40260         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40261         (libc_feholdexcept_setroundl): Remove.
40262         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40263         Remove.
40264         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40265         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40266
40267 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40268
40269         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40270         int64_t instead of long int.
40271         (INSERT_WORDS64): Likwise.
40272
40273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40274
40275         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40276         _Unwind_GetCFA return to _Unwind_Ptr first.
40277
40278 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40279
40280         [BZ #13629]
40281         * math/s_clog.c: Include <float.h>.
40282         (__clog): Scale large or subnormal inputs.
40283         * math/s_clogf.c: Likewise.
40284         * math/s_clogl.c: Likewise.
40285         * math/s_clog10.c: Include <float.h>.
40286         (M_LOG10_2): Define.
40287         (__clog10): Scale large or subnormal inputs.
40288         * math/s_clog10f.c: Likewise.
40289         * math/s_clog10l.c: Likewise.
40290         * math/libm-test.inc (clog_test): Add more tests.
40291         (clog10_test): Likewise.
40292         * sysdeps/i386/fpu/libm-test-ulps: Update.
40293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40294
40295         [BZ #11451]
40296         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40297         x and y.
40298         * math/libm-test.inc (atan2_test): Add another test.
40299
40300         * Makerules (common-objdir-compile): Remove.
40301         * sysdeps/unix/Makefile (config-generated): Do not add
40302         $(unix-generated) to variable.
40303         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40304         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40305         Remove rule.
40306         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40307         Likewise.
40308         [generic bits/local_lim.h] (before-compile): Do not append to
40309         variable.
40310         [generic bits/local_lim.h] (common-generated): Likewise.
40311         [generic sys/param.h] (before-compile): Do not append to variable.
40312         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40313         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40314         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40315         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40316         include.
40317         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40318         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40319         [generic sys/param.h] ($(addprefix
40320         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40321         [generic sys/param.h] (common-generated): Do not append to
40322         variable.
40323         [generic sys/param.h] (sysdep_headers): Likewise.
40324         [generic bits/errno.h] (before-compile): Do not append to
40325         variable.
40326         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40327         rule.
40328         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40329         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40330         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40331         [generic bits/errno.h] (common-generated): Do not append to
40332         variable.
40333         [generic bits/ioctls.h] (before-compile): Do not append to
40334         variable.
40335         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40336         rule.
40337         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40338         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40339         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40340         rule.
40341         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40342         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40343         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40344         [generic bits/ioctls.h] (common-generated): Do not append to
40345         variable.
40346         [generic sys/syscall.h] (syscall.h): Remove variable.
40347         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40348         rule.
40349         [generic sys/syscall.h] (before-compile): Do not append to
40350         variable.
40351         [generic sys/syscall.h] (common-generated): Likewise.
40352         * sysdeps/unix/errnos-tmpl.c: Remove file.
40353         * sysdeps/unix/errnos.awk: Likewise.
40354         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40355         * sysdeps/unix/ioctls.awk: Likewise.
40356         * sysdeps/unix/mk-local_lim.c: Likewise.
40357         * sysdeps/unix/snarf-ioctls: Likewise.
40358
40359 2012-03-19  Richard Henderson  <rth@twiddle.net>
40360
40361         * sysdeps/i386/fpu/fenv_private.h: New file.
40362         * sysdeps/i386/fpu/math_private.h: Use it.
40363         (math_opt_barrier, math_force_eval): Remove.
40364         (libc_feholdexcept_setround_53bit): Remove.
40365         (libc_feupdateenv_53bit): Remove.
40366         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40367         (math_opt_barrier, math_force_eval): Remove.
40368         (libc_feholdexcept): Remove.
40369         (libc_feholdexcept_setround): Remove.
40370         (libc_fetestexcept, libc_fesetenv): Remove.
40371         (libc_feupdateenv_test): Remove.
40372         (libc_feupdateenv, libc_feholdsetround): Remove.
40373         (libc_feresetround): Remove.
40374
40375         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40376         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40377
40378         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40379         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40380         (libc_feupdateenv_testl): New.
40381         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40382         (libc_feupdateenv_testf): New.
40383         (libc_feupdateenv): Use libc_feupdateenv_test.
40384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40385         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40386
40387         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40388         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40389         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40390         (libc_feresetround_noex): New.
40391         (libc_feresetround_noexf): New.
40392         (libc_feresetround_noexl): New.
40393         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40394         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40395         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40396         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40397         SET_RESTORE_ROUND.
40398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40400         (__cos): Likewise.
40401         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40402         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40403         SET_RESTORE_ROUND_NOEX.
40404         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40405         SET_RESTORE_ROUND_NOEXF.
40406         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40407         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40408         (libc_feholdsetroundf): New.
40409         (libc_feresetround, libc_feresetroundf): New.
40410
40411         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40412         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40413         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40414
40415         * sysdeps/generic/math_private.h: Include <fenv.h>.
40416         (default_libc_feholdexcept): New.
40417         (default_libc_feholdexcept_setround): New.
40418         (default_libc_fesetenv, default_libc_feupdateenv): New.
40419         (libc_feholdexcept): Only define if undefined.
40420         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40421         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40422         (libc_feholdexcept_setroundl): Likewise.
40423         (libc_feholdexcept_setround_53bit): Likewise.
40424         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40425         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40426         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40427         (libc_feupdateenv_53bit): Likewise.
40428         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40429         (libc_feholdexcept): Convert from macro to inline function.
40430         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40431         (libc_fesetenv, libc_feupdateenv): Likewise.
40432
40433         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40434         not previously defined.
40435         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40436         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40437         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40438         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40439         * sysdeps/ieee754/flt-32/math_private.h: New file.
40440         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40441         math_private.h below SET_FLOAT_WORD.
40442         (__isnan, __isinf_ns, __finite): Remove.
40443         (__isnanf, __isinf_nsf, __finitef): Remove.
40444
40445 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40446
40447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40448
40449 2012-03-17  David S. Miller  <davem@davemloft.net>
40450
40451         [BZ #6471]
40452         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40453         for 2.16.
40454
40455 2012-03-16  David S. Miller  <davem@davemloft.net>
40456
40457         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40458         warnings.
40459
40460         [BZ #6471]
40461         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40462         properly.
40463         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40464         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40465         sysdep_routines when subdir is sysvipc.
40466         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40467         __getshmlba helper.
40468
40469         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40470
40471 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40472
40473         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40474         [__LP64__].
40475
40476 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40477
40478         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40479         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40480         (__lround): Renamed to ...
40481         (__llround): This.  Replace long int with long long int.
40482         Define lround functions as aliases of llround functions.
40483         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40484
40485 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40486
40487         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40488         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40489         adresses to uintptr_t.  Replace "long int" and "unsigned long
40490         int" with "greg_t" on va_arg.
40491
40492 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40493
40494         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40495         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40496
40497         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40498         Move e_machine check before EI_CLASS check.  Handle x32
40499         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40500         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40501         SKIP_EM_IA_64 and include
40502         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40503
40504         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40505         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40506         (add_system_dir): New macro.
40507
40508         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40509         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40510
40511 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40512
40513         [BZ #2551]
40514         [BZ #2552]
40515         [BZ #2553]
40516         [BZ #2554]
40517         [BZ #2562]
40518         [BZ #2563]
40519         [BZ #2565]
40520         [BZ #2566]
40521         [BZ #2576]
40522         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40523         (y0): Likewise.
40524         * math/w_j0f.c (j0f): Likewise.
40525         (y0f): Likewise.
40526         * math/w_j0l.c (__j0l): Likewise.
40527         (__y0l): Likewise.
40528         * math/w_j1.c (j1): Likewise.
40529         (y1): Likewise.
40530         * math/w_j1f.c (j1f): Likewise.
40531         (y1f): Likewise.
40532         * math/w_j1l.c (__j1l): Likewise.
40533         (__y1l): Likewise.
40534         * math/w_jn.c (jn): Likewise.
40535         (yn): Likewise.
40536         * math/w_jnf.c (jnf): Likewise.
40537         (ynf): Likewise.
40538         * math/w_jnl.c (__jnl): Likewise.
40539         (__ynl): Likewise.
40540         * math/libm-test.inc (j0_test): Add more tests.
40541         (j1_test): Likewise.
40542         (jn_test): Likewise.  Add trailing semicolon to existing test.
40543         (y0_test): Likewise.
40544         (y1_test): Likewise.
40545         * sysdeps/i386/fpu/libm-test-ulps: Update.
40546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40547
40548         [BZ #13851]
40549         [BZ #13854]
40550         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40551         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40552         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40553         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40554         (__tanl): Set errno for infinite argument.
40555         * sysdeps/i386/fpu/mptan.c: Remove.
40556         * sysdeps/i386/fpu/s_tan.S: Likewise.
40557         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40558         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40559         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40560         * math/libm-test.inc (tan_test): Add more tests and enable more
40561         tests for double and long double.
40562         * sysdeps/i386/fpu/libm-test-ulps: Update.
40563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40564
40565 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40566
40567         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40568         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40569
40570 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40571
40572         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40573         * configure.in: Use it for both main tree and add-ons.
40574         * configure: Regenerated.
40575
40576 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40577
40578         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40579
40580 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40581
40582         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40583         in comment.
40584
40585         [BZ #13851]
40586         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40587         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40588         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40591         infinite argument.
40592         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40594         != 0 for prec == 2.
40595         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40596         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40597         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40598         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40599         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40600         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40601         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40602         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40603         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40604         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40605         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40606         * math/libm-test.inc (cos_test): Add more tests and enable more
40607         tests for long double.
40608         (sin_test): Likewise.
40609         (sincos_test): Likewise.
40610         * sysdeps/i386/fpu/libm-test-ulps: Update.
40611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40612
40613 2012-03-16  David S. Miller  <davem@davemloft.net>
40614
40615         * sysdeps/sparc/fpu/math_private.h: New file.
40616
40617 2012-03-15  David S. Miller  <davem@davemloft.net>
40618
40619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40620         file.
40621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40623         file.
40624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40628         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40629         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40630         sysdep routines.
40631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40632
40633         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40634         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40635
40636         * sysdeps/sparc/sparc-ifunc.h: New file.
40637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40638         sparc-ifunc.h
40639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40641         Likewise.
40642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40643         Likewise.
40644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40648         Likewise.
40649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40654         Likewise.
40655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40656         Likewise.
40657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40663         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40664         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40672         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40675         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40676         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40677         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40678         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40679         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40680         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40681
40682 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40683
40684         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40685         scaling.
40686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40687
40688 2012-03-15  Andreas Jaeger  <aj@suse.de>
40689
40690         [BZ #13852]
40691         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40692         ieee754/flt-32 implementation for sin, cos and sincos.
40693         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40694         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40695         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40696         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40697         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40698         ieee754/flt-32 implementation for tan.
40699
40700         * math/libm-test.inc (cos_test): Enable some large input tests for
40701         float as well
40702         (sin_test): Likewise.
40703         (sincos_test): Likewise.
40704         (tan_test): Add tests for large input.
40705
40706         * sysdeps/i386/fpu/libm-test-ulps: Update.
40707
40708 2012-03-15  Andreas Jaeger  <aj@suse.de>
40709
40710         [BZ #13658]
40711         * math/libm-test.inc (cos_test): Add more test cases.
40712         (sin_test): Likewise.
40713         (sincos_test): Likewise.
40714
40715 2012-03-15  Andreas Jaeger  <aj@suse.de>
40716
40717         [BZ #13837]
40718         * math/libm-test.inc (cos_test): Add a test case for large input
40719         value.
40720         (sin_test): Likewise.
40721         (sincos_test): Likewise.
40722
40723 2012-03-15  Andreas Jaeger  <aj@suse.de>
40724             Joseph Myers  <joseph@codesourcery.com>
40725
40726         [BZ #13658]
40727         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40728         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40729         * sysdeps/i386/fpu/branred.c: Likewise.
40730         * sysdeps/i386/fpu/dosincos.c: Likewise.
40731         * sysdeps/i386/fpu/mpa.c: Likewise.
40732         * sysdeps/i386/fpu/s_cos.S: Likewise.
40733         * sysdeps/i386/fpu/s_sin.S: Likewise.
40734         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40735         * sysdeps/i386/fpu/sincos32.c: Likewise.
40736
40737         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40738         Define.
40739         (libc_feupdateenv_53bit): Define.
40740         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40741         Define.
40742         (libc_feupdateenv_53bit): Define.
40743
40744         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40745         53 bit (without extend i386 double precision).
40746
40747         * math/libm-test.inc (sincos_test): Add tests for large input.
40748         (sin): Likewise.
40749         (cos): Likewise.
40750
40751         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40752
40753 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40754
40755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40756
40757 2012-03-15  David S. Miller  <davem@davemloft.net>
40758
40759         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40760         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40761         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40762         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40775         file.
40776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40778         file.
40779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40781         file.
40782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40784         file.
40785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40786         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40787         fmin/fmax sysdep routines.
40788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40789
40790 2012-03-14  David S. Miller  <davem@davemloft.net>
40791
40792         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40796         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40797         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40798         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40799         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40801         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40802         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40803         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40806         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40807         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40808         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40809         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40812         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40813         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40814         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40815         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40816         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40817         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40818         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40819         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40820         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40821         routines.
40822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40823         file.
40824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40826         file.
40827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40829         file.
40830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40832         file.
40833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40835         file.
40836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40838         file.
40839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40840         file.
40841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40842         file.
40843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40844         file.
40845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40846         New file.
40847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40848         file.
40849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40850         file.
40851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40853         file.
40854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40856         file.
40857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40859         file.
40860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40862         VIS3 routines.
40863
40864         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40865         New file.
40866
40867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40868
40869         * sysdeps/sparc/configure.in: New file.
40870         * sysdeps/sparc/configure: Generate.
40871         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40872         * configure: Regenerate.
40873         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40874         * config.make.in (have-as-vis3): New.
40875         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40876         available use -Av9d instead of -Av9a.
40877         * sysdeps/sparc/sparc64/Makefile: Likewise.
40878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40880         New file.
40881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40882         file.
40883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40884         New file.
40885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40886         file.
40887         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40888         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40889         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40890         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40891         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40892
40893         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40894         fzeros/fnegs to load 0x80000000 into a float register instead of
40895         using the stack.
40896         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40897
40898 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40899
40900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40901         bits/syscall.h.
40902         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40903         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40904         ($(inst_includedir)/bits/syscall.h): Remove rule.
40905         ($(objpfx)bits/syscall.d): Include instead of
40906         $(objpfx)syscall-list.d.
40907         (generated): Change syscall-list.h and syscall-list.d to
40908         bits/syscall.h and bits/syscall.d.
40909
40910 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40911
40912         [BZ #13846]
40913         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40914
40915 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40916
40917         [BZ #13841]
40918         * math/s_csqrt.c: Include <float.h>.
40919         (__csqrt): Scale large or subnormal inputs.
40920         * math/s_csqrtf.c: Likewise.
40921         * math/s_csqrtl.c: Likewise.
40922         * math/libm-test.inc (csqrt_test): Add more tests.
40923         * sysdeps/i386/fpu/libm-test-ulps: Update.
40924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40925
40926         [BZ #13840]
40927         * math/libm-test.inc (hypot_test): Add more tests.
40928
40929 2012-03-13  David S. Miller  <davem@davemloft.net>
40930
40931         [BZ #13840]
40932         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40933         double-precision for the calculation instead of scaling.
40934
40935 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40936
40937         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40938         manipulate bits before adding and subtracting TWO52[sx].
40939         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40940         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40941         Likewise.
40942         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40943
40944 2012-03-13  David S. Miller  <davem@davemloft.net>
40945
40946         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40947         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40948         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40949         rtld-global-offsets.h
40950         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40951
40952         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40953         large parameters.
40954
40955         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40956
40957         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40958         'err' in the ifdef scope in which it is actually used.
40959
40960         * nss/nss_db/db-init.c: Include string.h
40961
40962 2012-03-12  David S. Miller  <davem@davemloft.net>
40963
40964         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40965         masking out of the most significant byte of random value used.
40966         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40967         Fix coding style in previous change.
40968
40969         * sysdeps/unix/sysv/linux/kernel-features.h
40970         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40971         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40972         expression.
40973         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40974         later.
40975
40976 2012-03-11  David S. Miller  <davem@davemloft.net>
40977
40978         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40979         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40980         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40981         for 'resultvar' otherwise things get truncated on 64-bit.
40982
40983         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40984         Fix masking out of the most significant byte of random value used.
40985
40986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40987
40988 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40989
40990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40991
40992 2012-03-09  David S. Miller  <davem@davemloft.net>
40993
40994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40995         variables with appropriate CPP guards.
40996         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40997         from the frame pointer, not the stack pointer.  Correct layout
40998         comments.  Fix test on resulting framesize and the management of
40999         the outregs buffer for pltexit.  Preserve floating point return
41000         values across _dl_call_pltexit call.
41001         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41002         framesize and the management of the outregs buffer for pltexit.
41003         Preserve floating point return values across _dl_call_pltexit
41004         call.
41005         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41006         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41007         (la_sparc64_gnu_pltexit): New functions.
41008         (print_exit): Fix format string for return register value.
41009
41010 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41011
41012         * sunrpc/Makefile (others): Add rpcgen.
41013         ($(objpfx)rpcgen): Remove special build rule and dependency on
41014         libc.
41015         * sunrpc/rpcgen.c: New file.
41016
41017 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41018
41019         [BZ #13673]
41020         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41021         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41022         * sysdeps/i386/crti.S: Likewise.
41023         * sysdeps/i386/crtn.S: Likewise.
41024         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41025         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41026         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41027         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41028         * sysdeps/sh/crti.S: Likewise.
41029         * sysdeps/sh/crtn.S: Likewise.
41030         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41031
41032         [BZ #13673]
41033         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41034         with URL.
41035         * locale/programs/locfile-kw.gperf: Likewise.
41036         * locale/programs/charmap-kw.h: Regenerated.
41037         * locale/programs/locfile-kw.h: Likewise.
41038
41039         [BZ #13673]
41040         * intl/plural.y: Replace FSF snail mail address with URL.
41041         * intl/plural.c: Regenerated.
41042
41043 2012-03-09  Richard Henderson  <rth@twiddle.net>
41044
41045         * include/math_private.h: Remove file.
41046         * math/math_private.h: Move file ...
41047         * sysdeps/generic/math_private.h: ... here.
41048
41049         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41050         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41051         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41052
41053         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41054         and <math_private.h>.
41055         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41056         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41057         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41058         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41059         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41060         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41061         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41062         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41063         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41064         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41065         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41066         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41067         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41068         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41069         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41070         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41071         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41072         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41073         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41074         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41076         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41077         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41079         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41080         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41081         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41082         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41083         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41119         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41120         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41121         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41122         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41123         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41124         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41125         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41126         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41127         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41129         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41131         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41133         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41134         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41135         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41136         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41138         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41141         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41142         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41143         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41144         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41145         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41146         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41147         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41148         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41149         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41150         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41151         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41152         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41153         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41154         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41155         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41156         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41157         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41158         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41159         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41160         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41161         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41162         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41163         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41164         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41165         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41166         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41167         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41168         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41169         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41170         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41171         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41172         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41173         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41174         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41175         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41176         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41177         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41178         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41181         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41182         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41183         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41184         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41185         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41186         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41187         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41188         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41189         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41190         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41191         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41192         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41193         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41194         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41195         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41196         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41197         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41198         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41199         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41200         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41201         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41202         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41203         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41204         * sysdeps/ieee754/k_standard.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41245         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41247         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41248         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41249         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41250         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41252         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41253         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41254         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41255         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41256         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41257         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41258         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41260         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41261         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41262         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41263         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41264         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41265         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41266         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41267         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41268         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41271         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41272         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41274         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41275         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41276         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41277         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41278         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41279         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41280         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41281         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41284         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41285         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41302         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41304         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41305         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41308         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41309         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41310         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41312         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41314         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41315         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41316         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41317         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41318         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41320         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41322         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41323         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41324         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41325         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41326         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41327         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41328         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41329         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41330         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41331         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41332         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41333         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41335         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41336         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41337         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41338         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41339         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41340         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41341         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41342         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41343         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41344         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41345         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41346         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41347         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41348         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41349         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41350         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41351         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41352         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41353         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41354         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41355         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41356         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41357         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41358         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41359         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41360         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41361         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41362         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41363         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41364         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41365         * sysdeps/ieee754/s_lib_version.c: Likewise.
41366         * sysdeps/ieee754/s_matherr.c: Likewise.
41367         * sysdeps/ieee754/s_signgam.c: Likewise.
41368         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41369         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41370         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41371         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41372         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41373         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41374         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41375         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41376         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41377         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41378         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41379         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41380         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41381         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41382         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41383         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41384         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41385         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41386         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41388         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41389
41390 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41391
41392         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41393         * sunrpc/rpc_main.c: Likewise.
41394         * sunrpc/rpc_svcout.c: Likewise.
41395
41396 2012-03-09  David S. Miller  <davem@davemloft.net>
41397
41398         * include/math_private.h: New file.
41399
41400 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41401
41402         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41403         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41404         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41405         from <bits/socket_type.h>.
41406         (enum __socket_type): Don't define here.
41407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41409         bits/socket_type.h.
41410
41411         [BZ #13566]
41412         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41413         checking __USE_GNU.
41414
41415         * Makerules ($(inst_includedir)/%.h): New rule.
41416         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41417         (install-others): Remove variable setting.
41418         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41419
41420 2012-03-08  Richard Henderson  <rth@twiddle.net>
41421
41422         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41423         from macro to inline function; merge with the
41424         !__LIBC_INTERNAL_MATH_INLINES version.
41425         (__ieee754_sqrtf): Likewise.
41426
41427         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41428         to inline function.
41429         (__rintf, __floor, __floorf): Likewise.
41430
41431         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41432         macro to inline function.
41433         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41434
41435         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41436         not <math/math_private.h>.
41437
41438 2012-03-08  David S. Miller  <davem@davemloft.net>
41439
41440         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41441         copyright year.
41442         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41443
41444 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41445
41446         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41447         normalization.
41448         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41449         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41450
41451 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41452
41453         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41454         be defined individually, they must be defined as a block.  Define
41455         S for printing a string instead of hidint the different by using a
41456         macro for adding the 'l'.
41457         * stdio-common/tst-fphex-wide.c: Adjust.
41458
41459 2012-03-07  Marek Polacek  <polacek@redhat.com>
41460
41461         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41462
41463 2012-03-08  Marek Polacek  <polacek@redhat.com>
41464
41465         [BZ #13806]
41466         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41467         * stdio-common/tst-fphex.c: Define a few macros to make the
41468         test reusable.  Use them.
41469         * stdio-common/tst-fphex-wide.c: New file.
41470
41471 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41472
41473         [BZ #6911]
41474         * manual/macros.texi (gnusystems): New macro.
41475         (nongnusystems): Likewise.
41476         (gnulinuxhurdsystems): Likewise.
41477         (gnuhurdsystems): Likewise..
41478         (gnulinuxsystems): Likewise.
41479         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41480         variants of the GNU system, not "GNU system".
41481         * manual/conf.texi: Likewise.
41482         * manual/errno.texi: Likewise.  Update example of errno macro
41483         expansion.
41484         * manual/filesys.texi: Likewise.
41485         (getumask): Document as specific to GNU/Hurd.
41486         * manual/install.texi: Likewise.  Reword some references to
41487         GNU/Linux.
41488         * manual/intro.texi: Likewise.
41489         * manual/io.texi: Likewise.
41490         (File Name Portability): Detail which constraints are inapplicable
41491         to all GNU systems and which are only inapplicable to GNU/Hurd.
41492         * manual/job.texi: Likewise.
41493         * manual/llio.texi: Likewise.
41494         (O_NOCTTY): Document as present on GNU/Linux.
41495         * manual/maint.texi: Likewise.
41496         * manual/memory.texi: Likewise.
41497         * manual/pattern.texi: Likewise.
41498         * manual/pipe.texi: Likewise.
41499         * manual/process.texi: Likewise.
41500         * manual/resource.texi: Likewise.
41501         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41502         child on GNU/Hurd.
41503         * manual/setjmp.texi: Likewise.
41504         * manual/signal.texi: Likewise.
41505         * manual/startup.texi: Likewise.
41506         * manual/stdio.texi: Likewise.
41507         * manual/terminal.texi: Likewise.
41508         (ONLCR): Document as POSIX.
41509         (OXTABS): Document availability on GNU/Linux as XTABS.
41510         (ONOEOT): Document availability separately from other bits.
41511         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41512         * manual/time.texi: Likewise.
41513         * manual/users.texi: Likewise.
41514         * INSTALL: Regenerated.
41515         * sysdeps/gnu/errlist.c: Regenerated.
41516
41517         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41518         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41519         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41520         puts.
41521         * configure: Regenerated.
41522
41523 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41524
41525         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41526         default includes instead of AC_HEADER_CHECK.
41527         * sysdeps/i386/configure: Regenerated.
41528
41529         [BZ #10716]
41530         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41531         * math/s_cacoshf.c (__cacoshf): Likewise.
41532         * math/s_cacoshl.c (__cacoshl): Likewise.
41533         * math/s_casinh.c (__casinh): Set signs of result from argument.
41534         * math/s_casinhf.c (__casinhf): Likewise.
41535         * math/s_casinhl.c (__casinhl): Likewise.
41536         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41537         (casinh_test): Add more tests.
41538         * sysdeps/i386/fpu/libm-test-ulps: Update.
41539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41540
41541 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41542
41543         * po/zh_TW.po: Update from translation team.
41544
41545         * login/Makefile (distribute): Remove variable.
41546         * catgets/Makefile: Likewise.
41547         * mach/Makefile: Likewise.
41548         * malloc/Makefile: Likewise.
41549         * misc/Makefile: Likewise.
41550         * iconv/Makefile: Likewise.
41551         * nscd/Makefile: Likewise.
41552         * hurd/Makefile: Likewise.
41553         * manual/Makefile: Likewise.
41554         * locale/Makefile: Likewise.
41555         * intl/Makefile: Likewise.
41556         * conform/Makefile: Likewise.
41557         * nss/Makefile: Likewise.
41558         * time/Makefile: Likewise.
41559         * soft-fp/Makefile: Likewise.
41560         * dirent/Makefile: Likewise.
41561         * gmon/Makefile: Likewise.
41562         * po/Makefile: Likewise.
41563         * rt/Makefile: Likewise.
41564         * socket/Makefile: Likewise.
41565         * math/Makefile: Likewise.
41566         * signal/Makefile: Likewise.
41567         * debug/Makefile: Likewise.
41568         * elf/Makefile: Likewise.
41569         * timezone/Makefile: Likewise.
41570         * stdlib/Makefile: Likewise.
41571         * iconvdata/Makefile: Likewise.
41572         * sunrpc/Makefile: Likewise.
41573         * io/Makefile: Likewise.
41574         * argp/Makefile: Likewise.
41575         * inet/Makefile: Likewise.
41576         * hesiod/Makefile: Likewise.
41577         * grp/Makefile: Likewise.
41578         * csu/Makefile: Likewise.
41579         * wctype/Makefile: Likewise.
41580         * crypt/Makefile: Likewise.
41581         * libio/Makefile: Likewise.
41582         * string/Makefile: Likewise.
41583         * nis/Makefile: Likewise.
41584         * resolv/Makefile: Likewise.
41585         * stdio-common/Makefile: Likewise.
41586         * wcsmbs/Makefile: Likewise.
41587         * dlfcn/Makefile: Likewise.
41588         * posix/Makefile: Likewise.
41589
41590         [BZ #6959]
41591         * timezone/Makefile: Don't install timezone files, just the programs
41592         and scripts.
41593
41594 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41595
41596         * nss/databases.def: Add missing gshadow entry.
41597
41598         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41599
41600 2012-03-06  Marek Polacek  <polacek@redhat.com>
41601
41602         [BZ #13726]
41603         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41604         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41605         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41606         * stdio-common/tst-long-dbl-fphex.c: New file.
41607
41608 2012-03-06  David S. Miller  <davem@davemloft.net>
41609
41610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41611         (set_obp_int): New function.
41612         (get_obp_int): New function.
41613         (__get_clockfreq_via_dev_openprom): Likewise.
41614         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41615         Avoid unused variable warnings on 'val' and use builtin_expect.
41616         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41617         __builtin_expect.
41618         (INLINE_CLONE_SYSCALL): Likewise.
41619
41620 2012-03-05  David S. Miller  <davem@davemloft.net>
41621
41622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41623
41624 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41625
41626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41627
41628         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41629         only for |x| >= 40.
41630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41631
41632 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41633
41634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41635         Replace gettimeofday with __vdso_gettimeofday.
41636
41637         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41638         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41639         __vdso_clock_gettime and __vdso_getcpu.
41640
41641         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41642         time with __vdso_time.
41643
41644 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41645
41646         * manual/lang.texi (size_t): Note types to which size_t may be
41647         equivalent with the GNU C Library, but do not describe when
41648         differences between them are significant.
41649
41650 2012-03-05  Andreas Jaeger  <aj@suse.de>
41651
41652         * sysdeps/i386/fpu/libm-test-ulps: Update.
41653
41654 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41655
41656         [BZ #3976]
41657         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41658         (__ieee754_pow): Save and restore rounding mode and use
41659         round-to-nearest for main computations.
41660         * math/libm-test.inc (pow_test_tonearest): New function.
41661         (pow_test_towardzero): Likewise.
41662         (pow_test_downward): Likewise.
41663         (pow_test_upward): Likewise.
41664         (main): Call the new functions.
41665         * sysdeps/i386/fpu/libm-test-ulps: Update.
41666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41667
41668         [BZ #3976]
41669         * math/libm-test.inc (cosh_test_tonearest): New function.
41670         (cosh_test_towardzero): Likewise.
41671         (cosh_test_downward): Likewise.
41672         (cosh_test_upward): Likewise.
41673         (sinh_test_tonearest): Likewise.
41674         (sinh_test_towardzero): Likewise.
41675         (sinh_test_downward): Likewise.
41676         (sinh_test_upward): Likewise.
41677         (main): Call the new functions.
41678         * sysdeps/i386/fpu/libm-test-ulps: Update.
41679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41680
41681 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41682
41683         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41684         default stack guard is set in last bytes.
41685         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41686
41687 2012-03-05  Kees Cook  <keescook@chromium.org>
41688
41689         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41690
41691         [BZ #13656]
41692         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41693         possibly allocate from heap instead of stack.
41694         * stdio-common/bug-vfprintf-nargs.c: New file.
41695         * stdio-common/Makefile (tests): Add nargs overflow test.
41696
41697 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41698
41699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41700
41701 2012-03-03  Marek Polacek  <polacek@redhat.com>
41702
41703         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41704         * math/math_private.h: Likewise.
41705         * stdlib/tst-strtod.c: Likewise.
41706         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41707         * sysdeps/x86_64/bits/atomic.h: Likewise.
41708
41709 2012-03-02  David S. Miller  <davem@davemloft.net>
41710
41711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41715         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41716         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41717         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41718         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41719
41720 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41721
41722         [BZ #13792]
41723         * manual/examples/README: New file, says the example source files
41724         can be used under GPL>=2.
41725         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41726         line containing just "*/".
41727         * manual/examples/add.c: Add copyright header (GPL>=2).
41728         * manual/examples/argp-ex1.c: Likewise.
41729         * manual/examples/argp-ex2.c: Likewise.
41730         * manual/examples/argp-ex3.c: Likewise.
41731         * manual/examples/argp-ex4.c: Likewise.
41732         * manual/examples/atexit.c: Likewise.
41733         * manual/examples/db.c: Likewise.
41734         * manual/examples/dir.c: Likewise.
41735         * manual/examples/dir2.c: Likewise.
41736         * manual/examples/execinfo.c: Likewise.
41737         * manual/examples/filecli.c: Likewise.
41738         * manual/examples/filesrv.c: Likewise.
41739         * manual/examples/fmtmsgexpl.c: Likewise.
41740         * manual/examples/genpass.c: Likewise.
41741         * manual/examples/inetcli.c: Likewise.
41742         * manual/examples/inetsrv.c: Likewise.
41743         * manual/examples/isockad.c: Likewise.
41744         * manual/examples/longopt.c: Likewise.
41745         * manual/examples/memopen.c: Likewise.
41746         * manual/examples/memstrm.c: Likewise.
41747         * manual/examples/mkfsock.c: Likewise.
41748         * manual/examples/mkisock.c: Likewise.
41749         * manual/examples/mygetpass.c: Likewise.
41750         * manual/examples/pipe.c: Likewise.
41751         * manual/examples/popen.c: Likewise.
41752         * manual/examples/rprintf.c: Likewise.
41753         * manual/examples/search.c: Likewise.
41754         * manual/examples/select.c: Likewise.
41755         * manual/examples/setjmp.c: Likewise.
41756         * manual/examples/sigh1.c: Likewise.
41757         * manual/examples/sigusr.c: Likewise.
41758         * manual/examples/stpcpy.c: Likewise.
41759         * manual/examples/strdupa.c: Likewise.
41760         * manual/examples/strftim.c: Likewise.
41761         * manual/examples/strncat.c: Likewise.
41762         * manual/examples/subopt.c: Likewise.
41763         * manual/examples/swapcontext.c: Likewise.
41764         * manual/examples/termios.c: Likewise.
41765         * manual/examples/testopt.c: Likewise.
41766         * manual/examples/testpass.c: Likewise.
41767         * manual/examples/timeval_subtract.c: Likewise.
41768
41769         [BZ #13792]
41770         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41771         function to ...
41772         * manual/timeval_subtract.c.texi: ... here, new file.
41773
41774 2012-03-02  David S. Miller  <davem@davemloft.net>
41775
41776         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41777
41778 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41779
41780         [BZ #3976]
41781         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41782         (__sin): Save and restore rounding mode and use round-to-nearest
41783         for all computations.
41784         (__cos): Save and restore rounding mode and use round-to-nearest
41785         for all computations.
41786         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41787         <fenv.h>.
41788         (tan): Save and restore rounding mode and use round-to-nearest for
41789         all computations.
41790         * math/libm-test.inc (cos_test_tonearest): New function.
41791         (cos_test_towardzero): Likewise.
41792         (cos_test_downward): Likewise.
41793         (cos_test_upward): Likewise.
41794         (sin_test_tonearest): Likewise.
41795         (sin_test_towardzero): Likewise.
41796         (sin_test_downward): Likewise.
41797         (sin_test_upward): Likewise.
41798         (tan_test_tonearest): Likewise.
41799         (tan_test_towardzero): Likewise.
41800         (tan_test_downward): Likewise.
41801         (tan_test_upward): Likewise.
41802         (main): Call the new functions.
41803         * sysdeps/i386/fpu/libm-test-ulps: Update.
41804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41805
41806         [BZ #10135]
41807         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41808         small n, then large n, before computing and testing k+n.
41809         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41811         Likewise.
41812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41813         Likewise.
41814         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41815         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41816         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41817         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41819         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41820         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41822         * math/libm-test.inc (scalbn_test): Add more tests.
41823         (scalbln_test): Likewise.
41824
41825         * manual/filesys.texi (mode_t): Describe constraints on size and
41826         signedness, not exact equivalence to a particular type.
41827         (ino_t): Likewise.
41828         (ino64_t): Likewise.
41829         (dev_t): Likewise.
41830         (nlink_t): Likewise.
41831         (blkcnt_t): Likewise.
41832         (blkcnt64_t): Likewise.
41833         * manual/llio.texi (off_t): Likewise.
41834
41835         [BZ #3976]
41836         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41837         (__ieee754_exp): Save and restore rounding mode and use
41838         round-to-nearest for all computations.
41839         * math/libm-test.inc (exp_test_tonearest): New function.
41840         (exp_test_towardzero): Likewise.
41841         (exp_test_downward): Likewise.
41842         (exp_test_upward): Likewise.
41843         (main): Call the new functions.
41844         * sysdeps/i386/fpu/libm-test-ulps: Update.
41845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41846
41847 2012-03-01  Chris Demetriou  <cgd@google.com>
41848
41849         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41850         have predictable order.
41851
41852 2012-03-01  David S. Miller  <davem@davemloft.net>
41853
41854         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41855
41856         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41857         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41858         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41859         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41860
41861         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41862         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41863         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41865         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41866         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41867         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41868         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41869         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41870
41871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41872
41873         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41874         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41875         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41876
41877         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41878         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41879         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41880         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41881         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41882         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41883         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41884         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41885         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41886         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41887         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41888         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41890         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41891         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41893         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41894         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41895         * sysdeps/sparc/elf/configure: Regenerated.
41896
41897 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41898
41899         * configure.in (AS, LD): Require binutils 2.20 or later.
41900         * configure: Regenerated.
41901         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41902         as required minimum version.
41903         * INSTALL: Regenerated.
41904
41905         [BZ #2541]
41906         [BZ #4108]
41907         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41908         before squaring exponent.
41909         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41910         bottom long double and 27 bits of top long double before squaring
41911         exponent.
41912         * math/libm-test.inc (erfc_test): Add more tests.
41913         * sysdeps/i386/fpu/libm-test-ulps: Update.
41914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41916
41917 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41918
41919         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41920         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41921         containing bit-fields.
41922         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41923         * soft-fp/single.h (_FP_UNION_S): Likewise.
41924         * soft-fp/double.h (_FP_UNION_D): Likewise.
41925
41926 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41927
41928         [BZ #13786]
41929         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41930         not include ../strcmp.S.
41931         [USE_AS_STRNCASECMP_L]: Likewise.
41932         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41933         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41934         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41935         (__strncasecmp_l_ia32): Define as alias to
41936         __strncasecmp_l_nonascii.
41937
41938         [BZ #5794]
41939         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41940         * sysdeps/i386/fpu/libm-test-ulps: Update.
41941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41942
41943         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41945
41946 2012-02-29  Jeff Law  <law@redhat.com>
41947
41948         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41949         out of bounds read.
41950
41951 2012-02-29  Marek Polacek  <polacek@redhat.com>
41952
41953         [BZ #13706]
41954         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41955         * elf/Makefile: Add rules to run tst-unused-dep.out.
41956
41957 2012-02-28  David S. Miller  <davem@davemloft.net>
41958
41959         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41960         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41961         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41962         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41963         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41964         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41965
41966 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41967
41968         * math/libm-test.inc (llround_test): Move one test from
41969         lround_test.  Use TEST_f_L in moved test.
41970         (lround_test): Move misplaced test to llround_test.  Add testcase
41971         from bug 2561.
41972
41973 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41974
41975         * sysdeps/x86_64/fpu/e_expf.S: New file.
41976         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41977
41978 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41979
41980         [BZ #13637]
41981         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41982         of remain_len that may cause incomplete multi-byte character and
41983         false match.
41984         * posix/bug-regex33.c: New file.
41985         * posix/Makefile (tests): Add bug-regex33.
41986
41987 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41988
41989         * manual/macros.texi: New file.
41990         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41991         * manual/libc.texinfo: Include macros.texi.
41992         * manual/creatute.texi: Likewise.
41993         * manual/install.texi: Likewise.
41994         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41995         @glibcadj{} in references to the GNU C Library.
41996         * manual/charset.texi: Likewise.
41997         * manual/conf.texi: Likewise.
41998         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41999         when not using those macros.
42000         * manual/creature.texi: Likewise.
42001         * manual/crypt.texi: Likewise.
42002         * manual/errno.texi: Likewise.
42003         * manual/filesys.texi: Likewise.
42004         * manual/header.texi: Likewise.
42005         * manual/install.texi: Likewise.
42006         * manual/intro.texi: Likewise.
42007         * manual/io.texi: Likewise.
42008         * manual/job.texi: Likewise.
42009         * manual/lang.texi: Likewise.
42010         * manual/libc.texiinfo: Likewise.
42011         * manual/llio.texi: Likewise.
42012         * manual/locale.texi: Likewise.
42013         * manual/maint.texi: Likewise.
42014         * manual/math.texi: Likewise.
42015         * manual/memory.texi: Likewise.
42016         * manual/message.texi: Likewise.
42017         * manual/nss.texi: Likewise.
42018         * manual/pattern.texi: Likewise.
42019         * manual/process.texi: Likewise.
42020         * manual/resource.texi: Likewise.
42021         * manual/search.texi: Likewise.
42022         * manual/setjmp.texi: Likewise.
42023         * manual/signal.texi: Likewise.
42024         * manual/socket.texi: Likewise.
42025         * manual/startup.texi: Likewise.
42026         * manual/stdio.texi: Likewise.
42027         * manual/string.texi: Likewise.
42028         * manual/sysinfo.texi: Likewise.
42029         * manual/syslog.texi: Likewise.
42030         * manual/terminal.texi: Likewise.
42031         * manual/time.texi: Likewise.
42032         * manual/users.texi: Likewise.
42033         * INSTALL: Regenerated.
42034         * NOTES: Regenerated.
42035         * sysdeps/gnu/errlist.c: Regenerated.
42036
42037 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42038
42039         * include/dirent.h: Include <dirstream.h> before
42040         <dirent/dirent.h>.
42041
42042 2012-02-28  David S. Miller  <davem@davemloft.net>
42043
42044         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42045         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42046         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42047         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42048
42049 2012-02-27  David S. Miller  <davem@davemloft.net>
42050
42051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42053         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42054         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42055
42056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42057         frame pointer instead of stack pointer relative arg slot.
42058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42059         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42060         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42061
42062 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42063
42064         [BZ #3992]
42065         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42066
42067 2012-02-27  David S. Miller  <davem@davemloft.net>
42068
42069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42073         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42074         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42075         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42076         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42077
42078 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42079
42080         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42081         later.  Allow versions 5-9.
42082         * configure: Regenerated.
42083         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42084         required minimum version and 4.6 as recommended version.  Do not
42085         mention bugs in GCC 2.7 and 2.8.
42086         * INSTALL: Regenerated.
42087
42088 2012-02-27  David S. Miller  <davem@davemloft.net>
42089
42090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42094         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42095         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42096         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42097         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42098
42099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42100         manipulate bits before adding and subtracting TWO112[sx].
42101         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42102
42103 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42104
42105         [BZ #13775]
42106         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42107         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42108         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42109         being in POSIX, because they are in 1003.1-2008.
42110
42111         * rt/tst-aio.c: Include <fcntl.h>.
42112         * rt/tst-aio7.c: Likewise.
42113         * rt/tst-aio64.c: Likewise.
42114
42115         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42116
42117 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42118
42119         * manual/install.texi (--with-headers): Describe headers as
42120         interface headers, not private headers.
42121         (Specific advice for GNU/Linux systems): Describe use of headers
42122         from "make headers_install", not private headers from older
42123         kernels.
42124         * INSTALL: Regenerated.
42125         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42126         Change to 2.6.19.
42127         * sysdeps/unix/sysv/linux/configure: Regenerated.
42128
42129         * manual/llio.texi (fclean): Remove documentation.
42130
42131         * manual/Makefile (libc-texi-generated): New variable.  Include
42132         version.texi.
42133         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42134         $(libc-texi-generated), not duplicated list of files.
42135         (version.texi, stamp-version): New rules.
42136         (realclean): Remove $(libc-texi-generated), not individual files
42137         from that list.  Do not remove dir-add.texinfo.
42138         * manual/libc.texinfo: Comment out uses of edition numbers and
42139         references to printed manual.  Remove last-updated dates.
42140         (EDITION): Comment out.
42141         (ISBN): Likewise.
42142         (VERSION, UPDATED): Remove.
42143         (version.texi): Include.
42144
42145 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42146
42147         * sysdeps/posix/spawni.c: Include <signal.h>.
42148         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42149         * sysdeps/pthread/aio_fsync.c: Likewise.
42150
42151 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42152
42153         * conform/Makefile (tests): Run only when not cross-compiling and
42154         when fast-check is not defined.
42155
42156         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42157         * conform/data/limits.h-data: Fixes for POSIX2008.
42158         * conform/run-conformtest.sh: Run all tests.
42159         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42160         headers.
42161         * include/bits/dlfcn.h: Likewise.
42162         * include/langinfo.h: Likewise.
42163         * include/monetary.h: Likewise.
42164         * include/sys/poll.h: Likewise.
42165
42166         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42167         for __USE_GNU.
42168         * posix/spawn.h: Define __need_sigset_t.
42169         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42170         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42171         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42172         to get sigevent_t only.
42173         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42174         only for __USE_GNU.
42175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42176         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42177         process_vm_writev only for __USE_GNU.
42178         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42179
42180         * conform/Makefile: For now ignore errors from run-conformtest.
42181         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42182         POSIX to avoid namespace pollution.  Don't prepend headers.
42183         * conform/data/aio.h-data: Fixes for POSIX testing.
42184         * conform/data/fcntl.h-data: Likewise.
42185         * conform/data/glob.h-data: Likewise.
42186         * conform/data/grp.h-data: Likewise.
42187         * conform/data/pthread.h-data: Likewise.
42188         * conform/data/pwd.h-data: Likewise.
42189         * conform/data/signal.h-data: Likewise.
42190         * conform/data/spawn.h-data: Likewise.
42191         * conform/data/stdio.h-data: Likewise.
42192         * conform/data/stdlib.h-data: Likewise.
42193         * conform/data/stropts.h-data: Likewise.
42194         * conform/data/sys/mman.h-data: Likewise.
42195         * conform/data/sys/stat.h-data: Likewise.
42196         * conform/data/sys/types.h-data: Likewise.
42197         * conform/data/sys/wait.h-data: Likewise.
42198         * conform/data/time.h-data: Likewise.
42199         * conform/data/unistd.h-data: Likewise.
42200         * conform/data/utime.h-data: Likewise.
42201
42202         * io/sys/stat.h: fchmod was always in POSIX.
42203         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42204         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42205         * rt/aio.h: Define __need_timespec before including <time.h>.
42206         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42207         struct.  Add forward declaration of pthread_attr_t and use it in
42208         sigevent.
42209         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42210         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42211         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42212         always remove CLK_TCK definition.
42213
42214 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42215
42216         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42217
42218 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42219
42220         * conform/run-conformtest.sh: New file.
42221         * conform/Makefile: Run run-conformtest for tests.
42222         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42223         support.
42224
42225         * conform/data/uchar.h-data: New file.
42226         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42227         * conform/data/arpa/inet.h-data: Likewise.
42228         * conform/data/assert.h-data: Likewise.
42229         * conform/data/complex.h-data: Likewise.
42230         * conform/data/cpio.h-data: Likewise.
42231         * conform/data/ctype.h-data: Likewise.
42232         * conform/data/dirent.h-data: Likewise.
42233         * conform/data/dlfcn.h-data: Likewise.
42234         * conform/data/errno.h-data: Likewise.
42235         * conform/data/fcntl.h-data: Likewise.
42236         * conform/data/float.h-data: Likewise.
42237         * conform/data/fmtmsg.h-data: Likewise.
42238         * conform/data/fnmatch.h-data: Likewise.
42239         * conform/data/ftw.h-data: Likewise.
42240         * conform/data/glob.h-data: Likewise.
42241         * conform/data/grp.h-data: Likewise.
42242         * conform/data/iconv.h-data: Likewise.
42243         * conform/data/inttypes.h-data: Likewise.
42244         * conform/data/langinfo.h-data: Likewise.
42245         * conform/data/libgen.h-data: Likewise.
42246         * conform/data/limits.h-data: Likewise.
42247         * conform/data/locale.h-data: Likewise.
42248         * conform/data/math.h-data: Likewise.
42249         * conform/data/monetary.h-data: Likewise.
42250         * conform/data/mqueue.h-data: Likewise.
42251         * conform/data/ndbm.h-data: Likewise.
42252         * conform/data/net/if.h-data: Likewise.
42253         * conform/data/netdb.h-data: Likewise.
42254         * conform/data/netinet/in.h-data: Likewise.
42255         * conform/data/nl_types.h-data: Likewise.
42256         * conform/data/poll.h-data: Likewise.
42257         * conform/data/pthread.h-data: Likewise.
42258         * conform/data/pwd.h-data: Likewise.
42259         * conform/data/regex.h-data: Likewise.
42260         * conform/data/sched.h-data: Likewise.
42261         * conform/data/search.h-data: Likewise.
42262         * conform/data/semaphore.h-data: Likewise.
42263         * conform/data/setjmp.h-data: Likewise.
42264         * conform/data/signal.h-data: Likewise.
42265         * conform/data/spawn.h-data: Likewise.
42266         * conform/data/stdarg.h-data: Likewise.
42267         * conform/data/stdio.h-data: Likewise.
42268         * conform/data/stdlib.h-data: Likewise.
42269         * conform/data/string.h-data: Likewise.
42270         * conform/data/strings.h-data: Likewise.
42271         * conform/data/stropts.h-data: Likewise.
42272         * conform/data/sys/ipc.h-data: Likewise.
42273         * conform/data/sys/mman.h-data: Likewise.
42274         * conform/data/sys/msg.h-data: Likewise.
42275         * conform/data/sys/resource.h-data: Likewise.
42276         * conform/data/sys/select.h-data: Likewise.
42277         * conform/data/sys/sem.h-data: Likewise.
42278         * conform/data/sys/shm.h-data: Likewise.
42279         * conform/data/sys/socket.h-data: Likewise.
42280         * conform/data/sys/stat.h-data: Likewise.
42281         * conform/data/sys/statvfs.h-data: Likewise.
42282         * conform/data/sys/time.h-data: Likewise.
42283         * conform/data/sys/timeb.h-data: Likewise.
42284         * conform/data/sys/times.h-data: Likewise.
42285         * conform/data/sys/types.h-data: Likewise.
42286         * conform/data/sys/uio.h-data: Likewise.
42287         * conform/data/sys/un.h-data: Likewise.
42288         * conform/data/sys/utsname.h-data: Likewise.
42289         * conform/data/sys/wait.h-data: Likewise.
42290         * conform/data/syslog.h-data: Likewise.
42291         * conform/data/tar.h-data: Likewise.
42292         * conform/data/termios.h-data: Likewise.
42293         * conform/data/utime.h-data: Likewise.
42294         * conform/data/utmpx.h-data: Likewise.
42295         * conform/data/varargs.h-data: Likewise.
42296         * conform/data/wchar.h-data: Likewise.
42297         * conform/data/wctype.h-data: Likewise.
42298         * conform/data/wordexp.h-data: Likewise.
42299
42300         * include/stropts.h: New file.
42301         * include/uchar.h: New file.
42302         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42303         * include/assert.h: Likewise.
42304         * include/ctype.h: Likewise.
42305         * include/dirent.h: Likewise.
42306         * include/dlfcn.h: Likewise.
42307         * include/fcntl.h: Likewise.
42308         * include/fnmatch.h: Likewise.
42309         * include/glob.h: Likewise.
42310         * include/grp.h: Likewise.
42311         * include/libio.h: Likewise.
42312         * include/locale.h: Likewise.
42313         * include/math.h: Likewise.
42314         * include/net/if.h: Likewise.
42315         * include/netdb.h: Likewise.
42316         * include/netinet/in.h: Likewise.
42317         * include/pthread.h: Likewise.
42318         * include/pwd.h: Likewise.
42319         * include/regex.h: Likewise.
42320         * include/sched.h: Likewise.
42321         * include/search.h: Likewise.
42322         * include/setjmp.h: Likewise.
42323         * include/signal.h: Likewise.
42324         * include/stdio.h: Likewise.
42325         * include/stdlib.h: Likewise.
42326         * include/string.h: Likewise.
42327         * include/sys/cdefs.h: Likewise.
42328         * include/sys/mman.h: Likewise.
42329         * include/sys/msg.h: Likewise.
42330         * include/sys/resource.h: Likewise.
42331         * include/sys/select.h: Likewise.
42332         * include/sys/socket.h: Likewise.
42333         * include/sys/stat.h: Likewise.
42334         * include/sys/statvfs.h: Likewise.
42335         * include/sys/time.h: Likewise.
42336         * include/sys/times.h: Likewise.
42337         * include/sys/uio.h: Likewise.
42338         * include/sys/utsname.h: Likewise.
42339         * include/sys/wait.h: Likewise.
42340         * include/termios.h: Likewise.
42341         * include/time.h: Likewise.
42342         * include/ulimit.h: Likewise.
42343         * include/unistd.h: Likewise.
42344         * include/utime.h: Likewise.
42345         * include/wchar.h: Likewise.
42346         * include/wctype.h: Likewise.
42347         * include/wordexp.h: Likewise.
42348
42349         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42350
42351         * time/time.h: TIME_UTC must be a macro.
42352         Make timespec_get available for ISO C11 only as well.
42353
42354 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42355
42356         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42357         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42358
42359 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42360
42361         * configure.in: Use -o not -a in test for unsupported multi-arch.
42362
42363 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42364
42365         * manual/texinfo.tex: Update to version 2012-01-19.16.
42366
42367 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42368
42369         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42370
42371 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42372
42373         [BZ #13738]
42374         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42375         * manual/fdl-1.3.texi: New file.
42376         * manual/fdl-1.1.texi: File removed.
42377
42378         [BZ #13738]
42379         * manual/libc.texinfo (FDL_VERSION): New @set.
42380         Use it for mention of FDL in cover text.
42381         (Documentation License): Use it in @include file name.
42382
42383 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42384             Roland McGrath  <roland@hack.frob.com>
42385
42386         [BZ #5461]
42387         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42388         (not LONG_LONG_MAX and LONG_LONG_MIN.
42389         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42390         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42391         name.
42392         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42393
42394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42395
42396         [BZ #2547]
42397         [BZ #11365]
42398         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42399         manipulate bits before adding and subtracting TWO23[sx].
42400         * math/libm-test.inc (nearbyint_test): Add more tests.
42401
42402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42403
42404         [BZ #2548]
42405         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42406         bits before adding and subtracting TWO23[sx].
42407         * math/libm-test.inc (rint_test): Add more tests.
42408         (rint_test_tonearest): Likewise.
42409         (rint_test_towardzero): Likewise.
42410         (rint_test_downward): Likewise.
42411         (rint_test_upward: Likewise.
42412
42413 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42414
42415         [BZ #10110]
42416         * include/stdc-predef.h: New file.  Extracted from features.h.
42417         * include/features.h: Include stdc-predef.h.
42418         * Makefile (headers): Add stdc-predef.h.
42419         * CONFORMANCE (Compiler limitations): Update.
42420
42421 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42422
42423         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42424
42425 2012-02-21  David S. Miller  <davem@davemloft.net>
42426
42427         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42428         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42429
42430 2012-02-20  David S. Miller  <davem@davemloft.net>
42431
42432         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42433         using a normal save/restore sequence, rather than allocating a
42434         dummy stack frame just to store a frame pointer and restore.
42435         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42436
42437 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42438
42439         * manual/install.texi: Fix stray word in line-wrapped comment.
42440
42441 2012-02-20  David S. Miller  <davem@davemloft.net>
42442
42443         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42444         both binutils and gcc support GOTDATA.
42445
42446         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42447         "rd %pc" in the PIC register setup sequences.
42448
42449         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42450         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42451         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42452         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42453         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42455         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42456         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42458         (SYSCALL_ERROR_HANDLER): Likewise.
42459         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42460         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42462         (SYSCALL_ERROR_HANDLER): Likewise.
42463
42464         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42465         (HAVE_GCC_GOTDATA): New.
42466         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42467         relocation support in both binutils and gcc.
42468         * sysdeps/sparc/elf/configure: Regenerate.
42469
42470         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42471         * sysdeps/sparc/sparc32/elf/configure: Delete.
42472         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42473         * sysdeps/sparc/sparc64/elf/configure: Delete.
42474         * sysdeps/sparc/elf/configure.in: New file.
42475         * sysdeps/sparc/elf/configure: Generate.
42476
42477         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42478         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42479         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42480         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42481         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42482
42483 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42484
42485         * manual/install.texi: Do not mention specific glibc version
42486         numbers.
42487         * manual/libc.texinfo (VERSION, UPDATED): Update.
42488         (@copying): Use @copyright{} and range of years.
42489
42490 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42491
42492         [BZ #13695]
42493         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42494         [crti.S not in sysdirs] (generated): Do not append.
42495         [crti.S not in sysdirs] (omit-deps): Likewise.
42496         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42497         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42498         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42499         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42500         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42501         Likewise.
42502         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42503         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42504         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42505         * csu/defs.awk: Remove file.
42506         * sysdeps/generic/initfini.c: Likewise.
42507         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42508         variable.
42509         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42510         Likewise.
42511
42512 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42513
42514         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42515         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42516         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42517         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42518         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42519         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42520         <bits/epoll.h>.
42521         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42522         (__EPOLL_PACKED): Define to empty if not defined by
42523         <bits/epoll.h>.
42524         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42526         bits/epoll.h.
42527
42528 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42529
42530         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42531         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42532         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42533         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42534         <bits/timerfd.h>.
42535         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42537         bits/timerfd.h.
42538
42539 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42540
42541         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42542         in C locale.
42543         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42544         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42545         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42547
42548 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42549
42550         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42551         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42552
42553 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42554
42555         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42556         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42557         defined.
42558         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42559         Likewise.
42560         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42561         entry for 2.16.
42562
42563 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42564
42565         * math/w_acos.c: Use non-signaling floating-point comparisons.
42566         * math/w_acosf.c: Likewise.
42567         * math/w_acosh.c: Likewise.
42568         * math/w_acoshf.c: Likewise.
42569         * math/w_acoshl.c: Likewise.
42570         * math/w_acosl.c: Likewise.
42571         * math/w_asin.c: Likewise.
42572         * math/w_asinf.c: Likewise.
42573         * math/w_asinl.c: Likewise.
42574         * math/w_atanh.c: Likewise.
42575         * math/w_atanhf.c: Likewise.
42576         * math/w_atanhl.c: Likewise.
42577         * math/w_exp2.c: Likewise.
42578         * math/w_exp2f.c: Likewise.
42579         * math/w_exp2l.c: Likewise.
42580         * math/w_j0.c: Likewise.
42581         * math/w_j0f.c: Likewise.
42582         * math/w_j0l.c: Likewise.
42583         * math/w_j1.c: Likewise.
42584         * math/w_j1f.c: Likewise.
42585         * math/w_j1l.c: Likewise.
42586         * math/w_jn.c: Likewise.
42587         * math/w_jnf.c: Likewise.
42588         * math/w_log.c: Likewise.
42589         * math/w_log10.c: Likewise.
42590         * math/w_log10f.c: Likewise.
42591         * math/w_log10l.c: Likewise.
42592         * math/w_log2.c: Likewise.
42593         * math/w_log2f.c: Likewise.
42594         * math/w_log2l.c: Likewise.
42595         * math/w_logf.c: Likewise.
42596         * math/w_logl.c: Likewise.
42597         * math/w_sqrt.c: Likewise.
42598         * math/w_sqrtf.c: Likewise.
42599         * math/w_sqrtl.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42602         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42603         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42604         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42605
42606 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42607
42608         [BZ #9739]
42609         * manual/string.texi (strnlen): Use correct parameter name in
42610         equivalent expression.
42611
42612 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42613
42614         [BZ #11174]
42615         * manual/users.texi (seteuid): Consistently use neweuid for
42616         argument name.
42617
42618 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42619
42620         [BZ #13704]
42621         * manual/nss.texi (Services in the NSS configuration): Correct
42622         list of services in example configuration file.
42623
42624 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42625
42626         [BZ #11322]
42627         * manual/arith.texi: Remove statements about negative zero
42628         behaving identically to zero.
42629
42630 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42631
42632         [BZ #5993]
42633         * manual/install.texi: Do not document upgrading from libc5.
42634
42635 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42636
42637         [BZ #4596]
42638         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42639
42640 2012-02-18  David S. Miller  <davem@davemloft.net>
42641
42642         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42643         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42644         %o7 across the call.
42645         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42646         instead.
42647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42648         SETUP_PIC_REG_LEAF.
42649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42650         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42651         * sysdeps/sparc/crtn.S: Likewise.
42652
42653 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42654
42655         * aout/Makefile: Remove.
42656
42657 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42658
42659         [BZ #13058]
42660         * manual/examples/argp-ex1.c (main): Format definition in GNU
42661         style.
42662         * manual/examples/argp-ex2.c (main): Likewise.
42663         * manual/examples/argp-ex3.c (main): Likewise.
42664         * manual/examples/argp-ex4.c (main): Likewise.
42665         * manual/examples/longopt.c (main): Use new-style prototype
42666         definition.
42667         * manual/examples/strncat.c (main): Specify return type and use
42668         (void) for arguments.
42669         * manual/examples/subopt.c (main): Use char **argv argument.
42670
42671 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42672
42673         [BZ #5077]
42674         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42675         rounding modes.
42676
42677 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42678
42679         [BZ #6907]
42680         * manual/string.texi (strchr): Change when strchrnul is
42681         recommended.
42682
42683 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42684
42685         [BZ #174]
42686         * manual/locale.texi (setlocale): Document LOCPATH.
42687
42688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42689
42690         [BZ #10210]
42691         * manual/process.texi (execle): Move @dots{} before last argument.
42692
42693 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42694
42695         [BZ #12047]
42696         * manual/charset.texi (Generic Charset Conversion): Fix typo
42697         (LC_TYPE -> LC_CTYPE).
42698
42699 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42700
42701         [BZ #5805]
42702         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42703         (scalbnf): Likewise.
42704         (scalbnl): Likewise.
42705         (scalbln): Likewise.
42706         (scalblnf): Likewise.
42707         (scalblnl): Likewise.
42708         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42709         (vwarnx): Likewise.
42710         (verr): Likewise.
42711         (verrx): Likewise.
42712         * manual/filesys.texi (telldir): Use braces around return type.
42713         * manual/llio.texi (mmap): Add space after comma.
42714         (mmap64): Likewise.
42715         * manual/math.texi (jn): Use @var{} on parameter names.
42716         (jnf): Likewise.
42717         (jnl): Likewise.
42718         (yn): Likewise.
42719         (ynf): Likewise.
42720         (ynl): Likewise.
42721         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42722         line.
42723         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42724         "...".
42725         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42726         (sched_get_priority_max): Likewise.
42727         * manual/signal.texi (sigvec): Add space after comma.
42728         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42729         names.
42730         (if_indextoname): Likewise.
42731         (if_freenameindex): Likewise.
42732         (sendto): Use ',' instead of '.' in prototype.
42733         * manual/startup.texi (syscall): Use @dots{} instead of literal
42734         "...".
42735         * manual/stdio.texi (__fpending): Separate initial words of
42736         paragraph from @deftypefun line.
42737         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42738         "...".
42739         (vsyslog): Use @var{} on parameter names.
42740         * manual/terminal.texi (stty): Use @var{} on parameter names.
42741         * manual/users.texi (getutmp): Use @var{} on parameter names.
42742         (getutmpx): Likewise.
42743
42744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42745
42746         [BZ #6884]
42747         * manual/stdio.texi (fopen): Fix typos in description of
42748         ",ccs=STRING".
42749
42750 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42751
42752         [BZ #4026]
42753         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42754         get clock_id definition.
42755
42756 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42757
42758         [BZ #4822]
42759         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42760         (madvise): Cast every argument to void on its own.
42761
42762 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42763
42764         [BZ #9902]
42765         * manual/startup.texi (Exit Status): Fix typo.
42766
42767 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42768
42769         [BZ #10140]
42770         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42771         * manual/examples/argp-ex2.c: Likewise.
42772         * manual/examples/argp-ex3.c: Likewise.
42773
42774 2012-02-16  Richard Henderson  <rth@redhat.com>
42775
42776         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42777         * sysdeps/s390/s390-32/initfini.c: Remove.
42778         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42779         * sysdeps/s390/s390-64/initfini.c: Remove.
42780
42781 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42782
42783         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42784         compiler output for sysdeps/generic/initfini.c.
42785         * sysdeps/sh/elf/initfini.c: Remove file.
42786
42787 2012-02-16  David S. Miller  <davem@davemloft.net>
42788
42789         [BZ #11494]
42790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42791
42792         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42793         * sysdeps/sparc/crti.S: New file.
42794         * sysdeps/sparc/crtn.S: New file.
42795         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42796         * sysdeps/sparc/sparc64/Makefile: Likewise.
42797
42798 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42799
42800         [BZ #3335]
42801         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42802
42803 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42804
42805         [BZ #4822]
42806         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42807
42808         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42809         (write, read, close): Likewise.
42810         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42811
42812 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42813
42814         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42815         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42816         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42817         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42818         <bits/signalfd.h>.
42819         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42821         bits/signalfd.h.
42822
42823 2012-02-14  Marek Polacek  <polacek@redhat.com>
42824
42825         * sysdeps/x86_64/crti.S: New file.
42826         * sysdeps/x86_64/crtn.S: New file.
42827         * sysdeps/x86_64/elf/initfini.c: Remove file.
42828
42829 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42830
42831         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42832         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42833         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42834         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42835         <bits/inotify.h>.
42836         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42838         bits/inotify.h.
42839
42840 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42841
42842         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42843         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42844         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42845         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42846         <bits/eventfd.h>.
42847         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42849         bits/eventfd.h.
42850
42851 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42852
42853         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42854         __feraiseexcept instead of feraiseexcept.
42855
42856         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42857         nanosleep invocations.
42858         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42859         strings, and add error checking for a nanosleep invocations.
42860
42861 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42862
42863         Replace FSF snail mail address with URLs, as per GNU coding standards.
42864         Most of the snail mail addresses were wrong anyway, and omitting
42865         them makes the source code easier to maintain.  Almost all of the
42866         changes are to license notices and to locale LC_IDENTIFICATION
42867         addresses, except for this one:
42868         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42869         not its snail mail address.
42870
42871 2012-02-09  Richard Henderson  <rth@twiddle.net>
42872
42873         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42874         of kernel-features.h.
42875
42876         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42877
42878 2012-02-08  Marek Polacek  <polacek@redhat.com>
42879
42880         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42881         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42882         * sysdeps/gnu/_G_config.h: Likewise.
42883         * sysdeps/generic/_G_config.h: Likewise.
42884
42885 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42886
42887         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42888         tests.
42889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42890
42891         * sysdeps/powerpc/powerpc32/crti.S: New file.
42892         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42893         * sysdeps/powerpc/powerpc64/crti.S: New file.
42894         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42895
42896         * Makeconfig (have-initfini): Don't set.
42897         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42898         * configure.in (nopic_initfini): Don't substitute.
42899         * config.h.in (HAVE_INITFINI): Don't #undef.
42900         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42901         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42902
42903 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42904
42905         Support crti.S and crtn.S provided directly by architectures.
42906         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42907         [crti.S in sysdirs] (omit-deps): Likewise.
42908         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42909         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42910         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42911         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42912         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42913         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42914         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42915         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42916         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42917         compiler output for sysdeps/generic/initfini.c.
42918         * sysdeps/i386/elf/Makefile: Remove file.
42919         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42920
42921 2012-02-07  Marek Polacek  <polacek@redhat.com>
42922
42923         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42924         * sysdeps/gnu/_G_config.h: Likewise.
42925         * sysdeps/mach/hurd/_G_config.h: Likewise.
42926
42927 2012-02-07  Marek Polacek  <polacek@redhat.com>
42928
42929         * math/Makefile (tests): Add tst-CMPLX2.
42930         * math/tst-CMPLX2.c: New file.
42931
42932 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42933
42934         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42935
42936         * math/libm-test.inc (jn_test): Add missing L suffix.
42937
42938 2012-02-06  Marek Polacek  <polacek@redhat.com>
42939
42940         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42941         * sysdeps/i386/fpu/e_powf.S: Likewise.
42942         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42943         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42945         * sysdeps/i386/fpu/e_pow.S: Likewise.
42946         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42947         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42948         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42949         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42950         * sysdeps/i386/fpu/e_log2.S: Likewise.
42951         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42953         * sysdeps/i386/fpu/e_powl.S: Likewise.
42954         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42955         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42956         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42957         * sysdeps/i386/fpu/e_logl.S: Likewise.
42958         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42959         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42960         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42961         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42962         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42963         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42964         * sysdeps/i386/fpu/e_log.S: Likewise.
42965         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42966         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42967         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42968         * sysdeps/i386/fpu/e_logf.S: Likewise.
42969         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42970         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42971         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42972         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42973         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42974         * sysdeps/i386/fpu/e_log10.S: Likewise.
42975         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42976         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42977         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42978         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42979         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42980         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42981         * sysdeps/i386/asm-syntax.h: Likewise.
42982         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42983         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42984         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42985         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42986         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42987         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42988         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42989         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42990         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42991         * sysdeps/powerpc/sysdep.h: Likewise.
42992         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42993         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42994
42995 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42996
42997         [BZ #411]
42998         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42999
43000 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43001
43002         * sysdeps/i386/sysdep.h: Include <features.h>.
43003         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43004         version.
43005
43006 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43007
43008         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43009         Define.
43010         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43011         LOAD_PIC_REG_STR.
43012
43013 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43014
43015         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43016         (SETUP_PIC_REG): Use GET_PC_THUNK.
43017         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43018         macro.
43019
43020 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43021
43022         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43023         for non-PIC compilation.
43024         (SETUP_PIC_REG): Add .p2align directive.
43025         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43026         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43027         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43028         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43029         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43030         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43031         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43032         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43033         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43034         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43035         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43036         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43037         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43038         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43039         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43040         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43041         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43042         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43043         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43044         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43045         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43046         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43047         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43048         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43049         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43050         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43051         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43052         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43053         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43054         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43055         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43056         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43057         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43058         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43059         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43060         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43061         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43062         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43063         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43064         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43065         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43066
43067 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43068
43069         * math/tst-CMPLX.c: Include <stdio.h>.
43070
43071 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43072
43073         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43074         float.
43075         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43076         * sysdeps/sparc/bits/mathdef.h: Likewise.
43077
43078 2012-01-31  Marek Polacek  <polacek@redhat.com>
43079
43080         * libio/libio.h: Don't define _PARAMS.
43081         * locale/programs/config.h: Don't define PARAMS.
43082         * stdlib/strtol_l.c: Likewise.
43083         (__strtol_l): Remove PARAMS from the prototype.
43084
43085 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43086
43087         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43088         names.  Just use the correct names.  Remove unnecessary wrapper
43089         functions.
43090         * malloc/arena.c: Likewise.
43091         * malloc/hooks.c: Likewise.
43092
43093         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43094         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43095         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43096
43097 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43098
43099         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43100         into tail calls.
43101         (update_get_addr): New function.
43102         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43103         GET_ADDR_MODULE parameter.
43104
43105 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43106
43107         * crypt/cert.c: Remove __STDC__ conditionals.
43108         * crypt/crypt-entry.c: Likewise.
43109         * crypt/crypt_util.c: Likewise.
43110         * libio/filedoalloc.c: Likewise.
43111         * libio/fileops.c: Likewise.
43112         * libio/genops.c: Likewise.
43113         * libio/iofclose.c: Likewise.
43114         * libio/iofdopen.c: Likewise.
43115         * libio/iofopen.c: Likewise.
43116         * libio/iofopen64.c: Likewise.
43117         * libio/iogetdelim.c: Likewise.
43118         * libio/iopopen.c: Likewise.
43119         * libio/obprintf.c: Likewise.
43120         * libio/oldfileops.c: Likewise.
43121         * libio/oldiofclose.c: Likewise.
43122         * libio/oldiofdopen.c: Likewise.
43123         * libio/oldiofopen.c: Likewise.
43124         * libio/oldiopopen.c: Likewise.
43125         * libio/wfiledoalloc.c: Likewise.
43126         * libio/wgenops.c: Likewise.
43127         * locale/programs/xmalloc.c: Likewise.
43128         * misc/syslog.c: Likewise.
43129         * stdio-common/xbug.c: Likewise.
43130         * string/memchr.c: Likewise.
43131         * string/memcmp.c: Likewise.
43132         * string/memrchr.c: Likewise.
43133         * string/rawmemchr.c: Likewise.
43134         * sysdeps/posix/getcwd.c: Likewise.
43135         * time/strftime_l.c: Likewise.
43136
43137 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43138
43139         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43140         * config.make.in (config-cflags-sse2avx): Define.
43141         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43142         Fix typo.
43143
43144 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43145
43146         * scripts/config.guess: Update from upstream config git repository.
43147         * scripts/config.sub: Likewise.
43148
43149 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43150
43151         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43152         (EM_NUM): Update.
43153         (R_TILEPRO_*, R_TILEGX_*): New macros.
43154
43155         * scripts/firstversions.awk: Fix bug in version range handling.
43156
43157         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43158
43159         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43160
43161         * include/sys/epoll.h: New file.
43162         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43163         libc_hidden_def.
43164
43165 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43166
43167         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43168         Avoid unnecessary __WORDSIZE == 64 test.
43169         (fmaxf): Use VEX format if possible.
43170         (fmax): Likewise.
43171         (fminf): Likewise.
43172         (fmin): Likewise.
43173
43174         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43175         * math/math_private.h: Remove libc_fegetround* and
43176         libc_fesetround*.
43177         * sysdeps/i386/configure.in: Check for -msse2avx.
43178         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43179         also if SSE2AVX is defined.
43180         Remove libc_fegetround* and libc_fesetround*.
43181         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43182         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43184         of HAS_YMM_USABLE.
43185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43186         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43188         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43189         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43190
43191         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43192
43193 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43194
43195         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43196         size is not set.
43197         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43198
43199 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43200
43201         [BZ #13618]
43202         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43203         relocation.
43204         * Makeconfig (libm): Define.
43205         * elf/Makefile: Add rules to build and run tst-relsort1.
43206         * elf/tst-relsort1.c: New file.
43207         * elf/tst-relsort1mod1.c: New file.
43208         * elf/tst-relsort1mod2.c: New file.
43209
43210 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43211
43212         * math/s_ldexp.c: Remove __STDC__ conditionals.
43213         * math/s_ldexpf.c: Likewise.
43214         * math/s_ldexpl.c: Likewise.
43215         * math/s_nextafter.c: Likewise.
43216         * math/s_nexttowardf.c: Likewise.
43217         * math/s_significand.c: Likewise.
43218         * math/s_significandf.c: Likewise.
43219         * math/s_significandl.c: Likewise.
43220         * math/w_jnl.c: Likewise.
43221         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43222         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43223         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43224         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43225         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43226         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43227         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43228         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43229         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43230         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43231         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43232         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43233         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43234         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43235         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43236         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43237         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43238         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43240         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43241         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43242         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43243         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43245         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43246         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43247         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43248         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43249         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43250         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43251         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43252         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43253         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43254         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43255         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43256         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43257         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43258         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43259         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43260         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43261         * sysdeps/ieee754/k_standard.c: Likewise.
43262         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43263         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43264         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43265         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43266         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43267         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43271         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43272         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43273         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43274         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43275         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43276         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43278         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43279         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43280         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43281         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43282         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43283         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43284         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43285         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43286         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43287         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43289         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43291         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43293         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43294         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43295         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43297         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43298         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43299         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43300         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43301         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43302         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43304         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43305         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43306         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43307         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43308         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43309         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43310         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43311         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43312         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43313         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43314         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43315         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43316         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43317         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43318         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43319         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43320         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43321         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43322         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43323         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43324         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43325         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43326         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43327         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43328         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43329         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43330         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43331         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43332         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43333         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43334         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43335         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43336         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43337         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43338         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43339         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43340         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43341         * sysdeps/ieee754/s_matherr.c: Likewise.
43342         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43343         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43344         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43346
43347 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43348
43349         * crypt/md5.h: Remove __STDC__ conditionals.
43350         * libio/libioP.h: Likewise.
43351         * locale/programs/config.h: Likewise.
43352         * sysdeps/generic/sysdep.h: Likewise.
43353         * sysdeps/i386/asm-syntax.h: Likewise.
43354         * sysdeps/s390/asm-syntax.h: Likewise.
43355         * sysdeps/unix/sysdep.h: Likewise.
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43358
43359 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43360
43361         * libio/libio.h: Remove __STDC__ conditionals.
43362         * malloc/obstack.h: Likewise.
43363         * math/complex.h: Likewise.
43364         * math/math.h: Likewise.
43365         * sysdeps/generic/_G_config.h: Likewise.
43366         * sysdeps/gnu/_G_config.h: Likewise.
43367         * sysdeps/mach/hurd/_G_config.h: Likewise.
43368         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43369         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43370         * sysdeps/sparc/bits/mathdef.h: Likewise.
43371
43372 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43373
43374         [BZ #13583]
43375         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43376         Clean up HAS_* macros.
43377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43378         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43379         possible.
43380         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43381         HAS_AVX.
43382         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43383         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43384         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43385         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43386         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43387
43388 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43389
43390         * elf/tst-unique3.cc (gets): Remove declaration.
43391         * elf/tst-unique3lib.cc (gets): Likewise.
43392         * elf/tst-unique3lib2.cc (gets): Likewise.
43393         * elf/tst-unique4.cc (gets): Likewise.
43394
43395 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43396
43397         * include/stdio.h: Add C++ protection.  Add gets declarations and
43398         definitions.
43399         * debug/tst-chk1.c: Don't declare gets here.
43400         * stdio-common/tst-gets.c: Likewise.
43401
43402 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43403
43404         * posix/glob: Remove directory.
43405
43406 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43407
43408         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43409
43410 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43411
43412         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43413         of the non-standard EPFNOSUPPORT.
43414
43415 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43416
43417         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43418         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43419         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43420
43421 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43422
43423         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43424
43425 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43426
43427         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43428         transient errors.
43429         * nscd/grpcache.c (cache_addgr): Likewise.
43430         * nscd/hstcache.c (cache_addhst): Likewise.
43431         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43432         * nscd/pwdcache.c (cache_addpw): Likewise.
43433         * nscd/servicescache.c (cache_addserv): Likewise.
43434
43435 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43436
43437         * malloc/malloc.c: Various cleanups.
43438         * malloc/hooks.c: Likewise.
43439
43440         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43441         * stdlib/bug-fmtmsg1.c: New file.
43442
43443         * stdlib/fmtmsg.c (init): Add missing unlock.
43444         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43445
43446 2012-01-12  Marek Polacek  <polacek@redhat.com>
43447
43448         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43449         and _GNU_SOURCE.
43450
43451 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43452
43453         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43454         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43455         macro to ensure uniqueness of label name.
43456         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43457         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43458
43459 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43460
43461         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43462
43463         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43464         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43466         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43467
43468 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43469
43470         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43471
43472         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43473         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43474         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43475
43476         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43477
43478         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43479         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43480         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43482
43483         * math/bits/math-finite.h: Add ldexp support.
43484
43485 2012-01-10  Marek Polacek  <polacek@redhat.com>
43486
43487         * locale/programs/localedef.h (show_archive_content): Add noreturn
43488         attribute.
43489
43490 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43491
43492         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43493
43494 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43495
43496         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43497
43498         * io/Makefile (headers): Add bits/poll2.h.
43499
43500 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43501
43502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43503         typo #include statement.
43504
43505 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43506
43507         * include/sys/cdefs.h: Define __attribute_alloc_size.
43508         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43509         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43510         * elf/pldd.c: Likewise.
43511         * iconv/iconv_charmap.c: Likewise.
43512         * iconv/iconvconfig.c: Likewise.
43513         * iconv/strtab.c: Likewise.
43514         * locale/programs/locale.c: Likewise.
43515         * locale/programs/localedef.h: Likewise.
43516         * locale/programs/simple-hash.c: Likewise.
43517         * nscd/nscd.h: Likewise.
43518         * nss/makedb.c: Likewise.
43519         * sysdeps/generic/ldconfig.h: Likewise.
43520         * locale/programs/localedef.c: Remove xmalloc prototype.
43521         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43522
43523 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43524
43525         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43526         appropriate.
43527
43528 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43529
43530         * math/Makefile (tests): Add tst-CMPLX.
43531         * math/tst-CMPLX.c: New file.
43532
43533         * math/complex.h (CMPLXL): Fix typo.
43534
43535         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43536         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43537         GLIBC_2.16.
43538         * debug/tst-chk1.c: Add poll and ppoll tests.
43539         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43540         * include/sys/poll.h: Add hidden proto for ppoll.
43541         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43542         * sysdeps/mach/hurd/ppoll.c: Likewise.
43543         * io/ppoll.c: Likewise.
43544         * debug/poll_chk.c: New file.
43545         * debug/ppoll_chk.c: New file.
43546         * include/bits/poll2.h: New file.
43547         * io/bits/poll2.h: New file.
43548
43549         [BZ #1350]
43550         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43551
43552         * configure.in: static is always set to yes.  Remove.
43553         * config.make.in: Don't set build-static.
43554         * Makeconfig: Remove use of build-static.
43555         * dlfcn/Makefile: Likewise.
43556         * elf/Makefile: Likewise.
43557         * math/Makefile: Likewise.
43558         * misc/Makefile: Likewise.
43559         * nptl/Makefile: Likewise.
43560         * sysdeps/mach/hurd/Makefile: Likewise.
43561
43562         * configure.in: PWD_P is not used anymore.
43563         * config.make.in: Remove PWD_P entry.
43564
43565         * configure.in: Remove last remnants of RANLIB.
43566         No need to check for signed size_t anymore.
43567         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43568         and IA-64.
43569         Remove __builtin_expect test because we require at least gcc 3.4.
43570         * aclocal.m4: Likewise.
43571
43572         * wcsmbs/mbrtoc16.c: Implement using towc function.
43573         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43574         * wcsmbs/wcsmbsload.c: Likewise.
43575         * iconv/gconv_simple.c: Likewise.
43576         * iconv/gconv_int.h: Likewise.
43577         * iconv/gconv_builtin.h: Likewise.
43578         * iconv/iconv_prog.c: Remove CHAR16 handling.
43579
43580         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43581
43582         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43583
43584         * configure.in: Remove --with-elf and --enable-bounded options.
43585         Dont set base_machine for ia64.  More non-ELF conditions removed.
43586         Remove testing and setting of leading underscore information.
43587         * config.make.in (build-bounded): Set to no.
43588         * config.h.in: Remove NO_UNDERSCORES entry.
43589         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43590         them.
43591         * csu/start.c: Remove !NO_UNDERSCORE code.
43592         * locale/localeinfo.h: Likewise.
43593         * sysdeps/generic/machine-gmon.h: Likewise.
43594         * sysdeps/generic/sysdep.h: Likewise.
43595         * sysdeps/i386/sysdep.h: Likewise.
43596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43597         * sysdeps/mach/sysdep.h: Likewise.
43598         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43599         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43600         * sysdeps/sh/sysdep.h: Likewise.
43601         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43602         * sysdeps/unix/i386/sysdep.S: Likewise.
43603         * sysdeps/unix/sparc/start.c: Likewise.
43604         * sysdeps/unix/sparc/sysdep.S: Likewise.
43605         * sysdeps/unix/sparc/sysdep.h: Likewise.
43606         * sysdeps/unix/start.c: Likewise.
43607         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43608         * sysdeps/x86_64/sysdep.h: Likewise.
43609
43610 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43611
43612         [BZ #13553]
43613         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43614         for non-gcc.
43615         * argp/argp-fmtstream.h: Use const instead __const.
43616         * argp/argp.h: Likewise.
43617         * assert/assert.h: Likewise.
43618         * bits/fenv.h: Likewise.
43619         * bits/sched.h: Likewise.
43620         * bits/sigset.h: Likewise.
43621         * bits/sigthread.h: Likewise.
43622         * catgets/nl_types.h: Likewise.
43623         * conform/data/pthread.h-data: Likewise.
43624         * crypt/crypt-private.h: Likewise.
43625         * crypt/crypt.h: Likewise.
43626         * crypt/crypt_util.c: Likewise.
43627         * ctype/ctype.h: Likewise.
43628         * debug/execinfo.h: Likewise.
43629         * debug/mbsnrtowcs_chk.c: Likewise.
43630         * debug/mbsrtowcs_chk.c: Likewise.
43631         * debug/wcsnrtombs_chk.c: Likewise.
43632         * debug/wcsrtombs_chk.c: Likewise.
43633         * debug/wcstombs_chk.c: Likewise.
43634         * dirent/dirent.h: Likewise.
43635         * dlfcn/dlfcn.h: Likewise.
43636         * elf/neededtest4.c: Likewise.
43637         * grp/grp.h: Likewise.
43638         * gshadow/gshadow.h: Likewise.
43639         * iconv/gconv.h: Likewise.
43640         * iconv/gconv_int.h: Likewise.
43641         * iconv/gconv_simple.c: Likewise.
43642         * iconv/iconv.h: Likewise.
43643         * iconv/loop.c: Likewise.
43644         * iconv/skeleton.c: Likewise.
43645         * include/aio.h: Likewise.
43646         * include/aliases.h: Likewise.
43647         * include/argz.h: Likewise.
43648         * include/arpa/inet.h: Likewise.
43649         * include/assert.h: Likewise.
43650         * include/dirent.h: Likewise.
43651         * include/dlfcn.h: Likewise.
43652         * include/execinfo.h: Likewise.
43653         * include/fcntl.h: Likewise.
43654         * include/fenv.h: Likewise.
43655         * include/glob.h: Likewise.
43656         * include/grp.h: Likewise.
43657         * include/libintl.h: Likewise.
43658         * include/mntent.h: Likewise.
43659         * include/netdb.h: Likewise.
43660         * include/pwd.h: Likewise.
43661         * include/rpc/netdb.h: Likewise.
43662         * include/sched.h: Likewise.
43663         * include/search.h: Likewise.
43664         * include/shadow.h: Likewise.
43665         * include/signal.h: Likewise.
43666         * include/stdio.h: Likewise.
43667         * include/stdlib.h: Likewise.
43668         * include/string.h: Likewise.
43669         * include/sys/socket.h: Likewise.
43670         * include/sys/stat.h: Likewise.
43671         * include/sys/statfs.h: Likewise.
43672         * include/sys/statvfs.h: Likewise.
43673         * include/sys/syslog.h: Likewise.
43674         * include/sys/time.h: Likewise.
43675         * include/sys/uio.h: Likewise.
43676         * include/time.h: Likewise.
43677         * include/unistd.h: Likewise.
43678         * include/utmp.h: Likewise.
43679         * include/wchar.h: Likewise.
43680         * include/wctype.h: Likewise.
43681         * inet/aliases.h: Likewise.
43682         * inet/arpa/inet.h: Likewise.
43683         * inet/netinet/ether.h: Likewise.
43684         * inet/netinet/in.h: Likewise.
43685         * intl/libintl.h: Likewise.
43686         * io/bits/fcntl2.h: Likewise.
43687         * io/fcntl.h: Likewise.
43688         * io/ftw.h: Likewise.
43689         * io/sys/poll.h: Likewise.
43690         * io/sys/stat.h: Likewise.
43691         * io/sys/statfs.h: Likewise.
43692         * io/sys/statvfs.h: Likewise.
43693         * io/utime.h: Likewise.
43694         * libio/bits/stdio.h: Likewise.
43695         * libio/bits/stdio2.h: Likewise.
43696         * libio/libio.h: Likewise.
43697         * libio/libioP.h: Likewise.
43698         * libio/stdio.h: Likewise.
43699         * locale/lc-ctype.c: Likewise.
43700         * locale/locale.h: Likewise.
43701         * login/utmp.h: Likewise.
43702         * malloc/arena.c: Likewise.
43703         * malloc/malloc.c: Likewise.
43704         * malloc/malloc.h: Likewise.
43705         * malloc/mcheck.c: Likewise.
43706         * malloc/mtrace.c: Likewise.
43707         * math/bits/mathcalls.h: Likewise.
43708         * math/fenv.h: Likewise.
43709         * math/math_private.h: Likewise.
43710         * misc/bits/error.h: Likewise.
43711         * misc/bits/syslog.h: Likewise.
43712         * misc/err.h: Likewise.
43713         * misc/error.h: Likewise.
43714         * misc/fstab.h: Likewise.
43715         * misc/mntent.h: Likewise.
43716         * misc/regexp.h: Likewise.
43717         * misc/search.h: Likewise.
43718         * misc/sgtty.h: Likewise.
43719         * misc/sys/mman.h: Likewise.
43720         * misc/sys/syslog.h: Likewise.
43721         * misc/sys/uio.h: Likewise.
43722         * misc/sys/xattr.h: Likewise.
43723         * misc/ttyent.h: Likewise.
43724         * nis/rpcsvc/ypclnt.h: Likewise.
43725         * nss/nss.h: Likewise.
43726         * posix/bits/unistd.h: Likewise.
43727         * posix/fnmatch.h: Likewise.
43728         * posix/glob.h: Likewise.
43729         * posix/sched.h: Likewise.
43730         * posix/spawn.h: Likewise.
43731         * posix/sys/wait.h: Likewise.
43732         * posix/unistd.h: Likewise.
43733         * posix/wordexp.h: Likewise.
43734         * pwd/pwd.h: Likewise.
43735         * resolv/netdb.h: Likewise.
43736         * resource/sys/resource.h: Likewise.
43737         * rt/aio.h: Likewise.
43738         * rt/bits/mqueue2.h: Likewise.
43739         * rt/mqueue.h: Likewise.
43740         * shadow/shadow.h: Likewise.
43741         * signal/signal.h: Likewise.
43742         * socket/send.c: Likewise.
43743         * socket/sendto.c: Likewise.
43744         * socket/sys/socket.h: Likewise.
43745         * stdio-common/printf.h: Likewise.
43746         * stdlib/bits/stdlib.h: Likewise.
43747         * stdlib/fmtmsg.h: Likewise.
43748         * stdlib/monetary.h: Likewise.
43749         * stdlib/stdlib.h: Likewise.
43750         * stdlib/ucontext.h: Likewise.
43751         * streams/stropts.h: Likewise.
43752         * string/argz.h: Likewise.
43753         * string/bits/string2.h: Likewise.
43754         * string/string.h: Likewise.
43755         * string/strings.h: Likewise.
43756         * sunrpc/rpc/auth.h: Likewise.
43757         * sunrpc/rpc/auth_des.h: Likewise.
43758         * sunrpc/rpc/clnt.h: Likewise.
43759         * sunrpc/rpc/netdb.h: Likewise.
43760         * sunrpc/rpc/pmap_clnt.h: Likewise.
43761         * sunrpc/rpc/xdr.h: Likewise.
43762         * sysdeps/generic/inttypes.h: Likewise.
43763         * sysdeps/generic/net/if.h: Likewise.
43764         * sysdeps/generic/sys/swap.h: Likewise.
43765         * sysdeps/gnu/net/if.h: Likewise.
43766         * sysdeps/gnu/utmpx.h: Likewise.
43767         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43768         * sysdeps/i386/i486/bits/string.h: Likewise.
43769         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43770         * sysdeps/s390/bits/string.h: Likewise.
43771         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43772         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43773         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43774         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43775         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43776         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43777         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43778         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43779         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43780         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43781         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43782         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43783         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43784         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43785         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43786         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43787         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43789         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43790         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43791         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43792         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43793         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43794         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43795         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43796         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43797         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43798         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43799         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43800         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43801         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43802         * sysvipc/sys/ipc.h: Likewise.
43803         * sysvipc/sys/msg.h: Likewise.
43804         * sysvipc/sys/sem.h: Likewise.
43805         * sysvipc/sys/shm.h: Likewise.
43806         * termios/termios.h: Likewise.
43807         * time/sys/time.h: Likewise.
43808         * time/time.h: Likewise.
43809         * wcsmbs/bits/wchar2.h: Likewise.
43810         * wcsmbs/uchar.h: Likewise.
43811         * wcsmbs/wchar.h: Likewise.
43812         * wctype/wctype.h: Likewise.
43813
43814         [BZ #13551]
43815         * Makeconfig: Remove all but ELF support including AIX support.
43816         * Makerules: Likewise.
43817         * config.h.in: Likewise.
43818         * config.make.in: Likewise.
43819         * configure: Likewise.
43820         * configure.in: Likewise.
43821         * csu/Makefile: Likewise.
43822         * csu/version.c: Likewise.
43823         * debug/Makefile: Likewise.
43824         * dlfcn/Makefile: Likewise.
43825         * elf/Makefile: Likewise.
43826         * extra-lib.mk: Likewise.
43827         * iconv/Makefile: Likewise.
43828         * include/libc-symbols.h: Likewise.
43829         * include/shlib-compat.h: Likewise.
43830         * resolv/Makefile: Likewise.
43831         * resolv/res_libc.c: Likewise.
43832         * rt/Makefile: Likewise.
43833         * sysdeps/i386/asm-syntax.h: Likewise.
43834         * sysdeps/i386/sysdep.h: Likewise.
43835         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43836         * sysdeps/mach/sysdep.h: Likewise.
43837         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43838         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43839         * sysdeps/s390/asm-syntax.h: Likewise.
43840         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43841         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43842         * sysdeps/sh/sysdep.h: Likewise.
43843         * sysdeps/unix/sparc/sysdep.h: Likewise.
43844         * sysdeps/wordsize-32/divdi3.c: Likewise.
43845         * sysdeps/x86_64/sysdep.h: Likewise.
43846
43847         * argp/Versions: Remove _argp_unlock_xxx.
43848
43849         [BZ #13559]
43850         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43851         * abilist/libBrokenLocale.abilist: Likewise.
43852         * abilist/libanl.abilist: Likewise.
43853         * abilist/libc.abilist: Likewise.
43854         * abilist/libcrypt.abilist: Likewise.
43855         * abilist/libdl.abilist: Likewise.
43856         * abilist/libm.abilist: Likewise.
43857         * abilist/libnsl.abilist: Likewise.
43858         * abilist/libpthread.abilist: Likewise.
43859         * abilist/libresolv.abilist: Likewise.
43860         * abilist/librt.abilist: Likewise.
43861         * abilist/libthread_db.abilist: Likewise.
43862         * abilist/libutil.abilist: Likewise.
43863         * abilist/libnss_db.abilist: New file.
43864
43865         * scripts/abilist.awk: Add support for indirect functions.
43866
43867         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43868
43869         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43870
43871         * shlib-versions: Remove entries for ports architectures.
43872
43873         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43874         files in ports.
43875         * elf/stackguard-macros.h: Remove support for IA-64.
43876         * elf/tst-auditmod1.c: Likewise.
43877         * sysdeps/generic/ldsodefs.h: Likewise.
43878
43879         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43880         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43881         configure files.
43882
43883         [BZ #13552]
43884         * configure.in: Remove --enable-omitfp support.
43885         * FAQ.in: Adjust.
43886         * config.make.in: Likewise.
43887         * Makeconfig: Likewise.
43888         * manual/install.texi: Likewise.
43889
43890         In case anyone cares, the IA-64 architecture could move to ports.
43891         * sysdeps/ia64/*: Removed.
43892         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43893         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43894
43895         [BZ #13555]
43896         * configure.in: Remove entries for unsupported architectures.
43897
43898         [BZ #13533]
43899         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43900         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43901         routines.
43902         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43903         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43904         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43905         fall back to using wcrtomb.
43906         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43907         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43908         renaming.
43909         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43910         * wcsmbs/tst-c16c32-1.c: New file.
43911
43912         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43913         local variable.
43914
43915         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43916
43917         * elf/tst-unique3.cc: Add explicit declaration of gets.
43918         * elf/tst-unique3lib.cc: Likewise.
43919         * elf/tst-unique3lib2.cc: Likewise.
43920         * elf/tst-unique4.cc: Likewise.
43921
43922         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43923
43924 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43925
43926         [BZ #13566]
43927         * assert/assert.h (static_assert): Don't define for C++.
43928         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43929         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43930
43931 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43932
43933         * iconv/loop.c (single loop): Fix assertion in storing of
43934         remaining bytes.
43935
43936         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43937
43938 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43939
43940         * posix/getconf.c: Update copyright year.
43941         * nss/getent.c: Likewise.
43942         * nss/makedb.c: Likewise.
43943         * iconv/iconvconfig.c: Likewise.
43944         * iconv/iconv_prog.c: Likewise.
43945         * elf/ldconfig.c: Likewise.
43946         * elf/pldd.c: Likewise.
43947         * elf/sotruss.ksh: Likewise.
43948         * catgets/gencat.c: Likewise.
43949         * csu/version.c: Likewise.
43950         * elf/ldd.bash.in: Likewise.
43951         * elf/sprof.c (print_version): Likewise.
43952         * locale/programs/locale.c: Likewise.
43953         * locale/programs/localedef.c: Likewise.
43954         * login/programs/pt_chown.c: Likewise.
43955         * nscd/nscd.c (print_version): Likewise.
43956         * debug/xtrace.sh: Likewise.
43957         * malloc/memusage.sh: Likewise.
43958         * malloc/mtrace.pl: Likewise.
43959         * debug/catchsegv.sh: Likewise.
43960
43961 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43962
43963         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43964         pure attribute.
43965
43966 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43967
43968         [BZ #13533]
43969         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43970         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43971         transformations.
43972         * iconv/gconv_int.h: Likewise.
43973         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43974         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43975         from libc for GLIBC_2.16.
43976         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43977         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43978         * wcsmbs/uchar.h: Really define mbstate_t.
43979         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43980         * wcsmbs/c16rtomb.c: New file.
43981         * wcsmbs/mbrtoc16.c: New file.
43982         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43983         for C/POSIX locale.
43984         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43985         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43986
43987         * wcsmbs/wchar.h: Add missing __restrict.
43988
43989 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43990
43991         [BZ #13532]
43992         * time/Makefile (routines): Add timespec_get.
43993         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43994         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43995         timespec for ISO C11.
43996         * time/timespec_get.c: New file.
43997         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43998         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43999
44000         [BZ #13531]
44001         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44002         * stdlib/stdlib.h: Declare aligned_alloc.
44003         * Versions.def: Add GLIBC_2.16 for libc.
44004         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44005
44006         [BZ 13527]
44007         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44008         ISO C11.
44009
44010         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44011         code.
44012
44013         [BZ #13528]
44014         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44015
44016         [BZ #13529]
44017         * assert/assert.h (static_assert): Define.
44018
44019         * version.h: Update for 2.16 development version.
44020
44021         [BZ #13526]
44022         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44023         _ISOC11_SOURCE.
44024
44025         * version.h (RELEASE): Bump for 2.15 release.
44026         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44027
44028         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44029         Patch by Marek Polacek <mpolacek@redhat.com>.
44030
44031         * bits/byteswap.h: Protect long long constants with __extension__.
44032         * sysdeps/i386/bits/byteswap.h: Likewise.
44033         * sysdeps/ia64/bits/byteswap.h: Likewise.
44034         * sysdeps/s390/bits/byteswap.h: Likewise.
44035         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44036
44037 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44038
44039         [BZ #13540]
44040         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44041         destination buffer.
44042         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44043
44044 2011-12-23  Marek Polacek  <polacek@redhat.com>
44045
44046         * elf/dl-addr.c (determine_info): Add inline keyword.
44047         * elf/tst-auditmod4b.c (check_avx): Likewise.
44048         * elf/tst-auditmod6b.c (check_avx): Likewise.
44049         * elf/tst-auditmod6c.c (check_avx): Likewise.
44050         * elf/tst-auditmod7b.c (check_avx): Likewise.
44051
44052 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44053
44054         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44055         !__SSE_MATH__.
44056
44057 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44058
44059         [BZ #13540]
44060         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44061         processing for last bytes.
44062
44063 2011-08-06  Bruno Haible  <bruno@clisp.org>
44064
44065         [BZ #13061]
44066         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44067         U+0385, not to U+1FEE.
44068
44069         [BZ #13062]
44070         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44071         entry for U+00A5 U+0301.
44072
44073 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44074
44075         [BZ #13166]
44076         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44077         buffer for the output is too small.
44078
44079         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44080         optimization.
44081
44082         [BZ #13185]
44083         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44084         SSE flags if possible.
44085
44086 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44087
44088         [BZ #13540]
44089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44090         processing for last bytes.
44091
44092 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44093
44094         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44095         (syscall-list-default-options, syscall-list-default-condition)
44096         (syscall-list-includes): Define.
44097         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44098         list of ABIs and options and #if conditions for each ABI.  Do not
44099         handle common syscalls between ABIs specially.
44100         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44101         Remove.
44102         (syscall-list-variants, syscall-list-32bit-options)
44103         (syscall-list-32bit-condition, syscall-list-64bit-options)
44104         (syscall-list-64bit-condition): Define.
44105         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44106         (syscall-list-variants, syscall-list-32bit-options)
44107         (syscall-list-32bit-condition, syscall-list-64bit-options)
44108         (syscall-list-64bit-condition): Define.
44109         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44110         Remove.
44111         (syscall-list-variants, syscall-list-32bit-options)
44112         (syscall-list-32bit-condition, syscall-list-64bit-options)
44113         (syscall-list-64bit-condition): Define.
44114         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44115         Remove.
44116         (syscall-list-variants, syscall-list-32bit-options)
44117         (syscall-list-32bit-condition, syscall-list-64bit-options)
44118         (syscall-list-64bit-condition): Define.
44119
44120 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44121
44122         * locale/iso-639.def: Add brx entry.
44123
44124         [BZ #13328]
44125         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44126         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44127
44128         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44129         __feraiseexcept_renamed.
44130
44131 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44132
44133         [BZ #13538]
44134         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44135         EPOLLET with unsigned values.
44136         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44137         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44138
44139         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44140         to large cancellation.
44141         * math/s_cacoshf.c: Likewise.
44142         * math/s_cacoshl.c: Likewise.
44143
44144 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44145
44146         [BZ #13305]
44147         [BZ #12786]
44148         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44149         * math/s_cacoshf.c: Likewise.
44150         * math/s_cacoshl.c: Likewise.
44151
44152 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44153
44154         [BZ #13439]
44155         * iconv/gconv.h: Define __GCONV_SWAP.
44156         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44157         * iconvdata/utf-16.c: Likewise.
44158         * iconvdata/utf-32.c: Likewise.
44159
44160 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44161
44162         [BZ #13524]
44163         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44164         numerator after shifting it by one limb.
44165
44166 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44167
44168         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44169         under [__USE_EXTERN_INLINES].
44170
44171 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44172
44173         [BZ #13446]
44174         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44175
44176 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44177
44178         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44179         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44180         optimized code.
44181         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44182         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44183         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44184         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44185         for strncasecmp/strncasecmp_l compilation.
44186         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44187         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44188
44189 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44190
44191         [BZ #13484]
44192         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44193         of __asm__.
44194
44195 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44196
44197         [BZ #13506]
44198         * time/tzfile.c (__tzfile_read): Check values from file header.
44199
44200 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44201
44202         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44203         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44204         * powerpc/powerpc32/dl-start.S: Likewise.
44205         * powerpc/powerpc32/elf/start.S: Likewise.
44206         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44207         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44208         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44209         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44210         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44211         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44212         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44213         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44214         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44215         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44216         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44217         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44218         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44219         * powerpc/powerpc32/memset.S: Likewise.
44220         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44221         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44222         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44223         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44224         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44225         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44226         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44227         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44228         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44229         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44230         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44231         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44232         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44233
44234 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44235
44236         * math/libm-test.inc: Added more nearbyint tests.
44237         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44238         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44239         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44240         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44241
44242 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44243
44244         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44245         FD_CLOEXEC.
44246
44247 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44248
44249         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44250         Add wcscpy-ssse3 wcscpy-c.
44251         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44252         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44253         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44254         * sysdeps/x86_64/wcschr.S: New file.
44255         * sysdeps/x86_64/wcsrchr.S: New file.
44256         * string/test-strcmp.c: Remove checking of wcscmp function for
44257         wrong alignments.
44258         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44259         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44260         wcsrchr-sse2 wcsrchr-c.
44261         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44262         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44263         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44264         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44265         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44266         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44267         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44268         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44269         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44270         * wcsmbc/wcschr.c (WCSCHR): New macro.
44271
44272 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44273
44274         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44275         * wcsmbs/test-wcsrchr.c: New file.
44276         * string/test-strrchr.c: Add wcsrchr support.
44277         (WIDE): New macro.
44278         * wcsmbs/test-wcscpy.c: New file.
44279         * string/test-strcpy.c: Add wcscpy support.
44280         (WIDE): New macro.
44281
44282 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44283
44284         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44285         the inner loop.
44286
44287 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44288
44289         [BZ #13472]
44290         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44291
44292 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44293
44294         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44295         Minor optimizations.
44296
44297         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44298         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44299         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44300
44301 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44302
44303         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44304         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44305         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44306         for gcc to avoid warnings.
44307         * inet/Makefile (tests): Add tst-checks.
44308         * inet/tst-checks.c: New file.
44309
44310         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44311         warning.
44312
44313         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44314         __wmemcmp_sse2.
44315
44316         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44317         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44318
44319         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44320
44321 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44322
44323         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44324         problem.
44325
44326         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44327
44328 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44329
44330         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44331         conditional on GCC version.
44332         (__arch_compare_and_exchange_val_8_acq)
44333         (__arch_compare_and_exchange_val_16_acq)
44334         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44335         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44336         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44337
44338 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44339
44340         * sysdeps/sh/backtrace.c: New file.
44341
44342 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44343
44344         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44345         parenthesis.
44346
44347 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44348
44349         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44350         falling back to utime.
44351
44352 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44353
44354         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44355         expectations for float.
44356
44357 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44358
44359         * locale/weight.h (findidx): Add parameter len.
44360         * locale/weightwc.h (findidx): Likewise.
44361         * posix/fnmatch_loop.c (FCT): Adjust caller.
44362         * posix/regcomp.c (build_equiv_class): Likewise.
44363         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44364         * posix/regexec.c (check_node_accept_bytes): Likewise.
44365         * string/strcoll_l.c (STRCOLL): Likewise.
44366         * string/strxfrm_l.c (STRXFRM): Likewise.
44367
44368 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44369
44370         * Makefile.in: Remove CVSOPT handling.
44371         * configure.in: Remove use of AC_REVISION.
44372         * iconvdata/Makefile (distribute): No need to filter out CVS.
44373         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44374         handling.
44375
44376 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44377
44378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44379         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44380         [USE_AS_STRNCASECMP_L]: Likewise.
44381         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44382         NO_TLS_DIRECT_SEG_REFS.
44383         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44384         Fix argument offsets for non-PIC.
44385         [USE_AS_STRNCASECMP_L]: Likewise.
44386         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44387         NO_TLS_DIRECT_SEG_REFS.
44388
44389 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44390
44391         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44392         O_CLOEXEC.
44393         * locale/loadlocale.c (_nl_load_locale): Likewise.
44394
44395 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44396
44397         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44398         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44400         (SYSCALL_GETTIME): Set errno on error.
44401
44402         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44403         count references to noai6ai_cached.
44404
44405 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44406
44407         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44408
44409         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44410         FD_CLOEXEC for /proc/self/maps.
44411
44412         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44413         FD_CLOEXEC for /proc/meminfo.
44414
44415         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44416         gai.conf.
44417
44418         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44419         FD_CLOEXEC for given file.
44420
44421         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44422
44423         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44424         FD_CLOEXEC for /etc/hosts.
44425         (_gethtent): Likewise.
44426
44427         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44428
44429         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44430         cancellation and set FD_CLOEXEC for /etc/netgroup.
44431
44432         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44433         reading /etc/publickey.
44434
44435         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44436         allow cancellation when reading /etc/group.
44437
44438         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44439         cancellation.
44440         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44441
44442         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44443         when using data file.
44444
44445         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44446
44447         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44448         (write_nis_obj): Use "c" and "e" in fopen.
44449
44450         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44451
44452         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44453
44454         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44455
44456         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44457
44458         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44459         locale.alias.
44460
44461         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44462
44463         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44464
44465         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44466
44467         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44468         file parsing and set FD_CLOEXEC.
44469
44470 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44471
44472         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44473
44474 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44475
44476         * malloc/arena.c (arena_get2): Don't call reused_arena when
44477         _int_new_arena failed.
44478
44479 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44480
44481         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44482         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44483         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44484         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44485         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44487         to compile strcasecmp and strncasecmp.
44488         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44489         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44490
44491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44492
44493 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44494
44495         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44496         locale-defines.sym to gen-as-const-headers.
44497         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44498         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44499         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44500         to compile strcasecmp and strncasecmp.
44501         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44502         strcasecmp_l and strncasecmp_l.
44503         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44504         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44505         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44506         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44507         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44508         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44509         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44510         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44511         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44512         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44513         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44514
44515 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44516
44517         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44518         result of SYSDEP_GETTIME_CPU to retval.
44519         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44520         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44521
44522         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44523         variable.
44524
44525         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44526         mantissa words.
44527         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44528
44529         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44530         from unused variable.
44531
44532         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44533         DWARF definitions.
44534         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44535         for assembling.
44536
44537         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44538         over namespaces.
44539
44540         * sunrpc/rpc_prot.c (rejected): Fix case value.
44541
44542         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44543         unsigned long long int to avoid warnings in shift.
44544
44545         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44546         of use of trans.
44547         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44548         variable tmp.
44549
44550         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44551         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44552         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44553
44554         * nis/nis_table.c (nis_list): Use variable of correct type for
44555         result of __follow_path call.
44556
44557 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44558
44559         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44560         of math functions ceil, trunc, floor, round, and sqrt, when
44561         avaliable on the platform.
44562         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44563         name clash.
44564         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44565         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44566         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44567
44568 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44569
44570         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44572
44573 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44574
44575         * include/unistd.h: Fix __readlink return type.
44576         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44577
44578 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44579
44580         * stdlib/ucontext.h: Undo last change for makecontext.
44581
44582 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44583
44584         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44585
44586         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44587         * setjmp/setjmp.h: Mark functions as non-leaf.
44588         * setjmp/bits/setjmp2.h: Likewise.
44589         * stdlib/ucontext.h: Likewise.
44590
44591 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44592
44593         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44594         (reused_arena): Don't check arena limit.
44595         (arena_get2): Atomically check arena limit.
44596
44597 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44598
44599         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44600         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44601
44602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44603         instructions.
44604
44605 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44606
44607         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44608         handler when locking.
44609
44610         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44611         Fix size of allocated buffer.
44612
44613 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44614
44615         [BZ #10103]
44616         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44617         declarations for long double functions.
44618         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44619
44620         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44621
44622 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44623
44624         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44625         installed.
44626
44627         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44628         is disabled.
44629
44630 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44631
44632         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44633
44634 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44635
44636         * include/alloca.h (stackinfo_alloca_round): Define.
44637         (extend_alloca): Use it.
44638         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44639         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44640         here.
44641
44642         * scripts/check-local-headers.sh: Ignore libaudit.h.
44643
44644         * nscd/Makefile (extra-objs): Make recursively expanded.
44645
44646 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44647
44648         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44649         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44650
44651         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44652         * posix/tst-rfc3484-2.c: Likewise.
44653         * posix/tst-rfc3484-3.c: Likewise.
44654
44655         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44656         process_vm_writev.
44657         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44658         process_vm_writev.
44659         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44660         process_vm_writev from libc using GLIBC_2.15 version.
44661
44662         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44663
44664 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44665
44666         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44667         stack usage.
44668
44669 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44670
44671         [BZ #13367]
44672         * nss/getent.c (initgroups_keys): Show error message in case no group
44673         names are given.
44674
44675         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44676         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44677         __bump_nl_timestamp.
44678         * nscd/connections (nscd_init): When host database is served open
44679         netlink socket and request notification about configuration changes.
44680         (main_loop_poll): Track netlink file descriptor and bump timestamp
44681         in case data becomes available.
44682         (main_loop_epoll): Likewise.
44683         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44684         (database_pers_head): Add extra_data fileds.
44685         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44686         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44687         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44688         Adjust caller.
44689         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44690         in6ai data, call __free_in6ai.
44691         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44692         Add -DHAVE_NETLINK.
44693         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44694         interface information.  Reuse previous data if netlink timestamp
44695         is not changed.
44696         (__bump_nl_timestamp): New function.
44697         (__free_in6ai): New function.
44698
44699 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44700
44701         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44702         close_not_cancel_no_status here.
44703         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44704
44705 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44706
44707         [BZ #13276]
44708         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44709         return value.
44710
44711         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44712         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44713         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44714
44715 2011-07-03  Andreas Jaeger  <aj@suse.de>
44716
44717         [BZ #10709]
44718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44719         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44720         * math/libm-test.inc (sin_test): Add test case.
44721
44722 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44723
44724         [BZ #13337]
44725         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44726         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44727
44728         * elf/chroot_canon.c (chroot_canon): Cleanups.
44729
44730         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44731
44732         [BZ #13335]
44733         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44734         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44735
44736         * string/test-strchr.c: Make usable for strchrnul testing.
44737         * string/test-strchrnul.c: New file.
44738         * string/Makefile (strop-tests): Add strchrnul.
44739
44740         * po/it.po: Update from translation team.
44741         * po/es.po: Likewise.
44742
44743 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44744
44745         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44746         the three constants needed as parameters.  Drop the others.
44747         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44748         __m128i_strloadu_tolower.
44749         Create and initialize variable zero and use it in all the places
44750         where _mm_setzero_si128 was used.
44751
44752         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44753         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44754         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44755         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44756         anymore.
44757         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44758         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44759         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44760         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44761         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44762         __mpranred, __mptan.
44763         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44764         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44765         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44766         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44767         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44768         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44769         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44770         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44771         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44772
44773 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44774
44775         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44776         redefine if SHARED.
44777         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44778
44779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44780         wide char related routines to wcsmbs subdir.
44781
44782 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44783
44784         [BZ #13344]
44785         * misc/sys/cdefs.h (__THROWNL): Define.
44786         * posix/unistd.h: Use __THREADNL instead of __THREAD
44787         for memory synchronization functions.
44788
44789 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44790
44791         [BZ #13349]
44792         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44793         doesn't exist.
44794         * manual/stdio.texi (Obstack Streams): Node removed.
44795
44796 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44797
44798         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44799         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44800         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44801
44802         * math/math_private.h (math_force_eval): Allow non-addressable
44803         arguments.
44804         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44805
44806 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44807
44808         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44809         file is not needed.
44810
44811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44812         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44813         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44814         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44815         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44816         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44817         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44818         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44819         Add AVX variants.
44820         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44821         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44822         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44823         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44824         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44825         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44826         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44827         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44828         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44829         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44830         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44831         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44832         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44833         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44834         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44835         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44836         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44837         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44838         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44839
44840         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44841         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44842
44843         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44844         place.  Use VEX encoding when compiling for AVX.
44845
44846 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44847
44848         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44849         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44850
44851         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44852
44853 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44854
44855         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44856         useless if() expression.
44857         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44858         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44859         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44860         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44861         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44862         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44863         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44865         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44866         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44867         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44868         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44869         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44870         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44871         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44872         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44873         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44874         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44875         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44876
44877         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44878
44879 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44880
44881         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44882         condition.
44883         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44884
44885 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44886
44887         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44888         .text section.  Avoid duplicate constants.
44889         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44890         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44891         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44893         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44894         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44896         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44897         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44898         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44899         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44900         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44901         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44902         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44903         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44904         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44905         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44906         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44909         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44910         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44911         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44912         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44913         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44914         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44915         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44916         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44917         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44918         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44919         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44920         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44921         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44922         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44923         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44924         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44925         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44926         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44927         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44928         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44929         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44930         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44931         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44932         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44933         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44934
44935 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44936
44937         * sysdeps/x86_64/dla.h: Move to ...
44938         * sysdeps/x86_64/fpu/dla.h: ...here.
44939         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44940         situations.  Use __builtin_fma only for gcc 4.6 and up.
44941
44942         * config.make.in: Add have-mfma4 entry.
44943         * configure.in: Substitute libc_cv_cc_fma4.
44944         * math/Makefile (dbl-only-routines): Add sincostab.
44945         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44946         Use __sincostab not sincos.
44947         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44948         name is a macro.
44949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44952         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44953         using __copysign.
44954         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44955         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44956         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44957         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44958         and __inv.
44959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44960         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44961         __copysign.
44962         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44963         define aliases when function name is a macro.
44964         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44965         sysdeps/ieee754/dbl-64/sincos.tbl.
44966         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44967         fma4-enabled routines.
44968         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44969         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44970         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44971         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44972         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44973         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44974         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44975         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44976         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44977         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44978         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44979         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44980         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44981         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44982         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44983         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44984         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44985         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44986         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44987         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44988         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44989         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44990         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44991         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44993         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44994         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44995         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44996         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44997         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44998
44999         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45000         rename.
45001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45002         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45009
45010 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45011
45012         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45013
45014 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45015
45016         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45017
45018         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45019         prediction.
45020         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45021
45022         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45023         Remove unused variable magic_bits.
45024         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45025
45026         * string/strnlen.c: Define and use STRNLEN macro.
45027         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45028         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45029         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45030         * wcsmbs/wcslen.c: Define and use WCSLEN.
45031         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45032         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45033         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45034         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45035         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45036         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45037         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45038
45039 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45040
45041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45042         strnlen-sse2-no-bsf.
45043         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45044         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45045         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45046         Add strnlen support.
45047         (USE_AS_STRNLEN): New macro.
45048         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45049         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45050         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45051         * sysdeps/x86_64/wcslen.S: New file.
45052
45053 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45054
45055         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45056         XMM-moves are used for copying on small sizes.
45057
45058 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45059
45060         * wcsmbs/Makefile (strop-tests): Add wcschr.
45061         * wcsmbs/test-wcschr.c: New file.
45062         * string/test-strchr.c: Update.
45063         Add wcschr support.
45064         (WIDE): New macro.
45065
45066 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45067
45068         * wcsmbs/Makefile (strop-tests): Add wcslen.
45069         * wcsmbs/test-wcslen.c: New file.
45070         * string/test-strlen.c: Update.
45071         Add wcslen support.
45072         (WIDE): New macro.
45073
45074 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45075
45076         * po/it.po: Update from translation team.
45077
45078 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45079
45080         * sysdeps/x86_64/wcscmp.S: Update.
45081         Fix wrong comparison semantics.
45082         wcscmp shall use signed comparison not unsigned.
45083         Don't use substraction to avoid overflow bug.
45084         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45085         * wcsmbc/wcscmp.c: Likewise.
45086         * string/test-strcmp.c: Likewise.
45087         Add new tests to check cases with negative values.
45088
45089 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45090
45091         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45092         * sysdeps/x86_64/dla.h: ...here.  New file.
45093         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/e_sqrt.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-23  Andreas Schwab  <schwab@linux-m68k.org>
45104
45105         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45106         __ynl_finite aliases.
45107
45108 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45109
45110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45111
45112         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45113         define DLA_FMA.
45114         [DLA_FMA] (EMULV): Use DLA_FMA.
45115         [DLA_FMA] (MUL12): Use EMULV.
45116         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45117         that are not needed.
45118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45123         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45124         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45125
45126 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45127
45128         * math/s_nan.c: Undef __nan.
45129         * math/s_nanf.c: Undef __nanf.
45130         * math/s_nanl.c: Undef __nanl.
45131         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45132         "math_private.h".
45133
45134 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45135
45136         * math/s_catan.c: Add branch predictions.
45137         * math/s_catanf.c: Likewise.
45138         * math/s_catanh.c: Likewise.
45139         * math/s_catanhf.c: Likewise.
45140         * math/s_catanhl.c: Likewise.
45141         * math/s_catanl.c: Likewise.
45142         * math/s_cexp.c: Likewise.
45143         * math/s_cexpf.c: Likewise.
45144         * math/s_cexpl.c: Likewise.
45145         * math/s_clog.c: Likewise.
45146         * math/s_clog10.c: Likewise.
45147         * math/s_clog10f.c: Likewise.
45148         * math/s_clog10l.c: Likewise.
45149         * math/s_clogf.c: Likewise.
45150         * math/s_clogl.c: Likewise.
45151         * math/s_csqrt.c: Likewise.
45152         * math/s_csqrtf.c: Likewise.
45153         * math/s_csqrtl.c: Likewise.
45154         * math/s_ctanf.c: Likewise.
45155         * math/s_ctanh.c: Likewise.
45156         * math/s_ctanhf.c: Likewise.
45157         * math/s_ctanhl.c: Likewise.
45158         * math/s_ctanl.c: Likewise.
45159
45160         * math/math_private.h: Define __nan, __nanf, __nanl.
45161         * math/s_cacosh.c: Include <math_private.h>.
45162         * math/s_cacoshl.c: Likewise.
45163         * math/s_casinh.c: Likewise.
45164         * math/s_casinhf.c: Likewise.
45165         * math/s_casinhl.c: Likewise.
45166         * math/s_ccos.c: Rely entire on ccosh.
45167         * math/s_ccosf.c: Rely entire on ccoshf.
45168         * math/s_ccosl.c: Rely entirely on ccoshl.
45169         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45170         Remove tests for FE_INVALID.
45171         * math/s_ccoshf.c: Likewise.
45172         * math/s_ccoshl.c: Likewise.
45173         * math/s_csin.c: Likewise.
45174         * math/s_csinf.c: Likewise.
45175         * math/s_csinh.c Likewise.
45176         * math/s_csinhf.c: Likewise.
45177         * math/s_csinhl.c: Likewise.
45178         * math/s_csinl.c: Likewise.
45179         * math/s_ctan.c: Likewise.
45180         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45181         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45182         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45183
45184 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45185
45186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45187         compilation problems.
45188
45189         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45190         __builtin_expect.
45191
45192 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45193
45194         * sysdeps/i386/configure.in: Test for -mfma4 option.
45195         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45196         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45197         COMMON_CPUID_INDEX_80000001.
45198         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45199         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45200         use it if FMA3 is not supported.
45201         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45202
45203         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45204         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45205
45206 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45207
45208         [BZ #12892]
45209         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45210         it would create a cycle with a link time dependency.
45211
45212 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45213
45214         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45215         instruction.
45216         * string/Makefile (strop-tests): Add rawmemchr.
45217         * string/test-rawmemchr.c: New file.
45218
45219         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45221         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45222         when compiling str{,n}casecmp and when AVX is available.  Hook up
45223         new optimized code in initializers.
45224
45225 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45226
45227         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45228         __feraiseexcept instead of feraiseexcept.
45229
45230 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45231
45232         * math/math_private.h: Define defaults for libc_fetestexcept and
45233         libc_feupdateenv.
45234         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45235         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45236         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45237         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45238         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45239         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45240         libc_fetestexcept and libc_feupdateenv.
45241
45242         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45243         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45244         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45245         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45246         libc_feholdexcept_setround.
45247
45248         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45249         Add s_nearbyint-c and s_nearbyintf-c.
45250         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45251         nearbyintf inlines.
45252         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45253         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45254         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45255         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45256
45257         * math/math_private.h: Define defaults for libc_fegetround,
45258         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45259         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45260         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45261         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45262         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45263         standard functions.
45264         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45265         Remove comments and hacks for old compiler versions.
45266         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45267         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45268         libc_feholdexceptl.
45269
45270 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45271
45272         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45273         (__feraiseexcept_renamed): Add __NTH.
45274         (feraiseexcept): Add __NTH.  Rename local variables to fix
45275         namespace violations.
45276
45277 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45278
45279         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45280
45281         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45282
45283         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45284         recently added interfaces.
45285         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45286
45287         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45288         about macro parameter expansion.
45289
45290         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45291         __NO_MATH_INLINES is defined.  Cleanups.
45292
45293         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45294         and __floorf is target has SSE4.1.
45295         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45296         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45297         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45298         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45299
45300         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45301         name.
45302         (floorf): Likewise.
45303
45304         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45305
45306 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45307
45308         * misc/sys/cdefs.h: Fix last change.
45309
45310         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45311         database lookup.
45312
45313 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45314
45315         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45316
45317         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45318         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45319         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45320         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45321         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45322         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45323         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45324         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45325         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45326         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45327         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45328         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45329         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45330         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45331         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45332         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45333         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45334         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45335         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45336         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45337         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45338         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45339
45340         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45341         ceil, ceilf, floor, floorf.
45342
45343         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45344         Perform IRELATIVE relocations last.
45345
45346         * elf/do-rel.h: Add another parameter nrelative, replacing the
45347         local variable with the same name.  Change name of the function
45348         to end in Rel or Rela (uppercase).
45349         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45350         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45351         elf_dynamic_do_##reloc function.
45352
45353 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45354
45355         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45356         is sufficient, at least on modern CPUs.
45357
45358         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45359
45360         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45361         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45362
45363         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45364         __expl_finite.
45365         * math/bits/math-finite.h: Add entries for exp.
45366         * math/e_expl.c: Add __*_finite alias.
45367         * sysdeps/i386/fpu/e_exp.S: Likewise.
45368         * sysdeps/i386/fpu/e_expf.S: Likewise.
45369         * sysdeps/i386/fpu/e_expl.c: Likewise.
45370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45371         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45372         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45373         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45374         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45375         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45376         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45377
45378         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45379         is sufficient, at least on modern CPUs.
45380
45381         * ctype/ctype-info.c (__ctype_init): Define.
45382         * include/ctype.h (__ctype_init): Declare.
45383         (__ctype_b_loc): The variable is always initialized.
45384         (__ctype_toupper_loc): Likewise.
45385         (__ctype_tolower_loc): Likewise.
45386         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45387         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45388
45389 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45390
45391         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45392
45393         * configure.in: Also look in $cxxmachine/include for C++ system
45394         headers.
45395
45396 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45397
45398         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45399         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45400         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45401         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45402         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45403         (USE_AS_WMEMCMP): New macro.
45404         Fixing indents.
45405         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45406         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45407         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45408         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45410         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45411         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45412         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45413         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45414         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45415         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45416         (USE_AS_WMEMCMP): New macro.
45417         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45418         * sysdeps/string/test-memcmp.c: Update.
45419         Fix simple_wmemcmp.
45420         Add new tests.
45421         * wcsmbs/wmemcmp.c: Update.
45422         (WMEMCMP): New macro.
45423         Fix overflow bug.
45424
45425 2011-10-12  Andreas Jaeger  <aj@suse.de>
45426
45427         [BZ #13268]
45428         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45429
45430 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45431
45432         * libio/iofwide.c (do_length): Avoid warning.
45433
45434         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45435
45436 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45437
45438         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45439
45440         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45441         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45442         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45443         * sysdeps/i386/i686/fpu/e_log.S: New file.
45444         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45445         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45446
45447         * ctype/ctype.h: Add support for inlined isXXX functions when
45448         compiling C++ code.
45449
45450 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45451
45452         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45453
45454         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45455
45456 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45457
45458         [BZ #13291]
45459         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45460
45461 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45462
45463         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45464         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45465         feraiseexcept.
45466
45467         * sysdeps/x86_64/memrchr.S: Check for zero size.
45468
45469         * string/stratcliff.c: Add memrchr tests.
45470
45471 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45472
45473         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45474         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45475         rawmemchr-sse2 rawmemchr-sse2-bsf.
45476         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45477         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45478         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45479         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45480         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45481         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45482         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45483         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45484         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45485         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45486         * string/memrchr.c (MEMRCHR): New macro.
45487
45488 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45489
45490         Add integration with gcc's -ffinite-math-only and optimize wrapper
45491         functions in libm.
45492         * Versions.def: Define GLIBC_2.15 version for libm.
45493         * math/Makefile (headers): Add bits/math-finite.h.
45494         * math/bits/math-finite.h: New file.
45495         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45496         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45497         * math/e_acoshl.c: Add __*_finite alias.
45498         * math/e_acosl.c: Likewise.
45499         * math/e_asinl.c: Likewise.
45500         * math/e_atan2l.c: Likewise.
45501         * math/e_atanhl.c: Likewise.
45502         * math/e_coshl.c: Likewise.
45503         * math/e_exp10.c: Likewise.
45504         * math/e_exp10f.c: Likewise.
45505         * math/e_exp10l.c: Likewise.
45506         * math/e_exp2l.c: Likewise.
45507         * math/e_fmodl.c: Likewise.
45508         * math/e_gammal_r.c: Likewise.
45509         * math/e_hypotl.c: Likewise.
45510         * math/e_j0l.c: Likewise.
45511         * math/e_j1l.c: Likewise.
45512         * math/e_jnl.c: Likewise.
45513         * math/e_lgammal_r.c: Likewise.
45514         * math/e_log10l.c: Likewise.
45515         * math/e_log2l.c: Likewise.
45516         * math/e_logl.c: Likewise.
45517         * math/e_powl.c: Likewise.
45518         * math/e_sinhl.c: Likewise.
45519         * math/e_sqrtl.c: Likewise.
45520         * math/e_scalb.c: Completely rewritten and optimized.
45521         * math/e_scalbf.c: Likewise.
45522         * math/e_scalbl.c: Likewise.
45523         * math/w_acos.c: Likewise.
45524         * math/w_acosf.c: Likewise.
45525         * math/w_acosl.c: Likewise.
45526         * math/w_acosh.c: Likewise.
45527         * math/w_acoshf.c: Likewise.
45528         * math/w_acoshl.c: Likewise.
45529         * math/w_asin.c: Likewise.
45530         * math/w_asinf.c: Likewise.
45531         * math/w_asinl.c: Likewise.
45532         * math/w_atan2.c: Likewise.
45533         * math/w_atan2f.c: Likewise.
45534         * math/w_atan2l.c: Likewise.
45535         * math/w_atanh.c: Likewise.
45536         * math/w_atanhf.c: Likewise.
45537         * math/w_atanhl.c: Likewise.
45538         * math/w_exp10.c: Likewise.
45539         * math/w_exp10f.c: Likewise.
45540         * math/w_exp10l.c: Likewise.
45541         * math/w_fmod.c: Likewise.
45542         * math/w_fmodf.c: Likewise.
45543         * math/w_fmodl.c: Likewise.
45544         * math/w_j0.c: Likewise.
45545         * math/w_j0f.c: Likewise.
45546         * math/w_j0l.c: Likewise.
45547         * math/w_j1.c: Likewise.
45548         * math/w_j1f.c: Likewise.
45549         * math/w_j1l.c: Likewise.
45550         * math/w_jn.c: Likewise.
45551         * math/w_jnf.c: Likewise.
45552         * math/w_log.c: Likewise.
45553         * math/w_logf.c: Likewise.
45554         * math/w_logl.c: Likewise.
45555         * math/w_log10.c: Likewise.
45556         * math/w_log10f.c: Likewise.
45557         * math/w_log10l.c: Likewise.
45558         * math/w_log2.c: Likewise.
45559         * math/w_log2f.c: Likewise.
45560         * math/w_log2l.c: Likewise.
45561         * math/w_pow.c: Likewise.
45562         * math/w_powf.c: Likewise.
45563         * math/w_powl.c: Likewise.
45564         * math/w_remainder.c: Likewise.
45565         * math/w_remainderf.c: Likewise.
45566         * math/w_remainderl.c: Likewise.
45567         * math/w_scalb.c: Likewise.
45568         * math/w_scalbf.c: Likewise.
45569         * math/w_scalbl.c: Likewise.
45570         * math/w_sqrt.c: Likewise.
45571         * math/w_sqrtf.c: Likewise.
45572         * math/w_sqrtl.c: Likewise.
45573         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45574         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45575         used.
45576         * math/math_private.h: Declare __kernel_standard_f.
45577         * math/w_cosh.c: Remove cruft and optimize a bit.
45578         * math/w_coshf.c: Likewise.
45579         * math/w_coshl.c: Likewise.
45580         * math/w_exp2.c: Likewise.
45581         * math/w_exp2f.c: Likewise.
45582         * math/w_exp2l.c: Likewise.
45583         * math/w_hypot.c: Likewise.
45584         * math/w_hypotf.c: Likewise.
45585         * math/w_hypotl.c: Likewise.
45586         * math/w_lgamma.c: Likewise.
45587         * math/w_lgamma_r.c: Likewise.
45588         * math/w_lgammaf.c: Likewise.
45589         * math/w_lgammaf_r.c: Likewise.
45590         * math/w_lgammal.c: Likewise.
45591         * math/w_lgammal_r.c: Likewise.
45592         * math/w_sinh.c: Likewise.
45593         * math/w_sinhf.c: Likewise.
45594         * math/w_sinhl.c: Likewise.
45595         * math/w_tgamma.c: Likewise.
45596         * math/w_tgammaf.c: Likewise.
45597         * math/w_tgammal.c: Likewise.
45598         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45599         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45600         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45601         Minor optimizations.  Pretty printing.  Remove cruft.
45602         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45603         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45604         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45605         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45606         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45607         * sysdeps/i386/fpu/e_asin.S: Likewise.
45608         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45609         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45610         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45611         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45612         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45613         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45614         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45615         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45616         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45617         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45618         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45619         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45620         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45621         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45622         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45623         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45624         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45625         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45626         * sysdeps/i386/fpu/e_log.S: Likewise.
45627         * sysdeps/i386/fpu/e_log10.S: Likewise.
45628         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45629         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45630         * sysdeps/i386/fpu/e_log2.S: Likewise.
45631         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45632         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45633         * sysdeps/i386/fpu/e_logf.S: Likewise.
45634         * sysdeps/i386/fpu/e_logl.S: Likewise.
45635         * sysdeps/i386/fpu/e_pow.S: Likewise.
45636         * sysdeps/i386/fpu/e_powf.S: Likewise.
45637         * sysdeps/i386/fpu/e_powl.S: Likewise.
45638         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45639         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45640         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45641         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45643         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45644         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45645         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45646         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45647         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45648         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45649         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45652         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45653         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45654         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45655         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45656         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45657         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45658         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45660         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45661         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45662         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45663         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45664         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45665         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45667         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45668         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45669         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45670         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45671         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45672         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45673         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45674         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45675         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45676         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45677         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45678         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45679         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45680         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45681         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45682         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45683         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45684         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45685         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45686         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45687         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45688         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45689         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45690         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45691         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45692         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45696         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45697         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45700         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45701         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45702         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45703         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45704         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45705         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45706         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45707         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45711         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45713         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45715         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45717         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45718         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45721         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45723         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45724         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45725         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45726         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45727         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45728         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45729         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45730         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45731         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45732         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45733         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45734         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45735         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45736         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45737         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45738         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45739         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45740         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45741         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45742         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45743         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45744         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45745         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45746         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45747         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45748         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45749         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45750         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45751         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45752         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45753         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45754         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45755         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45756         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45757         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45758         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45759         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45760         (__isnanf): Likewise.
45761         (__isinf_ns): Likewise.
45762         (__isinf_nsf): Likewise.
45763         (__finite): Likewise.
45764         (__finitef): Likewise.
45765         (__ieee754_sqrt): Define as macro.
45766         (__ieee754_sqrtf): Define as macro.
45767         (__ieee754_sqrtl): Define as macro.
45768         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45769         inlined copy.
45770         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45771         __FINITE_MATH_ONLY__ consistent.
45772         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45773
45774 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45775
45776         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45777         of rawmemchr.
45778
45779         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45780
45781 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45782
45783         * po/ja.po: Update from translation team.
45784
45785 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45786
45787         * locale/programs/locarchive.c (prepare_address_space): New function.
45788         (create_archive, enlarge_archive, open_archive): Use it.
45789
45790         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45791         inside [SHARED], where it is used.
45792
45793         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45794
45795         * nss/getent.c (netgroup_keys): Remove unused variable.
45796         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45797
45798 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45799
45800         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45801         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45803         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45804         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45805         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45806         * math/Makefile (libm-calls): Add s_isinf_ns.
45807         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45808         * math/multc3.c: Likewise.
45809         * math/s_casin.c: Likewise.
45810         * math/s_casinf.c: Likewise.
45811         * math/s_casinl.c: Likewise.
45812         * math/s_ccos.c: Likewise.
45813         * math/s_ccosf.c: Likewise.
45814         * math/s_ccosl.c: Likewise.
45815         * math/s_ctan.c: Likewise.
45816         * math/s_ctanf.c: Likewise.
45817         * math/s_ctanh.c: Likewise.
45818         * math/s_ctanhf.c: Likewise.
45819         * math/s_ctanhl.c: Likewise.
45820         * math/s_ctanl.c: Likewise.
45821         * math/w_fmod.c: Likewise.
45822         * math/w_fmodf.c: Likewise.
45823         * math/w_fmodl.c: Likewise.
45824         * math/w_remainder.c: Likewise.
45825         * math/w_remainderf.c: Likewise.
45826         * math/w_remainderl.c: Likewise.
45827         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45828         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45829         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45830         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45831         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45832         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45833         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45834         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45835
45836         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45837         of the number.
45838         * stdio-common/printf_fphex.c: Likewise.
45839         * stdio-common/printf_size.c: Likewise.
45840
45841         * math/e_exp10.c: Include math_private.h using <...> not "...".
45842         * math/e_exp10f.c: Likewise.
45843         * math/e_exp10l.c: Likewise.
45844         * math/e_exp2l.c: Likewise.
45845         * math/e_j0l.c: Likewise.
45846         * math/e_j1l.c: Likewise.
45847         * math/e_jnl.c: Likewise.
45848         * math/e_lgammal_r.c: Likewise.
45849         * math/e_rem_pio2l.c: Likewise.
45850         * math/e_scalb.c: Likewise.
45851         * math/e_scalbf.c: Likewise.
45852         * math/e_scalbl.c: Likewise.
45853         * math/k_cosl.c: Likewise.
45854         * math/k_sinl.c: Likewise.
45855         * math/k_tanl.c: Likewise.
45856         * math/s_cacoshf.c: Likewise.
45857         * math/s_catan.c: Likewise.
45858         * math/s_catanf.c: Likewise.
45859         * math/s_catanh.c: Likewise.
45860         * math/s_catanhf.c: Likewise.
45861         * math/s_catanhl.c: Likewise.
45862         * math/s_catanl.c: Likewise.
45863         * math/s_ccosh.c: Likewise.
45864         * math/s_ccoshf.c: Likewise.
45865         * math/s_ccoshl.c: Likewise.
45866         * math/s_cexp.c: Likewise.
45867         * math/s_cexpf.c: Likewise.
45868         * math/s_cexpl.c: Likewise.
45869         * math/s_clog.c: Likewise.
45870         * math/s_clog10.c: Likewise.
45871         * math/s_clog10f.c: Likewise.
45872         * math/s_clog10l.c: Likewise.
45873         * math/s_clogf.c: Likewise.
45874         * math/s_clogl.c: Likewise.
45875         * math/s_csin.c: Likewise.
45876         * math/s_csinf.c: Likewise.
45877         * math/s_csinh.c: Likewise.
45878         * math/s_csinhf.c: Likewise.
45879         * math/s_csinhl.c: Likewise.
45880         * math/s_csinl.c: Likewise.
45881         * math/s_csqrt.c: Likewise.
45882         * math/s_csqrtf.c: Likewise.
45883         * math/s_csqrtl.c: Likewise.
45884         * math/s_ctan.c: Likewise.
45885         * math/s_ctanf.c: Likewise.
45886         * math/s_ctanh.c: Likewise.
45887         * math/s_ctanhf.c: Likewise.
45888         * math/s_ctanhl.c: Likewise.
45889         * math/s_ctanl.c: Likewise.
45890         * math/s_ldexp.c: Likewise.
45891         * math/s_ldexpf.c: Likewise.
45892         * math/s_ldexpl.c: Likewise.
45893         * math/s_significand.c: Likewise.
45894         * math/s_significandf.c: Likewise.
45895         * math/s_significandl.c: Likewise.
45896         * math/w_acos.c: Likewise.
45897         * math/w_acosf.c: Likewise.
45898         * math/w_acosh.c: Likewise.
45899         * math/w_acoshf.c: Likewise.
45900         * math/w_acoshl.c: Likewise.
45901         * math/w_acosl.c: Likewise.
45902         * math/w_asin.c: Likewise.
45903         * math/w_asinf.c: Likewise.
45904         * math/w_asinl.c: Likewise.
45905         * math/w_atan2.c: Likewise.
45906         * math/w_atan2f.c: Likewise.
45907         * math/w_atan2l.c: Likewise.
45908         * math/w_atanh.c: Likewise.
45909         * math/w_atanhf.c: Likewise.
45910         * math/w_atanhl.c: Likewise.
45911         * math/w_cosh.c: Likewise.
45912         * math/w_coshf.c: Likewise.
45913         * math/w_coshl.c: Likewise.
45914         * math/w_dremf.c: Likewise.
45915         * math/w_exp10.c: Likewise.
45916         * math/w_exp10f.c: Likewise.
45917         * math/w_exp10l.c: Likewise.
45918         * math/w_exp2.c: Likewise.
45919         * math/w_exp2f.c: Likewise.
45920         * math/w_fmod.c: Likewise.
45921         * math/w_fmodf.c: Likewise.
45922         * math/w_fmodl.c: Likewise.
45923         * math/w_hypot.c: Likewise.
45924         * math/w_hypotf.c: Likewise.
45925         * math/w_hypotl.c: Likewise.
45926         * math/w_j0.c: Likewise.
45927         * math/w_j0f.c: Likewise.
45928         * math/w_j0l.c: Likewise.
45929         * math/w_j1.c: Likewise.
45930         * math/w_j1f.c: Likewise.
45931         * math/w_j1l.c: Likewise.
45932         * math/w_jn.c: Likewise.
45933         * math/w_jnf.c: Likewise.
45934         * math/w_jnl.c: Likewise.
45935         * math/w_lgamma.c: Likewise.
45936         * math/w_lgamma_r.c: Likewise.
45937         * math/w_lgammaf.c: Likewise.
45938         * math/w_lgammaf_r.c: Likewise.
45939         * math/w_lgammal.c: Likewise.
45940         * math/w_lgammal_r.c: Likewise.
45941         * math/w_log.c: Likewise.
45942         * math/w_log10.c: Likewise.
45943         * math/w_log10f.c: Likewise.
45944         * math/w_log10l.c: Likewise.
45945         * math/w_log2.c: Likewise.
45946         * math/w_log2f.c: Likewise.
45947         * math/w_log2l.c: Likewise.
45948         * math/w_logf.c: Likewise.
45949         * math/w_logl.c: Likewise.
45950         * math/w_pow.c: Likewise.
45951         * math/w_powf.c: Likewise.
45952         * math/w_powl.c: Likewise.
45953         * math/w_remainder.c: Likewise.
45954         * math/w_remainderf.c: Likewise.
45955         * math/w_remainderl.c: Likewise.
45956         * math/w_scalb.c: Likewise.
45957         * math/w_scalbf.c: Likewise.
45958         * math/w_scalbl.c: Likewise.
45959         * math/w_sinh.c: Likewise.
45960         * math/w_sinhf.c: Likewise.
45961         * math/w_sinhl.c: Likewise.
45962         * math/w_sqrt.c: Likewise.
45963         * math/w_sqrtf.c: Likewise.
45964         * math/w_sqrtl.c: Likewise.
45965         * math/w_tgamma.c: Likewise.
45966         * math/w_tgammaf.c: Likewise.
45967         * math/w_tgammal.c: Likewise.
45968
45969         * po/ja.po: Update from translation team.
45970
45971 2011-09-29  Andreas Jaeger  <aj@suse.de>
45972
45973         [BZ #13179]
45974         * sunrpc/netname.c (netname2host): Fix logic.
45975
45976         [BZ #6779]
45977         [BZ #6783]
45978         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45979         correctly.
45980         * math/w_remainder.c (__remainder): Likewise.
45981         * math/w_remainderf.c (__remainderf): Likewise.
45982         * math/libm-test.inc (remainder_test): Add test cases.
45983
45984 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45985
45986         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45987         sdiv_qrnnd.
45988
45989 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45990
45991         * string/test-memcmp.c: Avoid unncessary #defines.
45992         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45993
45994 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45995
45996         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45997         Use new sse2 version for core i3 - i7 as it's faster
45998         than sse42 version.
45999         (bit_Prefer_PMINUB_for_stringop): New.
46000         * sysdeps/x86_64/rawmemchr.S: Update.
46001         Replace with faster SSE2 version.
46002         * sysdeps/x86_64/memrchr.S: New file.
46003         * sysdeps/x86_64/memchr.S: Update.
46004         Replace with faster SSE2 version.
46005
46006 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46007
46008         * elf/dl-load.c (lose): Add cast to avoid warning.
46009
46010 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46011
46012         * po/ca.po: Update from translation team.
46013
46014         * inet/getnetgrent_r.c: Hook up nscd.
46015         * nscd/Makefile (routines): Add nscd_netgroup.
46016         (nscd-modules): Add netgroupcache.
46017         (CFLAGS-netgroupcache.c): Define.
46018         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46019         (cache_search): Add const to second parameter.
46020         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46021         INNETGR.
46022         (dbs): Add netgrdb entry.
46023         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46024         (verify_persistent_db): Handle netgrdb.
46025         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46026         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46027         GETFDNETGR.
46028         (netgroup_response_header): Define.
46029         (innetgroup_response_header): Define.
46030         (datahead): Add netgroup_response_header and innetgroup_response_header
46031         elements.
46032         * nscd/nscd.conf: Add entries for netgroup cache.
46033         * nscd/nscd.h (dbtype): Add netgrdb.
46034         (_PATH_NSCD_NETGROUP_DB): Define.
46035         (netgroup_iov_disabled): Declare.
46036         (xmalloc, xcalloc, xrealloc): Move declarations here.
46037         (cache_search): Adjust prototype.
46038         Add netgroup-related prototypes.
46039         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46040         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46041         (__nscd_innetgr): Declare.
46042         * nscd/selinux.c (perms): Use access_vector_t as element type and
46043         add netgroup-related initializers.
46044         * nscd/netgroupcache.c: New file.
46045         * nscd/nscd_netgroup.c: New file.
46046         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46047         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46048         For four parameters use innetgr.
46049         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46050         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46051         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46052         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46053
46054         * nscd/connections.c (register_traced_file): Don't register file
46055         for disabled databases.
46056
46057 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46058
46059         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46060
46061         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46062         from tree and freeing node.
46063
46064 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46065
46066         * nss/nsswitch.c (__nss_database_lookup): Handle
46067         nss_parse_service_list out of memory case.
46068
46069 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46070
46071         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46072         out of memory case.
46073
46074 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46075
46076         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46077         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46078         pass it down.
46079         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46080         elf_machine_rela, elf_machine_lazy_rel.
46081         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46082         (ELF_DYNAMIC_DO_REL): Likewise.
46083         (ELF_DYNAMIC_DO_RELA): Likewise.
46084         (ELF_DYNAMIC_RELOCATE): Likewise.
46085         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46086         to ELF_DYNAMIC_DO_REL.
46087         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46088         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46089         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46090         elf_machine_rela.
46091         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46092         skip_ifunc, don't call ifunc function if non-zero.
46093         (elf_machine_rela): Likewise.
46094         (elf_machine_lazy_rel): Likewise.
46095         (elf_machine_lazy_rela): Likewise.
46096         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46097         (elf_machine_lazy_rel): Likewise.
46098         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46099         Likewise.
46100         (elf_machine_lazy_rel): Likewise.
46101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46102         Likewise.
46103         (elf_machine_lazy_rel): Likewise.
46104         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46105         (elf_machine_lazy_rel): Likewise.
46106         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46107         (elf_machine_lazy_rel): Likewise.
46108         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46109         (elf_machine_lazy_rel): Likewise.
46110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46111         (elf_machine_lazy_rel): Likewise.
46112         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46113         (elf_machine_lazy_rel): Likewise.
46114         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46115         (elf_machine_lazy_rel): Likewise.
46116
46117 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46118
46119         * nss/nss_files/files-init.c (_nss_files_init): Use static
46120         initialization for all the *_traced_file variables.
46121
46122 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46123
46124         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46125
46126 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46127
46128         [BZ #13226]
46129         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46130
46131 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46132
46133         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46134         Reread the line before reparsing it.
46135
46136 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46137
46138         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46139
46140 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46141             Maxim Kuvyrkov  <maxim@codesourcery.com>
46142             Joseph Myers  <joseph@codesourcery.com>
46143
46144         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46145         if needed for __stack_chk_guard.
46146
46147 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46148
46149         * sysdeps/posix/spawni.c (script_execute): Always define it.
46150         It will be optimized away if unused.
46151         (maybe_script_execute): New function.
46152         (__spawni): Call it.
46153
46154         * Makerules: Don't include tls.make.
46155         (config-tls): Always set to thread.
46156         * tls.make.c: File removed.
46157
46158 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46159
46160         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46161         * config.make.in (CPPFLAGS-config): New substituted variable.
46162
46163 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46164
46165         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46166
46167         [BZ #13192]
46168         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46169         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46170
46171 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46172
46173         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46174         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46176         (CALL_FAIL): Likewise.
46177         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46178         (CALL_FAIL): Macro removed.
46179         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46180
46181 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46182
46183         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46184         for __FINITE_MATH_ONLY__ == 1.
46185
46186 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46187
46188         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46189         __ieee754_sqrt instead of sqrt.
46190         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46191         __ieee754_sqrtf instead of sqrtf.
46192         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46193         __floorf instead of floorf.
46194         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46195         __floorf, __truncf instead of floorf, truncf.
46196
46197 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46198
46199         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46200
46201         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46202         __extern_always_inline.
46203         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46204         32-bit.
46205
46206 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46207
46208         * elf/rtld.c (dl_main): Also relocate in dependency order when
46209         doing symbol dependency testing.
46210
46211 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46212
46213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46214         Always define `refsym'.
46215
46216 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46217
46218         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46219         (__FD_ELT): Renamed from __FDELT.
46220         * misc/bits/select2.h (__FD_ELT): Likewise.
46221         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46222         __FD_MASK instead of __FDELT, __FDMASK.
46223         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46224         Likewise.
46225         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46226         Likewise.
46227
46228         * elf/Makefile (gen-ldd): Fix pattern.
46229
46230         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46231         (init_tls): Likewise.
46232
46233 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46234
46235         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46236
46237 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46238
46239         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46240         `struct cmsghdr *' instead of `void *'.
46241         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46242         Likewise.
46243
46244 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46245
46246         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46247         if non-absolute.
46248         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46249         ldd_rewrite_script.
46250
46251 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46252
46253         * configure.in: Remove --with-tls option.
46254         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46255         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46256         out in case it is missing.
46257         * sysdeps/ia64/elf/configure.in: Likewise.
46258         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46259         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46260         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46261         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46262         * sysdeps/sh/elf/configure.in: Likewise.
46263         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46264         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46265         * sysdeps/x86_64/elf/configure.in: Likewise.
46266         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46267         * sysdeps/mach/hurd/tls.h: Likewise.
46268
46269         [BZ #13067]
46270         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46271
46272         [BZ #13090]
46273         * configure.in: Fix use of AC_INIT.
46274
46275         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46276
46277 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46278
46279         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46280         __set_errno.
46281         * malloc/hooks.c: Likewise.
46282
46283         [BZ #11929]
46284         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46285         variables statically.
46286         (narenas): Initialize.
46287         (list_lock): Initialize.
46288         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46289         initializtion of main_arena and list_lock.  Small cleanups.
46290         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46291         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46292         Add initializers to main_arena and mp_.
46293         (malloc_state): Remove pagesize member.  Change all users to use
46294         GLRO(dl_pagesize).
46295
46296         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46297         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46298         is always initialized.
46299
46300         * malloc/malloc.c: Removed unused configurations and dead code.
46301         * malloc/arena.c: Likewise.
46302         * malloc/hooks.c: Likewise.
46303         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46304
46305         * include/tls.h: Removed.  USE___THREAD must always be defined.
46306         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46307         * elf/dl-libc.c: Likewise.
46308         * elf/dl-tsd.c: Likewise.
46309         * include/errno.h: Likewise.
46310         * include/netdb.h: Likewise.
46311         * include/resolv.h: Likewise.
46312         * inet/herrno-loc.c: Likewise.
46313         * inet/herrno.c: Likewise.
46314         * malloc/arena.c: Likewise.
46315         * malloc/hooks.c: Likewise.
46316         * malloc/malloc.c: Likewise.
46317         * resolv/res-state.c: Likewise.
46318         * resolv/res_libc.c: Likewise.
46319         * sysdeps/i386/dl-machine.h: Likewise.
46320         * sysdeps/ia64/dl-machine.h: Likewise.
46321         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46322         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46323         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46324         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46325         * sysdeps/sh/dl-machine.h: Likewise.
46326         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46327         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46328         * sysdeps/unix/i386/sysdep.S: Likewise.
46329         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46330         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46335         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46337         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46339         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46340         * sysdeps/x86_64/dl-machine.h: Likewise.
46341         * tls.make.c: Likewise.
46342
46343         * configure.in: Remove --with-__thread option.  Make tests for
46344         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46345         tls_model attribute fail if no support is available.  Remove
46346         USE_IN_LIBIO.
46347         * Makeconfig: Adjust for dropped configure option.  All features are
46348         now mandatory.
46349         * Makerules: Likewise.
46350         * Versions.def: Likewise.
46351         * argp/argp-fmtstream.c: Likewise.
46352         * argp/argp-fmtstream.h: Likewise.
46353         * argp/argp-help.c: Likewise.
46354         * assert/assert.c: Likewise.
46355         * config.h.in: Likewise.
46356         * config.make.in: Likewise.
46357         * configure: Likewise.
46358         * configure.in: Likewise.
46359         * csu/Versions: Likewise.
46360         * csu/init.c: Likewise.
46361         * elf/tst-audit2.c: Likewise.
46362         * elf/tst-tls10.c: Likewise.
46363         * elf/tst-tls10.h: Likewise.
46364         * elf/tst-tls11.c: Likewise.
46365         * elf/tst-tls12.c: Likewise.
46366         * elf/tst-tls14.c: Likewise.
46367         * elf/tst-tlsmod11.c: Likewise.
46368         * elf/tst-tlsmod12.c: Likewise.
46369         * elf/tst-tlsmod13.c: Likewise.
46370         * elf/tst-tlsmod13a.c: Likewise.
46371         * elf/tst-tlsmod14a.c: Likewise.
46372         * elf/tst-tlsmod15b.c: Likewise.
46373         * elf/tst-tlsmod16a.c: Likewise.
46374         * elf/tst-tlsmod16b.c: Likewise.
46375         * elf/tst-tlsmod7.c: Likewise.
46376         * elf/tst-tlsmod8.c: Likewise.
46377         * elf/tst-tlsmod9.c: Likewise.
46378         * gmon/gmon.c: Likewise.
46379         * grp/fgetgrent_r.c: Likewise.
46380         * grp/putgrent.c: Likewise.
46381         * hurd/fopenport.c: Likewise.
46382         * include/libc-symbols.h: Likewise.
46383         * include/tls.h: Likewise.
46384         * intl/gettextP.h: Likewise.
46385         * intl/loadinfo.h: Likewise.
46386         * locale/global-locale.c: Likewise.
46387         * locale/localeinfo.h: Likewise.
46388         * mach/devstream.c: Likewise.
46389         * malloc/arena.c: Likewise.
46390         * malloc/set-freeres.c: Likewise.
46391         * misc/err.c: Likewise.
46392         * misc/getttyent.c: Likewise.
46393         * misc/mntent_r.c: Likewise.
46394         * posix/getopt.c: Likewise.
46395         * posix/wordexp.c: Likewise.
46396         * pwd/fgetpwent_r.c: Likewise.
46397         * resolv/Versions: Likewise.
46398         * resolv/res_hconf.c: Likewise.
46399         * shadow/fgetspent_r.c: Likewise.
46400         * shadow/putspent.c: Likewise.
46401         * stdio-common/printf_fphex.c: Likewise.
46402         * stdio-common/tmpfile.c: Likewise.
46403         * stdlib/abort.c: Likewise.
46404         * stdlib/fmtmsg.c: Likewise.
46405         * sunrpc/auth_unix.c: Likewise.
46406         * sunrpc/clnt_perr.c: Likewise.
46407         * sunrpc/clnt_tcp.c: Likewise.
46408         * sunrpc/clnt_udp.c: Likewise.
46409         * sunrpc/clnt_unix.c: Likewise.
46410         * sunrpc/openchild.c: Likewise.
46411         * sunrpc/svc_simple.c: Likewise.
46412         * sunrpc/svc_tcp.c: Likewise.
46413         * sunrpc/svc_udp.c: Likewise.
46414         * sunrpc/svc_unix.c: Likewise.
46415         * sunrpc/xdr.c: Likewise.
46416         * sunrpc/xdr_array.c: Likewise.
46417         * sunrpc/xdr_rec.c: Likewise.
46418         * sunrpc/xdr_ref.c: Likewise.
46419         * sunrpc/xdr_stdio.c: Likewise.
46420
46421 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46422
46423         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46424
46425 2011-07-03  Andreas Jaeger  <aj@suse.de>
46426
46427         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46428         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46429         regenerate with gen-libm-tests.pl.
46430
46431 2010-05-12  Petr Baudis  <pasky@suse.cz>
46432
46433         [BZ #11589]
46434         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46435         around j0() zero points by switching to j1().
46436         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46437         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46439         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46440
46441 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46442
46443         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46444         instead of 0.
46445         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46446         instead of 0.
46447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46448         Patch in part by Pavel Roskin <proski@gnu.org>.
46449
46450         [BZ #13138]
46451         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46452         realloc.
46453         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46454         Free memory block if necessary.
46455
46456         [BZ #12847]
46457         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46458         be NULL.  Don't lock in this case.
46459
46460 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46461
46462         * elf/elf.h (ELFOSABI_GNU): New macro.
46463         (ELFOSABI_LINUX): Define to that.
46464
46465 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46466
46467         * string/strncat.c (strncat): Undef the symbol in case it has been
46468         defined in bits/string.h.
46469
46470 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46471
46472         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46473
46474         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46475         link map.
46476
46477 2011-08-17  Andreas Jaeger  <aj@suse.de>
46478
46479         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46480
46481 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46482             Ian Lance Taylor  <iant@google.com>
46483
46484         * math/libm-test.inc (lround_test): New testcase.
46485         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46486
46487 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46488
46489         * Makefile: Remove support for automatic cvs check-ins.
46490         * Makerules: Likewise.
46491         * config.make.in: Likewise.
46492         * configure.in: Likewise.
46493         * intl/Makefile: Likewise.
46494         * locale/Makefile: Likewise.
46495         * po/Makefile: Likewise.
46496         * posix/Makefile: Likewise.
46497         * sysdeps/gnu/Makefile: Likewise.
46498         * sysdeps/mach/hurd/Makefile: Likewise.
46499         * sysdeps/sparc/sparc32/Makefile: Likewise.
46500
46501         [BZ #13118]
46502         * posix/Makefile (bug-regex32-ENV): Define.
46503         Patch by John Stanley <jpsinthemix@verizon.net>.
46504
46505         * misc/Makefile (headers): Add bits/select2.h.
46506         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46507         * misc/bits/select2.h: New file.
46508         * include/bits/select2.h: New file.
46509         * debug/Makefile (routines): Add fdelt_chk.
46510         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46511         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46512         FD_ISSET.
46513         * debug/fdelt_chk.c: New file.
46514
46515         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46516         * wcsmbs/test-wmemcmp.c: Likewise.
46517         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46518         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46519
46520 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46521
46522         * string/Makefile (strop-tests): Add memcmp.
46523         * string/test-wmemcmp.c: New file.
46524         * string/test-memcmp.c: Add wmemcmp support.
46525
46526 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46527
46528         [BZ #13153]
46529         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46530         2011-07-19 change.
46531
46532         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46533         garbage value in a __mach_port_mod_refs call in the cases of the
46534         task-self and thread-self ports.
46535
46536 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46537
46538         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46539
46540 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46541
46542         * elf/dl-load.c (lose): Check for non-null L.
46543
46544 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46545
46546         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46547
46548         * elf/dl-libc.c (dlerror_run): Pass back error code from
46549         dl_catch_error.
46550
46551         [BZ #13123]
46552         * elf/dl-load.c (lose): Free l_origin if it is valid.
46553
46554         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46555         names.
46556         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46557         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46558         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46559         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46560         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46561         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46562
46563 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46564
46565         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46566         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46567         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46568         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46569         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46570         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46571         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46572         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46573         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46574         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46575
46576 2011-08-15  Alan Modra  <amodra@gmail.com>
46577
46578         [BZ #13092]
46579         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46580         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46581         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46582         ppc_mcount to static-only-routines.
46583         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46584         __mcount_internal.
46585         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46586         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46587
46588 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46589
46590         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46591         for finite and infinity parameters.
46592
46593 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46594
46595         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46596         and add nop instructions for throughput optimization.
46597         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46598
46599 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46600
46601         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46602         aligned copy for power7 with vector-scalar instructions.
46603         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46604
46605 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46606
46607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46608         AVX check.
46609
46610 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46611
46612         [BZ #13144]
46613         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46614         last change.
46615
46616 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46617
46618         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46619         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46620         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46621         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46622         clock_gettime.
46623
46624 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46627         Forgot to demangle the pointer.
46628
46629         * sysdeps/i386/sysdep.h: Define atom_text_section.
46630         * sysdeps/x86_64/sysdep.h: Likewise.
46631         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46632         section with atom_text_section.
46633         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46634         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46635         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46636         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46637         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46638
46639         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46640         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46641         already be defined.  Change to take two parameters and don't assign
46642         result to variable.  Adjust all users.
46643         Define INTERNAL_GETTIME if not already defined.
46644         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46645         call.
46646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46647         HAVE_CLOCK_GETTIME_VSYSCALL.
46648         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46649
46650         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46651         gettimeofday vsyscall, just use time.
46652
46653 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46654
46655         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46656         <errno.h>.
46657
46658 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46659
46660         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46661         syscall on x86-64.
46662         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46663         syscall.
46664         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46665         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46666         syscall if possible.
46667
46668 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46669
46670         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46671         e_ident.  Don't pass to find_mapsXX.
46672         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46673
46674 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46675
46676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46677         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46678         * sysdeps/x86_64/multiarch/strchr.S: Update.
46679         Check bit_slow_BSF bit.
46680         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46681         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46682         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46683
46684 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46685
46686         [BZ #13134]
46687         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46688         before glibc 2.15.
46689         (tryshell): Define.
46690         (__spawni): Change last parameter to be flag.  Test
46691         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46692         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46693         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46694         * posix/spawni.c: Likewise.
46695         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46696         * posix/spawnp.c: Likewise.  Change normal version to use
46697         SPAWN_XFLAGS_USE_PATH.
46698         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46699         SPAWN_XFLAGS_TRY_SHELL.
46700
46701         [BZ #13150]
46702         * posix/glob.h: Remove gcc 1.x support.
46703
46704         [BZ #13068]
46705         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46706
46707 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46708
46709         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46710         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46711         strrchr-sse2-bsf
46712         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46713         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46714         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46715         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46716         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46717         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46718
46719 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46720
46721         * sysdeps/x86_64/wcscmp.S: New file.
46722
46723         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46724         wcscmp-c wcscmp-sse2
46725         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46726         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46727         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46728         * wcsmbs/wcscmp.c: Allow renaming.
46729
46730 2011-09-05  David S. Miller  <davem@davemloft.net>
46731
46732         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46733         stack slot, rather than the struct return pointer slot.
46734         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46735         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46737         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46738
46739 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46740
46741         * po/ja.po: Update from translation team.
46742
46743         [BZ #13144]
46744         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46745         kernel in 64-bit binaries.
46746
46747 2011-09-01  David S. Miller  <davem@davemloft.net>
46748
46749         * elf/elf.h (HWCAP_SPARC_*): Move to..
46750         * sysdeps/sparc/sysdep.h: this new file and add new values.
46751         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46752         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46753         _DL_HWCAP_COUNT to 24.
46754         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46755         entries.
46756         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46757         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46758         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46760         instead of magic constants.
46761         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46762
46763 2011-08-31  David S. Miller  <davem@davemloft.net>
46764
46765         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46767         Reimplement to do errno handling inline.
46768         (SYSCALL_ERROR_HANDLER): New macro.
46769         (__SYSCALL_STRING): Do not do errno handling in asm.
46770         (__CLONE_SYSCALL_STRING): Delete.
46771         (__INTERNAL_SYSCALL_STRING): Delete.
46772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46773         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46774         (PSEUDO): Reimplement to do errno handling inline.
46775         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46776         (SYSCALL_ERROR_HANDLER): New macro.
46777         (__SYSCALL_STRING): Do not do errno handling in asm.
46778         (__CLONE_SYSCALL_STRING): Delete.
46779         (__INTERNAL_SYSCALL_STRING): Delete.
46780         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46781         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46782         i386.
46783         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46784         (inline_syscall*): Add 'err' argument.
46785         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46786         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46787         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46788         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46789
46790         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46791         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46792
46793 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46794
46795         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46796
46797 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46798
46799         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46800         directive.
46801
46802 2011-08-24  David S. Miller  <davem@davemloft.net>
46803
46804         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46805
46806 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46807
46808         * elf/Makefile: Add rules to build and run unload8 test.
46809         * elf/unload8.c: New file.
46810         * elf/unload8mod1.c: New file.
46811         * elf/unload8mod1x.c: New file.
46812         * elf/unload8mod2.c: New file.
46813         * elf/unload8mod3.c: New file.
46814
46815         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46816         it wasn't used.
46817
46818 2011-08-23  David S. Miller  <davem@davemloft.net>
46819
46820         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46821         subtract stack bias.
46822         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46823         %sp not %fp in calculations.
46824         (_JMPBUF_UNWINDS_ADJ): Likewise.
46825
46826         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46827         (aio_suspend): Call it to force an exception region around the
46828         AIO_MISC_WAIT() invocation.
46829
46830 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46831
46832         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46833         backslash.
46834
46835 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46836
46837         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46838         protection macro.
46839         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46840         and <dl-machine.h>.
46841         (Elf64_FuncDesc): Remove.
46842
46843 2011-08-22  David S. Miller  <davem@davemloft.net>
46844
46845         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46846         sigaltstack check, add missing cfi directives.
46847         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46848         missing cfi directives, and sigaltstack handling.
46849
46850 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46851
46852         [BZ #11724]
46853         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46854         object is seen twice.
46855         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46856
46857         * elf/Makefile (distribute): Add tst-initorder2.c.
46858         (tests): Add tst-initorder2.
46859         (modules-names): Add tst-initorder2a tst-initorder2b
46860         tst-initorder2c tst-initorder2d.  Add rules to build them.
46861         ($(objpfx)tst-initorder2.out): New rule.
46862         * elf/tst-initorder2.c: New file.
46863         * elf/tst-initorder2.exp: New file.
46864
46865 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46866
46867         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46868
46869         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46870         dependencies back to end of function.
46871
46872         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46873         $(elfobjdir)/ld.so.
46874
46875 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46876
46877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46878         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46879         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46880         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46881         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46882         of __vdso_gettimeofday.
46883         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46884         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46885         attribute_hidden.
46886         (_libc_vdso_platform_setup): Remove initialization of
46887         __vdso_gettimeofday and __vdso_time.
46888
46889 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46890
46891         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46892         and fgetc_unlocked.
46893         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46894         getc_unlocked.
46895
46896         * elf/dl-open.c (add_to_global): Report additions to the global scope
46897         for LD_DEBUG=scopes.
46898         (dl_open_worker): Also print scope of newly loaded dependencies.
46899         (_dl_show_scope): Indicate if there is no scope.
46900
46901         [BZ #13114]
46902         * stdio-common/Makefile (tests): Add bug24.
46903         * stdio-common/bug24.c: New file.
46904
46905 2011-08-19  Andreas Jaeger  <aj@suse.de>
46906
46907         [BZ #13114]
46908         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46909         non-existant file when using close-on-exec mode.
46910
46911 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46912
46913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46914         the very first instruction.
46915
46916         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46917         the CFI state in the end.
46918         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46919         inclusion of dl-trampoline.h.
46920         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46921
46922 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46923
46924         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46925         expectations for long double.
46926
46927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46928         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46929
46930 2011-08-14  David S. Miller  <davem@davemloft.net>
46931
46932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46933         artificual limit depends upon the system page size.
46934
46935 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46936
46937         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46938         * resolv/Makefile: Define CFLAGS-libresolv.
46939
46940 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46941
46942         * nss/makedb.c (compute_tables): Make variables used in nested
46943         function static.
46944
46945 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46946
46947         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46948         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46949         if buffer was too small.
46950
46951         * elf/pldd.c (main): Attach to all threads in the process.
46952         Rewrite /proc handling to use *at functions.
46953
46954 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46955
46956         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46957         specifies first scope to show.
46958         (dl_open_worker): Update callers.  Move printing scope of new
46959         object to before the relocation.
46960         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46961         * sysdeps/generic/ldsodefs.h: Update declaration.
46962
46963         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46964         string for the scope number.
46965
46966 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46967
46968         * nscd/servicescache.c (cache_addserv): Make sure written is always
46969         initialized.
46970
46971 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46972
46973         * sysdeps/i386/i486/bits/atomic.h
46974         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46975         statement expression, so as to suppress "set but not used" warning.
46976         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46977
46978         * string/strncat.c (STRNCAT): Use prototype definition.
46979
46980         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46981         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46982         -Iprograms here.
46983         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46984         (localedef-modules): Add localedef.
46985         (locale-modules): Add locale.
46986
46987         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46988         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46989         to avoid a warning.
46990
46991 2011-08-14  David S. Miller  <davem@davemloft.net>
46992
46993         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46994         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46995
46996 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46997
46998         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46999         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47000         * elf/rtld.c (dl_main): Set l_name of vDSO.
47001         Call _dl_show_scope when DL_DEBUG_SCOPES.
47002         (process_dl_debug): Recognize scopes flag and also set it for all.
47003         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47004         Declare _dl_show_scope.
47005
47006         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47007         (do_dlopen): Pass caller_dlopen to dl_open.
47008         (__libc_dlopen_mode): Initialize caller_dlopen.
47009
47010         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47011         of libc.  Make tolower call locale-independent.  Optimize a bit by
47012         using isdigit instead of isalnum.
47013         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47014
47015 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47016
47017         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47018         was a dependency or dynamically loaded.
47019
47020 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47021
47022         * intl/l10nflist.c: Allow architecture-specific pop function.
47023         * sysdeps/x86_64/l10nflist.c: New file.
47024
47025         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47026         classification.
47027
47028 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47029
47030         * include/dirent.h: Add libc_hidden_proto for scandirat and
47031         scandirat64.  Don't declare __scandirat64.
47032         * dirent/scandirat.c: Add libc_hidden_def.
47033         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47034         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47035
47036 2011-08-10  David S. Miller  <davem@davemloft.net>
47037
47038         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47039         enum.
47040         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47041         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47042         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47043
47044 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47045
47046         * Versions.def [libc]: Add GLIBC_2.15.
47047         * dirent/Makefile (routines): Add scandirat and scandirat64.
47048         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47049         GLIBC_2.15.
47050         * dirent/dirent.h: Declare scandirat and scandirat64.
47051         * dirent/scandirat.c: New file.
47052         * dirent/scandirat64.c: New file.
47053         * sysdeps/wordsize-64/scandirat.c: New file.
47054         * sysdeps/wordsize-64/scandirat64.c: New file.
47055         * dirent/opendir.c: Define opendirat.
47056         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47057         using scandirat.
47058         * dirent/scandir64.c: Adjust for scandir.c change.
47059         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47060         __scandirat64, and __scandir_cancel_handler.
47061         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47062         additional parameter and use openat instead of open (outside of ld.so).
47063         Add new __opendir as wrapper around __opendirat.
47064         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47065         here without requiring old scandirat implementation.
47066
47067 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47068
47069         * dirent/scandir.c (cancel_handler): Renamed to
47070         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47071         defined.  Adjust users.
47072         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47073         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47074
47075 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47076
47077         * string/test-string.h (IMPL): Use __STRING to expand name and then
47078         stringify it.
47079
47080         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47081         of cleanups.
47082
47083 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47084
47085         * string/Makefile: Update.
47086         (strop-tests): Append strncat.
47087         * string/test-wcscmp.c: New file.
47088         New comprehensive test for wcscmp.
47089         * string/test-strcmp.c: Update.
47090         (WIDE): New define.
47091
47092 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47093
47094         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47095         line.
47096
47097 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47098
47099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47100         encoding to ACE if AI_IDN.
47101
47102 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47103
47104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47105         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47106
47107 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47108
47109         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47110         Fix overflow bug in strncat.
47111         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47112
47113         * string/test-strncat.c: Update.
47114         Add new tests for checking overflow bugs.
47115
47116 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47117
47118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47119         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47120         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47121         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47122         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47123         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47124         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47125         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47126         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47127
47128         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47129         (USE_AS_STRCAT): Define.
47130         Add strcat and strncat support.
47131         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47132
47133 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47134
47135         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47136         __n bigger than INT_MAX+1.
47137         (__strncmp_g): Likewise.
47138
47139 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47140
47141         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47142         * libio/stido.h: Likewise.
47143
47144         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47145         (AF_NFC): Define.
47146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47147         (AF_NFC): Define.
47148
47149         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47152         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47153         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47154
47155         [BZ #13021]
47156         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47157         installed.
47158
47159         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47160         typo.
47161         (_dl_x86_64_save_sse): Likewise.
47162
47163 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47164
47165         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47166         OSXSAVE.
47167         (_dl_x86_64_save_sse): Likewise.
47168
47169         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47170
47171         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47172
47173 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47174
47175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47176         change.
47177         (_dl_x86_64_save_sse): Use correct AVX check.
47178
47179 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47180
47181         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47182         bug in strncpy/strncat.
47183         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47184
47185 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47186
47187         * string/tester.c (test_strcat): Add tests for different alignments
47188         of source and destination.
47189         (test_strncat): Likewise.
47190
47191 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47192
47193         [BZ #12852]
47194         * posix/glob.c (glob): Check passed in values before using them in
47195         expressions to avoid some overflows.
47196         (glob_in_dir): Likewise.
47197
47198         [BZ #13007]
47199         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47200         check for AVX enablement so that we don't crash with old kernels and
47201         new hardware.
47202         * elf/tst-audit4.c: Add same checks here.
47203         * elf/tst-audit6.c: Likewise.
47204
47205         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47206
47207 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47208
47209         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47210
47211 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47212
47213         * po/cs.po: Update from translation team.
47214         * po/bg.po: Likewise.
47215
47216 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47217
47218         * misc/sys/cdefs.h: Add support for const attribute.
47219         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47220         to gnu_dev_{major,minor,makedev} functions.
47221
47222 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47223
47224         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47225
47226 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47227
47228         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47229         strlen results.
47230
47231 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47232
47233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47234         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47235         register in order to avoid conflicts with the soft frame pointer
47236         being held in r11 when necessary.
47237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47238         (INTERNAL_VSYSCALL_NCS): Likewise.
47239
47240 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47241
47242         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47243         * elf/dl-fini.c (_dl_fini): Adjust caller.
47244         * elf/dl-close.c (_dl_close_worker): Likewise.
47245         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47246
47247 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47248
47249         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47250         "aux_cache->nlibs < 0".
47251
47252         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47253         in the reload-count case.
47254
47255 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47256
47257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47258         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47259         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47260         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47261         * sysdeps/x86_64/multiarch/strcat.S: New file.
47262         * sysdeps/x86_64/multiarch/strncat.S: New file.
47263         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47264         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47265         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47266         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47267         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47268         (USE_AS_STRCAT): Define.
47269         Add strcat and strncat support.
47270         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47271         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47272         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47273         * string/strncat.c: Update.
47274         (USE_AS_STRNCAT): Define.
47275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47276         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47277         and i7.
47278         * sysdeps/x86_64/multiarch/init-arch.h
47279         (bit_Prefer_PMINUB_for_stringop): New.
47280         (index_Prefer_PMINUB_for_stringop): Likewise.
47281         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47282         bit_Prefer_PMINUB_for_stringop.
47283
47284 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47285
47286         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47287         buffer64.
47288         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47289         of casting of buffer.
47290         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47291         buffer32 and buffer64.
47292         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47293         writes instead of casting of buffer.
47294         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47295         buffer32.
47296         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47297         casting of buffer.
47298
47299 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47300
47301         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47302
47303 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47304
47305         * nscd/nscd.c (termination_handler): Don't do anything for a database
47306         if it has not yet been initialized.
47307
47308 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47309
47310         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47311
47312 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47313
47314         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47315
47316 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47317
47318         * po/nl.po: Update from translation team.
47319         * po/sv.po: Likewise.
47320
47321 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47322
47323         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47324         now disallowed by GCC.
47325
47326         * configure.in (use-default-link): Default to yes if a test -shared
47327         link meets our qualifications.
47328         * configure: Regenerated.
47329
47330         * config.make.in (output-format): New variable.
47331         * configure.in: Check for ld --print-output-format support.
47332         * configure: Regenerated.
47333         * Makerules ($(common-objpfx)format.lds)
47334         [$(output-format) != unknown]: Just use $(output-format),
47335         instead of the linker-script munging.
47336
47337 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47338
47339         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47340         of $(common-objpfx)shlib.lds.
47341         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47342
47343         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47344         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47345
47346         * configure.in (-z relro check): Adjust test code to add a large
47347         writable data section after it.
47348         * configure: Regenerated.
47349
47350 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47351
47352         * configure.in (-z relro check): Fix test code to make the variable
47353         truly const.
47354         * configure: Regenerated.
47355
47356 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47357
47358         * nscd/nscd.h (struct traced_file): Define.
47359         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47360         elements.  Add traced_files.
47361         (inotify_fd): Declare.
47362         (register_traced_file): Declare.
47363         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47364         (inotify_fd): Export.
47365         (resolv_conf_descr): Remove.
47366         (nscd_init): Move inotify descriptor creation to main.
47367         Don't register files for notification here.
47368         (register_traced_file): New function.
47369         (invalidate_cache): Don't use reset_res to determine whether to call
47370         res_init, go through the list of registered files.
47371         (main_loop_poll): The inotify descriptors are now stored in the
47372         structures for the traced files.
47373         (main_loop_epoll): Likewise
47374         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47375         to __nss_disable_nscd.
47376         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47377         for a database anymore.  Check the records for all the registered
47378         files instead.
47379         * nss/Makefile (libnss_files-routines): Add files-init.
47380         (libnss_db-routines): Add db-init.
47381         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47382         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47383         * nss/nss_db/db-init.c: New file.
47384         * nss/nss_files/files-init.c: New file.
47385         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47386         __nss_lookup_function.
47387         (__nss_lookup_function): Call nss_load_library.
47388         (nss_load_all_libraries): New function.
47389         (__nss_disable_nscd): Take parameter with callback function for files
47390         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47391         used for the cached services.
47392         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47393         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47394         options for features to all the files in nscd.
47395
47396         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47397
47398 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47399
47400         * csu/elf-init.c (__libc_csu_init): Comment typo.
47401
47402 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47403
47404         * po/pl.po: Update from translation team.
47405         * po/ja.po: Likewise.
47406         * po/ru.po: Likewise.
47407         * po/ko.po: Likewise.
47408         * po/fr.po: Likewise.
47409
47410 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47411
47412         * configure.in (.ctors/.dtors header and trailer check):
47413         Use an empirical test on a built program.
47414         * configure: Regenerated.
47415
47416         * configure.in (-z relro check): Use an empirical test on a built DSO.
47417         Detect, but do not require, on ia64.
47418         * configure: Regenerated.
47419
47420         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47421         Update tests that use readelf to use $READELF instead.
47422         * configure: Regenerated.
47423
47424 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47425
47426         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47427         if the result is not used.
47428
47429 2011-07-05  Andreas Jaeger  <aj@suse.de>
47430
47431         [BZ#9696]
47432         * stdlib/tst-strtod.c: Add testcase.
47433
47434 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47435
47436         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47437         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47438         The latter has a higher limit.  Take additional parameter to pass to
47439         the new function.
47440         (__pathconf): Pass file to __statfs_link_max.
47441         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47442         __statfs_link_max.
47443         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47444         __statfs_link_max.
47445
47446         [BZ #12868]
47447         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47448         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47449         Handle Lustre.
47450         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47451         (__statfs_filesize_max): Likewise.
47452         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47453
47454 2011-07-05  Andreas Jaeger  <aj@suse.de>
47455
47456         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47457
47458 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47459
47460         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47461         `status' variable.
47462         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47463         Likewise.
47464
47465 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47466
47467         * Makefile (strop-tests): Add strncat.
47468         * string/test-strncat.c: New file.
47469
47470 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47471
47472         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47473
47474 2011-06-21  Andreas Jaeger  <aj@suse.de>
47475
47476         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47477         Copy rule from iconvdata/Makefile.
47478
47479 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47480
47481         [BZ #12922]
47482         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47483         but no long options are defined, just return 'W'.
47484
47485 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47486
47487         [BZ #9696]
47488         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47489
47490 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47491
47492         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47493         netgroups to read.
47494         (innetgr): Likewise.
47495
47496 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47497
47498         * config.make.in (install_root): Default to $(DESTDIR).
47499
47500 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47501
47502         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47503
47504 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47505
47506         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47507
47508         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47509         containing directory rather than embedding absolute directory names.
47510
47511         * scripts/check-local-headers.sh: Rewritten using awk.
47512         Match by word, not by line.  Print error messages for matches.
47513         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47514
47515         * Makerules [shlib-lds-flags empty]:
47516         ($(common-objpfx)libc_pic.opts): New target.
47517         ($(common-objpfx)libc_pic.os.clean): New target.
47518         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47519
47520         * config.make.in (OBJCOPY): New variable.
47521         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47522         * configure: Regenerated.
47523
47524         * config.make.in (use-default-link): New variable.
47525         * configure.in (use_default_link): Grok --with-default-link to set it.
47526         * configure: Regenerated.
47527         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47528         (shlib-lds, shlib-lds-flags): Define to empty.
47529
47530         * Makerules (shlib-lds): New variable.
47531         (shlib-lds-flags): New variable.
47532         (build-shlib, build-moduile, build-module-asneeded): Use it.
47533         ($(common-objpfx)libc.so): Use $(shlib-lds).
47534         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47535         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47536
47537         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47538         DT_FLAGS/DT_FLAGS_1 with zero flags.
47539
47540         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47541         linker script munging.
47542
47543 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47544
47545         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47546         as 128-bit value.
47547         * crypt/sha512.c (sha512_process_block): Perform total addition using
47548         128-bit if possible.
47549         (__sha512_finish_ctx): Likewise.
47550         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47551         as 64-bit value.
47552         * crypt/sha256.c (SWAP64): Define.
47553         (sha256_process_block): Perform total addition using 64-bit if
47554         possible.
47555         (__sha256_finish_ctx): Likewise.
47556
47557 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47558
47559         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47560         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47561         * nscd/hstcache.c (cache_addhst): Likewise.
47562         * nscd/grpcache.c (cache_addgr): Likewise.
47563         * nscd/aicache.c (addhstaiX): Likewise
47564         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47565
47566 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47567
47568         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47569         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47570         * nscd/hstcache.c (cache_addhst): Likewise.
47571         * nscd/grpcache.c (cache_addgr): Likewise.
47572         * nscd/aicache.c (addhstaiX): Likewise
47573
47574 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47575
47576         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47577         domain only when needed.
47578
47579 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47580
47581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47582         is always restored.
47583
47584 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47585
47586         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47587         are re-adding the entry.
47588         * nscd/servicescache.c (cache_addserv): Likewise.
47589
47590 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47591
47592         * sysdeps/generic/dl-irel.h: fix protection against multiple
47593         inclusions.
47594         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47595
47596 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47597
47598         [BZ #12935]
47599         * malloc/memusage.sh: Fix quoting in message.
47600         * debug/xtrace.sh: Likewise.
47601
47602         * configure.in: Remove support for --experimental-malloc option, make
47603         it the default.
47604         * config.make.in: Likewise.
47605         * malloc/Makefile: Likewise.
47606
47607 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47608
47609         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47610         two-byte characters.
47611
47612 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47613
47614         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47615         AC_CACHE_CHECK invocation.
47616         * configure: Regenerated.
47617
47618         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47619
47620 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47621
47622         [BZ #12350]
47623         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47624         bit from old_res_options.
47625
47626         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47627
47628         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47629         value type for setfct.
47630
47631 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47632
47633         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47634         __gettimeofday instead of gettimeofday.
47635
47636 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47637
47638         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47639
47640 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47641
47642         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47643
47644         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47645         info.
47646
47647 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47648
47649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47650         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47651         strcpy-sse2-unaligned strncpy-sse2-unaligned
47652         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47653         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47654         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47655         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47656         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47657         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47658         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47659         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47660         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47661         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47662         (STRCPY): Support SSE2 and SSSE3 versions.
47663
47664 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47665
47666         [BZ #12874]
47667         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47668         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47669         kernels which artificially limit size of requests.
47670
47671 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47672
47673         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47674         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47675         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47676         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47677         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47678         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47679         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47680         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47681         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47682         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47683         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47684         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47685         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47686         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47687         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47689         Enable unaligned load optimization for Intel Core i3, i5 and i7
47690         processors.
47691         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47692         Define.
47693         (index_Fast_Unaligned_Load): Define.
47694         (HAS_FAST_UNALIGNED_LOAD): Define.
47695
47696 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47697
47698         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47699
47700 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47701
47702         [BZ #12907]
47703         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47704         until it is clear that the information is realy needed.
47705         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47706
47707 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47708
47709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47710
47711 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47712
47713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47714         /sys/devices/system/cpu/online if it is usable.
47715
47716         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47717         reading the information from the /proc filesystem to once a second.
47718
47719 2011-06-21  Andreas Jaeger  <aj@suse.de>
47720
47721         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47722         NULL after inclusion of kernel headers.
47723
47724 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47725
47726         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47727         calls to internal_setent.
47728
47729         [BZ #12885]
47730         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47731         addresses using gethostbyname4_r ignore IPv4 addresses.
47732
47733         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47734         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47735
47736         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47737
47738 2011-06-20  David S. Miller  <davem@davemloft.net>
47739
47740         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47741         inclusions.
47742         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47743
47744         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47745         (elf_irel): Use it.
47746         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47747         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47748         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47749         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47750         * sysdeps/x86_64/dl-irel.h: Likewise.
47751
47752         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47753         * elf/dl-sym.c: Likewise.
47754
47755 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47756
47757         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47758         need to dereference resplen2.
47759
47760 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47761
47762         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47763
47764 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47765
47766         * Makeconfig: Define vardbdir and inst_vardbdir.
47767         * nss/Makefile: Add rules to install db-Makefile.
47768
47769         * nss/nss_db/db-XXX.c: Cleanup.
47770
47771         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47772         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47773         GLIBC_PRIVATE.
47774         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47775         * nss/makedb.c: Implement -g option to specify that value strings
47776         are generated and should not be added to table iterated over for
47777         get*ent calls.
47778         * nss/nss_db/db-initgroups.c: New file.
47779
47780         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47781         interface.
47782
47783         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47784         (internal_getgrouplist): Adjust to name change.
47785         Update use_initgroups_entry if this is not the first call.
47786         * nss/databases.def: Add initgroups entry.
47787
47788         * nss/makedb.c (compute_tables): Check result of multiple hash table
47789         sizes to minimize maximum chain length.
47790
47791 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47792
47793         * Versions.def: Add entry for libnss_db.
47794         * shlib-versions: Likewise.
47795         * nss/Makefile: Add rules to build libnss_db.
47796         * nss/Versions: Add libnss_db information.  Organize libnss_files
47797         entries better.
47798         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47799         makedb progra.  Some minor improvements to generate smaller files.
47800         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47801         here from...
47802         * nss/makedb.c: ...here.
47803         Improve database format to be smaller and require less memory at
47804         runtime.
47805         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47806         db anymore.
47807         * nss/nss_db/db-netgrp.c: Likewise.
47808         * nss/nss_db/db-open.c: Likewise.
47809         * nss/nss_files/flies-XXX.x: Adjust comments.
47810         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47811         * nss/nss_files/files-grp.c: Likewise.
47812         * nss/nss_files/files-hosts.c: Likewise.
47813         * nss/nss_files/files-network.c: Likewise.
47814         * nss/nss_files/files-proto.c: Likewise.
47815         * nss/nss_files/files-pwd.c: Likewise.
47816         * nss/nss_files/files-rpc.c: Likewise.
47817         * nss/nss_files/files-service.c: Likewise.
47818         * nss/nss_files/files-sgrp.c: Likewise.
47819         * nss/nss_files/files-spwd.c: Likewise.
47820         * nss/nss_db/db-alias.c: Removed.
47821         * nss/nss_db/dummy-db.h: Removed.
47822
47823 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47824
47825         * nss/makedb.c: Rewritten to not use database library.
47826         * nss/Makefile: Update to build new makedb program.
47827
47828 2011-06-14  Andreas Jaeger  <aj@suse.de>
47829
47830         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47831         memset declaration.
47832
47833 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47834
47835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47836         tmpbuf.
47837
47838 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47839
47840         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47841         * elf/Makefile ($(objpfx)ld.so): Likewise.
47842
47843         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47844         Don't list ld.so twice in dependencies.
47845
47846         * posix/bug-regex31.c: Include <stdlib.h>.
47847
47848         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47849
47850         * nis/nss_compat/compat-spwd.c
47851         (getspent_next_nss_netgr): Remove unused variable.
47852         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47853
47854         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47855         nonmembers" output to use the right array.
47856
47857         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47858
47859         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47860
47861         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47862         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47863         * catgets/gencat.c (read_input_file): Likewise.
47864         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47865
47866         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47867         variable definition inside #if's controlling its use.
47868
47869         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47870
47871         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47872
47873         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47874
47875         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47876         unreachable code.
47877
47878         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47879
47880         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47881         * configure: Regenerated.
47882
47883         * Makerules: Revert last change.
47884         * elf/Makefile: Likewise.
47885
47886 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47887
47888         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47889         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47890         (reloc-link): Likewise.
47891
47892 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47893
47894         * elf/Makefile: Add rules to build pldd.
47895         * elf/pldd.c: New file.
47896         * elf/pldd-xx.c: New file.
47897
47898 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47899
47900         * version.h: Update for 2.15 development version.
47901
47902 2011-06-07  David S. Miller  <davem@davemloft.net>
47903
47904         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47905         ifuncs.
47906         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47907         elf_machine_lazy_rel): Likewise.
47908         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47910         elf_machine_lazy_rel): Likewise.
47911         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47912         dl_hwcap via passed in argument.
47913         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47914         Likewise.
47915
47916 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47917
47918         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47919
47920 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47921
47922         [BZ #12849]
47923         * manual/fdl-1.1.texi: New file, verbatim from:
47924         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47925         * manual/lgpl-2.1.texi: New file, verbatim from:
47926         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47927         * manual/Makefile (licenses): New variable, list those new file names.
47928         (texis): Use it.
47929         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47930
47931         * manual/fdl.texi: File removed.
47932         * manual/lesser.texi: File removed.
47933         * manual/libc.texinfo (Copying, Documentation License):
47934         Use new @include file names, put @appendix directive before @include.
47935
47936 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47937
47938         [BZ #12841]
47939         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47940         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47941         (mq_open): Add __NTH.
47942
47943 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47944
47945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47946         Assume Intel Core i3/i5/i7 processor if AVX is available.
47947
47948 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47949
47950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47951         typo.
47952
47953 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47954
47955         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47956         memory.  Use alloca_account.  Fix memory leak when retrying.
47957
47958 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47959
47960         * version.h (RELEASE): Bump for 2.14 release.
47961         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47962
47963         * config.make.in (RANLIB): Remove entry.
47964
47965 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47966
47967         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47968         (libc.pot): Work around missing support for .ksh extension in xgettext.
47969
47970         [BZ #12684]
47971         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47972         if both request failed.
47973         (send_dg): In case of server errors clear resplen or *resplen2.
47974
47975         [BZ #12454]
47976         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47977         when there are multiple maps.
47978         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47979         (_dl_fini): Remove test here.
47980
47981         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47982
47983 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47984
47985         [BZ #12350]
47986         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47987         bit from old_res_options.
47988         (gaih_inet): Likewise.
47989
47990         [BZ #11099]
47991         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47992         as signed.
47993
47994         * resolv/res_init.c (res_setoptions): Make the code more compact.
47995
47996         [BZ #11558]
47997         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47998         set RES_USEVC.
47999
48000         [BZ #11634]
48001         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48002
48003         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48004
48005         [BZ #11781]
48006         * malloc/malloc.h: Declare malloc hook variables as volatile.
48007
48008         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48009         in last patch.
48010
48011         [BZ #11799]
48012         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48013         raise in the comment.
48014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48015         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48016         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48017
48018 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48019
48020         [BZ #12811]
48021         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48022         grow the buffers more if it already has to be sufficient.
48023         (build_wcs_upper_buffer): Likewise.
48024         * posix/regexec.c (check_matching): Likewise.
48025         (clean_state_log_if_needed): Likewise.
48026         (extend_buffers): Don't enlarge buffers beyond size of the input
48027         buffer.
48028         Patches mostly by Emil Wojak <emil@wojak.eu>.
48029         * posix/bug-regex32.c: New file.
48030         * posix/Makefile (tests): Add bug-regex32.
48031
48032         * locale/findlocale.c (_nl_find_locale): Return right away if
48033         _nl_explode_name failed.
48034         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48035
48036         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48037
48038         * debug/xtrace.sh: Unify messages.
48039         * malloc/memusage.sh: Likewise.
48040
48041         [BZ #12813]
48042         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48043         time symbol from vDSO.  Substitute with vsyscall if not available.
48044         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48045         __vdso_time.
48046
48047         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48048         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48049         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48050         Add sendmmsg and internal_sendmmsg.
48051         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48052         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48053         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48054
48055         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48056         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48058
48059 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48060
48061         [BZ #12813]
48062         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48063         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48064         available.
48065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48066         __vdso_getcpu.
48067
48068         [BZ #12814]
48069         * iconvdata/Makefile (tests): Add bug-iconv9.
48070         * iconvdata/bug-iconv9.c: New file.
48071
48072 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48073
48074         [BZ #12814]
48075         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48076
48077 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48078
48079         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48080         (struct user_regs_struct): Change intcs field back to cs.
48081
48082 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48083
48084         * po/ja.po: Update from translation team.
48085
48086 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48087
48088         [BZ #12795]
48089         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48090         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48091
48092 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48093
48094         * stdlib/longlong.h: Update from GCC.
48095
48096 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48097
48098         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48099         parameter name.
48100         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48101         Add parameter name.
48102         (__sysconf): Pass it down.
48103
48104 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48105
48106         [BZ #12671]
48107         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48108         some situations.
48109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48110         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48111         add in in __libc_use_alloca calls.  Adjust callers.
48112         (glob): Use malloc in some situations.
48113
48114         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48115         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48116         pltexit.
48117
48118 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48119
48120         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48121         and CLOCK_BOOTTIME_ALARM.
48122
48123         [BZ #12782]
48124         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48125         is returned.
48126
48127         * string/_strerror.c (__strerror_r): Print negative errors as signed
48128         numbers.
48129
48130         [BZ #12777]
48131         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48132         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48133         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48134
48135         * configure.in: Fix typo in redirection and correct removal of test
48136         files in two cases.
48137
48138         [BZ #12788]
48139         * locale/setlocale.c (new_composite_name): Fix test to check for
48140         identical name of all categories.
48141
48142         [BZ #12792]
48143         * libio/filedoalloc.c (local_isatty): New function.
48144         (_IO_file_doallocate): Use local_isatty.
48145         * stdio-common/perror.c (perror): In case a new stream is used
48146         forward the stream error.
48147         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48148         error flag.
48149
48150 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48151
48152         [BZ #11869]
48153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48154         alloca.
48155         * include/alloca.h (extend_alloca_account): Define.
48156
48157         [BZ #11857]
48158         * posix/regex.h: Fix comments with documentation of user-accessible
48159         fields after compilation and describe correct free'ing of pattern
48160         after re_compile_pattern.
48161         Patch by Reuben Thomas <rrt@sc3d.org>.
48162
48163 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48164
48165         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48166         and -mno-altivec to prevent the compiler from using Altivec and/or
48167         VSX instructions when the corresponding registers are not available.
48168
48169 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48170
48171         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48172
48173 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48174
48175         * libio/freopen.c (freopen): Use __dup2, not dup2.
48176         * libio/freopen64.c (freopen64): Likewise.
48177
48178 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48179
48180         [BZ #12775]
48181         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48182         * math/Makefile (tests): Add test-powl.
48183         (CFLAGS-test-powl.c): Define.
48184         * math/test-powl.c: New file.
48185
48186 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48187
48188         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48189
48190 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48191
48192         [BZ #11837]
48193         * iconvdata/gb18030.c: Update to GB18020-2005.
48194
48195 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48196
48197         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48198         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48199         Patch by Aharon Robbins <arnold@skeeve.com>.
48200
48201         [BZ #11892]
48202         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48203         on the stack.
48204
48205         [BZ #11895]
48206         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48207         through underflows.
48208
48209         [BZ #12766]
48210         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48211         point to strings before performing equality test for error_one_per_line
48212         mode.
48213
48214         [BZ #11697]
48215         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48216
48217         [BZ #11820]
48218         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48219         (struct user_fpregs_struct): Avoid __uint*_t types.
48220
48221         [BZ #6420]
48222         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48223         symbol info.  Use it instead of calling _dl_addr locally.
48224         (lock_and_info): New function.
48225         (tr_freehook): Call lock_and_info and pass symbol info as additional
48226         parameter to tr_where.
48227         (tr_mallochook): Likewise.
48228         (tr_reallochook): Likewise.
48229         (tr_memalignhook): Likewise.
48230
48231         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48232         used and couldn't be at all thread-safe.
48233
48234 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48235
48236         * libio/freopen.c (freopen): Don't close old file descriptor
48237         before the new one is opened.  Instead dup the new file descriptor
48238         to the old one after the new stream is created.
48239         * libio/freopen64.c (freopen64): Likewise.
48240         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48241         * libio/fileops.c (_IO_new_file_close_it): Handle new
48242         _IO_FLAGS2_NOCLOSE flag.
48243         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48244         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48245         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48246         _IO_FLAGS2_NOCLOSE flag.
48247         * include/unistd.h: Add hidden_proto for dup3.
48248         Define __have_dup3.
48249         * io/dup3.c: Define hidden symbol.
48250         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48251
48252         [BZ #7101]
48253         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48254         when an incomplete long option is used.
48255         * posix/tst-getopt_long1.c: New file.
48256         * posix/Makefile (tests): Add tst-getopt_long1.
48257
48258         [BZ #10138]
48259         * scripts/config.guess: Update from autoconf-2.68.
48260         * scripts/config.sub: Likewise.
48261
48262         [BZ #10157]
48263         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48264         tests into ...
48265         (has_cpuclock): ...this.  New function.
48266         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48267         macro here based on has_cpuclock code.
48268
48269         [BZ #10149]
48270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48271         First byte (not low byte) is now always NUL.
48272         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48273
48274         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48275         Use non-cancelable interfaces.
48276
48277         [BZ #9809]
48278         * locale/iso-639.def: Add entry for Sorani.
48279
48280         [BZ #11901]
48281         * include/stdlib.h: Move include protection to the right place.
48282         Define abort_msg_s.  Declare __abort_msg with it.
48283         * stdlib/abort.c (__abort_msg): Adjust type.
48284         * assert/assert.c (__assert_fail_base): New function.  Majority
48285         of code from __assert_fail.  Allocate memory for __abort_msg with
48286         mmap.
48287         (__assert_fail): Now call __assert_fail_base.
48288         * assert/assert-perr.c: Remove bulk of implementation.  Use
48289         __assert_fail_base.
48290         * include/assert.hL Declare __assert_fail_base.
48291         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48292         mmap.
48293         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48294
48295 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48296
48297         [BZ #11952]
48298         [BZ #12453]
48299         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48300         until all modules are registered in the DTV.
48301         * elf/Makefile: Add rules to build and run tst-tls19.
48302         * elf/tst-tls19.c: New file.
48303         * elf/tst-tls19mod1.c: New file.
48304         * elf/tst-tls19mod2.c: New file.
48305         * elf/tst-tls19mod3.c: New file.
48306         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48307
48308         [BZ #12083]
48309         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48310         correctly.
48311
48312         [BZ #12601]
48313         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48314         two-byte sequence errors.
48315         * iconvdata/Makefile (tests): Add bug-iconv8.
48316         * iconvdata/bug-iconv8.c: New file.
48317
48318         [BZ #12626]
48319         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48320         buf2 definition.
48321
48322         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48323
48324         [BZ #12432]
48325         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48326         (dummy_getcfa): New function.
48327         (init): Get _Unwind_GetCFA address, use dummy if not found.
48328         (backtrace_helper): In recursion check, also check whether CFA changes.
48329         (__backtrace): Completely initialize arg.
48330
48331         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48332         storing incomplete byte sequence in state object.  Avoid testing for
48333         guaranteed too small input if we know there is enough data available.
48334
48335 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48336
48337         * Makeconfig (+link-pie): Indent.
48338         * Rules (binaries-pie): Define if $(have-fpie) and
48339         $(build-shared).
48340         (binaries-shared): Also filter out $(binaries-pie).
48341         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48342         * nscd/Makefile (others-pie): Add nscd.
48343         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48344         ($(objpfx)nscd): Remove command override.
48345         * login/Makefile (others-pie): Add pt_chown.
48346         ($(objpfx)pt_chown): Remove command override.
48347         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48348         remove command overrides.
48349
48350 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48351
48352         * libio/tst_putwc.c: Fix error messages.
48353
48354         [BZ #12724]
48355         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48356         currently writing and seek to current position when not.
48357         * libio/Makefile (tests): Add bug-fclose1.
48358         * libio/bug-fclose1.c: New file.
48359
48360 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48361
48362         [BZ #12511]
48363         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48364         don't set DF_1_NODELETE here.
48365         (do_lookup_x): When entering new entry test for copy relocation
48366         and if necessary set DF_1_NODELETE flag.
48367         * elf/tst-unique4.cc: New file.
48368         * elf/tst-unique4.h: New file.
48369         * elf/tst-unique4lib.cc: New file.
48370         * elf/Makefile: Add rules to build and run tst-unique4.
48371         Patch by Piotr Bury <pbury@goahead.com>.
48372
48373 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48374
48375         [BZ #12052]
48376         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48377
48378         [BZ #12625]
48379         * misc/mntent_r.c (addmntent): Flush the stream after the output
48380
48381         [BZ #12393]
48382         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48383         (is_trusted_path_normalize): Skip initial colon.  Append slash
48384         to empty buffer.  Duplicate is_trusted_path code but allow
48385         constructed patch to be prefix.
48386         (is_dst): Allow $ORIGIN followed by /.
48387         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48388         Correct testing of result of is_trusted_path_normalize
48389         (decompose_rpath): Fix warning.
48390
48391 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48392
48393         [BZ #11257]
48394         * grp/initgroups.c (internal_getgrouplist): When we found the service
48395         list through the initgroups entry in nsswitch.conf do not always
48396         continue on a successful lookup.  Don't always use the
48397         __nss_group_database value if it is set.
48398         * nss/nsswitch.conf (initgroups): Change action for successful db
48399         lookup to continue for compatibility.
48400
48401 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48402
48403         [BZ #11532]
48404         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48405         and CP774 modules.
48406         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48407         and CP774 modules.
48408         * iconvdata/tst-tables.sh: Likewise.
48409         * iconvdata/cp770.c: New file.
48410         * iconvdata/cp771.c: New file.
48411         * iconvdata/cp772.c: New file.
48412         * iconvdata/cp773.c: New file.
48413         * iconvdata/cp774.c: New file.
48414         * iconvdata/testdata/CP770: New file.
48415         * iconvdata/testdata/CP770..UTF8: New file.
48416         * iconvdata/testdata/CP771: New file.
48417         * iconvdata/testdata/CP771..UTF8: New file.
48418         * iconvdata/testdata/CP772: New file.
48419         * iconvdata/testdata/CP772..UTF8: New file.
48420         * iconvdata/testdata/CP773: New file.
48421         * iconvdata/testdata/CP773..UTF8: New file.
48422         * iconvdata/testdata/CP774: New file.
48423         * iconvdata/testdata/CP774..UTF8: New file.
48424
48425         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48426         END CHARMAP line.
48427         * iconvdata/gen-8bit-gap.sh: Likewise.
48428         * iconvdata/gen-8bit.sh: Likewise.
48429
48430         * locale/iso-639.def: Add ary entry.
48431
48432         [BZ #11258]
48433         * locale/C-translit.h.in: Add U20A1 transliteration.
48434
48435         [BZ #12178]
48436         * locale/iso-639.def: Add wae entry.
48437         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48438
48439         [BZ #12545]
48440         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48441         for n.
48442
48443         [BZ #12711]
48444         * locale/C-translit.h.in: Add entry for U20B9.
48445         Patch by pravin.d.s@gmail.com.
48446
48447 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48448
48449         [BZ #12713]
48450         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48451         ENAMETOOLONG use generic getcwd.
48452         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48453         in rtld.  Use *stat64.
48454         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48455         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48456         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48457         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48458         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48459         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48460         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48461         __fstatat64 macros.
48462         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48463         * dirent/rewinddir.c: Add libc_hidden_def.
48464         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48465         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48466
48467         * include/dirent.h (__alloc_dir): Add flags parameter.
48468         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48469         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48470         __alloc_dir.
48471         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48472         from fdopendir if O_CLOEXEC is already set.
48473
48474 2011-03-15  Alan Modra  <amodra@gmail.com>
48475
48476         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48477         l_tls_firstbyte_offset non-zero.  Save padding offset in
48478         l_tls_firstbyte_offset for later use.
48479         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48480         freeing static tls block.
48481
48482 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48483
48484         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48485         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48486         being defined by the kernel headers.
48487
48488 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48489
48490         [BZ #12734]
48491         * resolv/resolv.h: Define RES_NOTLDQUERY.
48492         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48493         no-tld-query and set RES_NOTLDQUERY.
48494         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48495         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48496         modern BIND to search name as TLD unless forbidden.
48497
48498 2011-05-07  Petr Baudis  <pasky@suse.cz>
48499             Ulrich Drepper  <drepper@gmail.com>
48500
48501         [BZ #12393]
48502         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48503         (is_trusted_path): ...to here.
48504         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48505         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48506         using is_trusted_path_normalize() in setuid scripts.
48507
48508 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48509
48510         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48511         __BEGIN/__END_DECLS.
48512
48513 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48514
48515         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48516         NSS_STATUS_NOTFOUND if no record was found.
48517
48518 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48519
48520         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48521         (headers-not-in-tirpc): Remove rpc/netdb.h
48522         * resolv/netdb.h: Revert last change.
48523
48524 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48525
48526         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48527         circular dependency between libgcc.a and libc.a.
48528
48529 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48530
48531         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48532         * nis/Makefile: Don't install rpcsvc/*.
48533         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48534         instead of <rpc/types.h>.
48535         (MAXHOSTNAMELEN): Define.
48536
48537 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48538
48539         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48540
48541 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48542
48543         [BZ #12714]
48544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48545         gethostbyname4_r when IPv6 results are possible.
48546
48547 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48548
48549         [BZ #12723]
48550         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48551         _PC_PIPE_BUF handling.
48552
48553 2011-04-30  Bruno Haible  <bruno@clisp.org>
48554
48555         [BZ #12717]
48556         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48557         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48558         to 'int'.
48559         * inet/getnameinfo.c (getnameinfo): Likewise.
48560
48561 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48562
48563         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48564         to groups setting in database lookup.
48565         * nss/nsswitch.conf: Add initgroups entry.
48566
48567 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48568
48569         [BZ #12685]
48570         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48571         mode string.
48572         Patch by Eric Blake <eblake@redhat.com>.
48573
48574 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48575
48576         * sunrpc/Makefile (need-export-routines): Add svc_run.
48577         (routines): Remove svc_run.
48578         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48579         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48580         * sunrpc/svc_run.c (svc_run): Likewise.
48581         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48582
48583 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48584
48585         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48586         problem in reallocation in last patch.
48587
48588 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48589
48590         * sunrpc/Makefile: Move inclusion of Rules.
48591
48592 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48593
48594         * nss/nss_files/files-initgroups.c: New file.
48595         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48596         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48597         _nss_files_initgroups_dyn.
48598
48599 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48600
48601         * elf/elf.h (R_ARM_IRELATIVE): Define.
48602
48603 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48604
48605         * po/ru.po: Update from translation team.
48606
48607 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48608
48609         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48610         dependencies.
48611
48612 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48613
48614         [BZ #12653]
48615         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48616         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48618         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48620
48621 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48622
48623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48624         differing bytes.
48625         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48628
48629 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48630
48631         [BZ #12420]
48632         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48633         storing it.
48634         * stdlib/bug-getcontext.c: New file.
48635         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48636
48637 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48638
48639         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48640         instructions into .machine "z9-109".
48641         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48642         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48643
48644 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48645
48646         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48647         between environment variables and auxiliary vector.
48648
48649 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48650
48651         * Makefile: Add rules to build linkobj/libc.so.
48652         * include/libc-symbols.h: Define libc_hidden_nolink.
48653         * include/rpc/auth.h: Mark functions which are to be hidden.
48654         * include/rpc/auth_des.h: Likewise.
48655         * include/rpc/auth_unix.h: Likewise.
48656         * include/rpc/clnt.h: Likewise.
48657         * include/rpc/des_crypt.h: Likewise.
48658         * include/rpc/key_prot.h: Likewise.
48659         * include/rpc/pmap_clnt.h: Likewise.
48660         * include/rpc/pmap_prot.h: Likewise.
48661         * include/rpc/pmap_rmt.h: Likewise.
48662         * include/rpc/rpc_msg.h: Likewise.
48663         * include/rpc/svc.h: Likewise.
48664         * include/rpc/svc_auth.h: Likewise.
48665         * include/rpc/xdr.h: Likewise.
48666         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48667         * nss/Makefile: Likewise.
48668         * sunrpc/Makefile: Don't install headers.  Build library with normal
48669         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48670         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48671         for the compat linking library.  Remove use of INTDEF/INTUSE.
48672         * sunrpc/auth_none.c: Likewise.
48673         * sunrpc/auth_unix.c: Likewise.
48674         * sunrpc/authdes_prot.c: Likewise.
48675         * sunrpc/authuxprot.c: Likewise.
48676         * sunrpc/clnt_gen.c: Likewise.
48677         * sunrpc/clnt_perr.c: Likewise.
48678         * sunrpc/clnt_raw.c: Likewise.
48679         * sunrpc/clnt_simp.c: Likewise.
48680         * sunrpc/clnt_tcp.c: Likewise.
48681         * sunrpc/clnt_udp.c: Likewise.
48682         * sunrpc/clnt_unix.c: Likewise.
48683         * sunrpc/des_crypt.c: Likewise.
48684         * sunrpc/des_soft.c: Likewise.
48685         * sunrpc/get_myaddr.c: Likewise.
48686         * sunrpc/key_call.c: Likewise.
48687         * sunrpc/key_prot.c: Likewise.
48688         * sunrpc/netname.c: Likewise.
48689         * sunrpc/pm_getmaps.c: Likewise.
48690         * sunrpc/pm_getport.c: Likewise.
48691         * sunrpc/pmap_clnt.c: Likewise.
48692         * sunrpc/pmap_prot.c: Likewise.
48693         * sunrpc/pmap_prot2.c: Likewise.
48694         * sunrpc/pmap_rmt.c: Likewise.
48695         * sunrpc/publickey.c: Likewise.
48696         * sunrpc/rpc_cmsg.c: Likewise.
48697         * sunrpc/rpc_common.c: Likewise.
48698         * sunrpc/rpc_dtable.c: Likewise.
48699         * sunrpc/rpc_prot.c: Likewise.
48700         * sunrpc/rpc_thread.c: Likewise.
48701         * sunrpc/rtime.c: Likewise.
48702         * sunrpc/svc.c: Likewise.
48703         * sunrpc/svc_auth.c: Likewise.
48704         * sunrpc/svc_authux.c: Likewise.
48705         * sunrpc/svc_raw.c: Likewise.
48706         * sunrpc/svc_run.c: Likewise.
48707         * sunrpc/svc_simple.c: Likewise.
48708         * sunrpc/svc_tcp.c: Likewise.
48709         * sunrpc/svc_udp.c: Likewise.
48710         * sunrpc/svc_unix.c: Likewise.
48711         * sunrpc/svcauth_des.c: Likewise.
48712         * sunrpc/xcrypt.c: Likewise.
48713         * sunrpc/xdr.c: Likewise.
48714         * sunrpc/xdr_array.c: Likewise.
48715         * sunrpc/xdr_float.c: Likewise.
48716         * sunrpc/xdr_intXX_t.c: Likewise.
48717         * sunrpc/xdr_mem.c: Likewise.
48718         * sunrpc/xdr_rec.c: Likewise.
48719         * sunrpc/xdr_ref.c: Likewise.
48720         * sunrpc/xdr_sizeof.c: Likewise.
48721         * sunrpc/xdr_stdio.c: Likewise.
48722
48723 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48724
48725         [BZ #12650]
48726         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48727         * sysdeps/ia64/dl-tls.h: Likewise.
48728         * sysdeps/powerpc/dl-tls.h: Likewise.
48729         * sysdeps/s390/dl-tls.h: Likewise.
48730         * sysdeps/sh/dl-tls.h: Likewise.
48731         * sysdeps/sparc/dl-tls.h: Likewise.
48732         * sysdeps/x86_64/dl-tls.h: Likewise.
48733         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48734
48735 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48736
48737         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48738         rpath element also skip the following colon.
48739         (expand_dynamic_string_token): Add is_path parameter and pass
48740         down to DL_DST_REQUIRED and _dl_dst_substitute.
48741         (decompose_rpath): Call expand_dynamic_string_token with
48742         non-zero is_path.  Ignore empty rpaths.
48743         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48744         with zero is_path.
48745
48746 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48747
48748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48749         Make cancelable.
48750
48751 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48752
48753         [BZ #12655]
48754         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48755         Patch by Filipe David Manana <fdmanana@apache.org>.
48756
48757 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48758
48759         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48760         Maintain aligned stack.
48761         (CHECK_RSP): Remove unused macro.
48762
48763 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48764
48765         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48766         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48767
48768 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48769
48770         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48771
48772         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48773
48774 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48775
48776         [BZ #12518]
48777         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48778         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48779         * sysdeps/x86_64/memmove.c: New file.
48780         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48781         (memcpy): Renamed to ...
48782         (__new_memcpy): This.
48783         (memcpy): Provide GLIBC_2_14 memcpy.
48784         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48785         (memcpy): Provide GLIBC_2_2_5 memcpy.
48786
48787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48788
48789         [BZ #12631]
48790         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48791
48792 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48793
48794         * misc/syncfs.c: New file.
48795         * misc/Makefile (routines): Add syncfs.
48796         * posix/unistd.h: Declare syncfs.
48797         * sysdeps/unix/syscalls.list: Add syncfs.
48798
48799 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48800
48801         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48802         open_by_handle_at.
48803         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48804         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48808         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48809         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48810
48811 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48812
48813         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48814         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48815         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48817         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48818         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48819         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48820
48821         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48822         sync_file_range.c with -fexceptions.
48823         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48824         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48825         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48826         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48827         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48828         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48830         sync_file_range as cancellation point
48831         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48832         now a wrapper around __call_sync_file_range with cancellation handling.
48833         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48834         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48835         function name to __call_sync_file_range.
48836         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48837         Add call_sync_file_range.
48838
48839 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48840
48841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48842         bits/timex.h.
48843
48844 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48845
48846         * iconv/iconv.h: Fix typo in comment.
48847         * io/fcntl.h: Likewise.
48848         * libio/stdio.h: Likewise.
48849         * posix/spawn.h: Likewise.
48850         * posix/unistd.h: Likewise.
48851         * stdlib/stdlib.h: Likewise.
48852         * time/time.h: Likewise.
48853         * wcsmbs/wchar.h: Likewise.
48854
48855         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48856         open_by_handle): Add.
48857         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48858         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48859         Augment a few comments.
48860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48864         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48865         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48866         open_by_handle.
48867
48868         * io/fcntl.h (AT_EMPTY_PATH): Define.
48869
48870 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48871
48872         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48873         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48874         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48875         to...
48876         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48877         * Versions.def: Add GLIBC_2.14.
48878         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48879         Export.
48880
48881 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48882
48883         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48884         round counter.
48885         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48886
48887 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48888
48889         [BZ #12597]
48890         * string/test-strncmp.c (do_page_test): New function.
48891         (check2): Likewise.
48892         (test_main): Call check2.
48893         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48894
48895 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48896
48897         [BZ #12587]
48898         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48899         Handle cache information in CPU leaf 4.
48900         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48901
48902 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48903
48904         [BZ #12583]
48905         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48906         character representation.
48907         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48908
48909 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48910
48911         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48912         END(__isnan) to END(__isnanf) to match function entry point/label
48913         EALIGN(__isnanf,...).
48914
48915 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48916
48917         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48918
48919 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48920
48921         [BZ #12510]
48922         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48923         copy from the symbol referenced in the relocation to initialize the
48924         used variable.
48925         Patch by Piotr Bury <pbury@goahead.com>.
48926         * elf/Makefile: Add rules to build and tst-unique3.
48927         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48928         * elf/tst-unique3.cc: New file.
48929         * elf/tst-unique3.h: New file.
48930         * elf/tst-unique3lib.cc: New file.
48931         * elf/tst-unique3lib2.cc: New file.
48932
48933         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48934
48935 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48936
48937         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48938         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48939         to _start.
48940
48941 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48942
48943         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48944         to-be-loaded object along a path to loader is ld.so.
48945
48946 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48947             Ulrich Drepper  <drepper@gmail.com>
48948
48949         * sysdeps/x86_64/memset.S: After aligning destination, code
48950         branches to different locations depending on the value of
48951         misalignment, when multiarch is enabled. Fix this.
48952
48953 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48954
48955         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48956         Set _x86_64_preferred_memory_instruction for AMD processsors.
48957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48958         Set bit_Prefer_SSE_for_memop for AMD processors.
48959
48960 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48961
48962         * libio/fmemopen.c (fmemopen): Optimize a bit.
48963
48964 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48965
48966         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48967
48968 2011-03-03  Roland McGrath  <roland@redhat.com>
48969
48970         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48971
48972 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48973
48974         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48975         __bzero_ultra1 instead of __memset_ultra1.
48976
48977 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48978             Ulrich Drepper  <drepper@gmail.com>
48979
48980         [BZ #12509]
48981         * include/link.h (struct link_map): Add l_orig_initfini.
48982         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48983         returning unsuccessfully.
48984         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48985         close of a file loaded at startup, restore the original l_initfini
48986         list.
48987         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48988         list, store the pointer.
48989         * elf/Makefile ($(objpfx)noload-mem): New rule.
48990         (noload-ENV): Define.
48991         (tests): Add $(objpfx)noload-mem.
48992         * elf/noload.c: Include <memcheck.h>.
48993         (main): Call mtrace.  Close all opened handles.
48994
48995 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48996
48997         [BZ #12454]
48998         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48999         dependencies are missing.
49000
49001 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49002
49003         Fix __if_freereq crash: Unlike the generic version which uses free,
49004         Hurd needs munmap.
49005         * sysdeps/mach/hurd/ifreq.h: New file.
49006
49007 2011-01-27  Petr Baudis  <pasky@suse.cz>
49008             Ulrich Drepper  <drepper@gmail.com>
49009
49010         [BZ 12445]#
49011         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49012         to extend_alloca().
49013         * stdio-common/bug23.c: New file.
49014         * stdio-common/Makefile (tests): Add bug23.
49015
49016 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49017             Ulrich Drepper  <drepper@gmail.com>
49018
49019         [BZ #12489]
49020         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49021         before performing relro protection.  At old place add assertion
49022         to make sure nothing changed.
49023
49024 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49025             Glauber de Oliveira Costa  <glommer@gmail.com>
49026
49027         * elf/elf.h: Add new ARM TLS relocs.
49028
49029 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49030
49031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49032         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49033         cast from r3.
49034         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49035         'tests' variable.
49036         * sysdeps/wordsize-64/tst-writev.c: New file.
49037
49038 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49039
49040         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49041         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49042         insns in _dl_start to prevent a TOC reference before relocs are
49043         resolved.
49044
49045 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49046
49047         [BZ #12469]
49048         * Makeconfig: Remove RANLIB definition.
49049         * Makerules: Don't use RANLIB.
49050         * aclocal.m4: Remove ranlib test.
49051         * configure.in: No need to check for ranlib.
49052         * elf/rtld-Rules: Don't use RANLIB.
49053
49054 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49055
49056         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49057         protection macro.
49058         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49059         inclusion protection macro.
49060
49061         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49062         SIGRTMIN and SIGRTMAX and print information in that case only when
49063         SIGRTMIN is defined.
49064
49065 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49066
49067         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49068         arginfo fn returning -1.
49069
49070         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49071         and thousands string is zero terminated.
49072
49073 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49074
49075         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49076         sysdeps/unix/sysv/linux/bits/socket.h.
49077
49078 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49079
49080         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49081         (__CPU_COUNT): Remove old macros.
49082         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49083         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49084         (__CPU_ALLOC, __CPU_FREE): Add macros.
49085         (__sched_cpualloc, __sched_cpufree): Add declarations.
49086
49087 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49088
49089         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49090         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49091         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49092         (readdhstai): Return value of addhstaiX call.
49093         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49094         (addgrbyX): Return value returned by cache_addgr.
49095         (readdgrbyname): Return value returned by addgrbyX.
49096         (readdgrbygid): Likewise.
49097         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49098         (addpwbyX): Return value returned by cache_addpw.
49099         (readdpwbyname): Return value returned by addhstbyX.
49100         (readdpwbyuid): Likewise.
49101         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49102         (addservbyX): Return value returned by cache_addserv.
49103         (readdservbyname): Return value returned by addservbyX:
49104         (readdservbyport): Likewise.
49105         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49106         (addhstbyX): Return value returned by cache_addhst.
49107         (readdhstbyname): Return value returned by addhstbyX.
49108         (readdhstbyaddr): Likewise.
49109         (readdhstbynamev6): Likewise.
49110         (readdhstbyaddrv6): Likewise.
49111         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49112         (readdinitgroups): Return value returned by addinitgroupsX.
49113         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49114         (prune_cache): Keep track of timeout value of re-added entries.
49115         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49116         * nscd/nscd.h: Adjust prototypes of readd* functions.
49117
49118 2011-02-04  Roland McGrath  <roland@redhat.com>
49119
49120         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49121         (nis_stats): Likewise.
49122         * nis/nis_modify.c (nis_modify): Likewise.
49123         * nis/nis_remove.c (nis_remove): Likewise.
49124         * nis/nis_add.c (nis_add): Likewise.
49125
49126         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49127
49128         * posix/fnmatch_loop.c: Add some consts.
49129
49130         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49131
49132 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49133
49134         [BZ #12460]
49135         * config.make.in (config-cflags-novzeroupper): Define.
49136         * configure.in: Substitute libc_cv_cc_novzeroupper.
49137         * elf/Makefile (AVX-CFLAGS): Define.
49138         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49139         (CFLAGS-tst-auditmod4a.c): Likewise.
49140         (CFLAGS-tst-auditmod4b.c): Likewise.
49141         (CFLAGS-tst-auditmod6b.c): Likewise.
49142         (CFLAGS-tst-auditmod6c.c): Likewise.
49143         (CFLAGS-tst-auditmod7b.c): Likewise.
49144         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49145
49146 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49147
49148         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49149         function to the callback.
49150         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49151
49152 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49153
49154         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49155         of errno.
49156
49157 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49158
49159         [BZ #11724]
49160         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49161         of constructors.
49162         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49163         of destructors.
49164         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49165
49166         [BZ #11724]
49167         * elf/Makefile: Add rules to build and run new test.
49168         * elf/tst-initorder.c: New file.
49169         * elf/tst-initorder.exp: New file.
49170         * elf/tst-initordera1.c: New file.
49171         * elf/tst-initordera2.c: New file.
49172         * elf/tst-initordera3.c: New file.
49173         * elf/tst-initordera4.c: New file.
49174         * elf/tst-initorderb1.c: New file.
49175         * elf/tst-initorderb2.c: New file.
49176         * elf/tst-order-a1.c: New file.
49177         * elf/tst-order-a2.c: New file.
49178         * elf/tst-order-a3.c: New file.
49179         * elf/tst-order-a4.c: New file.
49180         * elf/tst-order-b1.c: New file.
49181         * elf/tst-order-b2.c: New file.
49182         * elf/tst-order-main.c: New file.
49183         New test case by George Gensure <werkt0@gmail.com>.
49184
49185 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49186
49187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49188         decoding ACE if AI_CANONIDN.
49189
49190 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49191
49192         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49193
49194 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49195
49196         * version.h (RELEASE): Bump for 2.13 release.
49197         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49198
49199         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49200
49201         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49202         MADV_NOHUGEPAGE.
49203         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49205         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49206         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49207         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49208         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49209
49210         * posix/getconf.c: Update copyright year.
49211         * catgets/gencat.c: Likewise.
49212         * csu/version.c: Likewise.
49213         * debug/catchsegv.sh: Likewise.
49214         * debug/xtrace.sh: Likewise.
49215         * elf/ldconfig.c: Likewise.
49216         * elf/ldd.bash.in: Likewise.
49217         * elf/sprof.c (print_version): Likewise.
49218         * iconv/iconv_prog.c: Likewise.
49219         * iconv/iconvconfig.c: Likewise.
49220         * locale/programs/locale.c: Likewise.
49221         * locale/programs/localedef.c: Likewise.
49222         * malloc/memusage.sh: Likewise.
49223         * malloc/mtrace.pl: Likewise.
49224         * nscd/nscd.c (print_version): Likewise.
49225         * nss/getent.c: Likewise.
49226
49227         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49228         PF_CAIF, and PF_ALG.
49229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49230
49231 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49232
49233         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49234         (modules-names): Use them.
49235         (ifunc-test-modules, ifunc-pie-tests): Define.
49236         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49237         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49238         (test-extras): Likewise.
49239         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49240         $(compile-command.c).
49241         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49242         (all-built-dso): Define.
49243         (check-textrel.out, check-execstack.out): Depend on it.
49244
49245         * configure.in: Don't override --enable-multi-arch.
49246
49247 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49248
49249         [BZ #6812]
49250         * nscd/hstcache.c (tryagain): Define.
49251         (cache_addhst): Return tryagain not notfound for temporary errors.
49252         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49253         failed.
49254
49255 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49256
49257         [BZ #10563]
49258         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49259         to make the syscall.
49260         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49261
49262         [BZ #12378]
49263         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49264         and fall back to matching as normal character if the string ends before
49265         the matching ']' is found.  This is what POSIX requires.
49266         * posix/testfnm.c: Adjust test result.
49267         * posix/globtest.sh: Adjust test result.  Add new test.
49268         * posix/tst-fnmatch.input: Likewise.
49269         * posix/tst-fnmatch2.c: Add new test.
49270
49271 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49272
49273         * elf/Makefile (check-execstack): Revert last change.  Depend on
49274         check-execstack.h.
49275         (check-execstack.h): New target.
49276         (generated): Add check-execstack.h.
49277         * elf/check-execstack.c: Include "check-execstack.h".
49278         (main): Revert last change.
49279         (handle_file): Return zero if GNU_STACK is absent and
49280         DEFAULT_STACK_PERMS doesn't include PF_X.
49281
49282 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49283
49284         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49285         in child fails because the descriptor is already closed.
49286         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49287         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49288         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49289
49290         [BZ #12397]
49291         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49292         syscall.
49293
49294         [BZ #10484]
49295         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49296         temporary buffer used to handle multi lookups locally.
49297         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49298
49299 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49300
49301         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49302         loader is ld.so.
49303
49304 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49305
49306         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49307         alignment for SSE2.
49308
49309 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49310
49311         [BZ #12394]
49312         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49313         characters.  When rounding increased number of integer digits recompute
49314         number of groups.
49315         * stdio-common/tst-grouping.c: New file.
49316         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49317
49318 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49319
49320         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49321         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49322
49323         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49324         void.
49325         * bits/select.h: Likewise.
49326
49327 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49328
49329         * po/ja.po: Update from translation team.
49330
49331 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49332
49333         [BZ #11155]
49334         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49335         implementation just like for lxstat, fxstatat, et al.
49336
49337 2010-12-27  Jim Meyering  <meyering@redhat.com>
49338
49339         [BZ #12348]
49340         * posix/regexec.c (build_trtable): Return failure indication upon
49341         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49342
49343 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49344
49345         [BZ #12201]
49346         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49347         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49348         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49349         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49350
49351         [BZ #12207]
49352         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49353
49354         [BZ #12204]
49355         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49356         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49357
49358 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49359
49360         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49361         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49362         script has SORT_BY_INIT_PRIORITY.
49363         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49364         NO_CTORS_DTORS_SECTIONS is defined.
49365         * elf/soinit.c: Likewise.
49366         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49367         NO_CTORS_DTORS_SECTIONS is defined.
49368         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49369         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49370         * sysdeps/sh/init-first.c: Likewise.
49371         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49372
49373 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49374
49375         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49376         always use the slow path.
49377
49378 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49379
49380         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49381         similar rule which adds the sysdep directories to the header search in
49382         order to pick up the correct platform stackinfo.h.
49383         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49384         perform test if it is, otherwise return successfully without testing.
49385         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49386         DEFAULT_STACK_PERMS define in stackinfo.h.
49387         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49388         defined in stackinfo.h.
49389         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49390         DEFAULT_STACK_PERMS defined in stackinfo.h.
49391         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49392         * sysdeps/ia64/stackinfo.h: Likewise.
49393         * sysdeps/s390/stackinfo.h: Likewise.
49394         * sysdeps/sh/stackinfo.h: Likewise.
49395         * sysdeps/sparc/stackinfo.h: Likewise.
49396         * sysdeps/x86_64/stackinfo.h: Likewise.
49397         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49398         PF_X for powerpc64.  Retain PF_X for powerpc32.
49399
49400 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49401
49402         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49403         accurately.
49404         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49405         GETDENTS_64BIT_ALIGNED.
49406
49407 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49408
49409         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49410
49411 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49412
49413         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49414         _GNU_SOURCE.
49415
49416         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49417         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49418         Remove __restrict.
49419         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49420         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49421
49422 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49423
49424         [BZ #11655]
49425         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49426         are initialized.
49427
49428 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49429
49430         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49431
49432 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49433
49434         * po/it.po: Update from translation team.
49435
49436 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49437
49438         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49439         unused codes.
49440
49441 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49442
49443         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49444
49445 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49446
49447         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49448         specially.
49449         (gaih_getanswer_slice): Likewise.
49450
49451 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49452
49453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49454
49455 2010-05-31  Petr Baudis  <pasky@suse.cz>
49456
49457         [BZ #11149]
49458         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49459         silently even in the chroot mode.
49460
49461 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49462
49463         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49464         last patch a bit.  Pretty printing
49465
49466 2010-05-31  Petr Baudis <pasky@suse.cz>
49467
49468         [BZ #10085]
49469         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49470         initialization of skip_initgroups_dyn.
49471
49472 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49473
49474         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49476
49477 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49478
49479         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49480
49481 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49482
49483         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49484         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49485         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49486         ($(objpfx)tst-fnmatch-mem): New rule.
49487         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49488         * posix/tst-fnmatch.c (main): Call mtrace.
49489
49490 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49491
49492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49493         Support Intel processor model 6 and model 0x2c.
49494
49495 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49496
49497         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49498           signed comparison.
49499
49500 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49501
49502         [BZ #12205]
49503         * string/test-strncasecmp.c (check_result): New function.
49504         (do_one_test): Use it.
49505         (check1): New function.
49506         (test_main): Use it.
49507         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49508         Support strcasecmp and strncasecmp.
49509
49510 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49511
49512         [BZ #12194]
49513         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49514         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49515
49516 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49517
49518         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49519         IFUNC support.
49520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49521         memset-x86-64.
49522         * sysdeps/x86_64/multiarch/bzero.S: New file.
49523         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49524         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49525         * sysdeps/x86_64/multiarch/memset.S: New file.
49526         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49528         Set bit_Prefer_SSE_for_memop for Intel processors.
49529         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49530         Define.
49531         (index_Prefer_SSE_for_memop): Define.
49532         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49533
49534 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49535
49536         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49537         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49538
49539 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49540
49541         [BZ #12191]
49542         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49543         (__x86_64_raw_data_cache_size_half): Likewise.
49544         (__x86_64_raw_shared_cache_size): Likewise.
49545         (__x86_64_raw_shared_cache_size_half): Likewise.
49546
49547         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49548         (__x86_64_raw_data_cache_size_half): Likewise.
49549         (__x86_64_raw_shared_cache_size): Likewise.
49550         (__x86_64_raw_shared_cache_size_half): Likewise.
49551         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49552         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49553         and __x86_64_raw_shared_cache_size_half.  Round
49554         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49555         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49556         to multiple of 256 bytes.
49557
49558 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49559
49560         [BZ #12167]
49561         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49562         of inacessible symlinks.  Verify result of symlink before returning it.
49563         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49564         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49565
49566 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49567
49568         * math/math.h (isinf): Fix typo in comment.
49569
49570 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49571
49572         * po/da.po: Update from translation team.
49573
49574 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49575
49576         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49577         is added to the list.
49578
49579 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49580             Ulrich Drepper  <drepper@gmail.com>
49581
49582         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49583         the global list here.  Move code to...
49584         (_dl_add_to_namespace_list): ...here.  New function.
49585         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49586         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49587         * elf/dl-load.c (lose): Don't remove the element from the list.
49588         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49589         (_dl_map_object): Likewise.
49590
49591 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49592
49593         [BZ #12159]
49594         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49595         into all bytes of SSE register.
49596         Patch by Richard Li <richardpku@gmail.com>.
49597
49598 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49599
49600         [BZ #12140]
49601         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49602         perturbing.
49603
49604 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49605
49606         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49607         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49608         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49609         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49611         submachine.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49613
49614 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49615
49616         * include/dlfcn.h (__RTLD_SECURE): Define.
49617         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49618         mode & __RTLD_SECURE instead.
49619         (open_path): Rename preloaded parameter to secure.
49620         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49621         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49622         * elf/dl-deps.c (openaux): Likewise.
49623         * elf/rtld.c (struct map_args): Remove is_preloaded.
49624         (map_doit): Don't use it.
49625         (dl_main): Likewise.
49626         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49627         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49628
49629 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49630
49631         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49632         (sysd-rules-targets): Remove duplicates.
49633         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49634         rtld-%.$o dependency.
49635
49636 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49637
49638         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49639         _dl_map_object do it.
49640
49641 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49642
49643         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49644         fast fma builtins, define the macros in the C99 standard.
49645         (FP_FAST_FMAF): Likewise.
49646         (FP_FAST_FMAL): Likewise.
49647         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49648
49649         * bits/mathdef.h: Update copyright year.
49650         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49651
49652 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49653
49654         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49655         builtins, define the macros in the C99 standard.
49656         (FP_FAST_FMAF): Likewise.
49657         (FP_FAST_FMAL): Likewise.
49658         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49659         multiply/add.
49660         (FP_FAST_FMAF): Likewise.
49661
49662 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49663
49664         [BZ #3268]
49665         * math/libm-test.inc (fma_test): Some new testcases.
49666         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49667         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49668         y and infinite z.  Do multiplication by C already in long double.
49669         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49671         y and infinite z.  Do bitwise or of inexact bit into u.d.
49672         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49673         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49674         * sysdeps/i386/fpu/s_fma.S: Removed.
49675         * sysdeps/i386/fpu/s_fmal.S: Removed.
49676
49677 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49678
49679         [BZ #3268]
49680         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49682         computation is not scheduled after fetestexcept.  Fix value
49683         of minimum denormal long double.
49684
49685 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49686
49687         [BZ #3268]
49688         * math/libm-test.inc (fma_test): Add some more tests.
49689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49690         correctly.
49691
49692 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49693
49694         * scripts/data/localplt-s390-linux-gnu.data: New file.
49695         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49696
49697 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49698
49699         [BZ #3268]
49700         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49701         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49702         instead of dbl-64.
49703         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49704         inlines.
49705         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49707         if one of x and y is very large and the other is subnormal.
49708         * sysdeps/s390/fpu/s_fmaf.c: New file.
49709         * sysdeps/s390/fpu/s_fma.c: New file.
49710         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49711         * sysdeps/powerpc/fpu/s_fma.S: New file.
49712         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49713         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49714         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49715
49716 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49717
49718         [BZ #3268]
49719         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49720         fma tests.
49721         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49722         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49723         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49724         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49725         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49726         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49727         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49728
49729 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49730
49731         [BZ #12078]
49732         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49733         * posix/bug-regex31.input: Add test case.
49734
49735 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49736
49737         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49738         * posix/bug-regex31.input: New file.
49739
49740         [BZ #12078]
49741         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49742         (parse_sub_exp): Fix last change, use postorder.
49743
49744         * posix/bug-regex31.c: New file.
49745         * posix/Makefile: Add rules to build and run bug-regex31.
49746
49747         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49748
49749         [BZ #12078]
49750         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49751
49752         [BZ #12108]
49753         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49754         to have entries in sys_siglist.
49755
49756         [BZ #12093]
49757         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49758         be NULL.
49759
49760 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49761
49762         [BZ #3268]
49763         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49764         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49765         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49766         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49767         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49768         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49769         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49770         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49771         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49772         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49773         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49774         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49775         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49776         * math/ftestexcept.c (fetestexcept): Likewise.
49777         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49778         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49779         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49780         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49781         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49782         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49783         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49784
49785 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49786
49787         [BZ #12107]
49788         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49789         newline.
49790
49791 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49792
49793         * string/bug-strstr1.c: New file.
49794         * string/Makefile: Add rules to build and run bug-strstr1.
49795
49796 2010-10-05  Eric Blake  <eblake@redhat.com>
49797
49798         [BZ #12092]
49799         * string/str-two-way.h (two_way_long_needle): Always clear memory
49800         when skipping input due to the shift table.
49801
49802 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49803
49804         [BZ #12005]
49805         * malloc/mcheck.c: Handle large requests.
49806
49807         [BZ #12077]
49808         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49809         for strncmp and strncasecmp.
49810         * string/stratcliff.c: Add tests for strcmp and strncmp.
49811         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49812
49813 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49814
49815         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49816         __set_fpscr.
49817
49818 2010-09-30  Andreas Jaeger  <aj@suse.de>
49819
49820         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49821         (CGROUP_SUPER_MAGIC): Define.
49822         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49823         Handle btrfs and cgroup file systems.
49824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49825         Likewise.
49826
49827 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49828
49829         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49830         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49831
49832 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49833
49834         [BZ #12067]
49835         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49836         trying to locate the ELF header.
49837
49838 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49839
49840         [BZ #11611]
49841         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49842         Mask out sign-bit copies when constructing f_fsid.
49843
49844 2010-09-24  Petr Baudis <pasky@suse.cz>
49845
49846         * debug/stack_chk_fail_local.c: Add missing licence exception.
49847         * debug/warning-nop.c: Likewise.
49848
49849 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49850
49851         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49852         implementing getdents64 using getdents syscall, set d_type if
49853         __ASSUME_GETDENTS32_D_TYPE.
49854
49855 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49856
49857         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49858         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49859
49860 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49861
49862         [BZ #12037]
49863         * posix/unistd.h: Undo change of feature selection for ftruncate from
49864         2010-01-11.
49865
49866 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49867
49868         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49869         detection.
49870
49871 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49872
49873         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49874         fanotify_mark.
49875         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49876
49877 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49878
49879         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49880         variables after CHECK_SP call.
49881         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49882
49883 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49884             Ulrich Drepper  <drepper@redhat.com>
49885
49886         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49887         re-relocationg ld.so.
49888         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49889         _dl_init_paths call.
49890         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49891         here anymore.
49892
49893 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49894
49895         * resolv/res_init.c (__res_vinit): Count the default server we added.
49896
49897 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49898             Ulrich Drepper  <drepper@redhat.com>
49899
49900         [BZ #11968]
49901         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49902         (____longjmp_chk): Use %ebx for saving value across system call.
49903         Add unwind info.
49904
49905 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49906
49907         * manual/Makefile: Don't mix pattern rules with normal rules.
49908
49909 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49910
49911         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49912         operation.
49913         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49914         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49915         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49916         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49917         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49918         Likewise.
49919
49920 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49921
49922         [BZ #11979]
49923         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49924         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49925
49926 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49927
49928         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49929         * sysdeps/x86_64/addmul_1.S: Likewise.
49930         * sysdeps/x86_64/lshift.S: Likewise.
49931         * sysdeps/x86_64/mul_1.S: Likewise.
49932         * sysdeps/x86_64/rshift.S: Likewise.
49933         * sysdeps/x86_64/sub_n.S: Likewise.
49934         * sysdeps/x86_64/submul_1.S: Likewise.
49935
49936 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49937
49938         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49939         Define __sched_param instead of SCHED_* and sched_param when
49940         <bits/sched.h> is included with __need_schedparam defined.
49941         * bits/sched.h [__need_schedparam]
49942         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49943         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49944         (__defined_schedparam): Define to 1.
49945         (__sched_param): New structure, identical to sched_param.
49946         (__need_schedparam): Undefine.
49947
49948 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49949
49950         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49951         (epoll_create1): Declare.
49952
49953         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49954
49955 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49956
49957         [BZ #7066]
49958         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49959         shifting retval into place.
49960
49961 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49962
49963         * nis/rpcsvc/nis.h: Update copyright notice.
49964         * nis/rpcsvc/nis.x: Likewise.
49965         * nis/rpcsvc/nis_callback.h: Likewise.
49966         * nis/rpcsvc/nis_callback.x: Likewise.
49967         * nis/rpcsvc/nis_object.x: Likewise.
49968         * nis/rpcsvc/nis_tags.h: Likewise.
49969         * nis/rpcsvc/yp.h: Likewise.
49970         * nis/rpcsvc/yp.x: Likewise.
49971         * nis/rpcsvc/ypupd.h: Likewise.
49972         * nis/yp_xdr.c: Likewise.
49973         * nis/ypupdate_xdr.c: Likewise.
49974
49975         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49976         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49977         (pmap_getport): Use __libc_rpc_getport.
49978         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49979         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49980         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49981
49982 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49983
49984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49985         fanotify_mark.
49986
49987 2010-08-27  Roland McGrath  <roland@redhat.com>
49988
49989         * sysdeps/i386/i686/multiarch/Makefile
49990         (CFLAGS-varshift.c): New variable.
49991
49992 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49993
49994         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49995         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49996
49997         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49998
49999         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50000
50001 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50002
50003         * sysdeps/x86_64/strlen.S: Unroll the loop.
50004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50005         strlen-sse2 strlen-sse2-bsf.
50006         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50007         __strlen_no_bsf if bit_Slow_BSF is set.
50008         (__strlen_sse42): Removed.
50009         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50010         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50011
50012 2010-08-25  Roland McGrath  <roland@redhat.com>
50013
50014         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50015         * sysdeps/x86_64/multiarch/varshift.c: New file.
50016         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50017         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50018         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50019         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50020
50021 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50022
50023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50024         strlen-sse2 strlen-sse2-bsf.
50025         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50026         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50027         (__strlen_sse2): Removed.
50028         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50029         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50031         bit_Slow_BSF for Atom.
50032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50033         (index_Slow_BSF): Define.
50034         (HAS_SLOW_BSF): Define.
50035
50036 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50037
50038         [BZ #10851]
50039         * resolv/res_init.c (__res_vinit): When no server address at all
50040         is given default to loopback.
50041
50042 2010-08-24  Roland McGrath  <roland@redhat.com>
50043
50044         * configure.in: Remove config-name.h generation.
50045         * configure: Regenerated.
50046         * config-name.in: File removed.
50047         * scripts/config-uname.sh: New file.
50048         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50049         ($(objdir)config-name.h): New target.
50050
50051         * sunrpc/rpc_parse.h: Avoid nested comment.
50052
50053 2010-08-24  Richard Henderson  <rth@redhat.com>
50054             Ulrich Drepper  <drepper@redhat.com>
50055             H.J. Lu  <hongjiu.lu@intel.com>
50056
50057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50059         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50060         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50061         _mm_alignr_epi8 with _mm_loadu_si128.
50062         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50063         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50064         (__m128i_shift_right): Removed.
50065         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50066         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50067         * sysdeps/x86_64/multiarch/varshift.h: New file.
50068         * sysdeps/x86_64/multiarch/varshift.S: New file.
50069
50070 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50071
50072         * configure.in: Move assembler checks to before sysdep dir checking.
50073
50074 2010-08-20  Petr Baudis  <pasky@suse.cz>
50075
50076         * LICENSES: Sync the sunrpc license.
50077
50078 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50079
50080         * sunrpc/auth_des.c: Update copyright notice once again.
50081         * sunrpc/auth_none.c: Likewise.
50082         * sunrpc/auth_unix.c: Likewise.
50083         * sunrpc/authdes_prot.c: Likewise.
50084         * sunrpc/authuxprot.c: Likewise.
50085         * sunrpc/bindrsvprt.c: Likewise.
50086         * sunrpc/clnt_gen.c: Likewise.
50087         * sunrpc/clnt_perr.c: Likewise.
50088         * sunrpc/clnt_raw.c: Likewise.
50089         * sunrpc/clnt_simp.c: Likewise.
50090         * sunrpc/clnt_tcp.c: Likewise.
50091         * sunrpc/clnt_udp.c: Likewise.
50092         * sunrpc/clnt_unix.c: Likewise.
50093         * sunrpc/des_crypt.c: Likewise.
50094         * sunrpc/des_soft.c: Likewise.
50095         * sunrpc/get_myaddr.c: Likewise.
50096         * sunrpc/getrpcport.c: Likewise.
50097         * sunrpc/key_call.c: Likewise.
50098         * sunrpc/key_prot.c: Likewise.
50099         * sunrpc/openchild.c: Likewise.
50100         * sunrpc/pm_getmaps.c: Likewise.
50101         * sunrpc/pm_getport.c: Likewise.
50102         * sunrpc/pmap_clnt.c: Likewise.
50103         * sunrpc/pmap_prot.c: Likewise.
50104         * sunrpc/pmap_prot2.c: Likewise.
50105         * sunrpc/pmap_rmt.c: Likewise.
50106         * sunrpc/rpc/auth.h: Likewise.
50107         * sunrpc/rpc/auth_unix.h: Likewise.
50108         * sunrpc/rpc/clnt.h: Likewise.
50109         * sunrpc/rpc/des_crypt.h: Likewise.
50110         * sunrpc/rpc/key_prot.h: Likewise.
50111         * sunrpc/rpc/netdb.h: Likewise.
50112         * sunrpc/rpc/pmap_clnt.h: Likewise.
50113         * sunrpc/rpc/pmap_prot.h: Likewise.
50114         * sunrpc/rpc/pmap_rmt.h: Likewise.
50115         * sunrpc/rpc/rpc.h: Likewise.
50116         * sunrpc/rpc/rpc_des.h: Likewise.
50117         * sunrpc/rpc/rpc_msg.h: Likewise.
50118         * sunrpc/rpc/svc.h: Likewise.
50119         * sunrpc/rpc/svc_auth.h: Likewise.
50120         * sunrpc/rpc/types.h: Likewise.
50121         * sunrpc/rpc/xdr.h: Likewise.
50122         * sunrpc/rpc_clntout.c: Likewise.
50123         * sunrpc/rpc_cmsg.c: Likewise.
50124         * sunrpc/rpc_common.c: Likewise.
50125         * sunrpc/rpc_cout.c: Likewise.
50126         * sunrpc/rpc_dtable.c: Likewise.
50127         * sunrpc/rpc_hout.c: Likewise.
50128         * sunrpc/rpc_main.c: Likewise.
50129         * sunrpc/rpc_parse.c: Likewise.
50130         * sunrpc/rpc_parse.h: Likewise.
50131         * sunrpc/rpc_prot.c: Likewise.
50132         * sunrpc/rpc_sample.c: Likewise.
50133         * sunrpc/rpc_scan.c: Likewise.
50134         * sunrpc/rpc_scan.h: Likewise.
50135         * sunrpc/rpc_svcout.c: Likewise.
50136         * sunrpc/rpc_tblout.c: Likewise.
50137         * sunrpc/rpc_util.c: Likewise.
50138         * sunrpc/rpc_util.h: Likewise.
50139         * sunrpc/rpcinfo.c: Likewise.
50140         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50141         * sunrpc/rpcsvc/key_prot.x: Likewise.
50142         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50143         * sunrpc/rpcsvc/mount.x: Likewise.
50144         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50145         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50146         * sunrpc/rpcsvc/rex.x: Likewise.
50147         * sunrpc/rpcsvc/rstat.x: Likewise.
50148         * sunrpc/rpcsvc/rusers.x: Likewise.
50149         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50150         * sunrpc/rpcsvc/spray.x: Likewise.
50151         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50152         * sunrpc/rtime.c: Likewise.
50153         * sunrpc/svc.c: Likewise.
50154         * sunrpc/svc_auth.c: Likewise.
50155         * sunrpc/svc_authux.c: Likewise.
50156         * sunrpc/svc_raw.c: Likewise.
50157         * sunrpc/svc_run.c: Likewise.
50158         * sunrpc/svc_simple.c: Likewise.
50159         * sunrpc/svc_tcp.c: Likewise.
50160         * sunrpc/svc_udp.c: Likewise.
50161         * sunrpc/svc_unix.c: Likewise.
50162         * sunrpc/svcauth_des.c: Likewise.
50163         * sunrpc/xcrypt.c: Likewise.
50164         * sunrpc/xdr.c: Likewise.
50165         * sunrpc/xdr_array.c: Likewise.
50166         * sunrpc/xdr_float.c: Likewise.
50167         * sunrpc/xdr_mem.c: Likewise.
50168         * sunrpc/xdr_rec.c: Likewise.
50169         * sunrpc/xdr_ref.c: Likewise.
50170         * sunrpc/xdr_sizeof.c: Likewise.
50171         * sunrpc/xdr_stdio.c: Likewise.
50172
50173         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50174         handling.
50175
50176 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50177
50178         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50179
50180 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50181
50182         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50183         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50184         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50185         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50186         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50187         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50188         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50189         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50190         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50191         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50192         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50193         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50194         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50195         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50196
50197 2010-07-26  Anton Blanchard  <anton@samba.org>
50198
50199         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50200         * malloc/arena.c (heap_trim): Likewise.
50201
50202 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50203
50204         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50205         here.  Not...
50206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50207         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50208
50209 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50210
50211         * sysdeps/i386/elf/Makefile: New file.
50212
50213 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50214
50215         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50216         from fanotify_init.
50217         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50219
50220 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50221
50222         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50223         of strncasecmp_l.
50224         * sysdeps/multiarch/strcmp.S: Likewise.
50225
50226 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50227
50228         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50229         strncase_l-nonascii.
50230         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50231         Add strncase_l-ssse3.
50232         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50233         * sysdeps/x86_64/strcmp.S: Likewise.
50234         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50235         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50236         * sysdeps/x86_64/strncase.S: New file.
50237         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50238         * sysdeps/x86_64/strncase_l.S: New file.
50239         * string/Makefile (strop-tests): Add strncasecmp.
50240         * string/test-strncasecmp.c: New file.
50241
50242         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50243         warning.
50244
50245         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50246         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50247
50248 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50249
50250         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50251
50252 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50253
50254         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50255         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50256         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50257
50258 2010-05-01  Alan Modra  <amodra@gmail.com>
50259
50260         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50261         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50262         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50263         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50264         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50265         tidying.  Don't tail-call __sigjmp_save for static lib.
50266         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50267         save location.
50268         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50269         (CALL_MCOUNT): Add eh info, and nop after bl.
50270         (TAIL_CALL_SYSCALL_ERROR): New macro.
50271         (PSEUDO_RET): Use it.
50272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50273         Correct save location of integer regs and cr.
50274         (_dl_profile_resolve): Correct cr save location.  Delete nops
50275         after bl when SHARED.  Reduce cfi size a little by better
50276         placement of cfi directives.
50277         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50278         make a stack frame.  Instead use parm save area as a temp.
50279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50280         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50282         Don't make a stack frame for parent, use parm save area.
50283         Increase child stack frame to 112 bytes.  Don't save unused reg,
50284         and adjust reg usage.  Set up cfi on error recovery and
50285         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50287         (__makecontext): Add dummy nop after jump to exit.
50288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50289         Use correct parm save area and cr save, reduce stack frame.
50290         Correct cfi for possible PSEUDO_RET frame setup.
50291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50292         Branch to local label emitted by PSEUDO_RET rather than
50293         __syscall_error.
50294
50295 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50296
50297         [BZ #11904]
50298         * locale/programs/locale.c (print_assignment): New function.
50299         (show_locale_vars): Use it.
50300
50301 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50302
50303         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50304         field.
50305         (struct statfs64): Likewise.
50306         (_STATFS_F_FLAGS): Define.
50307         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50308         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50309         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50310         (ST_VALID): Define locally.
50311         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50312         __statvfs_getflags, use the provided value.
50313         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50314         __ASSUME_STATFS_F_FLAGS.
50315
50316         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50317
50318         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50319         Add sys/fanotify.h.
50320         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50321         fanotify_mask for GLIBC_2.13.
50322         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50323         fanotify_init and fanotify_mark.
50324         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50325         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50326
50327         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50328         Add prlimit.
50329         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50330         prlimit64 for GLIBC_2.13.
50331         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50332         prlimit64.
50333         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50334         syscall.
50335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50336         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50337         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50338         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50339         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50340         add prlimit alias.
50341         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50342
50343         [BZ #11903]
50344         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50345         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50346
50347         * nss/Makefile: Add rules to build and run tst-nss-test1.
50348         * shlib-versions: Add entry for libnss_test1.
50349         * nss/nss_test1.c: New file.
50350         * nss/tst-nss-test1.c: New file.
50351
50352         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50353         (__nss_configure_lookup): Set appropriate entry in
50354         __nss_configure_lookup to true.
50355         * nss/nsswitch.h: Define enum with indeces of databases in
50356         databases and __nss_database_custom arrays.  Declare
50357         __nss_database_custom.
50358         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50359         to avoid using nscd when custom rules are installed.
50360         * nss/getXXbyYY_r.c: Likewise.
50361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50362
50363         * nss/nss_files/files-parse.c: Whitespace fixes.
50364
50365 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50366
50367         [BZ #11883]
50368         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50369         * posix/fnmatch_loop.c: Likewise.
50370
50371 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50372
50373         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50374         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50375         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50376         * Versions.def [GLIBC_2.13]: Add.
50377
50378 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50379
50380         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50381         Also fail if tpwd after pwuid call is NULL.
50382
50383 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50384
50385         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50386         when converting to ms.
50387
50388 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50389
50390         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50391         EOPNOTSUPP errors with ENOTTY.
50392         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50393         EOPNOTSUPP errors with ENOTTY.
50394
50395 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50396
50397         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50398         Add strcasecmp_l-ssse3.
50399         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50400         strcasecmp.
50401         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50402         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50403         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50404
50405 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50406
50407         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50408
50409         * string/Makefile (strop-tests): Add strcasecmp.
50410         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50411         strcasecmp_l-nonascii.
50412         (gen-as-const-headers): Add locale-defines.sym.
50413         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50414         * sysdeps/x86_64/strcasecmp.S: New file.
50415         * sysdeps/x86_64/strcasecmp_l.S: New file.
50416         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50417         * sysdeps/x86_64/locale-defines.sym: New file.
50418         * string/test-strcasecmp.c: New file.
50419
50420         * string/test-strcasestr.c: Test both ends of the range of characters.
50421         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50422
50423 2010-07-29  Roland McGrath  <roland@redhat.com>
50424
50425         [BZ #11856]
50426         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50427
50428 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50429
50430         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50431         for ld.so.
50432
50433 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50434
50435         * manual/memory.texi (Malloc Tunable Parameters): Document
50436         M_PERTURB.
50437
50438 2010-07-26  Roland McGrath  <roland@redhat.com>
50439
50440         [BZ #11840]
50441         * configure.in (-fgnu89-inline check): Set and substitute
50442         gnu89_inline, not libc_cv_gnu89_inline.
50443         * configure: Regenerated.
50444         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50445
50446 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50447
50448         * string/test-strnlen.c: New file.
50449         * string/Makefile (strop-tests): Add strnlen.
50450         * string/tester.c (test_strnlen): Add a few more test cases.
50451         * string/tst-strlen.c: Better error reporting.
50452
50453         * sysdeps/x86_64/strnlen.S: New file.
50454
50455 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50456
50457         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50458         lower-latency instructions.
50459
50460 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50461
50462         * string/test-strcasestr.c: New file.
50463         * string/test-strstr.c: New file.
50464         * string/Makefile (strop-tests): Add strstr and strcasestr.
50465         * string/str-two-way.h: Don't undefine MAX.
50466         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50467
50468 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50469
50470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50471         strcasestr-nonascii.
50472         (CFLAGS-strcasestr-nonascii.c): Define.
50473         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50474         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50475         Remove unused attribute.
50476
50477 2010-07-20  Roland McGrath  <roland@redhat.com>
50478
50479         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50480         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50481         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50482         like LD_HWCAP_MASK can disable hwcaps.
50483
50484 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50485
50486         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50487
50488 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50489
50490         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50491         call in strcasestr.
50492         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50493         __strcasestr_sse42_nonascii.
50494         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50495         strcasestr-nonascii.c.
50496         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50497
50498 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50499
50500         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50501         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50502         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50503         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50504
50505 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50506
50507         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50508         fcntl.
50509
50510 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50511
50512         [BZ #11577]
50513         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50514         dl_signal_cerror.
50515
50516 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50517
50518         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50519         _PC_PIPE_BUF using F_GETPIPE_SZ.
50520
50521 2010-07-05  Roland McGrath  <roland@redhat.com>
50522
50523         * manual/arith.texi (Rounding Functions): Fix rint description
50524         implicit in round description.
50525
50526 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50527
50528         * elf/Makefile: Fix linking for a few tests to make recent linker
50529         happy.
50530
50531 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50532
50533         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50534         $(common-objpfx)libc_nonshared.a.
50535
50536 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50537
50538         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50539         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50540         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50541         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50542         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50543         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50544         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50545         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50560         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50561         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50562         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50563         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50564         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50565         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50566         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50567         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50568         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50569         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50570         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50571         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50586
50587 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50588
50589         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50590         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50591         * string/memmove.c (memmove): Renamed to ...
50592         (MEMMOVE): ...this.  Default to memmove.
50593         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50594         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50595         (END_CHK): Define.
50596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50597         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50598         mempcpy-ssse3-back memmove-ssse3-back.
50599         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50600         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50601         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50602         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50603         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50604         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50605         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50606         * sysdeps/x86_64/multiarch/memmove.c: New file.
50607         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50608         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50609         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50610         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50612         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50613         Define.
50614         (index_Fast_Copy_Backward): Define.
50615         (HAS_ARCH_FEATURE): Define.
50616         (HAS_FAST_REP_STRING): Define.
50617         (HAS_FAST_COPY_BACKWARD): Define.
50618
50619 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50620
50621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50622         Restore proper fallback handling.
50623
50624 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50625
50626         [BZ #11701]
50627         * posix/group_member.c (__group_member): Correct checking loop.
50628
50629         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50630         OOM in getpwuid_r correctly.  Return error number when the caller
50631         should return, otherwise -1.
50632         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50633         call returning > 0 value.
50634         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50635
50636 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50637
50638         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50639         libc_nonshared.a from targets in modules-names.
50640
50641 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50642
50643         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50644         requires it.
50645
50646 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50647
50648         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50649         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50650         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50651         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50652
50653 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50654
50655         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50656
50657 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50658
50659         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50660         and F_GETPIPE_SZ.
50661         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50662         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50663         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50665         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50666         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50667
50668 2010-06-14  Roland McGrath  <roland@redhat.com>
50669
50670         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50671
50672 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50673
50674         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50675         __REDIRECT followed by __THROW.
50676         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50677         * posix/getopt.h (getopt): Likewise.
50678
50679 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50680
50681         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50682         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50683         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50684         in AT_FLAGS.
50685         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50686         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50687
50688 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50689
50690         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50691
50692 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50693
50694         [BZ #11640]
50695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50696         Properly check family and model.
50697
50698 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50699
50700         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50701
50702 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50703
50704         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50705
50706 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50707
50708         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50709         symbol reference.
50710
50711 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50712
50713         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50714         symbol reference.
50715
50716 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50717
50718         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50719         and internal_recvmmsg.
50720         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50721         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50722         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50723         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50724
50725         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50726         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50727         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50728
50729 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50730
50731         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50732
50733 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50734
50735         POWER7 optimizations.
50736         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50737         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50738
50739 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50740
50741         * version.h: Update for 2.13 development version.
50742
50743 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50744
50745         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50746         exceptions.  Return 0.
50747
50748 2010-05-07  Roland McGrath  <roland@redhat.com>
50749
50750         * elf/ldconfig.c (main): Add a const.
50751
50752 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50753
50754         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50755         (args_options): Add no-idn option.
50756         (ahosts_keys_int): Add idn_flags to ai_flags.
50757         (parse_option): Handle 'i' option to clear idn_flags.
50758
50759         * malloc/malloc.c (_int_free): Possible race in the most recently
50760         added check.  Only act on the data if no current modification
50761         happened.
50762
50763 See ChangeLog.17 for earlier changes.