Don't use INTDEF/INTUSE with __cxa_atexit (bug 14132).
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #14132]
4         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5         of INTDEF.
6         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7         (__cxa_atexit): Use libc_hidden_proto.
8         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9
10         [BZ #14132]
11         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12         declaration.
13         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14         [!_ISOMAC] (__iswspace_l_internal): Likewise.
15         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16         [!_ISOMAC] (__iswctype_internal): Likewise.
17         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19         alias.
20         (fcntl): Remove __fcntl_internal alias.
21         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22         __connect_internal alias.
23         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24         Likewise.
25
26         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28         FP_DENORM_ZERO.
29         (_FP_CHECK_FLUSH_ZERO): New macro.
30         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31         (_FP_CMP): Likewise.
32         (_FP_CMP_EQ): Likewise.
33         (_FP_TO_INT): Do not set inexact for subnormal arguments if
34         FP_DENORM_ZERO.
35         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
36         (FP_TRUNC): Likewise.
37
38         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39         treated as invalid conversion, not as normal exponent.
40
41         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
43         (_FP_CMP_EQ): Likewise.
44         (_FP_CMP_UNORD): Likewise.
45         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46         (FP_CMP_EQ_D): Likewise.
47         (FP_CMP_UNORD_D): Likewise.
48         * soft-fp/extended.h (FP_CMP_E): Likewise.
49         (FP_CMP_EQ_E): Likewise.
50         (FP_CMP_UNORD_E): Likewise.
51         * soft-fp/quad.h (FP_CMP_Q): Likewise.
52         (FP_CMP_EQ_Q): Likewise.
53         (FP_CMP_UNORD_Q): Likewise.
54         * soft-fp/single.h (FP_CMP_S): Likewise.
55         (FP_CMP_EQ_S): Likewise.
56         (FP_CMP_UNORD_S): Likewise.
57         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
58         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
59         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
60         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
61         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
62         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
63         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
64         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
65         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
66         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
67         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
68         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
69         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
70         to FP_CMP_Q.
71         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
72         FP_CMP_Q.
73         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
74         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
75         FP_CMP_EQ_Q.
76         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
77         FP_CMP_Q.
78         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
79         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
80         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
81         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
82         FP_CMP_EQ_Q.
83         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
84         FP_CMP_Q.
85         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
86         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
87         FP_CMP_EQ_Q.
88         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
89         FP_CMP_Q.
90         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
91         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
92         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
93         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
94         FP_CMP_EQ_Q.
95
96         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
97         a subnormal result, set the underflow exception if trapping on
98         underflow is enabled.
99         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
100         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
101         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
102         redefine to 0.
103         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
104         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
105         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
106         * soft-fp/extendxftf2.c (__extendxftf2): Use
107         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
108
109         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
110         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
111         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
112         FP_HANDLE_EXCEPTIONS.
113         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
114         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
115         FP_HANDLE_EXCEPTIONS.
116         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
117         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
118         FP_HANDLE_EXCEPTIONS.
119         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
120         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
121         FP_HANDLE_EXCEPTIONS.
122
123 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
124
125         [BZ #14132]
126         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
127         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
128         use INTUSE.
129         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
130         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
131         Remove alias.
132         (__adjtimex): Define using libc_hidden_ver.
133         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
134         Remove declaration.
135         (ntp_gettime): Call __adjtimex directly.
136         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
137         Remove declaration.
138         (ntp_gettimex): Call __adjtimex directly.
139         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
140         __adjtimex_internal alias.
141
142 2014-10-08  Roland McGrath  <roland@hack.frob.com>
143
144         [BZ #17460]
145         * nscd/nscd.c (more_help): Rewrite list of tables collection
146         using xstrdup and asprintf.
147
148         * nscd/nscd_conf.c: Remove local xstrdup declaration.
149
150 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
151             Roland McGrath  <roland@hack.frob.com>
152
153         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
154         (do_lookup_unique): ... local function 'enter' here; update callers.
155
156 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
157
158         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
159         compat_symbol calls on [SHARED].
160         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
161         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
162         Remove.
163         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
164         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
165         (oldsetrlimit): Remove.
166         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
168         (lchown): New syscall entry.
169         (oldsetrlimit): Remove.
170         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
172         (oldsetrlimit): Remove.
173         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
174
175         [BZ #14138]
176         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
177         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
178         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
179         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
180         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
181         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
182         (fchown): Likewise.
183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
184         (fchown): Likewise.
185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
186         Likewise.
187
188 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
189
190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
191         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
192         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
193         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
194         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
195         Likewise.
196         (__old_sem_post): Likewise.
197
198 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
199
200         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
201         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
202         HAVE_CLOCK_GETTIME_VSYSCALL macros.
203         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
204         Use INLINE_VSYSCALL macro.
205         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
206         __vdso_clock_gettime.
207         * sysdeps/unix/sysv/linux/tile/init-first.c
208         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
209         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
210         __vdso_clock_gettime.
211
212         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
213         to set up frame more cleanly.
214
215         * sysdeps/tile/memcmp.c: New file.
216
217         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
218
219         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
220         * sysdeps/tile/tilegx/strcasestr.c: New file.
221         * sysdeps/tile/tilegx/strnlen.c: New file.
222         * sysdeps/tile/tilegx/strstr.c: New file.
223
224         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
225
226 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
227
228         * nptl/tst-setuid3.c: Write errors to stdout.
229
230 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
231
232         * elf/dl-deps.c
233         (preload): New functions broken out of _dl_map_object_deps.
234         (_dl_map_object_deps):  Remove a nested function. Update call sites.
235
236 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
237
238         [BZ #14138]
239         * sysdeps/unix/sysv/linux/execve.c: Remove file.
240         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
241
242 2014-10-01  Steve Ellcey  <sellcey@mips.com>
243
244         * sysdeps/mips/strcmp.S: New.
245
246 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
247
248         [BZ #14138]
249         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
250         (linkat): Likewise.
251         (mkdirat): Likewise.
252         (readlinkat): Likewise.
253         (renameat): Likewise.
254         (symlinkat): Likewise.
255         (unlinkat): Likewise.
256         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
257         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
258         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
259         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
260         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
261         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
262         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
263
264 2014-09-30  Will Newton  <will.newton@linaro.org>
265
266         * math/math.h: Define long double math functions if
267         _LIBC_TEST is defined.
268         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
269
270         * localedata/Makefile: Move assignment to tests-special
271         into an ifdef testing run-built-tests.
272         * timezone/Makefile: Likewise.
273
274 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
275
276         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
277         with $(BASH) not $(SHELL).
278
279 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
280             Matthew LeGendre  <legendre1@llnl.gov>
281
282         [BZ #17411]
283         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
284         l_reloc_result.
285
286 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
287
288         * stdio-common/printf_fp.c
289         (hack_digit): New function, broken out of ...
290         (__printf_fp): ... local function here.  Update call sites.
291         hack_digit now takes an additional parameter that is a pointer
292         to a struct of the referenced locals.  Those locals moved inside
293         the struct and references updated.
294
295 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
296
297         * aclocal.m4: Require autoconf 2.69.
298         * configure: Regenerated.
299         * sysdeps/aarch64/configure: Likewise.
300         * sysdeps/alpha/configure: Likewise.
301         * sysdeps/arm/armv7/configure: Likewise.
302         * sysdeps/arm/configure: Likewise.
303         * sysdeps/ia64/configure: Likewise.
304         * sysdeps/mach/configure: Likewise.
305         * sysdeps/mips/configure: Likewise.
306         * sysdeps/s390/configure: Likewise.
307         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
309
310         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
311         file.
312         * sysdeps/ia64/configure.ac: Likewise.
313
314 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
315
316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
317         specify symbol version for ld.so.  Do not include entry for
318         libpthread.
319         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
321         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
322
323         [BZ #14171]
324         * Makeconfig [$(build-shared) = yes]
325         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
326         makefiles.
327         [$(build-shared) = yes && $(soversions.mk-done) = t]
328         ($(common-objpfx)gnu/lib-names.h): Remove rule.
329         [$(build-shared) = yes && $(soversions.mk-done) = t]
330         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
331         to Makerules.
332         [$(build-shared) = yes && $(soversions.mk-done) = t]
333         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
334         here.
335         [$(build-shared) = yes && $(soversions.mk-done) = t]
336         (common-generated): Don't append gnu/lib-names.h and
337         gnu/lib-names.stmp here.
338         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
339         (lib-names-h-abi): New variable.
340         [$(build-shared) = yes && $(soversions.mk-done) = t]
341         (lib-names-stmp-abi): Likewise.
342         [$(build-shared) = yes && $(soversions.mk-done) = t &&
343         abi-variants] (before-compile): Append
344         $(common-objpfx)$(lib-names-h-abi).
345         [$(build-shared) = yes && $(soversions.mk-done) = t &&
346         abi-variants] (common-generated): Append gnu/lib-names.h.
347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
348         abi-variants] (install-others-nosubdir): Depend on
349         $(inst_includedir)/$(lib-names-h-abi).
350         [$(build-shared) = yes && $(soversions.mk-done) = t &&
351         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
352         [$(build-shared) = yes && $(soversions.mk-done) = t]
353         ($(common-objpfx)$(lib-names-h-abi)): New rule.
354         [$(build-shared) = yes && $(soversions.mk-done) = t]
355         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
356         [$(build-shared) = yes && $(soversions.mk-done) = t]
357         (common-generated): Append $(lib-names-h-abi) and
358         $(lib-names-stmp-abi).
359         * scripts/lib-names.awk: Do not handle multi being set.
360         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
361         Remove variable.
362         (abi-lp64_be-ld-soname): Likewise.
363         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
364         Likewise.
365         (abi-hard-ld-soname): Likewise.
366         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
367         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
368         Remove variable.
369         (abi-o32_hard-ld-soname): Likewise.
370         (abi-o32_soft_2008-ld-soname): Likewise.
371         (abi-o32_hard_2008-ld-soname): Likewise.
372         (abi-n32_soft-ld-soname): Likewise.
373         (abi-n32_hard-ld-soname): Likewise.
374         (abi-n32_soft_2008-ld-soname): Likewise.
375         (abi-n32_hard_2008-ld-soname): Likewise.
376         (abi-n64_soft-ld-soname): Likewise.
377         (abi-n64_hard-ld-soname): Likewise.
378         (abi-n64_soft_2008-ld-soname): Likewise.
379         (abi-n64_hard_2008-ld-soname): Likewise.
380         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
381         Likewise.
382         (abi-64-v2-ld-soname): Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
384         ld.so entries.
385         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
386         variable.
387         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
388         entry.
389         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
390         variable.
391         (abi-64-ld-soname): Likewise.
392         (abi-x32-ld-soname): Likewise.
393         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
394         entry.
395         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
396
397 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
398
399         [BZ #14138]
400         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
401         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
402         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
403         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
404         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
405         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
406         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
407         syscall entry for GLIBC_2.2 symbol version.
408         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
409         Likewise.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
411         (setrlimit): Likewise.
412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
413         Likewise.
414
415 2014-09-23  Will Newton  <will.newton@linaro.org>
416
417         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
418         _LINUX_ARM_SYSDEP_H include guard too.
419         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
420         define.
421
422 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
423
424         * sysdeps/unix/sysv/linux/eventfd.c:
425         Make first argument unsigned.
426         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
427         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
428
429 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
430
431         * socket/recvmmsg.c (recvmmsg): Drop const argument.
432         * socket/sys/socket.h: Likewise
433         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
434
435 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
436
437         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
438
439 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
440
441         * time/tst-ftime.c: New test.
442         * time/Makefile (tests): Add tst-ftime.
443
444 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
445
446         * soft-fp/extended.h: Fix comment formatting.
447         * soft-fp/op-1.h: Likewise.
448         * soft-fp/op-2.h: Likewise.
449         * soft-fp/op-4.h: Likewise.
450         * soft-fp/op-8.h: Likewise.
451         * soft-fp/op-common.h: Likewise.
452         * soft-fp/soft-fp.h: Likewise.
453
454         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
455
456 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
457
458         [BZ #6652]
459         * Makeconfig (soversions-default-setname): Remove variable.
460         ($(common-objpfx)soversions.i): Don't pass default_setname to
461         soversions.awk.
462         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
463         oldest_abi to abi-versions.awk.
464         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
465         * config.make.in (oldest-abi): Remove variable.
466         * configure.ac (--enable-oldest-abi): Remove configure option.
467         * configure: Regenerated.
468         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
469         text.
470         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
471         * scripts/soversions.awk: Do not handle default_setname variable.
472         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
473         variable.
474         * sysdeps/mach/hurd/configure: Regenerated.
475         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
476         variable.
477         * sysdeps/unix/sysv/linux/configure: Regenerated.
478
479 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
480
481         * elf/Makefile (CFLAGS-interp.c): Remove.
482         ($(elf-objpfx)runtime-linker.h): Generate header with linker
483         path string.
484         * elf/interp.c: Include generated runtime-linker.h
485
486         * Makerules (lib%.so): Don't include $(+interp) in
487         prerequisites.
488         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
489         * dlfcn/eval.c: Remove file.
490
491         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
492         macros.
493
494         [BZ #17266]
495         * misc/sys/cdefs.h: Define __extern_always_inline for clang
496         4.2 and newer.
497
498         [BZ #17370]
499         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
500
501 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
502             Jakub Jelinek  <jakub@redhat.com>
503
504         [BZ #17266]
505         * libio/stdio.h: Check definition of __fortify_function
506         instead of __extern_always_inline to include bits/stdio2.h.
507         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
508         check if __extern_always_inline is defined.
509         [__USE_MISC || __USE_XOPEN]: Likewise.
510         [__USE_ISOC99] Likewise.
511         * misc/sys/cdefs.h (__fortify_function): Define only if
512         __extern_always_inline is defined.
513         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
514         __extern_always_inline and __extern_inline only for g++-4.3
515         and newer or a compatible gcc.
516
517 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
518
519         [BZ #17371]
520         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
521         last change to handle zero prefix length.
522
523 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
524
525         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
526         _SC_REGEX_VERSION.
527
528         * posix/getconf.c (vars): Add _POSIX_IPV6 and
529         _POSIX_RAW_SOCKETS.
530
531 2014-09-13  Allan McRae  <allan@archlinux.org>
532
533         * po/ru.po: Update Russian translation from translation project.
534
535 2014-09-12  Roland McGrath  <roland@hack.frob.com>
536
537         * locale/programs/locale.c (show_locale_vars): Inline local function
538         into its sole call site.  Clean up some style nits.
539         (print_item): New function, broken out of ...
540         (show_info): ... local function here.  Clean up style nits.
541
542         * locale/programs/ld-ctype.c (set_one_default): New function, broken
543         out of ...
544         (set_class_defaults): ... local function set_default here.
545         Define set_default as a macro locally to pass constant parameters.
546         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
547         rather than a shared local.
548
549         * stdlib/rpmatch.c (try): New function, broken out of ...
550         (rpmatch): ... local function here.  Also, prototypify definition.
551
552 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
553
554         * scripts/soversions.awk: Do not handle configuration names.
555         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
556         vendor and os variables to soversions.awk.
557         * configure.ac: Do not modify gnu-* host_os.
558         * configure: Regenerated
559         * shlib-versions: Remove first column with configuration names.
560         * nptl/shlib-versions: Likewise.
561         * nptl_db/shlib-versions: Likewise.
562         * sysdeps/hppa/shlib-versions: Likewise.
563         * sysdeps/m68k/shlib-versions: Likewise.
564         * sysdeps/mach/hurd/shlib-versions: Likewise.
565         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
566         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
567         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
568         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
569         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
570         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
571         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
572         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
574         Likewise.
575         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
576         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
577         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
578         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
579         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
580         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
581         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
582         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
583
584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
585         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
587         Regenerated.
588         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
590         Condition symbol version definitions on [HAVE_ELFV2_ABI].
591
592         * shlib-versions: Remove OS-specific entries.  Moved to files in
593         sysdeps.
594         * sysdeps/mach/hurd/shlib-versions: New file.
595         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
596
597         * nptl/shlib-versions: Remove architecture-specific entries.
598         Moved to files in sysdeps.
599         * shlib-versions: Likewise.
600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
601         file.
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/sparc/sparc32/shlib-versions: Likewise.
605         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
606
607         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
608         (UDP_NO_CHECK6_RX): Likewise.
609
610 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
611
612         * sysdeps/posix/sysconf.c (__sysconf): Spell
613         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
614
615 2014-08-12  Florian Weimer  <fweimer@redhat.com>
616
617         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
618         loading.
619         * iconv/Versions (__gconv_transliterate): Export for use from
620         gconv modules.
621         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
622         (struct __gconv_trans_data, __gconv_trans_fct,
623         __gconv_trans_context_fct, __gconv_trans_query_fct,
624         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
625         definitions.
626         (struct __gconv_step_data): Remove __trans member.
627         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
628         longer hidden.  Remove unused trans_data argument.
629         * iconv/gconv_int.h (struct trans_struct): Remove definition.
630         (__gconv_translit_find): Remove declaration.
631         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
632         prototype.
633         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
634         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
635         trans_data argument.  Add hidden definition.
636         (__gconv_translit_find): Remove.
637         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
638         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
639         * iconv/skeleton.c: Remove transliteration initialization.
640         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
641         __gconv_step_data initialization.
642         * libio/iofwide.c (__libio_translit_): Remove.
643         (_IO_fwide): Adjust struct __gconv_step_data initialization.
644         * wcsmbs/btowc.c (__btowc): Likewise.
645         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
646         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
647         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
648         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
649         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
650         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
651         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
652         * wcsmbs/wctob.c (wctob): Likewise.
653
654 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
655
656         [BZ #16194]
657         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
658         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
659         register usage.
660         * sysdeps/x86/Makefile: Adjust.
661
662 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
663             Roland McGrath  <roland@hack.frob.com>
664
665         * locale/weight.h: Add include guard.
666         (findidx): Make static rather than auto; take new parameters
667         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
668         * locale/weightwc.h: Likewise.
669         * posix/fnmatch_loop.c
670         (FCT): Change type of EXTRA from int32_t to wint_t.
671         Don't include either header inside the function.
672         Call FINDIDX rather than findidx, and pass new arguments.
673         #undef FINDIDX at the end of the file.
674         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
675         FINDIDX before including fnmatch_loop.c for the non-wide version.
676         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
677         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
678         for the wide version.
679         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
680         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
681         Pass new arguments to findidx.
682         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
683         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
684         Don't #include it inside the function.  Pass new arguments to findidx.
685         * posix/regex_internal.h
686         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
687         (re_string_elem_size_at): Don't #include it inside the function.
688         Pass new arguments to findidx.
689         * string/strcoll_l.c: #include WEIGHT_H at top level.
690         (get_next_seq): Don't #include it inside the function.
691         Pass new arguments to findidx.
692         (get_next_seq_nocache): Likewise.
693         * string/strxfrm_l.c: #include WEIGHT_H at top level.
694         (STRXFRM): Don't #include it inside the function.
695         Pass new arguments to findidx.
696
697 2014-09-11  Florian Weimer  <fweimer@redhat.com>
698
699         [BZ #17344]
700         * malloc/malloc.c (unlink): Turn asserts into a call to
701         malloc_printerr.
702
703 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
704
705         [BZ #17370]
706         * libio/wfileops (do_ftell_wide): Free OUT.
707
708 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
709
710         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
711
712 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
713
714         [BZ #17363]
715         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
716         group if the current group is empty.
717
718 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
719
720         * benchtests/bench-memset.c (test_main): Add more test from size
721         from 32 to 512 bytes.
722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
723         Add POWER8 memset object.
724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
725         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
726         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
727         implementation.
728         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
729         Likewise.
730         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
731         multiarch POWER8 memset optimization.
732         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
733         POWER8 memset optimization.
734
735         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
736         Remove bzero multiarch objects.
737         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
738         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
739         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
740         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
741         Remove define.
742         [__bzero]: Redefine to specific name.
743         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
744         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
745         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
746         define.
747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
748         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
749
750 2014-09-10  Florian Weimer  <fweimer@redhat.com>
751
752         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
753         warnings into errors.
754
755         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
756         __cxa_thread_atexit_impl prototype.
757
758 2014-09-09  Steve Ellcey  <sellcey@mips.com>
759
760         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
761         Fix capitalization of error message.
762
763 2014-09-09  Steve Ellcey  <sellcey@mips.com>
764
765         * sysdeps/mips/preconfigure: Modify ABI tests.
766
767 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
768
769         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
770
771 2014-09-07  Roland McGrath  <roland@hack.frob.com>
772             Carlos O'Donell  <carlos@systemhalted.org>
773
774         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
775         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
776         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
777         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
778         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
779         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
780         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
781         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
782         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
793         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
795         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
796         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
797         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
798         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
799         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
800         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
801         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
802         Deconditionalize the code that was previously under [RESET_PID].
803         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
804         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
805         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
806         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
807         include sysdep.h.
808
809 2014-09-08  Allan McRae  <allan@archlinux.org>
810
811         * version.h (RELEASE): Set to "development".
812         (VERSION): Set to "2.20.90"
813
814 2014-09-07  Allan McRae  <allan@archlinux.org
815
816         * version.h (RELEASE): Set to "stable".
817         (VERSION): Set to "2.20"
818         * include/features.h (__GLIBC_MINOR__): Set to 20.
819
820         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
821         Liebler.
822
823         * po/ko.po: Update Korean translation from translation project.
824
825 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
826
827         [BZ #17354]
828         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
829         macro for handling signed relocations.
830
831 2014-09-03  Florian Weimer  <fweimer@redhat.com>
832
833         [BZ #17325]
834         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
835         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
836         assert.
837         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
838         * iconvdata/ibm935.c (BODY): Likewise.
839         * iconvdata/ibm937.c (BODY): Likewise.
840         * iconvdata/ibm939.c (BODY): Likewise.
841         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
842         assert.
843         * iconvdata/Makefile (iconv-test.out): Pass module list to test
844         script.
845         * iconvdata/run-iconv-test.sh: New test loop for checking for
846         decoder crashers.
847
848 2014-09-02  Khem Raj  <raj.khem@gmail.com>
849
850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
851         libm_hidden_ver.
852
853 2014-09-01  Allan McRae  <allan@archlinux.org>
854
855         * po/eo.po: Update Esperanto translation from translation project.
856
857         * po/ca.po: Update Catalan translation from translation project.
858
859 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
860
861         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
862         __proc_dostop call.
863
864 2014-08-27  Mark Wielaard  <mjw@redhat.com>
865
866         [BZ #17319]
867         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
868         to call set_thread_area instead of hand written asm.
869         (__NR_set_thread_area): Removed define.
870         (TLS_FLAG_WRITABLE): Likewise.
871         (__ASSUME_SET_THREAD_AREA): Remove check.
872         (TLS_EBX_ARG): Remove define.
873         (TLS_LOAD_EBX): Likewise.
874
875 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
876
877         Simplify atomicity of socket creation in bind.
878
879         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
880         looking up the name after linking the file.
881
882 2014-08-27  Allan McRae  <allan@archlinux.org>
883
884         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
885
886 2014-08-26  Florian Weimer  <fweimer@redhat.com>
887
888         [BZ #17187]
889         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
890         trans_compare, open_translit, __gconv_translit_find):
891         Remove module loading code.
892
893 2014-08-26  Allan McRae  <allan@archlinux.org>
894
895         * po/vi.po: Update Vietnamese translation from translation project.
896
897         * po/uk.po: Update Ukrainian translation from translation project.
898
899         * po/fr.po: Update French translation from translation project.
900
901         * po/ru.po: Update Russian translation from translation project.
902
903         * po/pl.po: Update Polish translation from translation project.
904
905         * po/cs.po: Update Czech translation from translation project.
906
907         * po/de.po: Update German translation from translation project.
908
909         * po/bg.po: Update Bulgarian translation from translation project.
910
911         * po/sv.po: Update Sweedish translation from translation project.
912
913         * po/nl.po: Update Dutch translation from translation project.
914
915         * po/es.po: Update Spanish translation from translation project.
916
917 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
918
919         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
920
921         * catgets/Makefile (CPPFLAGS-gencat): Remove.
922         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
923         (CPPFLAGS-iconvconfig): Likewise.
924         * timezone/Makefile (CPPFLAGS-zic): Likewise.
925
926         * include/libc-symbols.h: Remove unnecessary check for
927         NOT_IN_libc.
928         * nptl/pthreadP.h: Likewise.
929         * sysdeps/aarch64/setjmp.S: Likewise.
930         * sysdeps/alpha/setjmp.S: Likewise.
931         * sysdeps/arm/sysdep.h: Likewise.
932         * sysdeps/i386/setjmp.S: Likewise.
933         * sysdeps/m68k/setjmp.c: Likewise.
934         * sysdeps/posix/getcwd.c: Likewise.
935         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
936         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
937         * sysdeps/s390/s390-32/setjmp.S: Likewise.
938         * sysdeps/s390/s390-64/setjmp.S: Likewise.
939         * sysdeps/sh/sh3/setjmp.S: Likewise.
940         * sysdeps/sh/sh4/setjmp.S: Likewise.
941         * sysdeps/unix/alpha/sysdep.h: Likewise.
942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
944         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
950         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
953         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
955         * sysdeps/x86_64/setjmp.S: Likewise.
956
957 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
958
959         [BZ #17263]
960         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
961         <stdint.h>.
962         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
963         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
964
965 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
966
967         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
968
969         [BZ #17262]
970         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
971         and __x86_64__ when disabling x87 inline functions.
972
973 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
974
975         [BZ #17259]
976         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
977         asm statement with __cpuid_count.
978
979 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
980
981         * configure.ac: Change __ehdr_start code to dereference the struct.
982         Run readelf on the output to look for relocations.
983         * configure: Regenerated.
984
985 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
986
987         [BZ #17261]
988         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
989         value to 0.
990         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
991
992 2014-08-12  Roland McGrath  <roland@hack.frob.com>
993
994         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
995
996 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
997
998         [BZ #16892]
999         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1000         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1001
1002 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1003
1004         * malloc/malloc.c: Fix typo in comment.
1005
1006 2014-08-09  Allan McRae  <allan@archlinux.org>
1007
1008         * Regenerate libc.po.
1009
1010 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1011
1012         * intl/tst-gettext2.sh: Check every lang file for creation.
1013
1014 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1015
1016         * sysdeps/aarch64/fpu/math_private.h
1017         (libc_feholdsetround_noex_aarch64_ctx): New function.
1018
1019 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1020
1021         * sysdeps/arm/armv6/strcpy.S (strcpy):
1022         Fix performance issue in misaligned cases.
1023
1024 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1025
1026         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1027         Move definition from termios.h.
1028         (struct termio): Likewise.
1029         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1030         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1031         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1032         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1033         Likewise.
1034         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1035         Move definition to ioctl-types.h
1036         (struct termio): Likewise.
1037         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1038         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1039         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1040         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1041         Likewise.
1042
1043 2014-08-05  Richard Henderson  <rth@redhat.com>
1044
1045         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1046         exceptions.
1047         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1048         Add fraiseexcpt.
1049         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1050         Use __feraiseexcept.
1051         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1052         Protect libm symbols with IS_IN_libm.
1053
1054         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1055
1056 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1057
1058         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1059
1060 2014-08-04  Will Newton  <will.newton@linaro.org>
1061
1062         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1063         file.
1064
1065 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1066
1067         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1068         variants for each function.
1069
1070 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1071
1072         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1073         appended ...
1074         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1075         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1076         appended ...
1077         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1078         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1079         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1080         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1081         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1082         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1083         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1084         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1085         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1086         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1087         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1088         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1089         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1091         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1092         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1095         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1096         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1097         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1098         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1099         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1100         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1101         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1102         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1103         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1105         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1109         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1111         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1112         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1113         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1114         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1115         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1116         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1117         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1119         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1121         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1123         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1125         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1127         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1128         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1129         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1130         Update #include.
1131         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1132         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1133
1134 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1135
1136         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1137         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1139         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1141         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1142
1143 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1144
1145         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1146         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1147         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1148         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1149
1150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1151
1152         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1153         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1154         (__libc_vfork): Define function under this name.
1155         (__vfork): Define as an alias.
1156         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1157         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1158
1159 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1160
1161         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1162         that was previously under [RESET_PID].
1163         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1164
1165 2014-08-04  Andreas Schwab  <schwab@suse.de>
1166
1167         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1168
1169 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1170
1171         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1172         (main): Likewise.
1173
1174 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1175
1176         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1177
1178 2014-08-01  Richard Henderon  <rth@redhat.com>
1179
1180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1181         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1182         typo in exact zero test.
1183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1184         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1185         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1186
1187 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1188
1189         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1190         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1191         * sysdeps/arm/sysdep.h: ... here.
1192         [!__ASSEMBLER__]: Include <stdint.h>.
1193
1194 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1195
1196         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1197         (HAVE_WCTYPE_H): Likewise.
1198         (HAVE_ISWCTYPE): Likewise.
1199         (ENABLE_NLS): Likewise.
1200         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1201         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1202
1203         * posix/regex_internal.c: Check if DEBUG is defined and is
1204         set.
1205
1206         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1207         (HAVE_MBSRTOWCS): Likewise.
1208         * posix/fnmatch.c: Include string.h unconditionally.
1209
1210 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1211
1212         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1213         reversal.
1214
1215 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1216
1217         * sysdeps/generic/safe-fatal.h: New file.
1218         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1219         * nptl/forward.c: Include it.
1220         (__pthread_unwind): Use __safe_fatal as default action, rather
1221         than a bogus use of INTERNAL_SYSCALL that could never work.
1222
1223         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1224         * configure.ac (libc_cv_builtin_trap): New test.
1225         * configure: Regenerated.
1226         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1227         (ABORT_INSTRUCTION): Define using __builtin_trap.
1228
1229         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1230         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1231         * sysdeps/nptl/nptl-signals.h: New file.
1232         * nptl/pthreadP.h: Include <nptl-signals.h>.
1233
1234 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1235
1236         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1237         (ONE_DIRECTION): Define.
1238         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1239         (ONE_DIRECTION): Define.
1240         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1241         (ONE_DIRECTION): Define.
1242
1243 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1244
1245         * sysdeps/s390/Makefile: Delete file.
1246         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1247         * sysdeps/s390/__longjmp.c: Delete file.
1248         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1249         Remove fields __flags and __reserved.
1250         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1251         and add versioning.
1252         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1253         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1254         * sysdeps/s390/rtld-setjmp.S: Likewise.
1255         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1256         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1257         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1258         * sysdeps/s390/s390-32/setjmp.S: ... here.
1259         Add versioning.
1260         (__sigsetjmp): Remove setting __flags field.
1261         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1262         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1263         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1264         * sysdeps/s390/s390-64/setjmp.S: ... here.
1265         Add versioning.
1266         (__sigsetjmp): Remove setting __flags field.
1267         * sysdeps/s390/setjmp.S: Delete file.
1268         * sysdeps/s390/sigjmp.c: Likewise.
1269         * sysdeps/s390/v1-longjmp.c: Likewise.
1270         * sysdeps/s390/v1-setjmp.h: Likewise.
1271         * sysdeps/s390/v1-sigjmp.c: Likewise.
1272         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1273         Remove v1-longjmp_chk.
1274         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1275         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1276         Include debug/longjmp_chk.c and add versioning.
1277         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1278         Include nptl/pt-longjmp.c and add versioning.
1279         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1280         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1281         Include __longjmp.c.
1282         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1283         Move to ...
1284         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1285         (__getcontext): Remove setting __flags field.
1286         Add versioning.
1287         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1288         Don't restore upper high grps.
1289         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1290         Likewise.
1291         (__swapcontext): Remove setting uc_flags field.
1292         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1293         Delete file.
1294         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1295         Include __longjmp.c.
1296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1297         Move to ...
1298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1299         (__getcontext): Remove setting __flags field.
1300         Add versioning.
1301         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1302         (__swapcontext): Remove setting uc_flags field.
1303         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1304         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1305         Remove fields uc_high_gprs and __reserved.
1306         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1307         New file with reverted content.
1308         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1309         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1310         Regenerated.
1311         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1312         Regenerated.
1313
1314 2014-07-31  Andreas Schwab  <schwab@suse.de>
1315
1316         * config.h.in (HAVE_IFUNC): Define to 0.
1317         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1318         definedness.
1319
1320 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1321
1322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1323         memmove-avx-unaligned, memcpy-avx-unaligned and
1324         mempcpy-avx-unaligned.
1325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1326         Add tests for AVX memcpy functions.
1327         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1328         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1329         memcpy_chk.
1330         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1331         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1332         memmove_chk.
1333         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1334         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1335         mempcpy_chk.
1336         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1337         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1338         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1339
1340 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1341
1342         [BZ #17213]
1343         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1344         powerpc64le.
1345
1346 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1347
1348         [BZ #16839]
1349         * manual/llio.texi: Add section about open file description locks.
1350         * manual/examples/ofdlocks.c: Example of open file description
1351         lock usage.
1352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1353         F_OFD_SETLK, and F_OFD_SETLKW.
1354
1355 2014-07-23  Allan McRae  <allan@archlinux.org>
1356
1357         * po/es.po: Update Spanish translation from translation project.
1358
1359 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1360
1361         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1362
1363 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1364
1365         [BZ #17078]
1366         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1367         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1368         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1369
1370 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1371
1372         [BZ #17088]
1373         * math/fesetenv.c (__fesetenv)
1374         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1375         * math/feupdateenv.c (__feupdateenv)
1376         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1377
1378         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1379         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1380         (__ASSUME_SOCKETCALL): Do not define.
1381
1382         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1383         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1384         (__ASSUME_SOCKETCALL): Do not define.
1385         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1386         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1387         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1388         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1390         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1392         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1393
1394         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1395         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1396         (__ASSUME_SOCKETCALL): Do not define.
1397         (__ASSUME_IPC64): Define unconditionally.
1398         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1399         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1400         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1402         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1404         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1405         Likewise.
1406
1407         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1408         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1409         (__ASSUME_SOCKETCALL): Do not define.
1410         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1411         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1412         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1413         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1414         (__ASSUME_REQUEUE_PI): Define unconditionally.
1415         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1416         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1417         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1418         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1419         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1420         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1421
1422         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1423         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1424         (__ASSUME_SOCKETCALL): Do not define.
1425         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1427         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1428         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1429         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1430         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1431
1432         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1433         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1434         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1435         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1436         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1437         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1438         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1439         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1440         (__ASSUME_GETCPU_SYSCALL): Likewise.
1441
1442         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1443         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1444         cases for individual architectures.
1445         * sysdeps/gnu/configure: Regenerated.
1446         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1447         LIBC_SLIBDIR_RTLDDIR.
1448         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1449         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1450         LIBC_SLIBDIR_RTLDDIR.
1451         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1453         LIBC_SLIBDIR_RTLDDIR.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1455         Regenerated.
1456         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1457         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1458         file.
1459         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1460         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1461         file.
1462         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1463         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1464         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1465         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1466
1467         * sysdeps/aarch64/shlib-versions: Move to ...
1468         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1469         * sysdeps/alpha/shlib-versions: Move to ...
1470         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1471         * sysdeps/arm/shlib-versions: Move to ...
1472         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1473         * sysdeps/hppa/shlib-versions: Move all contents except for
1474         libgcc_s entry to ...
1475         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1476         entry from ...
1477         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1478         * sysdeps/ia64/shlib-versions: Move to ...
1479         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1480         entry from ...
1481         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1482         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1483         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1484         * sysdeps/microblaze/shlib-versions: Move to ...
1485         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1486         * sysdeps/mips/shlib-versions: Move to ...
1487         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1488         entry from ...
1489         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1490         * sysdeps/tile/shlib-versions: Move to ...
1491         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1492         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1493         from ...
1494         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1495         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1496         entry from ...
1497         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1498
1499 2014-07-17  Will Newton  <will.newton@linaro.org>
1500
1501         * sysdeps/arm/bits/atomic.h
1502         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1503         (__arch_compare_and_exchange_bool_16_int): Likewise.
1504         (__arch_compare_and_exchange_bool_64_int): Likewise.
1505
1506         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1507         into an #else block.
1508
1509 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1510
1511         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1512         just Linux configurations.  Test empirically that the compiler sets
1513         __ARM_EABI__, rather than using the tuple to decide.
1514         * sysdeps/arm/preconfigure: Regenerated.
1515         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1516         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1517         contents appended ...
1518         * sysdeps/arm/configure.ac: ... here.
1519         * sysdeps/arm/configure: Regenerated.
1520
1521 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1522
1523         * nptl/pthread_kill.c: New file.
1524         * nptl/pthread_sigmask.c: New file.
1525         * nptl/pthread_sigqueue.c: New file.
1526
1527         * sysdeps/nptl/lowlevellock.h: New file.
1528         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1529         * sysdeps/nptl/lowlevellock-futex.h: New file.
1530
1531         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1532         Remove dead declarations.
1533
1534 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1535
1536         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1537         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1538         config-cflags-avx2.
1539         * sysdeps/x86_64/configure.ac: Likewise.
1540         * sysdeps/i386/configure: Regenerated.
1541         * sysdeps/x86_64/configure: Likewise.
1542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1543         memset-avx2 only if config-cflags-avx2 is yes.
1544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1545         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1546         defined.
1547         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1548         only if HAVE_AVX2_SUPPORT is defined.
1549         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1550
1551 2014-07-14  Alan Modra  <amodra@gmail.com>
1552
1553         [BZ #17153]
1554         * elf/elf.h (DT_PPC64_NUM): Correct value.
1555         * NEWS: Add to fixed bug list.
1556
1557 2014-07-13  Jim Meyering  <meyering@fb.com>
1558
1559         [BZ 17150]
1560         regex: don't deref NULL upon heap allocation failure
1561         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1562         failure in one more place.
1563         To trigger the segfault, configure grep -with-included-regex,
1564         build it, and run these commands:
1565         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1566
1567 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1568
1569         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1570
1571 2014-07-11  Richard Henderson  <rth@redhat.com>
1572
1573         * sysdeps/aarch64/libm-test-ulps: Update.
1574
1575 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1576
1577         [BZ #17135]
1578         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1579         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1580         (__nptl_setxid): Initialize error member.  Call
1581         __nptl_setxid_error.
1582         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1583         * nptl/descr.h (struct xid_command): Add error member.
1584         * nptl/tst-setuid3.c: New file.
1585         * nptl/Makefile (tests): Add it.
1586
1587 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1588
1589         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1590         New define.
1591         (__lll_trylock): Use __lll_base_trylock.
1592         (__lll_cond_trylock): Likewise.
1593
1594 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1595
1596         * nptl/pthread_create.c (start_thread): Use atomic_or and
1597         lll_futex_wake directly rather than lll_robust_dead.
1598         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1599         (lll_robust_dead): Macro removed.
1600         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1601         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1602         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1603         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1604         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1605         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1606         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1607         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1608         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1609         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1610         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1611         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1612         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1615
1616         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1617         Use atomic_compare_and_exchange_val_acq directly rather than
1618         lll_robust_trylock.
1619         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1620         (__lll_robust_trylock, lll_robust_trylock): Removed.
1621         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1622         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1623         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1624         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1626         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1628         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1629         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1630         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1633         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1634         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1635
1636 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1637
1638         * manual/locale.texi (Locale Names): New section documenting
1639         locale name syntax.  Adjust menu and node chaining accordingly.
1640         (Choosing Locale): Reference Locale Names, Locale Categories.
1641         Mention setting LC_ALL=C.  Reflect that name syntax is now
1642         documented.
1643         (Locale Categories): New section title.  Reference Locale Names.
1644         LC_ALL is an environment variable, but not a category.
1645         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1646         description, now in Locale Name.  Reference that section.  Locale
1647         name syntax is now documented.
1648
1649 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1650
1651         [BZ #17137]
1652         * locale/findlocale.c (name_present, valid_locale_name): New
1653         functions.
1654         (_nl_find_locale): Use the loc_name variable to store name
1655         candidates.  Call name_present and valid_locale_name to check and
1656         validate locale names.  Return an error if the locale is invalid.
1657
1658 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1659
1660         * locale/setlocale.c (setlocale): Use strdup for allocating
1661         composite name copy.
1662
1663 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1664
1665         Sync up with gnulib.
1666         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1667         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1668         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1669         and _GL_ARG_NONNULL.
1670         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1671         [!_LIBC]: Include code for Windows and Cygwin.
1672         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1673         Include prototype for int strerror_r.
1674         [!_LIBC] (is_open): New function.
1675         (flush_stdout): New function.
1676         (print_errno_message): Use it.
1677         (error): Likewise.
1678         (error_at_line): Likewise.
1679         (error_tail) Add function attribute macros.  Use
1680         __builtin_expect.
1681
1682         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1683
1684         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1685
1686         * io/ftw.c: Include sys/param.h unconditionally.
1687
1688         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1689
1690         [BZ #17125]
1691         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1692         libc_freeres_ptr.
1693         (freecache): New function to free CACHE on exit.
1694
1695         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1696         initialization.
1697
1698 2014-07-09  David S. Miller  <davem@davemloft.net>
1699
1700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1701
1702         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1703         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1704         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1705         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1706         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1707         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1708         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1709         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1710         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1711         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1712         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1713         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1714         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1715
1716 2014-07-09  Andreas Schwab  <schwab@suse.de>
1717
1718         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1719         output.
1720         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1721         (do_test): Likewise.
1722
1723         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1724
1725 2014-07-09  Will Newton  <will.newton@linaro.org>
1726
1727         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1728         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1729         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1730         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1731         * sysdeps/hppa/start.S (_start): Likewise.
1732
1733 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1734
1735         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1736
1737         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1738         defined.
1739
1740 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1741
1742         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1743         after checking that it is non-NULL.
1744
1745         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1746
1747 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1748
1749         * sysdeps/powerpc/memmove.c: Remove file.
1750         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1751         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1752         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1753         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1754         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1755         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1756         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1757         string memmove instead of removed powerpc one.
1758
1759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1760         [weak_alias]: Fix compiler warning due trailing data.
1761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1762         [weak_alias]: Likewise.
1763         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1764         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1765
1766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1767         (__libc_ifunc_impl_list): Add memmove functions.
1768
1769 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1770
1771         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1772         Remove code.
1773         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1774         Likewise
1775         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1776         Likewise
1777         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1778         Likewise
1779         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1780         Likewise
1781         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1782         Likewise
1783         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1784         Likewise
1785         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1786         Likewise
1787         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1788         Likewise
1789         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1790         Likewise
1791         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1792         Likewise
1793         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1794         Likewise
1795         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1796         Likewise
1797         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1798         Likewise
1799         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1800         Likewise
1801         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1802         Likewise
1803         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1804         Likewise
1805
1806 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1807
1808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1809         to avoid alignment traps in non-cacheable memory.
1810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1811
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1813         multiarch objects.
1814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1815         file: multiarch power7 memmove.
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1817         multiarch default memmove.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1819         multiarch memove for powerpc32/power4.
1820
1821         * string/bcopy.c: Use full path to include memmove.c.
1822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1823         multiarch objects.
1824         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1825         bcopy for powerpc64.
1826         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1827         bcopy for powerpc64.
1828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1829         and memmove implementations.
1830         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1831         optimized multiarch memmove for POWER7/powerpc64.
1832         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1833         default multiarch memmove for powerpc64.
1834         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1835         multiarch for powerpc64.
1836         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1837         for POWER7/powerpc64.
1838         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1839         memmove for POWER7/powerpc64.
1840
1841         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1842         glibc default one.
1843
1844         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1845         __ELF_NATIVE_CLASS equal to 64.
1846
1847 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1848
1849         * sysdeps/nptl/lowlevellock.h: File removed.
1850
1851         * NEWS: NPTL is no longer an add-on!
1852         * nptl/internaltypes.h: Moved ...
1853         * sysdeps/nptl/internaltypes.h: ... here.
1854         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1855         * sysdeps/nptl/fork.c: Likewise.
1856         * sysdeps/nptl/gai_misc.h: Likewise.
1857         * sysdeps/nptl/librt-cancellation.c: Likewise.
1858         * sysdeps/nptl/jmp-unwind.c: Likewise.
1859         * sysdeps/nptl/setxid.h: Likewise.
1860         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1861         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1862         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1863         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1864         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1865         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1866         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1867         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1868         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1869         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1870         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1871         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1872         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1873         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1874         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1875         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1876         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1877         * nptl/Makeconfig: Moved ...
1878         * sysdeps/nptl/Makeconfig: ... here.
1879         * nptl/configure: File removed.
1880         * nptl/ANNOUNCE: File removed.
1881         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1882         * sysdeps/unix/sysv/linux/configure: Regenerated.
1883
1884         * nptl/Makefile (routines): Add libc_pthread_init,
1885         libc_multiple_threads, register-atfork and unregister-atfork.
1886         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1887         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1888         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1889         pthread-pi-defines.sym, structsem.sym.
1890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1891         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1892         [$(subdir) = nptl] (tests): Add tst-setgetname.
1893         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1894         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1895         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1896         [!LIBC_SIGACTION]: Remove aliases.
1897         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1898         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1899         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1900         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1901         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1902         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1903         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1906         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1907         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1908         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1909         __libc_allocate_rtsig_private.
1910         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1911         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1912         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1913         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1914         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1915         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1916         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1917         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1918         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1919         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1920         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1921         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1922         * nptl/internaltypes.h: ... here.
1923         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1924         * sysdeps/nptl/jmp-unwind.c: ... here.
1925         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1926         * nptl/libc-lowlevellock.c: ... here.
1927         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1928         * nptl/libc_multiple_threads.c: ... here.
1929         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1930         * nptl/libc_pthread_init.c: ... here.
1931         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1932         * nptl/lowlevelbarrier.sym: ... here.
1933         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1934         * nptl/lowlevelcond.sym: ... here.
1935         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1936         * nptl/lowlevellock.c: ... here.
1937         * nptl/lowlevellock.h: Moved ...
1938         * sysdeps/nptl/lowlevellock.h: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1940         * nptl/lowlevelrobustlock.c: ... here.
1941         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1942         * nptl/lowlevelrobustlock.sym: ... here.
1943         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1944         * nptl/lowlevelrwlock.sym: ... here.
1945         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1946         * nptl/pt-fork.c: ... here.
1947         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1948         * nptl/pthread-pi-defines.sym: ... here.
1949         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1950         * nptl/pthread_attr_getaffinity.c: ... here.
1951         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1952         * nptl/pthread_attr_setaffinity.c: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1954         * nptl/pthread_mutex_cond_lock.c: ... here.
1955         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1956         Update #include.
1957         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1958         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1959         * nptl/pthread_once.c: ... here, replacing old file.
1960         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1961         * nptl/pthread_yield.c: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1963         * nptl/register-atfork.c: ... here.
1964         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1965         * nptl/sem_post.c: ... here.
1966         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1967         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1968         * nptl/sem_timedwait.c: ... here.
1969         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1970         * nptl/sem_trywait.c: ... here.
1971         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1972         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1973         * nptl/sem_wait.c: ... here.
1974         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1975         * nptl/structsem.sym: ... here.
1976         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1977         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1978         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1979         * nptl/unregister-atfork.c: ... here.
1980         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1981         * nptl/unwindbuf.sym: ... here.
1982         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1983         * sysdeps/nptl/fork.c: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1985         * sysdeps/nptl/fork.h: ... here.
1986         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1987         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1988         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1990         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1991         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1992         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1993         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1994         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1996         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1997         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1998         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1999         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2000         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2002         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2003         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2004         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2005         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2006         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2008         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2009         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2010         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2011         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2012         * sysdeps/unix/sysv/linux/raise.c: ... here.
2013         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2014         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2016         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2017         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2018         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2020         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2021         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2022         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2023         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2024         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2025         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2026         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2027         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2028
2029 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2030
2031         * sysdeps/generic/memcopy.h: Add comment for
2032         MEMCPY_OK_FOR_FWD_MEMMOVE.
2033
2034 2014-07-04  Will Newton  <will.newton@linaro.org>
2035
2036         * string/memchr.c: Merge from gnulib.
2037         [_LIBC]: Remove conditionals.
2038         (__ptr_t): Remove define.
2039         (LONG_MAX_32_BITS): Likewise.
2040         (LONG_MAX): Likewise.
2041         (MEMCHR): Use ANSI prototype and optimize algorithm.
2042
2043         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2044
2045 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2046
2047         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2048         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2049
2050         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2051         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2052         in a bare environment with no <stdlib.h> installed.
2053         * sysdeps/nptl/configure: Regenerated.
2054
2055         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2056
2057         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2058         AC_EGREP_CPP for kernel header checks, so they only succeed if
2059         including <linux/version.h> actually works right.
2060         * sysdeps/unix/sysv/linux/configure: Regenerated.
2061
2062         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2063         value so it's not diagnosed as unused.
2064
2065         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2066         thing) with "ifeq ($(subdir),rt)".
2067
2068 2014-07-03  Richard Henderson  <rth@redhat.com>
2069
2070         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2071         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2072         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2073
2074         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2075         (math_force_eval): New.
2076
2077         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2078         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2079
2080         * sysdeps/alpha/fpu/s_round.c: Remove file.
2081         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2082
2083         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2084         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2085         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2086         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2087         (_dl_start, print_statistics): Likewise.
2088         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2089         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2090
2091         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2092         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2093         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2094         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2095         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2096         (HP_SMALL_TIMING_AVAIL): Define.
2097         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2098         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2099         (HP_SMALL_TIMING_AVAIL): Define.
2100         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2101         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2102
2103         * sysdeps/aarch64/hp-timing.h: New file.
2104
2105         * sysdeps/generic/hp-timing.h: Remove dead comment.
2106         * sysdeps/generic/hp-timing-common.h: New file.
2107         * sysdeps/alpha/hp-timing.h: Include it.
2108         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2109         * sysdeps/i386/i686/hp-timing.h: Likewise.
2110         * sysdeps/ia64/hp-timing.h: Likewise.
2111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2112         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2113         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2114         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2115         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2116         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2117         (hp_timing_t): New.
2118
2119         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2120         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2121         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2122         * elf/rtld.c (_dl_start_final): Likewise.
2123         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2124         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2125         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2126         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2127         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2129         (HP_TIMING_DIFF_INIT): Remove.
2130         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2132         (HP_TIMING_DIFF_INIT): Remove.
2133         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2134         * sysdeps/i386/i686/hp-timing.c: Remove file.
2135         * sysdeps/x86_64/hp-timing.c: Remove file.
2136         * sysdeps/ia64/hp-timing.c: Remove file.
2137         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2138         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2139         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2140         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2141
2142         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2143         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2144         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2145         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2146         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2147         (HP_TIMING_ACCUM): Remove.
2148         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2150         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2151
2152         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2153         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2154         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2155         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2156         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2157         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2159         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2160
2161         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2162
2163 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2164
2165         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2166
2167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2168
2169         Sync up with gettext.
2170         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2171         [_MSC_VER]: Include malloc.h
2172         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2173         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2174         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2175         TEMP_FAILURE_RETRY.  Cast return of alloca.
2176         [!_LIBC] Call gl_rwlock_init.
2177         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2178
2179 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2180
2181         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2182         before checking its value.
2183
2184 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2185
2186         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2187
2188         * debug/memcpy_chk.c: Don't include pagecopy.h.
2189         * debug/mempcpy_chk.c: Likewise.
2190         * string/memcpy.c: Likewise.
2191         * string/memmove.c: Likewise.
2192         * sysdeps/powerpc/memmove.c: Likewise.
2193         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2194         definition of PAGE_COPY_FWD_MAYBE here...
2195         * sysdeps/generic/pagecopy.h: ... from here.
2196         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2197
2198 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2199             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2200
2201         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2203         optimizations.
2204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2205         (__libc_ifunc_impl_list): Likewise.
2206         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2207         multiarch strcat for PPC64.
2208         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2209         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2210
2211 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2212
2213         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2214
2215 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2216
2217         * intl/loadmsgcat.c: Remove declaration of
2218         get_sysdep_segment_value.
2219         (get_sysdep_segment_value): Use ISO C style.
2220         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2221         semicolon.  Fix typo and formatting in comment.
2222         (_nl_unload_domain): Use ISO C style.
2223
2224         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2225
2226 2014-07-02  Will Newton  <will.newton@linaro.org>
2227
2228         * malloc/obstack.c: Merge from gnulib master.
2229         [HAVE_CONFIG_H]: Remove conditional code.
2230         [!_LIBC]: Include config.h.
2231         [!ELIDE_CODE]: Don't include inttypes.h, include
2232         stdint.h unconditionally.
2233         (print_and_abort): Mark as _Noreturn.
2234         (_obstack_allocated_p): Mark as __attribute_pure__.
2235         (obstack_free): Rename to __obstack_free.
2236         [!__attribute__]: Remove conditional code.
2237         * malloc/obstack.h: Merge from gnulib master.
2238         [__cplusplus]: Move conditional down.
2239         [!__attribute_pure__]: Define __attribute_pure__ here
2240         if it is not already defined.
2241         (_obstack_memory_used): Mark as __attribute_pure__.
2242         [!__obstack_free]: Define as obstack_free.
2243         [__GNUC__]: Remove check for ancient NeXT gcc.
2244
2245 2014-07-02  Will Newton  <will.newton@linaro.org>
2246             Paul Eggert  <eggert@cs.ucla.edu>
2247
2248         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2249
2250 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2251
2252         * resolv/gethnamaddr.c: Add comment warning that the file is
2253         not maintained.
2254
2255 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2256
2257         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2258         entries.
2259
2260         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2261         entry for aio_cancel and aio_cancel64.
2262         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2263         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2264         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2265         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2266         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2267         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2269         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2270         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2271         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2272         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2273         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2274         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2275
2276 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2277
2278         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2279         * nptl/pthread_mutex_lock.c: Likewise.
2280         * nptl/pthread_mutex_timedlock.c: Likewise.
2281         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2282
2283 2014-07-01  Richard henderson  <rth@redhat.com>
2284
2285         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2286         (__isnan, __isnanl): Remove.
2287         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2288
2289         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2290
2291 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2292
2293         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2294
2295 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2296
2297         * resolv/nss_dns/dns-host.c (getanswer_r)
2298         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2299
2300 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2301
2302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2303         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2304         undefine.
2305         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2306         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2307
2308 2014-07-01  Roland McGrath <roland@hack.frob.com>
2309
2310         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2311         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2312
2313         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2314         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2315
2316         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2318         ... here.
2319         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2320         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2321
2322         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2323         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2324         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2325         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2326
2327         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2328         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2329         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2332         Moved ...
2333         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2334         ... here.
2335         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2346         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2348         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2350         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2352         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2355         ... here.
2356         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2359         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2360         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2361         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2362         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2363         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2364
2365 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2366
2367         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2368         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2369         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2370         Add sysdep.
2371
2372 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2373
2374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2375
2376 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2377
2378         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2379         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2380
2381         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2382
2383         * sysdeps/arm/libm-test-ulps: Regenerated.
2384
2385 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2386             Roland McGrath <roland@hack.frob.com>
2387
2388         * test-skeleton.c (signal_handler): Kill the whole process group
2389         before killing the child individually.
2390         (main): Report any failure on `setpgid'.
2391
2392 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2393
2394         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2395         from _TLS_H to _ARM_NPTL_TLS_H.
2396         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2397         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2398
2399 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2400
2401         [BZ #16539]
2402         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2403         (__expm1l): Return argument unchanged when small but not
2404         subnormal.
2405
2406         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2407         include macro name.
2408         (_FP_UNPACK_RAW_1_P): Likewise.
2409         (_FP_PACK_RAW_1): Likewise.
2410         (_FP_PACK_RAW_1_P): Likewise.
2411         (_FP_MUL_MEAT_1_wide): Likewise.
2412         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2413         (_FP_MUL_MEAT_1_hard): Likewise.
2414         (_FP_DIV_MEAT_1_imm): Likewise.
2415         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2416         (_FP_DIV_MEAT_1_udiv): Likewise.
2417         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2418         (_FP_UNPACK_RAW_2): Likewise.
2419         (_FP_UNPACK_RAW_2_P): Likewise.
2420         (_FP_PACK_RAW_2): Likewise.
2421         (_FP_PACK_RAW_2_P): Likewise.
2422         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2423         (_FP_MUL_MEAT_2_wide): Likewise.
2424         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2425         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2426         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2427         (_FP_MUL_MEAT_2_gmp): Likewise.
2428         (_FP_DIV_MEAT_2_udiv): Likewise.
2429         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2430         (_FP_FRAC_SRL_4): Likewise.
2431         (_FP_FRAC_SRST_4): Likewise.
2432         (_FP_FRAC_SRS_4): Likewise.
2433         (_FP_UNPACK_RAW_4): Likewise.
2434         (_FP_UNPACK_RAW_4_P): Likewise.
2435         (_FP_PACK_RAW_4): Likewise.
2436         (_FP_PACK_RAW_4_P): Likewise.
2437         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2438         (_FP_MUL_MEAT_4_wide): Likewise.
2439         (_FP_MUL_MEAT_4_gmp): Likewise.
2440         (umul_ppppmnnn): Likewise.
2441         (_FP_DIV_MEAT_4_udiv): Likewise.
2442         (__FP_FRAC_ADD_4): Likewise.
2443         (__FP_FRAC_SUB_3): Likewise.
2444         (__FP_FRAC_SUB_4): Likewise.
2445         (__FP_FRAC_DEC_3): Likewise.
2446         (__FP_FRAC_DEC_4): Likewise.
2447         (__FP_FRAC_ADDI_4): Likewise.
2448         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2449         (_FP_FRAC_SRL_8): Likewise.
2450         (_FP_FRAC_SRS_8): Likewise.
2451
2452         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2453         include macro name.
2454         (FP_UNPACK_RAW_EP): Likewise.
2455         (FP_PACK_RAW_E): Likewise.
2456         (FP_PACK_RAW_EP): Likewise.
2457         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2458         (_FP_ISSIGNAN): Likewise.
2459         (_FP_ADD_INTERNAL): Likewise.
2460         (_FP_FMA): Likewise.
2461         (_FP_CMP): Likewise.
2462         (_FP_SQRT): Likewise.
2463         (_FP_TO_INT): Likewise.
2464         (_FP_FROM_INT): Likewise.
2465         (FP_EXTEND): Likewise.
2466         (_FP_DIV_MEAT_N_loop): Likewise.
2467
2468 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2469
2470         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2471         throughout.
2472
2473 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2474
2475         [BZ #17097]
2476         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2477         result with correct sign in case of exponents that produce
2478         overflow except for X very close to 1.
2479
2480 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2481
2482         mktime: merge #if/#ifdef usage from glibc
2483         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2484         as that works with both Glibc's and Gnulib's style.
2485         See thread starting at Siddhesh Poyarekar's bug report at:
2486         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2487
2488 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2489
2490         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2491         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2492         * sysdeps/tile/tilegx/memmove.c: Remove file.
2493
2494 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2495
2496         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2497         abi-name definition.
2498         * scripts/soversions.awk: Do not handle or generate ABI lines.
2499         * shlib-versions: Remove ABI entries.
2500         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2501         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2502
2503 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2504
2505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2506         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2507         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2508         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2510         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2512         Moved ...
2513         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2514         ... here.
2515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2516         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2518         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2520         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2522         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2524         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2526         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2528         Moved ...
2529         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2535         Moved ...
2536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2538         Moved ...
2539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2543         Moved ...
2544         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2546         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2548         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2550         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2552         Moved ...
2553         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2555         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2556         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2557         Moved ...
2558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2560         Moved ...
2561         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2563         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2565         Moved ...
2566         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2567         ... here.
2568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2569         Identical file removed.
2570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2571         Moved ...
2572         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2574         Identical file removed.
2575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2576         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2578         Moved ...
2579         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2581         Identical file removed.
2582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2583         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2585         Identical file removed.
2586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2587         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2589         Identical file removed.
2590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2591         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2593         Identical file removed.
2594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2595         Moved ...
2596         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2598         Identical file removed.
2599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2600         Moved ...
2601         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2603         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2605         Identical file removed.
2606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2607         Moved ...
2608         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2609         ... here.
2610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2611         Identical file removed.
2612         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2613         Moved ...
2614         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2615         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2616         Identical file removed.
2617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2618         Moved ...
2619         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2621         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2623         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2625         Moved ...
2626         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2627         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2628         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2629
2630         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2631         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2632         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2633         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2634         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2635
2636 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2637
2638         [BZ #17092]
2639         * nscd/nscd.c (monitor_child): Return exit status of child
2640         instead of return value from wait syscall.
2641
2642 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2643
2644         * configure.ac (libc_commonpagesize): Remove variable.
2645         (libc_relro_required): Likewise.
2646         (libc_cv_z_relro): Remove configure test.
2647         * configure: Regenerated.
2648         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2649         variable.
2650         (libc_relro_required): Likewise.
2651         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2652         (libc_relro_required): Likewise.
2653         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2654         (libc_relro_required): Likewise.
2655         * sysdeps/arm/preconfigure: Regenerated.
2656         * sysdeps/ia64/preconfigure: Remove file.
2657         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2658         variable.
2659         (libc_relro_required): Likewise.
2660
2661         [BZ #16561]
2662         [BZ #16562]
2663         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2664         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2665         recompute overflowing results in original rounding mode.
2666         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2667         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2668         recompute overflowing results in original rounding mode.
2669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2670         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2671         recompute overflowing results in original rounding mode.
2672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2673         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2674         recompute overflowing results in original rounding mode.
2675         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2676         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2677         recompute overflowing results in original rounding mode.
2678         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2679         (libc_feholdsetround_ctx): New macro.
2680         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2681         * sysdeps/i386/fpu/libm-test-ulps: Update.
2682         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2683
2684 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2685
2686         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2687         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2688         corresponding .cpsetup call.
2689
2690 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2691
2692         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2693         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2694         * sysdeps/arm/Makefile [$(subdir) = csu]
2695         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2696         (static-only-routines): Add aeabi_read_tp here.
2697         (shared-only-routines): Add libc-aeabi_read_tp here.
2698         (CFLAGS-libc-start.c): Add -fexceptions here.
2699         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2700         (sysdep_routines, static-only-routines, shared-only-routines):
2701         Don't add to these here.
2702         (CFLAGS-libc-start.c): Likewise.
2703
2704         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2705         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2706         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2707         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2708         * sysdeps/arm/Makefile [$(subdir) = rt]
2709         (librt-sysdep_routines, librt-shared-only-routines):
2710         Append rt-aeabi_unwind_cpp_pr1 here.
2711         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2712         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2713         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2714         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2715         Append nptl-aeabi_unwind_cpp_pr1 here.
2716         (tests): Filter out tst-cleanupx4 here.
2717         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2718         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2719         Don't do those here.
2720
2721 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2722
2723         * scripts/list-sources.sh: Do not handle ports specially.
2724
2725 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2726
2727         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2728         * sysdeps/arm/feupdateenv.c: Likewise.
2729
2730         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2731
2732 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2733
2734         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2735         trailing whitespace removed.
2736         * scripts/config.guess: Update to version 2014-03-23.
2737         * scripts/config.sub: Update to version 2014-05-01
2738         * scripts/install-sh: Update to version 2013-12-25.23.
2739         * scripts/move-if-change: Update from gnulib.
2740
2741 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2742
2743         * debug/memmove_chk.c: Remove pagecopy.h include.
2744
2745 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2746
2747         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2748         identical to gnulib mktime.
2749
2750 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2751
2752         * configure.ac: Do not test for machine being rs6000.  Do not test
2753         for powerpc*-*soft.
2754         * configure: Regenerated.
2755
2756         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2757         test.
2758         * configure: Regenerated.
2759         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2760         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2761         Remove configure test.
2762         * sysdeps/arm/configure: Regenerated.
2763         * sysdeps/nptl/configure.ac: Do not check
2764         libc_cv_asm_cfi_directives.
2765         * sysdeps/nptl/configure: Regenerated.
2766         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2767         * sysdeps/x86_64/nptl/configure: Remove generated file.
2768         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2769         unconditional.
2770         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2771
2772 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2773
2774         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2775         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2776         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2777         it is defined.
2778
2779         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2780         instead of whether it is defined.
2781         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2782         * sysdeps/hppa/dl-machine.h: Likewise.
2783         * sysdeps/ia64/dl-machine.h: Likewise.
2784         * sysdeps/m68k/dl-machine.h: Likewise.
2785         * sysdeps/microblaze/dl-machine.h: Likewise.
2786         * sysdeps/mips/dl-machine.: Likewise.
2787         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2788         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2789         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2790         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2791         * sysdeps/sh/dl-machine.h: Likewise.
2792         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2793         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2794         * sysdeps/tile/dl-machine.h: Likewise.
2795         * sysdeps/x86_64/dl-machine.h: Likewise.
2796
2797         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2798         code.
2799         (verify_persistent_db): Likewise.
2800
2801 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2802
2803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2804         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2806         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2810         ... here.
2811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2812         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2814         Identical file removed.
2815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2816         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2818         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2822         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2824         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2826         Moved ...
2827         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2829         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2831         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2833         Moved ...
2834         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2836         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2838         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2840         Identical file removed.
2841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2842         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2844         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2846         Moved ...
2847         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2848         ... here.
2849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2850         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2852         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2854         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2856         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2858         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2860         Moved ...
2861         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2863         Moved ...
2864         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2866         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2868         Moved ...
2869         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2871         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2872
2873         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2874         folded into ...
2875         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2876         * sysdeps/unix/sysv/linux/s390/Versions
2877         (libpthread: GLIBC_2.19): New version set.
2878         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2879         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2880         (librt: GLIBC_2.3.3): New version set.
2881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2882         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2883         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2884         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2885         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2886         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2887         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2888         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2889         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2890         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2891         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2892         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2893         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2894         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2895         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2896         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2897         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2898         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2899         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2900         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2901         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2903         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2905         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2909         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2911         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2912         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2917         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2919         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2923         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2925         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2926
2927         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2928         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2929         (__libc_vfork): Define the function under this name.
2930         [!NOT_IN_libc] (__vfork): Make this an alias.
2931         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2933         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2934         (__libc_vfork): Define the function under this name.
2935         [!NOT_IN_libc] (__vfork): Make this an alias.
2936         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2937         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2938         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2941         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2942
2943         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2944         code that was previously under [RESET_PID].
2945         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2947         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2948
2949         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2950         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2952         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2954         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2955         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2956         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2957         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2960         Moved ...
2961         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2962         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2963         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2964         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2966         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2967         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2968         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2969         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2970         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2971         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2973         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2985         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2986         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2987         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2989         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2990
2991 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2992
2993         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2994         that was previously under [RESET_PID].
2995         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2996
2997 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2998
2999         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3000         not undefine and redefine.
3001         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3002         [O_CLOEXEC]: Make code unconditional.
3003         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3004         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3005         <kernel-features.h>.
3006         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3007         conditional variable definition.
3008         (shm_open) [O_CLOEXEC]: Make code unconditional.
3009         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3010         code.
3011
3012         * configure.ac (USE_REGPARMS): Don't define here.
3013         * configure: Regenerated.
3014         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3015         * sysdeps/i386/configure: Regenerated.
3016
3017         * nptl/createthread.c: Don't include kernel-features.h.
3018         * nptl/pthread_cancel.c: Likewise.
3019         * nptl/pthread_condattr_setclock.c: Likewise.
3020         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3021         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3022         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3023         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3024         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3025         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3026         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3029         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3030         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3031         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3032         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3033         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3034         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3035         * nscd/gai.c: Likewise.
3036         * nss/nss_db/db-open.c: Likewise.
3037         * sysdeps/generic/ldsodefs.h: Likewise.
3038         * sysdeps/sh/nptl/tls.h: Likewise.
3039         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3040         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3041         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3042         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3043         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3044         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3045         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3046         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3047         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3048         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3049         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3050         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3051         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3052         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3053         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3054         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3055         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3056         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3057         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3058         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3061         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3062         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3067         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3068         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3069         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3070         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3071         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3072         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3073         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3074         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3075         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3076         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3077         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3078         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3079         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3080         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3081         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3082         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3083         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3084         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3085         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3086         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3087         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3088         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3089         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3090         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3091         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3092         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3093         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3094         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3095         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3096         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3119         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3120         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3121         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3122         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3123         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3124         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3125         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3126         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3127         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3128         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3129         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3130         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3131         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3132         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3133         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3134         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3136         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3137         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3138         * sysdeps/unix/sysv/linux/system.c: Likewise.
3139         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3140         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3141         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3142         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3143         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3144         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3145         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3146
3147         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3148         * configure: Regenerated.
3149         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3150
3151         * configure.ac (base_machine): Do not set specially for particular
3152         machines here.
3153         * configure: Regenerated.
3154         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3155         settings from configure.ac.
3156         * sysdeps/i386/preconfigure: New file.
3157         * sysdeps/s390/preconfigure: Likewise.
3158         * sysdeps/sh/preconfigure: Likewise.
3159         * sysdeps/sparc/preconfigure: Likewise.
3160
3161 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3162
3163         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3164         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3165         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3166         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3167         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3168         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3169         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3170         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3171         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3172         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3173         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3174         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3175         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3176         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3179         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3180         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3181         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3182
3183         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3184         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3185         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3186         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3187         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3188         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3189         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3190         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3191         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3192         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3193         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3194         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3195         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3196         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3197         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3198         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3199         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3200         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3201         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3202         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3203         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3204         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3206         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3208         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3214         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3215         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3216         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3218         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3220         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3221
3222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3223         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3225         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3227         Moved ...
3228         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3229         ... here.
3230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3231         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3233         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3235         Moved ...
3236         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3238         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3240         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3242         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3244         Moved ...
3245         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3247         Moved ...
3248         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3250         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3252         Moved ...
3253         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3255         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3259         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3261         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3263         Moved ...
3264         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3265         ... here.
3266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3267         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3269         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3271         Moved ...
3272         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3274         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3276         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3278         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3280         Moved ...
3281         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3283         Moved ...
3284         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3286         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3288         Moved ...
3289         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3291         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3294
3295 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3296
3297         * timezone/checktab.awk: Update from tzcode 2014e.
3298         * timezone/private.h: Likewise.
3299         * timezone/tzfile.h: Likewise.
3300         * timezone/zdump.c: Likewise.
3301         * timezone/zic.c: Likewise.
3302
3303         * sysdeps/unix/sysv/linux/kernel-features.h
3304         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3305         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3306         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3307         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3308         Remove conditional code.
3309
3310 2014-06-25  Will Newton  <will.newton@linaro.org>
3311
3312         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3313         (_dl_arm_cap_flags): Add HWCAP2 values.
3314         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3315         (_DL_HWCAP_COUNT): Increase to 37.
3316         (_DL_HWCAP_LAST): New define.
3317         (_DL_HWCAP2_LAST): New define.
3318         (_dl_procinfo): Add support for printing
3319         AT_HWCAP2 entries.
3320         (_dl_string_hwcap): Use _dl_hwcap_string.
3321
3322 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3323
3324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3325
3326 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3327
3328         * README: Do not mention ports directory.
3329
3330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3331         Remove macro.
3332         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3333         <kernel-features.h>.
3334         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3335         conditional variable definition.
3336         (__futimes): Update comment.
3337         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3338         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3339
3340         [BZ #16560]
3341         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3342         arguments close to 0.
3343         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3344         Likewise.
3345         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3346         Likewise.
3347         * math/auto-libm-test-in: Add more tests of exp10.
3348         * math/auto-libm-test-out: Regenerated.
3349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3350
3351         * sysdeps/unix/sysv/linux/kernel-features.h
3352         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3353         * sysdeps/unix/sysv/linux/readv.c: Do not include
3354         <kernel-features.h>.
3355         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3356         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3357         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3358         unconditional.
3359         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3360         conditional code.
3361         * sysdeps/unix/sysv/linux/writev.c: Do not include
3362         <kernel-features.h>.
3363         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3364         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3365         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3366         unconditional.
3367         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3368         conditional code.
3369
3370 2014-06-25  Will Newton  <will.newton@linaro.org>
3371
3372         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3373         comment changes throughout the file.  Remove checks
3374         for HAVE_*_H definitions that are not required.
3375         (__gen_tempname): Call abort if an unknown kind value is
3376         passed.
3377
3378 2014-06-25  Andreas Schwab  <schwab@suse.de>
3379
3380         [BZ #17086]
3381         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3382         scalbln, scalblnf, scalblnl in libc.
3383
3384 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385
3386         [BZ #17086]
3387         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3388         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3389         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3390
3391 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3392
3393         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3394         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3395         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3396         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3397         Update #include.
3398         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3399         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3400         Update #include.
3401         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3402         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3403         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3404         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3405         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3406         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3407         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3408         * sysdeps/x86/bits/semaphore.h: ... here.
3409         * sysdeps/x86/nptl/elide.h: Moved ...
3410         * sysdeps/x86/elide.h: ... here.
3411         * sysdeps/x86_64/nptl/Implies: File removed.
3412         * sysdeps/i386/nptl/Implies: File removed.
3413
3414 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3415
3416         [BZ #16539]
3417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3418         return the argument for normal arguments with exponent below -64.
3419         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3420         Likewise.
3421         * math/auto-libm-test-in: Add another test of expm1.
3422         * math/auto-libm-test-out: Regenerated.
3423
3424         [BZ #16287]
3425         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3426         calling __erfcl for arguments at least 16.
3427         * math/auto-libm-test-in: Add more tests of erf.
3428         * math/auto-libm-test-out: Regenerated.
3429
3430         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3431         individual architectures.
3432         * sysdeps/unix/sysv/linux/configure: Regenerated.
3433         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3434         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3435         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3436         (ldd_rewrite_script): Define variable.
3437         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3439         file.
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3441         generated file.
3442         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3443         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3444         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3445         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3446         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3447         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3448         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3449         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3450
3451 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3452
3453         [BZ #17084]
3454         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3455         Rename member __data.d to __data.__elision_data.
3456
3457 2014-06-24  Wilco  <wdijkstr@arm.com>
3458
3459         * NEWS: Add 16918 to fixed bug list.
3460
3461 2014-06-24  Wilco  <wdijkstr@arm.com>
3462
3463         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3464
3465 2014-06-24  Wilco  <wdijkstr@arm.com>
3466
3467         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3468         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3469         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3470         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3471         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3472         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3473         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3474         Use _FPU_MASK_RM.
3475
3476 2014-06-24  Wilco  <wdijkstr@arm.com>
3477
3478         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3479
3480 2014-06-24  Wilco  <wdijkstr@arm.com>
3481
3482         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3483         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3484         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3485         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3486
3487 2014-06-24  Wilco  <wdijkstr@arm.com>
3488
3489         [BZ #16918]
3490         * sysdeps/arm/feupdateenv.c (feupdateenv):
3491         Rewrite to reduce FPSCR accesses and fix return value.
3492
3493 2014-06-24  Wilco  <wdijkstr@arm.com>
3494
3495         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3496         Optimize to avoid unnecessary FPSCR writes.
3497         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3498         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3499         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3500         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3501
3502 2014-06-24  Wilco  <wdijkstr@arm.com>
3503
3504         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3505         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3506         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3507         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3508         Call libc_fetestexcept_vfp.
3509         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3510         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3511         __SOFTFP__ ifdef so that they can be built for softfp.
3512
3513 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3514
3515         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3516         argument type signed char.
3517
3518         * Makerules (check-abi): Dump diff of symlist if the test
3519         fails.
3520
3521 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3522
3523         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3524         using abort.
3525
3526         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3527         Remove unused variable ST.
3528
3529 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3530
3531         [BZ #16354]
3532         [BZ #17061]
3533         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3534         small arguments before calling __expm1.
3535         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3536         small arguments before calling __expm1f.
3537         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3538         small arguments before calling __expm1l.
3539         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3540         Likewise.
3541         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3542         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3543         spurious underflow for some cosh tests.
3544         * math/auto-libm-test-out: Regenerated.
3545         * sysdeps/i386/fpu/libm-test-ulps: Update.
3546
3547         [BZ #17050]
3548         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3549         (__ieee754_y1): Set errno if return value overflows.
3550         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3551         (__ieee754_y1f): Set errno if return value overflows.
3552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3553         (__ieee754_y1l): Set errno if return value overflows.
3554         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3555         (__ieee754_y1l): Set errno if return value overflows.
3556         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3557         * math/auto-libm-test-out: Regenerated.
3558
3559         * math/gen-auto-libm-tests.c: Document use of
3560         ignore-zero-inf-sign.
3561         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3562         (input_flags): Add ignore-zero-inf-sign.
3563         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3564         * math/gen-libm-test.pl (generate_testfile): Handle
3565         ignore-zero-inf-sign.
3566         * math/auto-libm-test-in: Mark some cpow tests with
3567         ignore-zero-inf-sign and some with xfail-rounding.
3568         * math/auto-libm-test-out: Regenerated.
3569         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3570         * sysdeps/i386/fpu/libm-test-ulps: Update.
3571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3572
3573         [BZ #16315]
3574         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3575         overflowing or underflowing operations take place with sign of
3576         result.
3577         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3578         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3579         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3580         (__ieee754_pow): Recompute overflowing and underflowing results in
3581         original rounding mode.
3582         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3583         (__powl_helper): Allow negative argument X and scale negated value
3584         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3585         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3586         overflowing or underflowing operations take place with sign of
3587         result.
3588         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3589         Include <math.h>.
3590         * math/auto-libm-test-in: Add more tests of pow.
3591         * math/auto-libm-test-out: Regenerated.
3592         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3593         (pow_tonearest_test_data): Remove.
3594         (pow_test_tonearest): Likewise.
3595         (pow_towardzero_test_data): Likewise.
3596         (pow_test_towardzero): Likewise.
3597         (pow_downward_test_data): Likewise.
3598         (pow_test_downward): Likewise.
3599         (pow_upward_test_data): Likewise.
3600         (pow_test_upward): Likewise.
3601         (main): Don't call removed functions.
3602         * sysdeps/i386/fpu/libm-test-ulps: Update.
3603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604
3605 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3606
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3608         Moved ...
3609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3611         Moved ...
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3614         Moved ...
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3617         Moved ...
3618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3620         File removed.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3622         File removed.
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3624         File removed.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3626         File removed.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3628         File removed.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3630         File removed.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3632         File removed.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3634         File removed.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3636         File removed.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3638         File removed.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3640         File removed.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3642         File removed.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3644         Moved ...
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3647         Moved ...
3648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3649         ... here.
3650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3651         Moved ...
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3654         Moved ...
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3657         Moved ...
3658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3660         Moved ...
3661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3663         Moved ...
3664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3666         Moved ...
3667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3669         Moved ...
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3673         ... here.
3674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3675         Moved ...
3676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3678         Moved ...
3679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3680         ... here.
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3682         Moved ...
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3684         ... here.
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3686         Moved ...
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3688         ... here.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3693         Moved ...
3694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3700         ... here.
3701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3702         Moved ...
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3704         ... here.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3706         Moved ...
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3709         Moved ...
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3712         Moved ...
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3715         Moved ...
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3718         Moved ...
3719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3720         ... here.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3722         Moved ...
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3725         Moved ...
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3728         Moved ...
3729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3731         Moved ...
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3736         Moved ...
3737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3739         Moved ...
3740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3742         Moved ...
3743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3744         ... here.
3745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3746         Moved ...
3747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3748         ... here.
3749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3750         Moved ...
3751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3752         ... here.
3753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3754         Moved ...
3755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3757         Moved ...
3758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3760         Moved ...
3761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3765         ... here.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3767         Moved ...
3768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3769         ... here.
3770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3771         Moved ...
3772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3773         ... here.
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3775         Moved ...
3776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3778         Moved ...
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3780
3781 2014-06-23  Will Newton  <will.newton@linaro.org>
3782             Wilco  <wdijkstr@arm.com>
3783
3784         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3785         implementation.  Include get-rounding-mode.h.
3786         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3787         [!libc_feholdsetround_noex_ctx]: Define
3788         libc_feholdsetround_noex_ctx.
3789         [!libc_feholdsetround_noexf_ctx]: Define
3790         libc_feholdsetround_noexf_ctx.
3791         [!libc_feholdsetround_noexl_ctx]: Define
3792         libc_feholdsetround_noexl_ctx.
3793         (libc_feholdsetround_ctx): New function.
3794         (libc_feresetround_ctx): New function.
3795         (libc_feholdsetround_noex_ctx): New function.
3796         (libc_feresetround_noex_ctx): New function.
3797
3798 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3799
3800         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3801         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3802         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3803         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3804         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3805         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3806
3807         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3808         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3809         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3810         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3811         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3812         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3814         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3816         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3818         Moved ...
3819         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3820         ... here.
3821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3822         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3824         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3826         Moved ...
3827         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3829         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3831         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3833         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3835         Moved ...
3836         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3838         Moved ...
3839         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3841         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3843         Moved ...
3844         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3846         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3847         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3848         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3849         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3850         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3852         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3854         Moved ...
3855         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3856         ... here.
3857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3858         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3860         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3862         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3864         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3868         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3870         Moved ...
3871         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3873         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3875         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3877         Moved ...
3878         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3880         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3881         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3882         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3883
3884         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3885         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3886         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3887         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3888         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3889         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3890         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3891         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3893         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3895         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3896         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3897         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3898         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3899         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3901         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3902         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3903         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3904         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3905         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3906         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3907         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3908         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3909         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3910         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3911         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3912
3913 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3914
3915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3916         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3917         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3918         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3919         (IPV6_PMTUDISC_INTERFACE): Likewise.
3920         (IPV6_PMTUDISC_OMIT): Likewise.
3921
3922 2014-06-23  Andreas Schwab  <schwab@suse.de>
3923
3924         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3925         Remove unused errout label.
3926
3927 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3928
3929         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3930         macro: hardware supports Vector Crypto instructions.
3931
3932 2014-06-23  Will Newton  <will.newton@linaro.org>
3933
3934         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3935         rather than __builtin_expect.
3936
3937         * elf/dl-lookup.c (undefined_msg): Remove variable.
3938         (_dl_lookup_symbol_x): Replace undefined_msg with string
3939         literal.
3940
3941         * elf/dl-lookup.c (do_lookup_unique): New function.
3942         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3943         to a separate function.
3944
3945 2014-06-23  Andreas Schwab  <schwab@suse.de>
3946
3947         [BZ #17079]
3948         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3949         before reading the next line.
3950
3951 2014-06-23  Will Newton  <will.newton@linaro.org>
3952
3953         * test-skeleton.c (signal_handler): Use printf and %m
3954         rather than perror.  Use printf rather than fprintf to
3955         stderr.  Use puts rather than fputs to stderr.
3956         (main): Likewise.
3957
3958 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3959
3960         * nscd/nscd.c (thread_info_t): Remove typedef.
3961         (thread_info): Remove variable.
3962
3963 2014-06-21  Allan McRae  <allan@archlinux.org>
3964
3965         * NEWS: Mention CVE-2014-4043.
3966
3967 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3968
3969         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3970         * nptl/smp.h: ... here.
3971
3972         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3973
3974         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3975         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3976         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3977         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3978
3979         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3980         * nptl/stack-aliasing.h: New file.
3981         * sysdeps/i386/i686/stack-aliasing.h: New file.
3982         * sysdeps/i386/i686/nptl/Makefile: File removed.
3983         * sysdeps/x86_64/stack-aliasing.h: New file.
3984         * sysdeps/x86_64/nptl/Makefile
3985         (CFLAGS-pthread_create.c): Variable removed.
3986
3987         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3988         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3989         old file.
3990         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3991         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3992         old file.
3993
3994 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3995
3996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3997         (__ASSUME_SIGFRAME_V2): Remove macro.
3998         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3999         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4000         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4001         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4002         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4003         Declare as function.  Remove conditional macro definitions.
4004         (__default_rt_sa_restorer): Likewise.
4005         (__default_sa_restorer_v1): Remove declaration.
4006         (__default_sa_restorer_v2): Likewise.
4007         (__default_rt_sa_restorer_v1): Likewise.
4008         (__default_rt_sa_restorer_v2): Likewise.
4009         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4010         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4011         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4012
4013 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4014
4015         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4016         (libpthread-routines): Add sysdep.
4017         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4018         * sysdeps/unix/sysv/linux/sparc/Versions
4019         (libpthread: GLIBC_2.3.3): New version set.
4020         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4021         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4022         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4023         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4024         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4025         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4026         Moved ...
4027         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4028         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4029         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4030         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4031         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4032         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4033         * sysdeps/sparc/nptl/sem_init.c: ... here.
4034         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4035         * sysdeps/sparc/nptl/sem_post.c: ... here.
4036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4037         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4038         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4039         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4040         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4042         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4043         (libpthread-routines): Add cpu_relax.
4044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4045         File removed.
4046         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4047         (librt: GLIBC_2.3.3): New version set.
4048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4049         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4050         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4051         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4054         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4056         Moved ...
4057         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4059         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4061         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4063         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4065         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4067         Moved ...
4068         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4069         Update #include.
4070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4071         Moved ...
4072         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4073         Update #include.
4074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4075         Moved ...
4076         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4077         Update #include.
4078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4079         Moved ...
4080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4081         Update #include.
4082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4083         Moved ...
4084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4085         Update #include.
4086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4087         Moved ...
4088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4089         Update #include.
4090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4091         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4097         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4099         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4101         Moved ...
4102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4104         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4107
4108 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4109
4110         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4111         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4112         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4113         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4114         * nscd/nscd.c: Likewise.
4115         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4116         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4117         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4118         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4119
4120         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4121         <kernel-features.h>.
4122         (init_mq_netlink): Remove conditional have_sock_cloexec
4123         definitions.  Remove code conditional on have_sock_cloexec < 0.
4124         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4125         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4126         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4127         <kernel-features.h>.
4128         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4129         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4130
4131 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4132
4133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4134         Add tests for memset_chk and memset.
4135
4136         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4137         with AVX2_Usable.
4138
4139 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4140
4141         [BZ #16046]
4142         * elf/tst-dl-iter-static.c: New file.
4143         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4144
4145         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4146         error.
4147
4148 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4149
4150         * sysdeps/unix/sysv/linux/kernel-features.h
4151         (__ASSUME_F_GETOWN_EX): Remove macro.
4152         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4153         <kernel-features.h>.
4154         (miss_F_GETOWN_EX): Remove variable or macro.
4155         (do_fcntl): Do not check miss_F_GETOWN_EX.
4156         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4157
4158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4159         Remove macro.
4160         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4161         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4162         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4163
4164         * sysdeps/unix/sysv/linux/kernel-features.h
4165         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4166         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4167         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4168         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4169
4170 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4171
4172         [BZ #17075]
4173         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4174         Fix calculation of the symbol's value.
4175         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4176         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4177         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4178         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4179         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4180         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4181         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4182         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4183         (modules-names): Add `tst-armtlsdescmod',
4184         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4185         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4186         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4187         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4188         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4189         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4190         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4191         ($(objpfx)tst-armtlsdescloc): New dependency.
4192         ($(objpfx)tst-armtlsdescextnow): Likewise.
4193         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4194         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4195         TLS scheme support.
4196         * sysdeps/arm/configure: Regenerate.
4197
4198 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4199
4200         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4201         (__atfct_seterrno_2): Likewise.
4202         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4203         <kernel-features.h>.
4204         (__ASSUME_ATFCTS): Do not undefine and redefine.
4205         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4206         (__have_atfcts): Remove conditional definition.
4207         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4208         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4209         unreachable if [__ASSUME_ATFCTS].
4210         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4211         not undefine and redefine.
4212         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4213         <kernel-features.h>.
4214         (faccessat) [__NR_faccessat]: Make code unconditional.
4215         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4216         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4217         <kernel-features.h>.
4218         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4219         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4220         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4221         <kernel-features.h>.
4222         (fchownat) [__NR_fchownat]: Make code unconditional.
4223         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4224         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4225         <kernel-features.h>.
4226         (futimesat) [__NR_futimesat]: Make code unconditional.
4227         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4228         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4229         <kernel-features.h>.
4230         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4231         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4232         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4233         <kernel-features.h>.
4234         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4235         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4236         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4237         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4238         <kernel-features.h>.
4239         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4240         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4241         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4242         <kernel-features.h>.
4243         (linkat) [__NR_linkat]: Make code unconditional.
4244         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4245         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4246         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4247         <kernel-features.h>.
4248         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4249         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4250         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4251         <kernel-features.h>.
4252         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4253         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4254         * sysdeps/unix/sysv/linux/openat.c: Do not include
4255         <kernel-features.h>.
4256         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4257         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4258         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4259         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4260         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4261         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4262         <kernel-features.h>.
4263         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4264         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4265         result of INLINE_SYSCALL directly, not via int variable.
4266         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4267         <kernel-features.h>.
4268         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4269         (renameat) [__NR_renameat]: Make code unconditional.
4270         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4271         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4272         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4273         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4274         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4275         (__ASSUME_ATFCTS): Do not undefine and redefine.
4276         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4277         <kernel-features.h>.
4278         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4279         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4280         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4281         <kernel-features.h>.
4282         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4283         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4284         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4285         (__ASSUME_ATFCTS): Do not undefine and redefine.
4286         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4287         <kernel-features.h>.
4288         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4289         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4290         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4291         <kernel-features.h>.
4292         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4293         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4294
4295 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4296
4297         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4298
4299 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4300
4301         [BZ #17069]
4302         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4303         constructed tree before returning error.
4304         * posix/bug-regexp36.c: Expand test case.
4305
4306 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4307
4308         [BZ #6803]
4309         * math/libm-test.inc (scalbln_test_date):
4310         Add errno expectations.
4311         * math/w_scalblnf.c: New File.
4312         Add wrapper which checks for setting errno to ERANGE.
4313         Add weak_alias for corresponding scalbln function.
4314         * math/w_scalbln.c: Likewise.
4315         * math/w_scalblnl.c: Likewise.
4316         * math/Makefile (libm-calls): Add w_scalbln.
4317         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4318         Remove weak_alias for corresponding scalbln function.
4319         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4323         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4324         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4325         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4326         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4327         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4328         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4329         Remove long_double_symbol for scalblnl function in libm, libc.
4330         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4331         Add wrapper which checks for setting errno to ERANGE.
4332         Add long_double_symbol for scalblnl function in libm, libc.
4333         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4334         Remove long_double_symbol for scalblnl in libm.
4335         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4336         Add wrapper which checks for setting errno to ERANGE.
4337         Add long_double_symbol for scalblnl function in libm.
4338         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4339         Do not use wrapper because of own implementation.
4340
4341 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4342
4343         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4344         3 bytes for __pad1 for x32.
4345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4346
4347 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4348             H.J. Lu  <hongjiu.lu@intel.com>
4349
4350         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4351         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4354         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4355
4356 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4357
4358         [BZ #17069]
4359         * posix/regcomp.c (parse_expression): Deallocate partially
4360         constructed tree before returning error.
4361         * posix/Makefile.c (tests): Add bug-regex36.
4362         (generated): Add bug-regex36.mtrace.
4363         (tests-special): Add $(objpfx)bug-regex36-mem.out
4364         (bug-regex36-ENV): New variable.
4365         ($(objpfx)bug-regex36-mem.out): New rule.
4366         * posix/bug-regex36.c: New file.
4367
4368 2014-06-19  Will Newton  <will.newton@linaro.org>
4369
4370         * malloc/malloc.c (systrim): If extra is zero then return
4371         early.
4372
4373 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4374
4375         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4376
4377 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4378
4379         * sysdeps/aarch64/strchr.S: New file.
4380
4381 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4382
4383         [BZ #17022]
4384         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4385         from arguments -2 or below.
4386         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4387         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4388
4389 2014-06-18  Andreas Schwab  <schwab@suse.de>
4390
4391         [BZ #17062]
4392         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4393         of a bracket expr not to run off the end of the string.
4394         * posix/Makefile (tests): Add tst-fnmatch3.
4395         * posix/tst-fnmatch3.c: New file.
4396
4397 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4398
4399         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4400         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4401         [$(cross-compiling) = no]: Likewise.
4402         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4403         [$(cross-compiling) = no]: Likewise.
4404
4405 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4406
4407         [BZ #17031]
4408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4409         double, adjusted for any remainder from the high double.
4410         * math/libm-test.inc (nearbyint): Add tests.
4411         (rint): Likewise.
4412
4413 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4414
4415         * nptl/sysdeps/powerpc/Makefile: Moved ...
4416         * sysdeps/powerpc/nptl/Makefile: ... here.
4417         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4418         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4419         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4420         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4421         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4422         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4423         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4424         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4425         * nptl/sysdeps/powerpc/tls.h: Moved ...
4426         * sysdeps/powerpc/nptl/tls.h: ... here.
4427
4428 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4429
4430         [BZ #16681]
4431         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4432         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4433         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4434         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4435         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4436         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4437         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4438         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4439         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4440
4441 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4442
4443         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4444
4445 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4446
4447         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4448         defined operator.
4449
4450         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4451         $TIMEOUTFACTOR.
4452
4453 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4454
4455         [BZ #17058]
4456         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4457         non-executed part of the test.
4458
4459 2014-06-16  Andreas Schwab  <schwab@suse.de>
4460
4461         * string/bits/string2.h (strdup, strndup): Update feature guard.
4462
4463 2014-06-14  David S. Miller  <davem@davemloft.net>
4464
4465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4466
4467 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4468
4469         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4470         that was previously under [RESET_PID].
4471         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4472
4473         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4474         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4475         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4476         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4477         (__libc_vfork): New strong alias.
4478         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4479
4480 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4481
4482         * sysdeps/generic/elide.h: New file.
4483
4484 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4485
4486         * Makefile (installed-headers): Adjust path of pthread.h header.
4487
4488 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4489
4490         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4491         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4492         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4493         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4494
4495         * nptl/sysdeps/s390/Makefile: Moved ...
4496         * sysdeps/s390/nptl/Makefile: ... here.
4497         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4498         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4499         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4500         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4501         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4502         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4503         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4504         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4505         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4506         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4507         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4508         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4509         * nptl/sysdeps/s390/tls.h: Moved ...
4510         * sysdeps/s390/nptl/tls.h: ... here.
4511
4512         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4513         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4514
4515 2014-06-13  David S. Miller  <davem@davemloft.net>
4516
4517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4520         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4524         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4525         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4526         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4527         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4528         Remove RESET_PID cpp guards.
4529         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4530         Remove RESET_PID cpp guards.
4531         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4532
4533 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4534
4535         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4536         __sp to uintptr_t.
4537
4538 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4539
4540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4556         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4560
4561         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4562         (pthread_rwlock_rdlock): Add elision.
4563         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4564         (pthread_rwlock_wrlock): Add elision.
4565         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4566         (pthread_rwlock_trywrlock): Add elision.
4567         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4568         (pthread_rwlock_tryrdlock): Add elision.
4569         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4570         (pthread_rwlock_tryrdlock): Add elision unlock.
4571         * nptl/sysdeps/pthread/pthread.h:
4572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4573         (PTHREAD_RWLOCK_INITIALIZER,
4574         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4575         Handle new elision field.
4576         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4577         * sysdeps/arm/nptl/bits/pthreadtypes.h
4578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4579         * sysdeps/sh/nptl/bits/pthreadtypes.h
4580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4581         * sysdeps/tile/nptl/bits/pthreadtypes.h
4582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4583         * sysdeps/a/nptl/bits/pthreadtypes.h
4584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4585         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4587         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4589         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4591         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4593         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4595         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4597         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4599         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4601         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4602         (elision_init): Set try_xbegin to zero when no RTM.
4603         * sysdeps/x86/nptl/bits/pthreadtypes.h
4604         (pthread_rwlock_t): Change __pad1 to __rwelision.
4605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4606
4607 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4608
4609         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4610         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4611         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4612         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4613
4614 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4615
4616         [BZ #16996]
4617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4618         that the cached result has been set before returning it.
4619
4620 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4621
4622         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4623         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4624         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4625         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4626         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4627         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4628
4629         * nptl/sysdeps/sparc/Makefile: Moved ...
4630         * sysdeps/sparc/nptl/Makefile: ... here.
4631         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4632         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4633         * nptl/sysdeps/sparc/tls.h: Moved ...
4634         * sysdeps/sparc/nptl/tls.h: ... here.
4635         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4636         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4637         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4638         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4639         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4640         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4641         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4642         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4643         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4644         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4645         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4646         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4647         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4648         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4649         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4650         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4651         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4652         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4653         Update #include.
4654         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4656         Update #include.
4657         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4658         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4659         Update #include.
4660         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4662         Update #include.
4663
4664         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4665
4666         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4667         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4668
4669         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4670         (struct list_links): Type removed.
4671         (struct thread_node, struct timer_node): Replace struct list_links
4672         with struct list_head.
4673         (list_unlink_ip): Likewise.
4674         * sysdeps/pthread/timer_routines.c
4675         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4676         (list_append, list_insbefore): Likewise.
4677         (list_init): Function removed.
4678         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4679         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4680         * sysdeps/pthread/Makefile: ... here, new file.
4681
4682         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4683         * sysdeps/nptl/Implies: ... here.
4684         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4685         * nptl/sysdeps/pthread/list.h: Moved ...
4686         * include/list.h: ... here.
4687         * nptl/sysdeps/pthread/createthread.c: Moved ...
4688         * nptl/createthread.c: ... here.
4689         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4690         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4691         * nptl/pt-longjmp.c: ... here.
4692         * nptl/sysdeps/pthread/Makefile: Moved ...
4693         * sysdeps/nptl/Makefile: ... here.
4694         * nptl/sysdeps/pthread/Subdirs: Moved ...
4695         * sysdeps/nptl/Subdirs: ... here.
4696         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4697         * sysdeps/nptl/aio_misc.h: ... here.
4698         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4699         * sysdeps/nptl/bits/libc-lock.h: ... here.
4700         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4701         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4702         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4703         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4704         * nptl/sysdeps/pthread/configure: Moved ...
4705         * sysdeps/nptl/configure: ... here.
4706         * nptl/sysdeps/pthread/configure.ac: Moved ...
4707         * sysdeps/nptl/configure.ac: ... here.
4708         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4709         * sysdeps/nptl/gai_misc.h: ... here.
4710         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4711         * sysdeps/nptl/librt-cancellation.c: ... here.
4712         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4713         * sysdeps/nptl/malloc-machine.h: ... here.
4714         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4715         * sysdeps/nptl/pthread-functions.h: ... here.
4716         * nptl/sysdeps/pthread/pthread.h: Moved ...
4717         * sysdeps/nptl/pthread.h: ... here.
4718         * nptl/sysdeps/pthread/setxid.h: Moved ...
4719         * sysdeps/nptl/setxid.h: ... here.
4720         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4721         * sysdeps/nptl/sigfillset.c: ... here.
4722         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4723         * sysdeps/nptl/tcb-offsets.h: ... here.
4724         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4725         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4726         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4727         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4728         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4729         * sysdeps/pthread/allocalim.h: ... here.
4730         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4731         * sysdeps/pthread/bits/sigthread.h: ... here.
4732         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4733         * sysdeps/pthread/flockfile.c: ... here.
4734         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4735         * sysdeps/pthread/ftrylockfile.c: ... here.
4736         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4737         * sysdeps/pthread/funlockfile.c: ... here.
4738         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4739         * sysdeps/pthread/posix-timer.h: ... here.
4740         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4741         * sysdeps/pthread/timer_create.c: ... here.
4742         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4743         * sysdeps/pthread/timer_delete.c: ... here.
4744         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4745         * sysdeps/pthread/timer_getoverr.c: ... here.
4746         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4747         * sysdeps/pthread/timer_gettime.c: ... here.
4748         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4749         * sysdeps/pthread/timer_routines.c: ... here.
4750         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4751         * sysdeps/pthread/timer_settime.c: ... here.
4752         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4753         * sysdeps/pthread/tst-timer.c: ... here.
4754         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4755         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4756
4757         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4758         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4759
4760         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4761         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4762         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4763         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4764         Update #include target.
4765         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4766         * sysdeps/i386/i686/nptl/Makefile: ... here.
4767         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4768         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4769         Update #include target.
4770         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4771         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4772         * nptl/sysdeps/i386/Makefile: Moved ...
4773         * sysdeps/i386/nptl/Makefile: ... here.
4774         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4775         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4776         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4777         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4778         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4779         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4780         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4781         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4782         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4783         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4784         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4785         * nptl/sysdeps/i386/tls.h: Moved ...
4786         * sysdeps/i386/nptl/tls.h: ... here.
4787
4788         * sysdeps/sh/Makefile [$(subdir) = csu]
4789         (gen-as-const-headers): Add tcb-offsets.sym.
4790         * nptl/sysdeps/sh/Makefile: File removed.
4791         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4792         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4793         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4794         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4795         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4796         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4797         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4798         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4799         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4800         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4801         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4802         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4803         * nptl/sysdeps/sh/tls.h: Moved ...
4804         * sysdeps/sh/nptl/tls.h: ... here.
4805         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4806         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4807         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4808         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4809         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4810         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4812         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4813         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4814         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4815         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4816         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4818         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4820         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4822         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4824         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4826         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4830         Moved ...
4831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4833         Moved ...
4834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4840         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4841         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4842         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4844         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4845         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4846         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4848         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4849         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4850         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4852         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4853
4854 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4855
4856         * posix/spawn_faction_addopen.c: Include string.h.
4857
4858 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4859
4860         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4861         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4862         * nptl/sysdeps/x86_64/Makefile: Moved ...
4863         * sysdeps/x86_64/nptl/Makefile: ... here.
4864         * nptl/sysdeps/x86_64/configure: Moved ...
4865         * sysdeps/x86_64/nptl/configure: ... here.
4866         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4867         * sysdeps/x86_64/nptl/configure.ac: ... here.
4868         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4869         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4870         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4871         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4872         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4873         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4874         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4875         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4876         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4877         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4878         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4879         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4880         * nptl/sysdeps/x86_64/tls.h: Moved ...
4881         * sysdeps/x86_64/nptl/tls.h: ... here.
4882         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4883         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4884         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4885         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4886
4887         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4888
4889 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4890
4891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4892
4893 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4894
4895         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4896         type.
4897         [POSIX] (off_t): Likewise.
4898         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4899         [POSIX] (S_ISBLK): Require macro.
4900         [POSIX] (S_ISCHR): Likewise.
4901         [POSIX] (S_ISDIR): Likewise.
4902         [POSIX] (S_ISFIFO): Likewise.
4903         [POSIX] (S_ISREG): Likewise.
4904         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4905         optional-macro.
4906         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4907         type.
4908         [POSIX] (time_t): Likewise.
4909         [POSIX] (timer_t): Likewise.
4910
4911 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4912
4913         [BZ #17048]
4914         * posix/spawn_int.h (struct __spawn_action): Make the path string
4915         non-const to support deallocation.
4916         * posix/spawn_faction_addopen.c
4917         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4918         * posix/spawn_faction_destroy.c
4919         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4920         path in all spawn_do_open actions.
4921         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4922         posix_spawn_file_actions_addopen.
4923
4924 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4925
4926         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4927         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4928         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4929         conditional code always true.
4930         (__libc_vfork): New alias.
4931
4932 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4933
4934         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4935         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4936
4937         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4938
4939         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4940         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4941
4942         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4943         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4944
4945         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4946         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4947
4948 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4949
4950         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4952         multiarch strcmp for PPC64.
4953         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4954         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4956         multiarch optimizations.
4957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4958         (__libc_ifunc_impl_list): Likewise.
4959
4960 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4961
4962         * benchtests/scripts/validate_benchout.py: New script.
4963         * benchtests/Makefile (bench-func): Call it.
4964         * benchtests/scripts/benchout.schema.json: New file.
4965
4966 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4967
4968         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4969         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4970         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4971         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4972         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4973         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4974         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4975         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4976         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4977         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4978         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4979         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4980         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4981         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4982         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4983         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4985         Moved ...
4986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4987         ... here.
4988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4989         Moved ...
4990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4992         Moved ...
4993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4994         ... here.
4995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4996         Moved ...
4997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4998         ... here.
4999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5000         Moved ...
5001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5003         Moved ...
5004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5005         ... here.
5006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5007         Moved ...
5008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5009         ... here.
5010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5011         Moved ...
5012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5014         Moved ...
5015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5016         ... here.
5017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5018         Moved ...
5019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5020         ... here.
5021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5022         Moved ...
5023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5024         ... here.
5025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5026         Moved ...
5027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5029         Moved ...
5030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5031         ... here.
5032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5033         Moved ...
5034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5035         ... here.
5036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5037         Moved ...
5038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5039         ... here.
5040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5041         Moved ...
5042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5044         Moved ...
5045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5046         ... here.
5047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5048         Moved ...
5049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5050         ... here.
5051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5052         Moved ...
5053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5055         Moved ...
5056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5057         ... here.
5058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5059         Moved ...
5060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5062         Moved ...
5063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5065         Moved ...
5066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5067         ... here.
5068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5069         Moved ...
5070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5071         ... here.
5072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5073         Moved ...
5074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5075         ... here.
5076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5077         Moved ...
5078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5080         Moved ...
5081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5082         ... here.
5083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5084         Moved ...
5085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5086         ... here.
5087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5088         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5090         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5092         Moved ...
5093         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5094         ... here.
5095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5096         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5098         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5100         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5102         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5104         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5106         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5108         Moved ...
5109         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5111         Moved ...
5112         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5114         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5116         Moved ...
5117         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5119         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5120         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5121         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5122         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5123         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5124
5125 2014-06-10  Wilco  <wdijkstr@arm.com>
5126
5127         * math/test-fenv-return.c: New file.
5128         * math/Makefile: Add new test test-fenv-return.
5129
5130 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5131
5132         [BZ #17042]
5133         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5134         when x - 1 is zero.
5135         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5136         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5137         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5138         0.0L for an argument of 1.0L.
5139         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5140         Likewise.
5141         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5142         value when x - 1 is zero.
5143         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5144         * sysdeps/i386/fpu/libm-test-ulps: Update.
5145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
5147 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5148
5149         [BZ #15119]
5150         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5151
5152 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5153
5154         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5155         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5156
5157 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5158
5159         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5160         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5161
5162         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5163         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5164
5165         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5166         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5167
5168         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5169         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5170
5171         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5172         if not already defined.
5173         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5174         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5175         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5176         (TLS_INIT_TP): Use it.
5177         (TLS_DEFINE_INIT_TP): New macro.
5178         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5179
5180 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5181
5182         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5183         constant.
5184         [POSIX] (IXANY): Likewise.
5185         [POSIX] (OLCUC): Likewise.
5186         [POSIX || POSIX2008] (CBAUD): Do not allow.
5187         [POSIX || POSIX2008] (DEFECHO): Likewise.
5188         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5189         [POSIX || POSIX2008] (ECHOKE): Likewise.
5190         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5191         [POSIX || POSIX2008] (EXTA): Likewise.
5192         [POSIX || POSIX2008] (EXTB): Likewise.
5193         [POSIX || POSIX2008] (FLUSHO): Likewise.
5194         [POSIX || POSIX2008] (LOBLK): Likewise.
5195         [POSIX || POSIX2008] (PENDIN): Likewise.
5196         [POSIX || POSIX2008] (SWTCH): Likewise.
5197         [POSIX || POSIX2008] (VDISCARD): Likewise.
5198         [POSIX || POSIX2008] (VDSUSP): Likewise.
5199         [POSIX || POSIX2008] (VLNEXT): Likewise.
5200         [POSIX || POSIX2008] (VREPRINT): Likewise.
5201         [POSIX || POSIX2008] (VSTATUS): Likewise.
5202         [POSIX || POSIX2008] (VWERASE): Likewise.
5203         (B*): Change to B[0123456789]*.
5204         * conform/data/time.h-data [POSIX || UNIX98]
5205         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5206         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5207         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5208         [POSIX] (tm_*): Do not allow.
5209
5210 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5211
5212         * Makefile (install): Don't set LANGUAGE.
5213         * Makefile.in (install): Likewise.
5214         * assert/Makefile (test-assert-ENV): Remove variable.
5215         (test-assert-perr-ENV): Likewise.
5216         * elf/Makefile (neededtest4-ENV): Likewise.
5217         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5218         [$(cross-compiling) = no]: Don't set LANGUAGE.
5219         * io/ftwtest-sh (LANG): Remove variable.
5220         * libio/Makefile (tst-widetext-ENV): Likewise.
5221         * manual/install.texi (Running make install): Don't refer to
5222         environment settings for make install.
5223         * INSTALL: Regenerated.
5224         * nptl/tst-tls6.sh: Don't set LANG.
5225         * posix/globtest.sh (LANG): Remove variable.
5226         * string/Makefile (tester-ENV): Likewise.
5227         (inl-tester-ENV): Likewise.
5228         (noinl-tester-ENV): Likewise.
5229         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5230         [$(cross-compiling) = no]: Don't set LANGUAGE.
5231         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5232         without explicit environment settings.
5233
5234 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5235
5236         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5237         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5239         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5240
5241 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5242
5243         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5244         other files in the crypt directory.
5245         * crypt/crypt.c: Remove duplicate includes.
5246         * crypt/crypt-entry.c: Likewise.
5247         * crypt/crypt_util.c: Likewise.
5248
5249 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5250
5251         * Makeconfig (run-program-env): New variable.
5252         (run-program-prefix-before-env): Likewise.
5253         (run-program-prefix-after-env): Likewise.
5254         (run-program-prefix): Define in terms of new variables.
5255         (built-program-cmd-before-env): New variable.
5256         (built-program-cmd-after-env): Likewise.
5257         (built-program-cmd): Define in terms of new variables.
5258         (test-program-prefix-before-env): New variable.
5259         (test-program-prefix-after-env): Likewise.
5260         (test-program-prefix): Define in terms of new variables.
5261         (test-program-cmd-before-env): New variable.
5262         (test-program-cmd-after-env): Likewise.
5263         (test-program-cmd): Define in terms of new variables.
5264         * Rules (make-test-out): Use $(run-program-env).
5265         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5266         (help): Do not mention environment variables.  Mention
5267         --timeoutfactor option.
5268         (timeoutfactor): New variable.
5269         (blacklist_exports): Remove function.
5270         (exports): Remove variable.
5271         (command): Do not include ${exports}.
5272         * manual/install.texi (Configuring and compiling): Do not mention
5273         test wrappers preserving environment variables.  Mention that last
5274         assignment to a variable must take precedence.
5275         * INSTALL: Regenerated.
5276         * benchtests/Makefile (run-bench): Use $(run-program-env).
5277         * catgets/Makefile ($(objpfx)test1.cat): Use
5278         $(built-program-cmd-before-env), $(run-program-env) and
5279         $(built-program-cmd-after-env).
5280         ($(objpfx)test2.cat): Do not specify environment variables
5281         explicitly.
5282         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5283         $(run-program-env) and $(built-program-cmd-after-env).
5284         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5285         $(run-program-env) and $(test-program-cmd-after-env).
5286         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5287         explicitly.
5288         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5289         run_program_env and test_program_cmd_after_env arguments.
5290         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5291         * elf/tst-pathopt.sh: Use run_program_env argument.
5292         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5293         $(test-wrapper-env) and $(run-program-env).
5294         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5295         run_program_env arguments.
5296         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5297         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5298         $(test-program-prefix-before-env), $(run-program-env) and
5299         $(test-program-prefix-after-env).
5300         ($(objpfx)tst-gettext2.out): Likewise.
5301         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5302         run_program_env and test_program_prefix_after_env arguments.
5303         * intl/tst-gettext2.sh: Likewise.
5304         * intl/tst-gettext4.sh: Do not set environment variables
5305         explicitly.
5306         * intl/tst-gettext6.sh: Likewise.
5307         * intl/tst-translit.sh: Likewise.
5308         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5309         $(test-program-prefix-before-env), $(run-program-env) and
5310         $(test-program-prefix-after-env).
5311         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5312         run_program_env and test_program_prefix_after_env arguments.
5313         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5314         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5315         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5316         explicitly with each use of ${test_wrapper_env}.
5317         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5318         $(test-program-prefix-before-env), $(run-program-env) and
5319         $(test-program-prefix-after-env).
5320         * posix/tst-getconf.sh: Do not set environment variables
5321         explicitly.
5322         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5323         run_program_env and test_program_prefix_after_env arguments.
5324         * stdio-common/tst-printf.sh: Do not set environment variables
5325         explicitly.
5326         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5327         $(test-program-prefix-before-env), $(run-program-env) and
5328         $(test-program-prefix-after-env).
5329         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5330         run_program_env and test_program_prefix_after_env arguments.
5331         Split $test calls into $test_pre and $test.
5332         * timezone/Makefile (build-testdata): Use
5333         $(built-program-cmd-before-env), $(run-program-env) and
5334         $(built-program-cmd-after-env).
5335
5336 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5337
5338         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5339         strlen for non SHARED builds.
5340
5341 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5342
5343         * nptl/allocatestack.c (check_list): Inlined function...
5344         (__reclaim_stacks): ... here.
5345
5346 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5347
5348         [BZ #15698]
5349         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5350         memory overrun.
5351
5352 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5353
5354         * Rules (make-test-out): Include
5355         LOCPATH=$(common-objpfx)localedata in default environment.
5356         * debug/Makefile (tst-chk1-ENV): Remove variable.
5357         (tst-chk2-ENV): Likewise.
5358         (tst-chk3-ENV): Likewise.
5359         (tst-chk4-ENV): Likewise.
5360         (tst-chk5-ENV): Likewise.
5361         (tst-chk6-ENV): Likewise.
5362         (tst-lfschk1-ENV): Likewise.
5363         (tst-lfschk2-ENV): Likewise.
5364         (tst-lfschk3-ENV): Likewise.
5365         (tst-lfschk4-ENV): Likewise.
5366         (tst-lfschk5-ENV): Likewise.
5367         (tst-lfschk6-ENV): Likewise.
5368         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5369         (tst-iconv7-ENV): Likewise.
5370         * intl/Makefile (LOCPATH-ENV): Likewise.
5371         (tst-codeset-ENV): Likewise.
5372         (tst-gettext3-ENV): Likewise.
5373         (tst-gettext5-ENV): Likewise.
5374         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5375         (tst-fopenloc-ENV): Likewise.
5376         (tst-fgetws-ENV): Remove variable.
5377         (tst-ungetwc1-ENV): Likewise.
5378         (tst-ungetwc2-ENV): Likewise.
5379         (bug-ungetwc2-ENV): Likewise.
5380         (tst-swscanf-ENV): Likewise.
5381         (bug-ftell-ENV): Likewise.
5382         (tst-fgetwc-ENV): Likewise.
5383         (tst-fseek-ENV): Likewise.
5384         (tst-ftell-partial-wide-ENV): Likewise.
5385         (tst-ftell-active-handler-ENV): Likewise.
5386         (tst-ftell-append-ENV): Likewise.
5387         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5388         (tst-regexloc-ENV): Likewise.
5389         (bug-regex1-ENV): Likewise.
5390         (tst-regex-ENV): Likewise.
5391         (tst-regex2-ENV): Likewise.
5392         (bug-regex5-ENV): Likewise.
5393         (bug-regex6-ENV): Likewise.
5394         (bug-regex17-ENV): Likewise.
5395         (bug-regex18-ENV): Likewise.
5396         (bug-regex19-ENV): Likewise.
5397         (bug-regex20-ENV): Likewise.
5398         (bug-regex22-ENV): Likewise.
5399         (bug-regex23-ENV): Likewise.
5400         (bug-regex25-ENV): Likewise.
5401         (bug-regex26-ENV): Likewise.
5402         (bug-regex30-ENV): Likewise.
5403         (bug-regex32-ENV): Likewise.
5404         (bug-regex33-ENV): Likewise.
5405         (bug-regex34-ENV): Likewise.
5406         (bug-regex35-ENV): Likewise.
5407         (tst-rxspencer-ENV): Likewise.
5408         (tst-rxspencer-no-utf8-ENV): Likewise.
5409         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5410         (tst-sscanf-ENV): Likewise.
5411         (tst-swprintf-ENV): Likewise.
5412         (tst-swscanf-ENV): Likewise.
5413         (test-vfprintf-ENV): Likewise.
5414         (scanf13-ENV): Likewise.
5415         (bug14-ENV): Likewise.
5416         (tst-grouping-ENV): Likewise.
5417         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5418         (tst-strtod3-ENV): Likewise.
5419         (tst-strtod4-ENV): Likewise.
5420         (tst-strtod5-ENV): Likewise.
5421         (testmb2-ENV): Likewise./
5422         * string/Makefile (tst-strxfrm-ENV): Likewise.
5423         (tst-strxfrm2-ENV): Likewise.
5424         (bug-strcoll1-ENV): Likewise.
5425         (test-strcasecmp-ENV): Likewise.
5426         (test-strncasecmp-ENV): Likewise.
5427         * time/Makefile (tst-strptime-ENV): Likewise.
5428         (tst-ftime_l-ENV): Likewise.
5429         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5430         (tst-mbrtowc-ENV): Likewise.
5431         (tst-wcrtomb-ENV): Likewise.
5432         (tst-mbrtowc2-ENV): Likewise.
5433         (tst-c16c32-1-ENV): Likewise.
5434         (tst-mbsnrtowcs-ENV): Likewise.
5435
5436 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5437
5438         * manual/resource.texi (How to get information about the memory
5439         subsystem?): Fix typo.
5440         Reported by Peon de la Parra Ivan <peon@keba.com>
5441
5442 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5443
5444         [BZ #16882]
5445         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5446         (pthread_spin_lock): Branch out of spin loop to proper location.
5447         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5448         (pthread_spin_lock): Likewise.
5449
5450         * nptl/tst-spin4.c: New test.
5451         * nptl/Makefile (tests): Add tst-spin4.
5452
5453 2014-06-03  Andreas Schwab  <schwab@suse.de>
5454
5455         [BZ #15946]
5456         * resolv/res_send.c (send_dg): Reload file descriptor after
5457         calling reopen.
5458
5459 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5460
5461         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5462
5463 2014-06-03  Richard Henderson  <rth@redhat.com>
5464
5465         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5466         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5467         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5468         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5469         in the SAVE_PID block.
5470         (__libc_vfork): New alias.
5471         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5472
5473         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5474         child in registers, not on the stack.  Remove RESET_PID conditionals.
5475         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5476
5477 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5478
5479         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5480
5481 2014-06-03  Wilco  <wdijkstr@arm.com>
5482
5483         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5484         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5485         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5486         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5487         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5488         Likewise.
5489
5490 2014-06-03  Wilco  <wdijkstr@arm.com>
5491
5492         * sysdeps/aarch64/fpu/math_private.h
5493         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5494         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5495         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5496         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5497         Fix declarations.
5498
5499 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5500
5501         * crypt/crypt-private.h: Include ufc-crypt.h.
5502         (__b64_from_24bit): Declare extern.
5503         * crypt/crypt_util.c(__b64_from_24bit): New function.
5504         (b64t): New static const variable.
5505         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5506         (b64t): Remove variable.
5507         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5508         * crypt/sha256-crypt.c: Include crypt-private.h.
5509         (b64t): Remove variable.
5510         (__sha256_crypt_r): Remove b64_from_24bit and replace
5511         with __b64_from_24bit.
5512         * crypt/sha512-crypt.c: Likewise.
5513
5514 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5515
5516         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5517         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5518         Label the code __libc_vfork rather than __vfork.
5519         [!NOT_IN_libc] (vfork): Define as weak alias.
5520         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5521         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5522         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5523
5524 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5525
5526         * malloc/malloc.c (malloc_info): Fix format specifier for
5527         n_mmaps.
5528
5529 2014-06-02  Wilco  <wdijkstr@arm.com>
5530
5531         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5532         FPCR write.
5533
5534 2014-06-02  Wilco  <wdijkstr@arm.com>
5535
5536         [BZ #17009]
5537         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5538         Rewrite to reduce FPCR/FPSR accesses.
5539
5540 2014-06-01  David S. Miller  <davem@davemloft.net>
5541
5542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5543
5544 2014-05-31  David S. Miller  <davem@davemloft.net>
5545
5546         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5547         to occur in round to nearest mode when |x| >= 2.0
5548
5549 2014-05-30  Richard Henderson  <rth@twiddle.net>
5550
5551         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5552         (PSEUDO_RET_NOERRNO): Remove.
5553         (ret): Don't redefine.
5554         (ret_NOERRNO): Define in terms of ret.
5555         (ret_ERRVAL): Likewise.
5556
5557         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5558         use of PSEUDO_RET; perform the error check directly.
5559
5560 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5561
5562         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5563         with __int128_t.
5564
5565 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5566
5567         * malloc/malloc (malloc_info): Fix formatting.
5568
5569 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5570             Roland McGrath  <roland@hack.frob.com>
5571
5572         * malloc/malloc (malloc_info): Also print mmapped statistics.
5573
5574 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5575
5576         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5577         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5578
5579 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5580
5581         * malloc/malloc.c (malloc_info): Inline mi_arena.
5582
5583 2014-05-29  Richard Henderson  <rth@twiddle.net>
5584
5585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5586         Remove comma before expanding ASM_ARGS_##nr.
5587         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5588         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5589         of ASM_ARGS_##nr.
5590         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5591         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5592         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5593         (ASM_ARGS_1): Add leading comma.
5594
5595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5596         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5597         to __errno_location.
5598         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5599         Remove the expected plt for __errno_location.
5600
5601         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5602         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5603         call to __read_tp.
5604
5605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5606         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5607         it and break it down.
5608         (DOCARGS_0, DOCARGS_1): Do nothing.
5609         (DOCARGS_2): Update to store into the new stack frame.
5610         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5611         (UNDOCARGS_1): Update to restore from the new stack frame.
5612         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5613         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5614
5615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5616         (SINGLE_THREAD_P): New parameter for result regno.
5617         (PSEUDO): Update to match; use cbz instead of beq.
5618
5619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5620         Use ENTRY to define the _nocancel entry point.  Share the syscall
5621         and syscall error check paths with the cancel path.
5622         (PSEUDO_END): New.
5623
5624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5625         whitespace; tabs before and after asm mnemonics.
5626
5627 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5628
5629         [BZ #15132]
5630         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5631         Call fstat64 or stat64 internally, depending on arguments passed.
5632         Replace stat buffer argument with file descriptor argument.
5633         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5634         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5635         Pass fd to __internal_statvfs instead of calling fstat64.
5636         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5637         Pass fd to __internal_statvfs64 instead of calling fstat64.
5638         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5639         Pass -1 to __internal_statvfs instead of calling stat64.
5640         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5641         Pass -1 to __internal_statvfs64 instead of calling stat64.
5642
5643 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5644
5645         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5646         that was previously under [RESET_PID].
5647         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5648
5649         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5650         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5651
5652 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5653
5654         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5655
5656         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5657         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5658
5659 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5660
5661         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5662
5663 2014-05-27  Andreas Schwab  <schwab@suse.de>
5664
5665         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5666         TLS_INIT_TP macro.
5667         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5668         * elf/rtld.c (init_tls, dl_main): Likewise.
5669         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5670         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5671         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5672         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5673         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5674         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5675         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5676         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5677         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5678         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5679         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5680         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5681         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5682         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5683         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5684         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5685         * sysdeps/generic/tls.h: Update description.
5686
5687 2014-05-27  Will Newton  <will.newton@linaro.org>
5688
5689         [BZ #16990]
5690         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5691         and restore r2 rather than just restoring.
5692
5693 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5694
5695         [BZ #16724]
5696         * libio/tst-ftell-append.c: New test case.
5697         * libio/Makefile (tests): Add test case.
5698         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5699         append mode.
5700         * libio/wfileops.c (do_ftell_wide): Likewise.
5701
5702 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5703
5704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5705
5706         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5707         ...
5708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5710         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5711         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5713         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5714         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5715         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5717         Moved ...
5718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5720         Moved ...
5721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5722         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5723         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5724         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5725         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5726         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5727         ...
5728         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5729         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5730         Moved ...
5731         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5732         here.
5733         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5734         ...
5735         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5736         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5737         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5738
5739         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5740         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5742         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5743
5744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5745         merge into ...
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5748         ...
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5751         ...
5752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5754         Moved ...
5755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5756         here.
5757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5758         Moved ...
5759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5761         Moved ...
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5763
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5765         conditional [RESET_PID].
5766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5768         removed.
5769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5770         removed.
5771
5772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5773         <tcb-offsets.h>.
5774         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5775         (__libc_vfork): New strong alias.
5776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5777         removed.
5778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5779         Removed.
5780
5781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5782         <tcb-offsets.h>.
5783         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5784         (__libc_vfork): New strong alias.
5785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5786         removed.
5787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5788         removed.
5789
5790 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5791
5792         * malloc/malloc.c (mi_arena): New function.
5793         (malloc_info): Remove nested function mi_arena. Call non-nosted
5794         function mi_arena.
5795
5796 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5797
5798         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5799         by insrwi.
5800         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5801         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5802         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5803         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5804         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5805         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5806         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5807
5808 2014-05-26  Andreas Schwab  <schwab@suse.de>
5809
5810         [BZ #16984]
5811         * locale/programs/repertoire.c (repertoire_read): Add slash
5812         between I18NPATH element and file name.
5813         * locale/programs/locfile.c (locfile_read): Likewise.
5814
5815 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5816
5817         * nptl/pthread_mutexattr_settype.c
5818         (__pthread_mutexattr_settype):
5819         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5820
5821 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5822
5823         * nptl/tst-mutex5 (do_test):
5824         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5825
5826 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5827
5828         * benchtests/README: Document 'init' directive.
5829         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5830         BENCH_INIT.
5831         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5832         (parse_file): Recognize 'init' directive.
5833
5834 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5835
5836         [BZ #16796]
5837         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5838         alignment of struct pthread.
5839
5840 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5841
5842         [BZ #16878]
5843         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5844         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5845         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5846         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5847
5848 2014-05-25  Richard Henderson  <rth@twiddle.net>
5849
5850         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5851         (SINGLE_THREAD_P_PIC): Remove.
5852         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5853         (SINGLE_THREAD_P_PIC): Remove.
5854
5855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5856         branch to syscall error ...
5857         (PSEUDO): ... here.
5858         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5859         from __local_syscall_error to .Lsyscall_error.
5860         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5861         (SYSCALL_ERROR): Update label name.
5862
5863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5864         Do not use DOARGS/UNDOARGS.
5865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5866         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5867         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5868         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5869         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5870
5871         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5872         block comment.
5873
5874         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5875         define if !NOT_IN_libc.
5876         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5877         define with non-default symbol versions.
5878
5879 2014-05-23  Richard Henderson  <rth@twiddle.net>
5880
5881         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5882         (vfork, __vfork): Define via compat_symbol.
5883
5884         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5885         [!HAVE_IFUNC] (vfork_compat): Remove.
5886         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5887
5888 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5889
5890         [BZ #16978]
5891         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5892         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5893         variable.
5894
5895 2014-05-23  Richard Henderson  <rth@twiddle.net>
5896
5897         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5898         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5899         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5900         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5901
5902         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5903         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5905         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5906         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5907         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5909         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5910         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5911         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5912         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5913         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5914         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5915         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5916         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5917         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5918         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5919         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5920         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5921         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5922         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5923         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5924         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5925         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5926         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5927         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5928         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5929         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5930         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5931         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5932         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5933         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5934         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5935         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5936         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5937         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5938         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5939         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5940         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5941         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5942         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5943         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5944         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5945         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5946         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5947         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5949         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5950         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5951         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5953         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5955         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5957         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5958
5959         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5960         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5961         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5962         before exiting on error.
5963         (__libc_vfork): New strong alias.
5964         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5965         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5966
5967         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5968         that was previously under [RESET_PID].
5969         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5970
5971         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5972
5973 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5974
5975         [BZ #16977]
5976         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5977         value when x - 1 is zero.
5978         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5979         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5980         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5981         0.0L for an argument of 1.0L.
5982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5983         Likewise.
5984         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5985         value when x - 1 is zero.
5986         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5987         * sysdeps/i386/fpu/libm-test-ulps: Update.
5988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989
5990 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5991
5992         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5993         alphasort and versionsort.
5994
5995 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5996
5997         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5998         macro.
5999         [copysignf]: Likewise.
6000
6001 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6002
6003         * crypt/md5-crypt.c: Fix formatting.
6004
6005 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6006
6007         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6008         (b64_from_24bit): New function.
6009
6010 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6011
6012         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6013         libc_hidden_builtin_def to ifunc.
6014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6015         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6016
6017 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6018
6019         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6020         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6021
6022 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6023
6024         * nscd/Depend (linuxthreads): Remove.
6025         (nptl): Add.
6026         * resolv/Depend (linuxthreads): Remove.
6027         * rt/Depend (linuxthreads): Remove.
6028
6029         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6030         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6031         $(common-objpfx)elf/.
6032         (link-libc-before-gnulib): Likewise.
6033         (elfobjdir): Remove variable.
6034         * Makefile (install): Use $(elf-objpfx) instead of
6035         $(common-objpfx)elf/.
6036         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6037         $(elfobjdir)/.
6038         (link-libc-deps): Likewise.
6039         ($(common-objpfx)libc.so): Likewise.
6040         ($(common-objpfx)linkobj/libc.so): Likewise.
6041         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6042         instead of $(common-objpfx)elf/.
6043         (symbolic-link-list): Likewise.
6044         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6045         [$(cross-compiling) = no]: Likewise.
6046         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6047         $(elfobjdir)/.
6048         (static-gnulib-arch): Likewise.
6049         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6050         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6051         $(common-objpfx)elf/.
6052
6053 2014-05-21  Richard Henderson  <rth@redhat.com>
6054
6055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6056         (SINGLE_THREAD_P): Use the correct width load.  Fold
6057         into the ldr offset.
6058
6059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6060         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6061
6062 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6063
6064         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6065         (libgcc_s_resume): Use __attribute_used__.
6066         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6067         Likewise.
6068
6069 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6070
6071         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6072         optimization when used with float constants.
6073
6074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6075
6076 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6077
6078         [BZ #16915]
6079         * locale/nl_langinfo_l.c: Make direct reference to every
6080         _nl_current_CATEGORY symbol.
6081         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6082         (tests-static): Add tst-langinfo-static.
6083         (tests-special): Add tst-langinfo-static.out.
6084         ($(objpfx)tst-langinfo.out): Redirect output.
6085         ($(objpfx)tst-langinfo-static.out): New.
6086         * localedata/tst-langinfo.sh: Send output to stdout.
6087         * localedata/tst-langinfo-static.c: New file.
6088
6089         [BZ #16965]
6090         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6091         when the shift amount is modulo the limb size.
6092
6093 2014-05-20  Richard Henderson  <rth@redhat.com>
6094
6095         [BZ #16967]
6096         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6097         Change type of sa_flags from unsigned int to int.
6098
6099         [BZ #16966]
6100         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6101
6102         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6103
6104 2014-05-20  Will Newton  <will.newton@linaro.org>
6105
6106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6107         Test the return value of the system call in the nocancel case.
6108
6109 2014-05-20  Will Newton  <will.newton@linaro.org>
6110             Yvan Roux  <yvan.roux@linaro.org>
6111
6112         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6113         #include of asm/ptrace.h.
6114         (PTRACE_GET_THREAD_AREA): Remove #undef.
6115         (PTRACE_GETHBPREGS): Likewise.
6116         (PTRACE_SETHBPREGS): Likewise.
6117         (struct user_regs_struct): New structure.
6118         (struct user_fpsimd_struct): New structure.
6119         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6120         #include of asm/ptrace.h and second #include of sys/user.h.
6121         (PTRACE_GET_THREAD_AREA): Remove #undef.
6122         (PTRACE_GETHBPREGS): Likewise.
6123         (PTRACE_SETHBPREGS): Likewise.
6124         (ELF_NGREG): Use new struct user_regs_struct.
6125         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6126
6127 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128
6129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6131
6132 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6133
6134         [BZ #16958]
6135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6136         membar to avoid block loads/stores to overlap previous stores.
6137
6138 2014-05-17  Richard Henderson  <rth@redhat.com>
6139
6140         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6141         Create the __##syscall_name##_nocancel entry point.
6142         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6143         Remove; let the sysdep-cancel.h code create it.
6144
6145 2014-05-17  David S. Miller  <davem@davemloft.net>
6146
6147         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6148         Protect with __USE_GNU.
6149         (TIOCSET_TEMPT): Likewise.
6150         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6151         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6152         these are already provided in bits/ioctl-types.h
6153
6154 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6155
6156         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6157         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6158
6159         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6160         Use wait4 regardless of [__NR_waitpid].
6161
6162 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6163
6164         PR libgcc/60166
6165         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6166         (_FP_NANSIGN_Q): Set the quiet bit.
6167
6168 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6169
6170         * benchtests/Makefile
6171         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6172         not $(common-objpfx)math/libm.so.
6173         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6174         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6175         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6176         $(common-objpfx)dlfcn/libdl.so.
6177         ($(objpfx)tst-audit8): Depend on $(libm), not
6178         $(common-objpfx)math/libm.so.
6179         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6180         not $(common-objpfx)dlfcn/libdl.so.
6181         * math/Makefile
6182         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6183         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6184         [$(build-shared) = yes].
6185         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6186         $(common-objpfx)nptl/libpthread.so.
6187         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6188         $(common-objpfx)math/libm.so$(libm.so-version) or
6189         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6190         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6191         $(common-objpfx)dlfcn/libdl.so.
6192         * setjmp/Makefile (link-libm): Remove variable.
6193         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6194         * stdio-common/Makefile (link-libm): Remove variable.
6195         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6196         * stdlib/Makefile (link-libm): Remove variable.
6197         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6198         ($(objpfx)tst-strtod-round): Likewise.
6199         ($(objpfx)tst-tininess): Likewise.
6200         ($(objpfx)tst-strtod-underflow): Likewise.
6201         ($(objpfx)tst-strtod6): Likewise.
6202         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6203         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6204         $(common-objpfx)dlfcn/libdl.so.
6205
6206 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6207
6208         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6209         BSD terminal modes definitions.
6210
6211 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6212
6213         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6214         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6215
6216         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6217         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6218         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6219         Don't do #include_next.
6220         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6221         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6222         Don't do #include_next.
6223         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6224         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6225         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6226         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6227
6228 2014-05-16  Allan McRae  <allan@archlinux.org>
6229
6230         * po/sv.po: Update Swedish translation from translation project.
6231
6232         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6233         in sed expression.
6234
6235 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6236
6237         [BZ #16917]
6238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6239         errno if the TIOCGPTN ioctl fails with an error different than
6240         EINVAL.
6241         * login/tst-ptsname.c: New file.
6242         * login/Makefile (tests): Add tst-ptsname.
6243
6244         [BZ #16943]
6245         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6246         and prlimit64.
6247
6248 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6249
6250         [BZ #16849]
6251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6252         herrno to return EAI_AGAIN.
6253
6254 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6255
6256         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6257         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6258         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6259         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6260         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6261         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6262         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6263         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6264         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6265         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6266         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6267         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6269         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6270         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6271         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6272         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6273         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6274         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6275         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6276         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6277         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6278         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6279         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6280         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6281         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6283         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6285         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6287         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6289         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6291         Moved ...
6292         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6294         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6296         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6298         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6300         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6302         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6304         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6306         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6308         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6310         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6312         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6314         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6316         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6318         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6320         Moved ...
6321         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6323         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6325         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6327         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6329         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6331         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6333         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6335         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6337         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6339         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6341         Moved ...
6342         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6344         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6345
6346         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6347         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6348         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6349         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6350         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6351         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6352         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6353         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6354         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6356         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6358         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6360         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6362         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6363         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6364         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6365         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6366         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6367         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6368         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6369         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6370         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6372         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6375         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6377
6378         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6379         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6380
6381         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6382         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6383         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6384         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6385         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6386         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6387         Moved ...
6388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6390         Moved ...
6391         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6393         Moved ...
6394         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6396         Moved ...
6397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6398         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6399         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6400         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6401         Moved ...
6402         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6403         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6404         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6406         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6407         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6408         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6410         Moved ...
6411         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6413         Moved ...
6414         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6415         ... here.
6416         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6417         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6418         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6419         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6421         Moved ...
6422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6423         ... here.
6424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6425         Moved ...
6426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6428         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6430         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6432         Moved ...
6433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6435         Moved ...
6436         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6438         Moved ...
6439         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6441         Moved ...
6442         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6443         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6444         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6446         Moved ...
6447         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6448         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6449         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6451         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6452         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6453         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6455         Moved ...
6456         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6458         Moved ...
6459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6460         ... here.
6461         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6462         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6463         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6464         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6466         Moved ...
6467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6468         ... here.
6469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6470         Moved ...
6471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6472         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6473         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6474         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6475         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6476         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6477         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6478         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6479         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6481         Moved ...
6482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6484         Moved ...
6485         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6487         Moved ...
6488         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6489         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6490         Moved ...
6491         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6492         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6493         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6494         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6495         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6496         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6497         Moved ...
6498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6499         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6500         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6501         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6503         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6504         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6506         Moved ...
6507         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6509         Moved ...
6510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6511         ... here.
6512         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6513         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6514         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6515         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6517         Moved ...
6518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6519         ... here.
6520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6521         Moved ...
6522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6523         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6524         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6525         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6526         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6527         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6528         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6529         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6530         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6531         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6532         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6533
6534         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6535         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6536
6537         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6538         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6539
6540         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6541         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6542         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6544         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6545         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6546         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6547         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6548         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6549         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6552         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6554         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6555         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6556         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6558         Moved ...
6559         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6563         Moved ...
6564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6566         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6568         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6572         Moved ...
6573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6575         Moved ...
6576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6582         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6583         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6584         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6585         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6586         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6588         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6589         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6590         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6591         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6592         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6593
6594         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6595         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6596         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6597         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6598         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6599
6600         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6601         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6602         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6603         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6604         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6605         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6606         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6607         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6608         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6609         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6610
6611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6613
6614         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6615         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6616         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6617         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6618         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6619         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6620         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6621         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6623         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6625         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6627         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6629         Update #include.
6630         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6631         Likewise.
6632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6633         Likewise.
6634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6635         Likewise.
6636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6637         Likewise.
6638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6639         Likewise.
6640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6641         Likewise.
6642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6643         Likewise.
6644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6645         Likewise.
6646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6647         Likewise.
6648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6663
6664         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6665         that was previously under [RESET_PID].
6666         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6667         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6668         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6669
6670         * sysdeps/i386/nptl/Implies: New file.
6671         * sysdeps/x86_64/nptl/Implies: New file.
6672         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6673         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6674         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6675         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6676
6677         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6678         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6679         (__libc_vfork): New strong alias.
6680         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6681         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6682
6683         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6684         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6685         (__libc_vfork): New strong alias.
6686         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6687         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6688
6689         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6690         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6691         (__libc_vfork): New strong alias.
6692         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6693         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6694         * nptl/pt-vfork.c: New file.
6695         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6696         (libpthread: GLIBC_2.20): New version set (empty).
6697
6698 2014-05-14  Will Newton  <will.newton@linaro.org>
6699
6700         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6701         rather than #if.
6702
6703 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6704
6705         [BZ #16564]
6706         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6707         arguments with exponent 65 or above.
6708         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6709         arguments 0x1p113L or above.
6710         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6711         to arguments 0x1p107L or above.
6712         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6713         positive arguments with exponent 65 or above.
6714         * math/auto-libm-test-in: Add more tests of log1p.
6715         * math/auto-libm-test-out: Regenerated.
6716
6717         [BZ #16928]
6718         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6719         non-finite arguments is +0.
6720         * math/s_cacosf.c (__cacosf): Likewise.
6721         * math/s_cacosl.c (__cacosl): Likewise.
6722         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6723         * sysdeps/i386/fpu/libm-test-ulps: Update.
6724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6725
6726         [BZ #16927]
6727         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6728         value.
6729         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6730         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6731         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6732         for explicit high bit of mantissa when testing for argument equal
6733         to 1.
6734         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6735         * sysdeps/i386/fpu/libm-test-ulps: Update.
6736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6737
6738         [BZ #16516]
6739         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6740         (__erf): Scale by 16 instead of 8 in potentially underflowing
6741         case.  Ensure exception if result actually underflows.
6742         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6743         (__erff): Scale by 16 instead of 8 in potentially underflowing
6744         case.  Ensure exception if result actually underflows.
6745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6746         (efx8): Remove variable.
6747         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6748         case.  Ensure exception if result actually underflows.
6749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6750         (efx8): Remove variable.
6751         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6752         case.  Ensure exception if result actually underflows.
6753         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6754         (efx8): Remove variable.
6755         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6756         case.  Ensure exception if result actually underflows.
6757         * math/auto-libm-test-in: Add more tests of erf.
6758         * math/auto-libm-test-out: Regenerated.
6759
6760 2014-05-14  Andreas Schwab  <schwab@suse.de>
6761
6762         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6763         Remove code conditionalized on USE___THREAD.
6764
6765         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6766         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6767         not definedness.
6768
6769 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6770
6771         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6772         Define unconditionally.
6773         (__ASSUME_O_CLOEXEC): Likewise.
6774         (__ASSUME_SOCK_CLOEXEC): Likewise.
6775         (__ASSUME_IN_NONBLOCK): Likewise.
6776         (__ASSUME_PIPE2): Likewise.
6777         (__ASSUME_EVENTFD2): Likewise.
6778         (__ASSUME_SIGNALFD4): Likewise.
6779         (__ASSUME_DUP3): Likewise.
6780         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6781         (__ASSUME_DUP3): Do not define.
6782         (__ASSUME_EVENTFD2): Likewise.
6783         (__ASSUME_IN_NONBLOCK): Likewise.
6784         (__ASSUME_O_CLOEXEC): Likewise.
6785         (__ASSUME_PIPE2): Likewise.
6786         (__ASSUME_SIGNALFD4): Likewise.
6787         (__ASSUME_SOCK_CLOEXEC): Likewise.
6788         (__ASSUME_UTIMES): Undefine.
6789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6790         (__ASSUME_UTIMES): Do not define.
6791         (__ASSUME_O_CLOEXEC): Likewise.
6792         (__ASSUME_SOCK_CLOEXEC): Likewise.
6793         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6794         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6795         0x020621].
6796         (__ASSUME_PIPE2): Likewise.
6797         (__ASSUME_EVENTFD2): Likewise.
6798         (__ASSUME_SIGNALFD4): Likewise.
6799         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6800         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6801         Do not define.
6802         (__ASSUME_EVENTFD2): Likewise.
6803         (__ASSUME_SIGNALFD4): Likewise.
6804         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6805         (__ASSUME_32BITUIDS): Likewise.
6806         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6807         (__ASSUME_IPC64): Likewise.
6808         (__ASSUME_ST_INO_64_BIT): Likewise.
6809         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6810         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6811         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6812         (__ASSUME_UTIMES): Do not define.
6813         (__ASSUME_PSELECT): Likewise.
6814         (__ASSUME_PPOLL): Likewise.
6815         (__ASSUME_O_CLOEXEC): Likewise.
6816         (__ASSUME_SOCK_CLOEXEC): Likewise.
6817         (__ASSUME_IN_NONBLOCK): Likewise.
6818         (__ASSUME_PIPE2): Likewise.
6819         (__ASSUME_EVENTFD2): Likewise.
6820         (__ASSUME_SIGNALFD4): Likewise.
6821         (__ASSUME_DUP3): Likewise.
6822         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6823         (__ASSUME_UTIMES): Likewise.
6824         (__ASSUME_O_CLOEXEC): Likewise.
6825         (__ASSUME_SOCK_CLOEXEC): Likewise.
6826         (__ASSUME_IN_NONBLOCK): Likewise.
6827         (__ASSUME_PIPE2): Likewise.
6828         (__ASSUME_EVENTFD2): Likewise.
6829         (__ASSUME_SIGNALFD4): Likewise.
6830         (__ASSUME_DUP3): Likewise.
6831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6832         (__ASSUME_UTIMES): Likewise.
6833         (__ASSUME_O_CLOEXEC): Likewise.
6834         (__ASSUME_SOCK_CLOEXEC): Likewise.
6835         (__ASSUME_IN_NONBLOCK): Likewise.
6836         (__ASSUME_PIPE2): Likewise.
6837         (__ASSUME_EVENTFD2): Likewise.
6838         (__ASSUME_SIGNALFD4): Likewise.
6839         (__ASSUME_DUP3): Likewise.
6840         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6841         Likewise.
6842         (__ASSUME_UTIMES): Likewise.
6843         (__ASSUME_EVENTFD2): Likewise.
6844         (__ASSUME_SIGNALFD4): Likewise.
6845         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6846         (__ASSUME_O_CLOEXEC): Likewise.
6847         (__ASSUME_SOCK_CLOEXEC): Likewise.
6848         (__ASSUME_IN_NONBLOCK): Likewise.
6849         (__ASSUME_PIPE2): Likewise.
6850         (__ASSUME_EVENTFD2): Likewise.
6851         (__ASSUME_SIGNALFD4): Likewise.
6852         (__ASSUME_DUP3): Likewise.
6853         (__ASSUME_UTIMES): Undefine.
6854
6855         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6856         feclearexcept.  Remove symbol versioning code.
6857         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6858         symbol versioning code.
6859         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6860         symbol versioning code.
6861         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6862         feupdateenv.  Remove symbol versioning code.
6863         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6864         fegetexceptflag.  Remove symbol versioning code.
6865         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6866         fesetexceptflag.  Remove symbol versioning code.
6867         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6868         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6869         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6870         (__posix_fadvise64_l32): Remove prototype.
6871         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6872         code.
6873
6874 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6875
6876         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6877         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6878         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6879         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6880
6881 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6882
6883         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6884         current working directory
6885
6886 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6887
6888         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6889         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6890         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6891         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6892         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6893         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6894         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6895         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6896         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6897         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6899         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6900         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6901         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6902         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6903         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6904         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6905         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6906         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6907         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6908         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6909         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6910         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6911         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6912         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6913         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6914         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6915         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6916         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6917         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6918         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6919         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6920         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6921         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6922         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6923         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6924         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6925         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6926         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6927         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6928         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6929         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6930
6931         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6932         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6933
6934         * sysdeps/unix/sysv/linux/arm/Makefile
6935         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6936         Add rt-aeabi_unwind_cpp_pr1.
6937         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6938         Add nptl-aeabi_unwind_cpp_pr1.
6939         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6940         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6941         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6942         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6943         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6944         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6945
6946         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6947         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6948         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6949         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6950
6951         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6952         Deconditionalize the code that was previously under [RESET_PID].
6953         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6954
6955         * sysdeps/generic/exit-thread.h: New file.
6956         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6957         * include/unistd.h (__exit_thread): Remove declaration.
6958         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6959         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6960         * csu/libc-start.c: Include <exit-thread.h>.
6961         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6962         * nptl/pthread_create.c: Include <exit-thread.h>.
6963         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6964         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6965         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6966         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6967         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6968         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6969         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6970         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6971         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6972         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6973         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6974         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6975         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6976         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6977         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6978         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6979         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6980
6981 2014-05-13  Andreas Schwab  <schwab@suse.de>
6982
6983         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6984
6985 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6986
6987         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6988         (__ASSUME_UTIMES): Do not condition on kernel version.
6989         (__ASSUME_PSELECT): Define unconditionally.
6990         (__ASSUME_PPOLL): Likewise.
6991         (__ASSUME_ATFCTS): Likewise.
6992         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6993         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6994         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6995         (__ASSUME_UTIMENSAT): Define unconditionally.
6996         (__ASSUME_PRIVATE_FUTEX): Likewise.
6997         (__ASSUME_FALLOCATE): Likewise.
6998         (__ASSUME_O_CLOEXEC): Likewise.
6999         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7000         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7001         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7002         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7003         (__ASSUME_IN_NONBLOCK): Likewise.
7004         (__ASSUME_PIPE2): Likewise.
7005         (__ASSUME_EVENTFD2): Likewise.
7006         (__ASSUME_SIGNALFD4): Likewise.
7007         (__ASSUME_DUP3): Likewise.
7008         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7009         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7010         (__ASSUME_AT_RANDOM): Likewise.
7011         (__ASSUME_PREADV): Likewise.
7012         (__ASSUME_PWRITEV): Likewise.
7013         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7014         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7015         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7017         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7018         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7019         (__ASSUME_O_CLOEXEC): Define unconditionally.
7020         (__ASSUME_PSELECT): Do not undefine conditionally.
7021         (__ASSUME_PPOLL): Likewise.
7022         (__ASSUME_ATFCTS): Likewise.
7023         (__ASSUME_SET_ROBUST_LIST): Likewise.
7024         (__ASSUME_UTIMENSAT): Likewise.
7025         (__ASSUME_FDATASYNC): Define unconditionally.
7026         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7027         (__ASSUME_SIGFRAME_V2): Likewise.
7028         )__ASSUME_EVENTFD2): Likewise.
7029         (__ASSUME_SIGNALFD4): Likewise.
7030         (__ASSUME_PSELECT): Do not undefine conditionally.
7031         (__ASSUME_PPOLL): Likewise.
7032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7033         (__ASSUME_PSELECT): Define unconditionally.
7034         (__ASSUME_PPOLL): Likewise.
7035         (__ASSUME_O_CLOEXEC): Likewise.
7036         (__ASSUME_SOCK_CLOEXEC): Likewise.
7037         (__ASSUME_IN_NONBLOCK): Likewise.
7038         (__ASSUME_PIPE2): Likewise.
7039         (__ASSUME_EVENTFD2): Likewise.
7040         (__ASSUME_SIGNALFD4): Likewise.
7041         (__ASSUME_DUP3): Likewise.
7042         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7043         (__ASSUME_O_CLOEXEC): Likewise.
7044         (__ASSUME_SOCK_CLOEXEC): Likewise.
7045         (__ASSUME_IN_NONBLOCK): Likewise.
7046         (__ASSUME_PIPE2): Likewise.
7047         (__ASSUME_EVENTFD2): Likewise.
7048         (__ASSUME_SIGNALFD4): Likewise.
7049         (__ASSUME_DUP3): Likewise.
7050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7051         (__ASSUME_EVENTFD2): Likewise.
7052         (__ASSUME_SIGNALFD4): Likewise.
7053         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7054
7055 2014-05-12  Andreas Schwab  <schwab@suse.de>
7056
7057         [BZ #16932]
7058         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7059         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7060         than maximum RPC packet size.
7061         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7062         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7063         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7064         (_nss_nis_getservbyport_r): Likewise.
7065
7066 2014-05-12  Will Newton  <will.newton@linaro.org>
7067
7068         * malloc/Makefile (tests): Add tst-mallopt.
7069         * malloc/tst-mallopt.c: New file.
7070
7071 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7072
7073         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7074         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7075
7076 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7077
7078         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7079         (tst-tlsmod6.so): Likewise.
7080
7081 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7082
7083         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7084
7085 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7086
7087         [BZ #16064]
7088         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7089         and <dl-procinfo.h>.
7090         (__fegetenv): Save SSE state in envp->__eip if supported.
7091         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7092         envp->__eip if supported.
7093         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7094         and <dl-procinfo.h>.
7095         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7096         __data_offset and __data_selector in environment to 0.  Set SSE
7097         state if supported.
7098         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7099         test-fenv-sse.
7100         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7101         -mfpmath=sse.
7102         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7103
7104 2014-05-09  Will Newton  <will.newton@linaro.org>
7105
7106         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7107         and libc_relro_required for ARM.
7108         * sysdeps/arm/preconfigure: Regenerate.
7109
7110 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7111             Stefan Liebler  <stli@linux.vnet.ibm.com>
7112
7113         * config.make.in (enable-lock-elision): New Makefile variable.
7114         * configure.ac: Likewise.
7115         * configure: Regenerate.
7116         * sysdeps/s390/configure.ac:
7117         Add check for gcc transactions support.
7118         * sysdeps/s390/configure: Regenerate.
7119         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7120         Build elision files if enabled.
7121         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7122         Add lock elision support for s390.
7123         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7124         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7125         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7126         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7127         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7128         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7130         Likewise.
7131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7132         Likewise.
7133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7134         Likewise.
7135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7136         Likewise.
7137         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7138         (__lll_timedlock_elision, __lll_lock_elision)
7139         (__lll_unlock_elision, __lll_trylock_elision)
7140         (lll_timedlock_elision, lll_lock_elision)
7141         (lll_unlock_elision, lll_trylock_elision): Add.
7142         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7143         (pthread_mutex_t): Add lock elision support for s390.
7144
7145 2014-05-14  Wilco  <wdijkstr@arm.com>
7146
7147         * sysdeps/arm/fclrexcpt.c: Cleanup.
7148         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7149         * sysdeps/arm/feenablxcpt.c: Cleanup.
7150         * sysdeps/arm/fegetenv.c: Cleanup.
7151         * sysdeps/arm/fegetexcept.c: Cleanup.
7152         * sysdeps/arm/fegetround.c: Cleanup.
7153         * sysdeps/arm/feholdexcpt.c: Cleanup.
7154         * sysdeps/arm/fesetenv.c: Cleanup.
7155         * sysdeps/arm/fesetround.c: Cleanup.
7156         * sysdeps/arm/feupdateenv.c: Cleanup.
7157         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7158         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7159         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7160         * sysdeps/arm/ftestexcept.c: Cleanup.
7161         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7162         * sysdeps/arm/setfpucw.c: Cleanup.
7163
7164 2014-05-09  Will Newton  <will.newton@linaro.org>
7165
7166         * sysdeps/arm/armv7/strcmp.S: New file.
7167         * NEWS: Mention addition of ARMv7 optimized strcmp.
7168
7169 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7170
7171         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7172         look for %.ac rather than %.in.
7173
7174         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7175         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7176         * sysdeps/mach/hurd/configure: Regenerated.
7177         * sysdeps/unix/sysv/linux/configure: Regenerated.
7178
7179         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7180
7181 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7182
7183         [BZ# 16922]
7184         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7185         (LONG_SUB): Ditto.
7186         (PTR_SUB): Ditto.
7187
7188 2014-05-07  Andreas Schwab  <schwab@suse.de>
7189
7190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7191         when skipping over non-matching result from nscd.
7192
7193 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7194
7195         [BZ #16876]
7196         * nptl/sockperf.c (client): Check socket return value.
7197
7198         [BZ #16877]
7199         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7200         nscd security class.
7201
7202 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7203
7204         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7205         * sysdeps/arm/unwind.h: ... here.
7206
7207 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7208
7209         [BZ# 16916]
7210         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7211         Define.
7212
7213 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7214
7215         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7216         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7217         multiarch strncpy for PPC64.
7218         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7219         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7221         multiarch optimizations.
7222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7223         (__libc_ifunc_impl_list): Likewise.
7224         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7225         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7226         multiarch stpncpy for PPC64.
7227         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7229
7230 2014-05-06  Andreas Schwab  <schwab@suse.de>
7231
7232         [BZ #16912]
7233         * gmon/mcount.c (_MCOUNT_DECL): Use
7234         atomic_compare_and_exchange_bool_acq instead of
7235         catomic_compare_and_exchange_bool_acq.
7236
7237 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7238
7239         * elf/Makefile (others, install-bin): Remove pldd.
7240         (pldd-modules): Variable removed.
7241         ($(objpfx)pldd): Target removed.
7242         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7243         (others, install-bin): Append pldd here.
7244         ($(objpfx)pldd): New target.
7245
7246         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7247         to 0, so the first #if test emitted later doesn't see it undefined.
7248         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7249         * sysdeps/gnu/errlist.c: Regenerated.
7250
7251 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7252
7253         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7254         [libc_hidden_builtin_def]: Define to empty value.
7255         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7256         [libc_hidden_builtin_def]: Likewise.
7257         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7258         [libc_hidden_builtin_def]: Likewise.
7259         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7260         [libc_hidden_builtin_def]: Likewise.
7261         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7262         __redirect_memcpy and define ifunc as default hidden symbol.
7263         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7264         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7265
7266 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7267
7268         * locale/iso-4217.def: Reintroduce XDR currency.
7269
7270 2014-05-04  Allan McRae  <allan@archlinux.org>
7271
7272         * po/eo.po: Update Esperanto translation from translation project.
7273
7274 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7275
7276         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7277         and FEATURE_INDEX_MAX to 1.
7278         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7279
7280 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7281
7282         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7283         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7284         * iconvdata/big5.c (ONE_DIRECTION): Define.
7285         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7286         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7287         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7288         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7289         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7290         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7291         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7292         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7293         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7294         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7295         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7296         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7297         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7298         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7299         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7300         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7301         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7302         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7303         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7304         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7305         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7306         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7307         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7308         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7309         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7310         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7311         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7312         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7313         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7314         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7315         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7316         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7317         * iconvdata/johab.c (ONE_DIRECTION): Define.
7318         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7319         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7320         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7321         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7322         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7323         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7324         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7325         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7326         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7327         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7328
7329 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7330
7331         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7332         (_IO_JUMPS_OFFSET): Define to 0.
7333
7334         * nptl/sysdeps/pthread/bits/libc-lock.h
7335         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7336         (__libc_lock_define_initialized_recursive): Always define using
7337         initializer.  Modern compilers treat uninitialized (implicit zero) and
7338         explicit zero initializers the same (i.e. put the datum in bss).
7339
7340 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7341
7342         * nscd/nscd-client.h: Include <string.h>.
7343
7344 2014-05-01  David S. Miller  <davem@davemloft.net>
7345
7346         [BZ #16885]
7347         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7348         multiple zero bytes exist at the end of a string.
7349         Reported by Aurelien Jarno <aurelien@aurel32.net>
7350
7351         * string/test-strcmp.c (check): Add explicit test for situations where
7352         there are multiple zero bytes after the first.
7353
7354 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7355
7356         [BZ #16890]
7357         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7358         when compiling wprintf.
7359         * stdio-common/tstdiomisc.c (t3): New function.
7360         (main): Call it.
7361
7362 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7363
7364         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7365         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7366         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7367         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7368
7369 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7370
7371         * stdlib/longlong.h: Updated from GCC.
7372
7373 2014-05-01  Will Newton  <will.newton@linaro.org>
7374             Bernard Ogden  <bernie.ogden@linaro.org>
7375
7376         * NEWS: Update fixed bug list.
7377
7378         [BZ #15119]
7379         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7380
7381 2014-04-30  David S. Miller  <davem@davemloft.net>
7382
7383         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7384         (libc_feholdexcept_setround_sparc_ctx): New function.
7385         (libc_fesetenv_sparc_ctx): Likewise.
7386         (libc_feupdateenv_sparc_ctx): Likewise.
7387         (libc_feholdsetround_sparc_ctx): Likewise.
7388         (libc_feholdexcept_setround_ctx): Define.
7389         (libc_feholdexcept_setroundf_ctx): Likewise.
7390         (libc_feholdexcept_setroundl_ctx): Likewise.
7391         (libc_fesetenv_ctx): Likewise.
7392         (libc_fesetenvf_ctx): Likewise.
7393         (libc_fesetenvl_ctx): Likewise.
7394         (libc_feupdateenv_ctx): Likewise.
7395         (libc_feupdateenvf_ctx): Likewise.
7396         (libc_feupdateenvl_ctx): Likewise.
7397         (libc_feresetround_ctx): Likewise.
7398         (libc_feresetroundf_ctx): Likewise.
7399         (libc_feresetroundl_ctx): Likewise.
7400         (libc_feholdsetround_ctx): Likewise.
7401         (libc_feholdsetroundf_ctx): Likewise.
7402         (libc_feholdsetroundl_ctx): Likewise.
7403
7404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7405         with __USE_GNU instead of XOPEN cpp guards.
7406
7407         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7408         0.
7409
7410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7411         with XOPEN cpp guards.
7412
7413 2014-04-30  Julian Brown  <julian@codesourcery.com>
7414
7415         [BZ #16888]
7416         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7417         handling.
7418
7419 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7420
7421         [BZ #9894]
7422         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7423         Change to 2.6.32.
7424         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7425         * sysdeps/unix/sysv/linux/configure: Regenerated.
7426         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7427         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7428         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7429         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7430         * README: Update reference to required Linux kernel version.
7431         * manual/install.texi (Linux): Update reference to required Linux
7432         kernel headers version.
7433         * INSTALL: Regenerated.
7434
7435         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7436         header inclusion.
7437         [POSIX] (limits.h): Likewise.
7438         [POSIX] (math.h): Likewise.
7439         [POSIX] (sys/wait.h): Likewise.
7440         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7441         function.
7442         [POSIX] (stddef.h): Do not allow header inclusion.
7443
7444 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7445
7446         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7447
7448 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7449
7450         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7451         Return immediately after lll_futex_wake.
7452
7453 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7454
7455         [BZ #16791]
7456         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7457         structure.
7458         (datahead_init_pos): Call datahead_init_common early.
7459         (datahead_init_neg): Likewise.
7460
7461         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7462         datahead_init_neg): New functions.
7463         * nscd/aicache.c (addhstaiX): Use them.
7464         * nscd/grpcache.c (cache_addgr): Likewise.
7465         * nscd/hstcache.c (cache_addhst): Likewise.
7466         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7467         * nscd/netgroupcache.c (do_notfound): Likewise.
7468         (addgetnetgrentX): Likewise.
7469         (addinnetgrX): Likewise.
7470         * nscd/pwdcache.c (cache_addpw): Likewise.
7471         * nscd/servicescache.c (cache_addserv): Likewise.
7472
7473 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7474             Atsushi Onoe  <atsushi@onoe.org>
7475
7476         [BZ #14308]
7477         [BZ #12994]
7478         [BZ #13651]
7479         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7480         one response is valid.
7481         * resolv/res_send.c (send_dg): Check for validity of other
7482         response if the current response is a referral.
7483
7484 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7485
7486         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7487
7488 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7489
7490         [BZ #16823]
7491         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7492         Always divide by positive zero when computing -Inf result.
7493         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7494         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7495
7496 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7497
7498         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7499         FPSCR if value do not change.
7500         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7501         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7502         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7503         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7504         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7505         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7506         function.
7507
7508 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7509
7510         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7511         * sysdeps/unix/sysv/linux/hppa: Move directory from
7512         ports/systeps/unix/sysv/linux/hppa.
7513         * README: Update listing for hppa-*-linux-gnu.
7514
7515 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7516
7517         [BZ #16754]
7518         * manual/stdio.texi (Hook functions): Fix types of stream hook
7519         functions.
7520         [BZ #16854]
7521         * socket/sys/socket.h: Fix typo in comment.
7522
7523 2014-04-28  Wilco  <wdijkstr@arm.com>
7524
7525         * sysdeps/arm/fenv_private.h: New file.
7526         * sysdeps/arm/math_private.h: New file.
7527         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7528
7529 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7530
7531         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7532         with __int128_t.
7533         (La_x86_64_retval): Likewise.
7534
7535 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7536
7537         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7538         fpsr if value didn't change.
7539         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7540         to fpcr if value didn't change.
7541         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7542         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7543         fpsr or fpcr if value didn't change.
7544         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7545         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7546         fpcr if value didn't change.
7547         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7548         to fpsr if value didn't change.
7549
7550 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7551
7552         * nptl/tst-sem3.c: Use test-skeleton.c
7553         (main): Rename to do_test.  Use return instead of
7554         exit.
7555         * nptl/tst-sem4.c: Use test-skeleton.c
7556         (main): Rename to do_test.
7557
7558 2014-04-22  David S. Miller  <davem@davemloft.net>
7559
7560         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7561         (struct sigaction): New struct member __glibc_reserved0, change
7562         type of sa_flags to int.
7563
7564 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7565
7566         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7567         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7568
7569 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7570
7571         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7572         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7573
7574 2014-04-22  Will Newton  <will.newton@linaro.org>
7575             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7576
7577         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7578         (__longjmp): Add longjmp and longjmp_target SystemTap
7579         probes.
7580         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7581         (__sigsetjmp): Add setjmp SystemTap probe.
7582
7583 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7584
7585         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7586         match manual order.
7587
7588 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7589
7590         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7591
7592         * sysdeps/powerpc/fpu/fenv_private.h
7593         (libc_feholdexcept_setroundl_ctx): Define to
7594         libc_feholdexcept_setround_ppc_ctx.
7595         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7596         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7597         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7598         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7599
7600 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7601
7602         * sysdeps/aarch64/math-tests.h: New file.
7603
7604 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7605
7606         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7607         New.
7608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7609         Check and set bit_AVX2_Usable.
7610         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7611         macro.
7612         (bit_AVX2): Likewise.
7613         (index_AVX2_Usable): Likewise.
7614         (CPUID_AVX2): Likewise.
7615         (HAS_AVX2): Likewise.
7616
7617 2014-04-17  Will Newton  <will.newton@linaro.org>
7618
7619         * manual/setjmp.texi (System V contexts): Add note that
7620         calling setcontext on a context created by a call to a
7621         signal handler is undefined.  Update text to note that
7622         setcontext from a signal handler is possible but not
7623         recommended.
7624
7625         [BZ #16629]
7626         * stdlib/tst-setcontext.c: Include signal.h.
7627         (main): Check that the signal stack before and
7628         after swapcontext is the same.
7629
7630         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7631         Re-implement to restore registers in user code and avoid
7632         rt_sigreturn system call.
7633
7634 2014-04-17  Wilco  <wdijkstr@arm.com>
7635
7636         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7637         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7638         * math/test-fenv.c: Skip exception trap tests on targets which only
7639         support non-stop mode.
7640
7641 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7642             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7643
7644         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7645         (libc_feholdsetround_aarch64_ctx)
7646         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7647         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7648         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7649         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7650         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7651         (libc_feresetround_noexl_ctx): Define.
7652
7653 2014-04-16  Richard Henderson  <rth@redhat.com>
7654
7655         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7656
7657         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7658         unwind tables.
7659
7660         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7661         const from the non-libc, non-ldso copy.
7662
7663         * sysdeps/alpha/libm-test-ulps: Regenerate.
7664
7665 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7666             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7667
7668         * sysdeps/aarch64/fpu/math_private.h: New file.
7669
7670 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7671
7672         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7673
7674 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7675
7676         [BZ #16275]
7677         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7678         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7680         Intel MPX bound registers before _dl_profile_fixup.
7681         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7682         registers after _dl_profile_fixup.  Save and restore bound
7683         registers bnd0/bnd1 when calling _dl_call_pltexit.
7684         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7685         (LR_BND_OFFSET): Likewise.
7686         (LRV_BND0_OFFSET): Likewise.
7687         (LRV_BND1_OFFSET): Likewise.
7688
7689 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7690
7691         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7692         to...
7693         * sysdeps/mach/hurd/i386/tls.h: ... here.
7694         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7695         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7696         fields.
7697
7698 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7699
7700         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7701
7702 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7703
7704         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7705
7706 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7707
7708         [BZ #14770]
7709         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7710         * sysdeps/s390/configure: Regenerate.
7711
7712         [BZ #16824]
7713         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7714         Set round-to-nearest internally to reduce error accumulation.
7715
7716 2014-04-16  Alan Modra  <amodra@gmail.com>
7717
7718         [BZ #16740]
7719         [BZ #16619]
7720         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7721         * math/libm-test.inc (frexp_test_data): Add tests.
7722         * NEWS: Update fixed bug list.
7723
7724 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7725
7726         * benchtests/Makefile: Depend on libraries in build directory.
7727         (bench-math): Separate out math tests.
7728         (bench-pthread): Separate out pthread tests.
7729         (bench): Include math and pthread tests.
7730
7731 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7732
7733         [BZ #16831]
7734         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7735         _dl_debug_initialize.
7736
7737         * configure.ac: Remove SELinux header check.
7738         * configure: Regenerate.
7739         * nscd/selinux.c (perms): Array of const char* to permission names.
7740         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7741         default policy. Call string_to_security_class and string_to_av_perm to
7742         translate strings. Enforce default policy and call avs_has_perm with
7743         results of translated strings.
7744
7745 2014-04-13  David S. Miller  <davem@davemloft.net>
7746
7747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7748
7749 2014-04-12  Allan McRae  <allan@archlinux.org>
7750
7751         [BZ #16838]
7752         * manual/string.texi (Collation Functions): Fix qsort argument
7753         order in example.
7754         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7755
7756 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7757
7758         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7759         Make the test a no-op if there are no exceptions defined.
7760
7761 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7762
7763         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7764         enable-hardcoded-path-in-tests
7765
7766 2014-04-11  Will Newton  <will.newton@linaro.org>
7767
7768         * benchtests/Makefile (extra-objs): Add json-lib.o.
7769         (bench-func): Tidy up JSON output.
7770         * benchtests/bench-skeleton.c: Include json-lib.h.
7771         (main): Use JSON library functions to do output of
7772         benchmark results.
7773         * benchtests/bench-timing-type.c (main): Output the
7774         timing type simply, leaving formatting to the user.
7775         * benchtests/json-lib.c: New file.
7776         * benchtests/json-lib.h: Likewise.
7777
7778 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7779
7780         [BZ #15215]
7781         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7782         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7783         memory barriers.  Add comments.
7784         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7785         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7786         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7787         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7788         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7789         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7790
7791 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7792
7793         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7794         * sysdeps/s390/s390-64/configure.ac: ... this ...
7795         * sysdeps/s390/configure.ac: ... to here.
7796         * sysdeps/s390/s390-32/configure: Delete file.
7797         * sysdeps/s390/s390-64/configure: Delete file.
7798         * sysdeps/s390/configure: Regenerate.
7799
7800 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7801
7802         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7803
7804 2014-04-11  Will Newton  <will.newton@linaro.org>
7805
7806         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7807         to zero if it is not defined elsewhere.  (mtrim): Test
7808         the value of MALLOC_DEBUG with #if rather than #ifdef.
7809
7810 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7811
7812         * benchtests/pthread_once-inputs: New file.
7813         * benchtests/pthread_once-source.c: New file.
7814         * benchtests/README: Update documentation.
7815
7816 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7817             H.J. Lu  <hongjiu.lu@intel.com>
7818
7819         [BZ #16275]
7820         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7821         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7822         * sysdeps/x86_64/configure: Regenerated.
7823         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7824         macro.
7825         (REGISTER_SAVE_RAX): Likewise.
7826         (REGISTER_SAVE_RCX): Likewise.
7827         (REGISTER_SAVE_RDX): Likewise.
7828         (REGISTER_SAVE_RSI): Likewise.
7829         (REGISTER_SAVE_RDI): Likewise.
7830         (REGISTER_SAVE_R8): Likewise.
7831         (REGISTER_SAVE_R9): Likewise.
7832         (REGISTER_SAVE_BND0): Likewise.
7833         (REGISTER_SAVE_BND1): Likewise.
7834         (REGISTER_SAVE_BND2): Likewise.
7835         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7836         bound registers when calling _dl_fixup.
7837
7838 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7839
7840         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7841         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7842         of its definition.
7843         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7844         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7845         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7846         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7847         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7848         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7849         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7850
7851 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7852
7853         [BZ #15514]
7854         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7855         pathconf(_PC_NAME_MAX).
7856
7857 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7858
7859         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7860         Remove macro usage.
7861         (__PTHREAD_SPINS): Move definition to ...
7862         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7863         (__PTHREAD_SPINS): ... here.
7864         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7865         (__PTHREAD_SPIN): Likewise.
7866         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7867         (__PTHREAD_SPIN): Likewise.
7868         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7869         (__PTHREAD_SPIN): Likewise.
7870         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7871         (__PTHREAD_SPIN): Likewise.
7872         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7873         (__PTHREAD_SPIN): Likewise.
7874         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7875         (__PTHREAD_SPIN): Likewise.
7876         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7877         (__PTHREAD_SPIN): Likewise.
7878         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7879         (__PTHREAD_SPIN): Likewise.
7880         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7881         (__PTHREAD_SPIN): Likewise.
7882         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7883         (__PTHREAD_SPIN): Likewise.
7884         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7885         (__PTHREAD_SPIN): Likewise.
7886         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7887         (__PTHREAD_SPIN): Likewise.
7888
7889         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7890         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7891         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7892         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7893         imply folder.
7894         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7895         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7896         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7897         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7898         correct imply path.
7899         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7900         strlen symbol for non multi-arch builds.
7901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7902         missing hidden_def and weak_alias.
7903
7904 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7905
7906         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7907
7908 2014-04-07  Will Newton  <will.newton@linaro.org>
7909
7910         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7911         and contents.  [!_LIBC] Remove #ifndef and contents.
7912         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7913         * string/memccpy.c (__memccpy): Use ANSI prototype.
7914         * string/memfrob.c (memfrob): Likewise.
7915         * string/strcoll.c (STRCOLL): Likewise.
7916         * string/strlen.c (strlen): Likewise.
7917         * string/strtok.c (STRTOK): Likewise.
7918         * string/strcat.c: Remove unused #include of memcopy.h.
7919         (strcat): Use ANSI prototype.
7920         * string/strchr.c: Remove unused #include of memcopy.h.
7921         (strchr): Use ANSI prototype.
7922         * string/strcmp.c: Remove unused #include of memcopy.h.
7923         (strcmp): Use ANSI prototype.
7924         * string/strcpy.c: Remove unused #include of memcopy.h.
7925         (strcpy): Use ANSI prototype.
7926
7927 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7928
7929         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7930         * config.make.in (config-extra-cppflags): Set it from
7931         libc_extra_cppflags.
7932         * configure.ac (libc_extra_cflags): Make it accumulate over
7933         configure fragments.
7934         (libc_extra_cppflags): New flag.
7935         * configure. Regenerate.
7936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7937         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7938         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7940
7941         [BZ #16815]
7942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7943         result for FE_DOWNWARD rounding mode.
7944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7945         Likewise.
7946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7947
7948 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7949
7950         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7951         in function argument name.
7952
7953 2014-04-03  David Svoboda  <svoboda@cert.org>
7954
7955         [BZ #5666]
7956         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7957         explicitly.
7958
7959 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7960
7961         * elf/dl-unmap-segments.h: New file.
7962         * sysdeps/generic/ldsodefs.h
7963         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7964         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7965         * elf/dl-fptr.c: Likewise.
7966         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7967         * sysdeps/aarch64/tlsdesc.c: Likewise.
7968         * sysdeps/arm/tlsdesc.c: Likewise.
7969         * sysdeps/i386/tlsdesc.c: Likewise.
7970         * sysdeps/tile/dl-runtime.c: Likewise.
7971         * sysdeps/x86_64/tlsdesc.c: Likewise.
7972         * elf/dl-load.h: New file.
7973         * elf/dl-load.c: Include it.
7974         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7975         Macros moved to dl-load.h.
7976         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7977         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7978         Use _dl_unmap_segments in place of __munmap.
7979         Break out segment-mapping loop into ...
7980         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7981
7982 2014-04-03  Will Newton  <will.newton@linaro.org>
7983
7984         * elf/dl-lookup.c (do_lookup_x): Remove comment
7985         referring to nested function and move variable
7986         declarations down to before first use.
7987
7988 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7989
7990         [BZ #16799]
7991         [BZ #16800]
7992         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7993         with 0 numerator.
7994         * math/s_catanf.c (__catanf): Likewise.
7995         * math/s_catanh.c (__catanh): Likewise.
7996         * math/s_catanhf.c (__catanhf): Likewise.
7997         * math/s_catanhl.c (__catanhl): Likewise.
7998         * math/s_catanl.c (__catanl): Likewise.
7999         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8000         by positive zero when computing -Inf result.
8001         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8002         (catanh_test): Likewise.
8003         * sysdeps/i386/fpu/libm-test-ulps: Update.
8004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8005
8006         [BZ #16789]
8007         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8008         instead of using underflowing value in computing result.
8009         * math/s_clog10.c (__clog10): Likewise.
8010         * math/s_clog10f.c (__clog10f): Likewise.
8011         * math/s_clog10l.c (__clog10l): Likewise.
8012         * math/s_clogf.c (__clogf): Likewise.
8013         * math/s_clogl.c (__clogl): Likewise.
8014         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8015         (clog10_test): Likewise.
8016         * sysdeps/i386/fpu/libm-test-ulps: Update.
8017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8018
8019 2014-04-02  Alan Modra  <amodra@gmail.com>
8020
8021         [BZ #16739]
8022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8023         output when value is near a power of two.  Use int64_t for lx and
8024         remove casts.  Use decimal rather than hex exponent constants.
8025         Don't use long double multiplication when double will suffice.
8026         * math/libm-test.inc (nextafter_test_data): Add tests.
8027         * NEWS: Add 16739 and 16786 to bug list.
8028
8029         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8030
8031         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8032
8033 2014-04-01  Will Newton  <will.newton@linaro.org>
8034
8035         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8036         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8037
8038 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8039
8040         [BZ #13347]
8041         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8042         * nptl/tst-setuid2.c: New file.
8043         * nptl/Makefile (xtests): Add tst-setuid2.
8044
8045 2014-04-01  Alan Modra  <amodra@gmail.com>
8046
8047         [BZ #16786]
8048         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8049
8050 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8051
8052         [BZ #6803]
8053         [BZ #6804]
8054         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8055         set errno as appropriate.
8056         * math/w_scalbf.c (__scalbf): Likewise.
8057         * math/w_scalbl.c (__scalbl): Likewise.
8058         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8059         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8060         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8061         Add more NaN tests.
8062
8063         [BZ #16349]
8064         * math/w_atan2.c: Include <errno.h>.
8065         (__atan2): Set errno for result underflowing to zero.
8066         * math/w_atan2f.c: Include <errno.h>.
8067         (__atan2f): Set errno for result underflowing to zero.
8068         * math/w_atan2l.c: Include <errno.h>.
8069         (__atan2l): Set errno for result underflowing to zero.
8070         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8071         tests.
8072         * math/auto-libm-test-out: Regenerated.
8073
8074 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8075
8076         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8077         Encode instruction correctly in little endian.
8078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8079         Likewise.
8080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8081         Likewise.
8082         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8083         Likewise.
8084         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8085         Likewise.
8086
8087 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8088
8089         [BZ #9894]
8090         * sysdeps/unix/sysv/linux/kernel-features.h
8091         [__sparc__ && !__arch64__ && !__sparc_v9__]
8092         (__ASSUME_SET_ROBUST_LIST): Do not define.
8093         [__sparc__ && !__arch64__ && !__sparc_v9__]
8094         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8095         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8098         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8099         (__ASSUME_REQUEUE_PI): Likewise.
8100         (__ASSUME_SET_ROBUST_LIST): Likewise.
8101         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8102         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8103         Undefine.
8104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8105         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8106         Likewise.
8107         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8108         Likewise.
8109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8110         Likewise.
8111         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8112         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8113         Undefine.
8114         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8115         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8116         Likewise.
8117
8118         [BZ #16648]
8119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8120         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8121         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8122
8123 2014-03-31  Will Newton  <will.newton@linaro.org>
8124
8125         * benchtests/Makefile (bench): Add ffs and ffsll to list
8126         of tests.
8127         * benchtests/ffs-inputs: New file.
8128         * benchtests/ffsll-inputs: Likewise.
8129
8130 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8131
8132         [BZ #16770]
8133         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8134         too large before casting to int.
8135         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8136         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8137         * math/libm-test.inc (scalb_test_data): Add more tests.
8138
8139 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140
8141         * benchtests/Makefile (DETAILED_OPT): New make option.
8142         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8143         set.
8144         * benchtests/bench-skeleton.c: Include stdbool.h.
8145         (main): Store and print timings per input.
8146         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8147         member to each argument value.
8148         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8149         (_print_arg_data): Initialize per-input timing to 0.
8150
8151         * benchtests/Makefile (timing-type): New binary.
8152         (bench-clean): Also remove bench-timing-type.
8153         (bench): New target for timing-type.
8154         (bench-func): Print output in JSON format.
8155         * benchtests/bench-skeleton.c (main): Print output in JSON
8156         format.
8157         * benchtests/bench-timing-type.c: New file.
8158         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8159         (TIMING_PRINT_STATS): Remove.
8160         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8161         name separately.
8162
8163         * benchtests/bench-modf.c: Remove.
8164         * benchtests/modf-inputs: New inputs file.
8165
8166 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8167
8168         [BZ #16362]
8169         * math/s_clog10.c (M_PI_LOG10E): New macro.
8170         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8171         imaginary parts are 0.
8172         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8173         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8174         imaginary parts are 0.
8175         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8176         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8177         imaginary parts are 0.
8178         * math/libm-test.inc (clog10_test_data): Update expected results
8179         for when real and imaginary parts are 0.
8180
8181 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8182
8183         * elf/dl-load.c: Finish conversion of __builtin_expect into
8184         __glibc_{un}likely.
8185
8186 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8187
8188         [BZ #16348]
8189         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8190         1+x for argument with exponent below -67.
8191         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8192         Likewise.
8193         * math/auto-libm-test-in: Add more tests of exp.
8194         * math/auto-libm-test-out: Regenerated.
8195
8196 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8197
8198         [BZ #16759]
8199         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8200         (nscd_getnetgrent): Use it.
8201
8202         [BZ #16760]
8203         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8204         of stpcpy.
8205
8206 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8207
8208         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8209         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8210         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8211         (lll_robust_unlock): Remove out of line section. Use cfi
8212         intrinsics.
8213         (LLL_STUB_UNWIND_INFO*): Remove.
8214         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8215         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8216         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8217         (lll_robust_unlock): Remove out of line section. Use cfi
8218         intrinsics.
8219         (LLL_STUB_UNWIND_INFO*): Remove.
8220
8221 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8222
8223         [BZ #16758]
8224         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8225         blank values.
8226
8227 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8228
8229         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8230
8231 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8232
8233         [BZ #16198]
8234         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8235         fnstenv.
8236         * math/test-fenv-preserve.c: New file.
8237         * math/Makefile (tests): Add test-fenv-preserve.
8238
8239 2014-03-26  Will Newton <will.newton@linaro.org>
8240
8241         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8242
8243 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8244
8245         * scripts/versionlist.awk: Partition the version sets and emit all
8246         GLIBC_* (sorted) before all others (sorted).
8247
8248 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8249
8250         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8251         GLIBC_2.2.5 version.
8252
8253 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8254
8255         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8256         calls.
8257
8258         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8259         previous change.
8260
8261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8262
8263 2014-03-25  Andreas Schwab  <schwab@suse.de>
8264
8265         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8266         label to be used after in6ailist is initialized.
8267
8268 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8269
8270         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8271         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8272
8273 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8274
8275         [BZ #16357]
8276         [BZ #16599]
8277         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8278         min_plus_half.
8279         (fp_formats): Update initializers.
8280         (init_fp_formats): Initialize new field.
8281         (output_for_one_input_case): Allow underflow for results up to
8282         min_plus_half.
8283         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8284         * math/auto-libm-test-in: Don't mark some underflows from asin and
8285         atanh as spurious.
8286         * math/auto-libm-test-out: Regenerated.
8287         * sysdeps/i386/fpu/libm-test-ulps: Update.
8288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8289
8290 2014-03-25  Andreas Schwab  <schwab@suse.de>
8291
8292         * libio/Makefile (tst-ftell-partial-wide-ENV)
8293         (tst-ftell-active-handler-ENV): Define.
8294
8295 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8296
8297         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8298
8299 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8300
8301         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8302
8303 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8304
8305         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8306         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8307         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8308
8309 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8310
8311         [BZ #16634]
8312         * elf/dl-load.c (open_verify): Add mode parameter.
8313         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8314         (open_path): Change from boolean 'secure' to complete flag 'mode'
8315         (_dl_map_object): Adjust.
8316         * elf/Makefile (tests): Add tst-dlopen-aout.
8317         * elf/tst-dlopen-aout.c: New test.
8318
8319 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8320
8321         [BZ #16714]
8322         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8323         (struct stat): Rename member pad0 to __glibc_reserved0.
8324
8325         [BZ #16712]
8326         * sysdeps/s390/s390-32/bits/wordsize.h
8327         (__WORDSIZE32_SIZE_ULONG): New define.
8328         * sysdeps/s390/s390-64/bits/wordsize.h
8329         (__WORDSIZE32_SIZE_ULONG): Likewise.
8330         * sysdeps/generic/stdint.h (SIZE_MAX):
8331         Define as UL if __WORDSIZE32_SIZE_ULONG.
8332
8333         [BZ #16713]
8334         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8335         (__glibc_reserved0): New variable.
8336         (sa_flags): Change type to int.
8337
8338         * posix/Makefile (before-compile): Use += before-compile instead
8339         of a :=.
8340
8341         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8342         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8343
8344 2014-03-20  Andreas Schwab  <schwab@suse.de>
8345
8346         [BZ #16743]
8347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8348         non-matching result from nscd.
8349
8350 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8351
8352         * scripts/bench.py: Moved to ...
8353         * benchtests/scripts/bench.py: ... here.
8354         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8355
8356 2014-03-24  Andreas Schwab  <schwab@suse.de>
8357
8358         [BZ #16002]
8359         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8360         alloca_account and account alloca use for struct in6ailist.
8361
8362 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8363
8364         [BZ #16284]
8365         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8366         rounding mode to recompute results that overflow to infinity or
8367         underflow to zero.
8368         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8369         bug 16284.
8370         * math/auto-libm-test-out: Regenerated.
8371         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8372         (ccosh_test): Likewise.
8373         (csin_test_data): Use plus_oflow.
8374         (csin_test): Use ALL_RM_TEST.
8375         (csinh_test_data): Use plus_oflow.
8376         (csinh_test): Use ALL_RM_TEST.
8377         * sysdeps/i386/fpu/libm-test-ulps: Update.
8378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8379
8380 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8381
8382         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8383         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8384         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8385
8386         [BZ #16731]
8387         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8388         when x - 1 is zero.
8389         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8390         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8391         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8392         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8393         argument is 1.
8394         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8395         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8396         zero.
8397         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8398         * sysdeps/i386/fpu/libm-test-ulps: Update.
8399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400
8401 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8402
8403         * scripts/bench.pl: Remove file.
8404         * scripts/bench.py: New benchmark script.
8405         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8406         * benchtests/README: Mention python dependency.
8407         * scripts/pylintrc: New file.
8408         * scripts/pylint: New file.
8409
8410         * bits/mathdef.h: Use #ifdef instead of #if.
8411         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8412         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8413         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8414         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8415         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8416         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8417
8418 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8419             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8420
8421         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8423         and strpbrk-ppc64 objects.
8424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8425         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8426         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8427         multiarch strpbrk for POWER7.
8428         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8429         multiarch strpbrk for PPC64.
8430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8431         ifunc selector.
8432         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8433         strpbrk for POWER7.
8434
8435 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8436
8437         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8438         (atan_test): Likewise.
8439         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8440         (atanh_test): Use ALL_RM_TEST.
8441         (atan2_test_data): Likewise.
8442         (cabs_test): Likewise.
8443         (cacosh_test): Likewise.
8444         (carg_test): Likewise.
8445         (casin_test): Likewise.
8446         (casinh_test): Likewise.
8447         (cbrt_test): Likewise.
8448         (csqrt_test): Likewise.
8449         (erf_test): Likewise.
8450         (erfc_test): Likewise.
8451         (pow10_test): Likewise.
8452         (exp2_test): Likewise.
8453         (hypot_test): Likewise.
8454         (j0_test): Likewise.
8455         (j1_test): Likewise.
8456         (lgamma_test): Likewise.
8457         (gamma_test): Likewise.
8458         (sincos_test): Likewise.
8459         (tanh_test): Likewise.
8460         (y0_test): Likewise.
8461         (y1_test): Likewise.
8462         * sysdeps/i386/fpu/libm-test-ulps: Update.
8463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8464
8465 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8466
8467         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8469         and strcspn-ppc64 objects.
8470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8471         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8472         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8473         multiarch strcspn for POWER7.
8474         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8475         multiarch strcspn for PPC64.
8476         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8477         ifunc selector.
8478         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8479         strcspn for POWER7.
8480
8481 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8482
8483         * math/gen-libm-test.pl (generate_testfile): Expect only function
8484         name as argument to AUTO_TESTS_* and pass results for all rounding
8485         modes to parse_args.
8486         (parse_auto_input): Separate inputs of automatic tests from
8487         outputs before storing in %auto_tests.
8488         * math/libm-test.inc (acos_test_data): Update call to
8489         AUTO_TESTS_f_f.
8490         (acos_test): Use ALL_RM_TEST.
8491         (acos_tonearest_test_data): Remove.
8492         (acos_test_tonearest): Likewise.
8493         (acos_towardzero_test_data): Likewise.
8494         (acos_test_towardzero): Likewise.
8495         (acos_downward_test_data): Likewise.
8496         (acos_test_downward): Likewise.
8497         (acos_upward_test_data): Likewise.
8498         (acos_test_upward): Likewise.
8499         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8500         (asin_test_data): Likewise.
8501         (asin_test): Use ALL_RM_TEST.
8502         (asin_tonearest_test_data): Remove.
8503         (asin_test_tonearest): Likewise.
8504         (asin_towardzero_test_data): Likewise.
8505         (asin_test_towardzero): Likewise.
8506         (asin_downward_test_data): Likewise.
8507         (asin_test_downward): Likewise.
8508         (asin_upward_test_data): Likewise.
8509         (asin_test_upward): Likewise.
8510         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8511         (atan_test_data): Likewise.
8512         (atanh_test_data): Likewise.
8513         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8514         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8515         (carg_test_data): Likewise.
8516         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8517         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8518         (ccosh_test_data): Likewise.
8519         (cexp_test_data): Likewise.
8520         (clog_test_data): Likewise.
8521         (clog10_test_data): Likewise.
8522         (cos_test_data): Update call to AUTO_TESTS_f_f.
8523         (cos_test): Use ALL_RM_TEST.
8524         (cos_tonearest_test_data): Remove.
8525         (cos_test_tonearest): Likewise.
8526         (cos_towardzero_test_data): Likewise.
8527         (cos_test_towardzero): Likewise.
8528         (cos_downward_test_data): Likewise.
8529         (cos_test_downward): Likewise.
8530         (cos_upward_test_data): Likewise.
8531         (cos_test_upward): Likewise.
8532         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8533         (cosh_test): Use ALL_RM_TEST.
8534         (cosh_tonearest_test_data): Remove.
8535         (cosh_test_tonearest): Likewise.
8536         (cosh_towardzero_test_data): Likewise.
8537         (cosh_test_towardzero): Likewise.
8538         (cosh_downward_test_data): Likewise.
8539         (cosh_test_downward): Likewise.
8540         (cosh_upward_test_data): Likewise.
8541         (cosh_test_upward): Likewise.
8542         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8543         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8544         (ctan_test_data): Likewise.
8545         (ctan_test): Use ALL_RM_TEST.
8546         (ctan_tonearest_test_data): Remove.
8547         (ctan_test_tonearest): Likewise.
8548         (ctan_towardzero_test_data): Likewise.
8549         (ctan_test_towardzero): Likewise.
8550         (ctan_downward_test_data): Likewise.
8551         (ctan_test_downward): Likewise.
8552         (ctan_upward_test_data): Likewise.
8553         (ctan_test_upward): Likewise.
8554         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8555         (ctanh_test): Use ALL_RM_TEST.
8556         (ctanh_tonearest_test_data): Remove.
8557         (ctanh_test_tonearest): Likewise.
8558         (ctanh_towardzero_test_data): Likewise.
8559         (ctanh_test_towardzero): Likewise.
8560         (ctanh_downward_test_data): Likewise.
8561         (ctanh_test_downward): Likewise.
8562         (ctanh_upward_test_data): Likewise.
8563         (ctanh_test_upward): Likewise.
8564         (erf_test_data): Update call to AUTO_TESTS_f_f.
8565         (erfc_test_data): Likewise.
8566         (exp_test_data): Likewise.
8567         (exp_test): Use ALL_RM_TEST.
8568         (exp_tonearest_test_data): Remove.
8569         (exp_test_tonearest): Likewise.
8570         (exp_towardzero_test_data): Likewise.
8571         (exp_test_towardzero): Likewise.
8572         (exp_downward_test_data): Likewise.
8573         (exp_test_downward): Likewise.
8574         (exp_upward_test_data): Likewise.
8575         (exp_test_upward): Likewise.
8576         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8577         (exp10_test): Use ALL_RM_TEST.
8578         (exp10_tonearest_test_data): Remove.
8579         (exp10_test_tonearest): Likewise.
8580         (exp10_towardzero_test_data): Likewise.
8581         (exp10_test_towardzero): Likewise.
8582         (exp10_downward_test_data): Likewise.
8583         (exp10_test_downward): Likewise.
8584         (exp10_upward_test_data): Likewise.
8585         (exp10_test_upward): Likewise.
8586         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8587         (expm1_test_data): Likewise.
8588         (expm1_test): Use ALL_RM_TEST.
8589         (expm1_tonearest_test_data): Remove.
8590         (expm1_test_tonearest): Likewise.
8591         (expm1_towardzero_test_data): Likewise.
8592         (expm1_test_towardzero): Likewise.
8593         (expm1_downward_test_data): Likewise.
8594         (expm1_test_downward): Likewise.
8595         (expm1_upward_test_data): Likewise.
8596         (expm1_test_upward): Likewise.
8597         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8598         (fma_test): Use ALL_RM_TEST.
8599         (fma_towardzero_test_data): Remove.
8600         (fma_test_towardzero): Likewise.
8601         (fma_downward_test_data): Likewise.
8602         (fma_test_downward): Likewise.
8603         (fma_upward_test_data): Likewise.
8604         (fma_test_upward): Likewise.
8605         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8606         (j0_test_data): Update call to AUTO_TESTS_f_f.
8607         (j1_test_data): Likewise.
8608         (jn_test_data): Update call to AUTO_TESTS_if_f.
8609         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8610         (log_test_data): Update call to AUTO_TESTS_f_f.
8611         (log10_test_data): Likewise.
8612         (log1p_test_data): Likewise.
8613         (log2_test_data): Likewise.
8614         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8615         (pow_tonearest_test_data): Likewise.
8616         (sin_test_data): Update call to AUTO_TESTS_f_f.
8617         (sin_test): Use ALL_RM_TEST.
8618         (sin_tonearest_test_data): Remove.
8619         (sin_test_tonearest): Likewise.
8620         (sin_towardzero_test_data): Likewise.
8621         (sin_test_towardzero): Likewise.
8622         (sin_downward_test_data): Likewise.
8623         (sin_test_downward): Likewise.
8624         (sin_upward_test_data): Likewise.
8625         (sin_test_upward): Likewise.
8626         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8627         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8628         (sinh_test): Use ALL_RM_TEST.
8629         (sinh_tonearest_test_data): Remove.
8630         (sinh_test_tonearest): Likewise.
8631         (sinh_towardzero_test_data): Likewise.
8632         (sinh_test_towardzero): Likewise.
8633         (sinh_downward_test_data): Likewise.
8634         (sinh_test_downward): Likewise.
8635         (sinh_upward_test_data): Likewise.
8636         (sinh_test_upward): Likewise.
8637         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8638         (sqrt_test): Use ALL_RM_TEST.
8639         (sqrt_tonearest_test_data): Remove.
8640         (sqrt_test_tonearest): Likewise.
8641         (sqrt_towardzero_test_data): Likewise.
8642         (sqrt_test_towardzero): Likewise.
8643         (sqrt_downward_test_data): Likewise.
8644         (sqrt_test_downward): Likewise.
8645         (sqrt_upward_test_data): Likewise.
8646         (sqrt_test_upward): Likewise.
8647         (tan_test_data): Update call to AUTO_TESTS_f_f.
8648         (tan_test): Use ALL_RM_TEST.
8649         (tan_tonearest_test_data): Remove.
8650         (tan_test_tonearest): Likewise.
8651         (tan_towardzero_test_data): Likewise.
8652         (tan_test_towardzero): Likewise.
8653         (tan_downward_test_data): Likewise.
8654         (tan_test_downward): Likewise.
8655         (tan_upward_test_data): Likewise.
8656         (tan_test_upward): Likewise.
8657         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8658         (tgamma_test_data): Likewise.
8659         (y0_test_data): Likewise.
8660         (y1_test_data): Likewise.
8661         (yn_test_data): Update call to AUTO_TESTS_if_f.
8662         (main): Do not call removed functions.
8663
8664 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8665
8666         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8667         (ldexp_test_data): Remove.
8668         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8669         scalbn_test_data.
8670         (scalb_test): Use ALL_RM_TEST.
8671
8672 2014-03-19  Andreas Schwab  <schwab@suse.de>
8673
8674         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8675
8676 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8677
8678         [BZ #16649]
8679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8680         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8681         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8683         (__ASSUME_PREADV): Undefine.
8684         (__ASSUME_PWRITEV): Likewise.
8685
8686 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8687
8688         * bits/mman-linux.h: Add comment about non-Linux use.
8689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8690         bits/mman-linux.h resting place.
8691
8692         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8693         * bits/mman-linux.h: ... here.
8694
8695 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8696
8697         * conform/conformtest.pl: Add standard definition when calling C
8698         preprocessor on data files.
8699         (checknamespace): Remove unused variable.
8700
8701 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8702
8703         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8704         minus_oflow, plus_uflow and minus_uflow in expected results.
8705         * math/libm-test.inc (scalbn_test_data): Add more tests of
8706         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8707         minus_uflow.
8708         (scalbn_test): Use ALL_RM_TEST.
8709         (scalbln_test_data): Add more tests of negative arguments.  Use
8710         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8711         (scalbln_test): Use ALL_RM_TEST.
8712
8713 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8714
8715         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8716
8717 2014-03-18  Will Newton  <will.newton@linaro.org>
8718
8719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8720         inaccurate comment.
8721
8722 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8723
8724         * Makerules [!subdir] (check-abi): Exit with error status if a
8725         test failed.
8726
8727 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8728
8729         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8730         for rint.  Include results for all rounding modes.
8731         (nearbyint_test): Use ALL_RM_TEST.
8732         (rint_test_data): Include all tests used for nearbyint.
8733
8734 2014-03-17  Will Newton  <will.newton@linaro.org>
8735
8736         * nptl/sysdeps/pthread/pthread.h: Revert previous
8737         change.
8738
8739         * sysdeps/generic/ldsodefs.h: Revert previous
8740         change.
8741
8742         * libio/genops.c: Revert previous change.
8743         * libio/libioP.h: Likewise.
8744         * stdio-common/vfprintf.c: Likewise.
8745
8746         * sysdeps/generic/math_private.h: Revert previous
8747         change.
8748
8749         * sysdeps/generic/math_private.h: Check whether
8750         HAVE_RM_CTX is defined with #ifdef rather
8751         than #if.
8752
8753         * argp/argp-fmtstream.h: Check whether
8754         __STRICT_ANSI__ is defined with #ifdef rather
8755         than #if.
8756         * argp/argp.h: Likewise.
8757
8758         * libio/genops.c: Check whether
8759         _IO_JUMPS_OFFSET is defined with #ifdef rather
8760         than #if.
8761         * libio/libioP.h: Likewise.
8762         * stdio-common/vfprintf.c: Likewise.
8763
8764         * sysdeps/generic/ldsodefs.h: Check whether
8765         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8766         than #if.
8767
8768         * nptl/sysdeps/pthread/pthread.h: Check
8769         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8770         its value.
8771
8772 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8773
8774         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8775         setting O_APPEND.
8776         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8777         test case.
8778
8779         [BZ #16680]
8780         * libio/fileops.c (_IO_file_open): Seek to end of file but
8781         don't cache the offset.
8782         (get_file_offset): Remove function.
8783         (do_ftell): Use cached offset when available.
8784         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8785         don't cache the offset.
8786         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8787         case.
8788         (do_one_test): Call it.
8789         (do_ftell_test): Fix up expected old offset for a+ mode.
8790         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8791         available.
8792
8793         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8794         up test status with function return status.
8795         (do_write_test): Likewise.
8796         (do_append_test): Likewise.
8797
8798         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8799         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8800         Remove.
8801
8802 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8803
8804         * math/gen-libm-test.pl (parse_args): Handle results specified for
8805         each rounding mode separately.
8806         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8807         tests and results from lrint_tonearest_test_data,
8808         lrint_towardzero_test_data, lrint_downward_test_data and
8809         lrint_upward_test_data.
8810         (lrint_test): Use ALL_RM_TEST.
8811         (lrint_tonearest_test_data): Remove.
8812         (lrint_test_tonearest): Likewise.
8813         (lrint_towardzero_test_data): Likewise.
8814         (lrint_test_towardzero): Likewise.
8815         (lrint_downward_test_data): Likewise.
8816         (lrint_test_downward): Likewise.
8817         (lrint_upward_test_data): Likewise.
8818         (lrint_test_upward): Likewise.
8819         (llrint_test_data): Merge in per-rounding-mode tests and results
8820         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8821         llrint_downward_test_data and llrint_upward_test_data.
8822         (llrint_test): Use ALL_RM_TEST.
8823         (llrint_tonearest_test_data): Remove.
8824         (llrint_test_tonearest): Likewise.
8825         (llrint_towardzero_test_data): Likewise.
8826         (llrint_test_towardzero): Likewise.
8827         (llrint_downward_test_data): Likewise.
8828         (llrint_test_downward): Likewise.
8829         (llrint_upward_test_data): Likewise.
8830         (llrint_test_upward): Likewise.
8831         (rint_test_data): Merge in per-rounding-mode tests and results
8832         from rint_tonearest_test_data, rint_towardzero_test_data,
8833         rint_downward_test_data and rint_upward_test_data.  Add
8834         per-rounding-mode results for tests not in those arrays.
8835         (rint_test): Use ALL_RM_TEST.
8836         (rint_tonearest_test_data): Remove.
8837         (rint_test_tonearest): Likewise.
8838         (rint_towardzero_test_data): Likewise.
8839         (rint_test_towardzero): Likewise.
8840         (rint_downward_test_data): Likewise.
8841         (rint_test_downward): Likewise.
8842         (rint_upward_test_data): Likewise.
8843         (rint_test_upward): Likewise.
8844         (main): Don't call removed functions.
8845
8846 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8847
8848         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8849         "Compiled on ..." crapola.  It is anti-useful.
8850
8851 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8852
8853         * scripts/evaluate-test.sh: Handle fourth argument to determine
8854         whether test run should stop on failure.
8855         * Makeconfig (stop-on-test-failure): New variable.
8856         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8857         $(stop-on-test-failure).
8858         * Makefile (tests): Give a summary of results from testing and
8859         exit with failure status if they include an ERROR or FAIL.
8860         (xtests): Likewise.
8861         * manual/install.texi (Configuring and compiling): Mention
8862         stop-on-test-failure=y.
8863         * INSTALL: Regenerated.
8864
8865 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8866
8867         * scripts/versionlist.awk: New file.
8868         * Makerules [$(build-shared) = yes]
8869         (postclean-generated): Add Versions.def, not Versions.def.v and
8870         Versions.def.v.i.
8871         ($(common-objpfx)Versions.def.v.i): Target removed.
8872         ($(common-objpfx)Versions.def): New target.
8873         ($(common-objpfx)Versions.all): Depend on that rather that
8874         $(common-objpfx)Versions.def.v.
8875         * Versions.def: File removed.
8876
8877         * Makeconfig (+gccwarn): Add -Wundef.
8878         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8879         a dl-sysdep.h breaking its contract.
8880         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8881         * include/stackinfo.h: New file.
8882         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8883         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8884         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8885         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8886         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8887         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8888         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8889         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8890         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8891         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8892         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8893         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8894         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8895         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8896         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8897
8898 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8899
8900         [BZ #16707]
8901         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8902         implementation.
8903         * math/libm-test.inc (round_test_data): Add more tests.
8904
8905         [BZ #16706]
8906         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8907         implementation.
8908         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8909
8910         [BZ #16701]
8911         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8912         implementation.
8913         * math/libm-test.inc (ceil_test_data): Add more tests.
8914
8915         * math/libm-test.inc (trunc_test_data): Add more tests related to
8916         BZ#16414.
8917
8918 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8919
8920         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8921         with #if rather than #ifdef.
8922         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8923
8924 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8925
8926         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8927         first.  Disable AVX-512 GCC support if assembler doesn't support
8928         it.
8929         * sysdeps/x86_64/configure: Regenerated.
8930
8931 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8932
8933         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8934         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8935         (__old_pthread_attr_setstack): Likewise.
8936         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8937         [!_STACK_GROWS_DOWN]: Likewise.
8938
8939 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8940
8941         * config.make.in (have-bash2): Delete.
8942         * configure.ac (libc_cv_have_bash2): Delete.
8943         * configure: Regenerate.
8944         * elf/Makefile (common-ldd-rewrite): Rename to ...
8945         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8946         (sh-ldd-rewrite): Delete.
8947         (bash-ldd-rewrite): Delete.
8948         (have-bash2): Delete checks.
8949         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8950         ldd-rewrite.
8951
8952         * config.make.in (have-ksh): Delete.
8953         (KSH): Delete.
8954         * configure.ac (libc_cv_have_ksh): Delete.
8955         * configure: Regenerate.
8956
8957         * elf/Makefile: Delete $(have-ksh) check.
8958         ($(objpfx)sotruss): Change KSH to BASH.
8959         * elf/sotruss.ksh: Rename to ...
8960         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8961         function style to match POSIX.  Drop ksh vim mode setting.
8962
8963         * manual/time.texi (Specifying the Time Zone with TZ): Change
8964         Tuesday to Thursday.
8965
8966         * debug/tst-longjmp_chk2.c: Update header comment.
8967         (stackoverflow_handler): Add comment.  Call assert on pass value.
8968
8969 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8970
8971         [BZ #16194]
8972         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8973         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8974         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8975         (La_x86_64_vector): Add zmm.
8976         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8977         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8978         ($(objpfx)tst-audit10): New target.
8979         ($(objpfx)tst-audit10.out): Likewise.
8980         (tst-audit10-ENV): New.
8981         (AVX512-CFLAGS): Likewise.
8982         (CFLAGS-tst-audit10.c): Likewise.
8983         (CFLAGS-tst-auditmod10a.c): Likewise.
8984         (CFLAGS-tst-auditmod10b.c): Likewise.
8985         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8986         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8987         * sysdeps/x86_64/configure: Regenerated.
8988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8989         AVX-512 zmm register support.
8990         (_dl_x86_64_save_sse): Likewise.
8991         (_dl_x86_64_restore_sse): Likewise.
8992         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8993         size vector registers.
8994         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8995         (ZMM_SIZE): Likewise.
8996         * sysdeps/x86_64/tst-audit10.c: New file.
8997         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8998         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8999
9000 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9001
9002         * configure.ac (HAVE_EHDR_START): New check.
9003         * configure: Regenerated.
9004         * config.h.in (HAVE_EHDR_START): New #undef.
9005         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9006         assuming the lowest-addressed segment maps the start of the file.
9007
9008 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9009
9010         * INSTALL: Regenerated.
9011
9012 2014-03-13  Will Newton  <will.newton@linaro.org>
9013
9014         * manual/setjmp.texi (System V contexts): Improve
9015         clarity and grammar of documentation.
9016
9017 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9018
9019         [BZ #16381]
9020         * elf/Makefile (tests): Add tst-pie2.
9021         (tests-pie): Add tst-pie2.
9022         * elf/tst-pie2.c: New file.
9023         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9024         for ET_EXEC.
9025         * elf/rtld.c (map_doit): Load executable as lt_executable.
9026         (dl_main): Likewise.
9027
9028 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9029
9030         [BZ #16642]
9031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9032         (__ASSUME_PSELECT): Undefine.
9033
9034 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9035
9036         [BZ #16689]
9037         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9038         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9039         static build.
9040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9041         selector for static builds.
9042
9043 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9044
9045         [BZ #16695]
9046         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9047         key in the buffer.
9048
9049 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9050
9051         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9052         IFUNC selector for static builds.
9053
9054 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9055
9056         * sysdeps/mips/math_private.h [__mips_hard_float]
9057         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9058         libc_feresetround_mips_ctx.
9059         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9060         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9061         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9062
9063         [BZ #16677]
9064         * math/s_nextafter.c (__nextafter): Do not return value from
9065         overflowing computation.
9066         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9067         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9068         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9069         Likewise.
9070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9071         Likewise.
9072         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9073         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9074
9075 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9076
9077         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9078         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9079         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9080         the new mov targetting sp.
9081
9082 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9083
9084         [BZ #16683]
9085         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9086         Define it for static builds as well.
9087         (NO_BZERO_IMPL): Likewise.
9088
9089 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9090
9091         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9092         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9093         multiarch strspn for PPC64.
9094         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9095         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9097         (__libc_ifunc_impl_list): Likewise.
9098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9099         multiarch optimizations
9100         * string/strspn.c (strspn): Using macro to redefine symbol name.
9101
9102 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9103             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9104
9105         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9106         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9107         multiarch strncat for PPC64.
9108         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9109         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9111         (__libc_ifunc_impl_list): Likewise.
9112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9113         multiarch optimizations
9114
9115 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116
9117         [BZ #16639]
9118         * nscd/nscd.service: Make service type forking.
9119
9120 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9121
9122         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9123         sign in non default rounding modes.
9124         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9125
9126 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9127
9128         * math/libm-test.inc (ALL_RM_TEST): New macro.
9129         (ceil_test): Use ALL_RM_TEST.
9130         (cimag_test): Likewise.
9131         (conj_test): Likewise.
9132         (copysign_test): Likewise.
9133         (cproj_test): Likewise.
9134         (creal_test): Likewise.
9135         (fabs_test): Likewise.
9136         (floor_test): Likewise.
9137         (fmax_test): Likewise.
9138         (fmin_test): Likewise.
9139         (fmod_test): Likewise.
9140         (fpclassify_test): Likewise.
9141         (frexp_test): Likewise.
9142         (ilogb_test): Likewise.
9143         (isfinite_test): Likewise.
9144         (finite_test): Likewise.
9145         (isgreater_test): Likewise.
9146         (isgreaterequal_test): Likewise.
9147         (isinf_test): Likewise.
9148         (isless_test): Likewise.
9149         (islessequal_test): Likewise.
9150         (islessgreater_test): Likewise.
9151         (isnan_test): Likewise.
9152         (isnormal_test): Likewise.
9153         (issignaling_test): Likewise.
9154         (isunordered_test): Likewise.
9155         (logb_test): Likewise.
9156         (logb_downward_test_data): Remove.
9157         (logb_test_downward): Likewise.
9158         (lround_test): Use ALL_RM_TEST.
9159         (llround_test): Likewise.
9160         (modf_test): Likewise.
9161         (nexttoward_test): Likewise.
9162         (remainder_test): Likewise.
9163         (drem_test): Likewise.
9164         (remainder_tonearest_test_data): Likewise.
9165         (remainder_test_tonearest): Likewise.
9166         (drem_test_tonearest): Likewise.
9167         (remainder_towardzero_test_data): Likewise.
9168         (remainder_test_towardzero): Likewise.
9169         (drem_test_towardzero): Likewise.
9170         (remainder_downward_test_data): Likewise.
9171         (remainder_test_downward): Likewise.
9172         (drem_test_downward): Likewise.
9173         (remainder_upward_test_data): Likewise.
9174         (remainder_test_upward): Likewise.
9175         (drem_test_upward): Likewise.
9176         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9177         (round_test): Use ALL_RM_TEST.
9178         (signbit_test): Likewise.
9179         (trunc_test): Likewise.
9180         (significand_test): Likewise.
9181         (main): Don't call removed functions.
9182
9183 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9184
9185         [BZ #16674]
9186         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9187         || __USE_XOPEN2K8].
9188         (ILL_ILLOPN): Likewise.
9189         (ILL_ILLADR): Likewise.
9190         (ILL_ILLTRP): Likewise.
9191         (ILL_PRVOPC): Likewise.
9192         (ILL_PRVREG): Likewise.
9193         (ILL_COPROC): Likewise.
9194         (ILL_BADSTK): Likewise.
9195         (FPE_INTDIV): Likewise.
9196         (FPE_INTOVF): Likewise.
9197         (FPE_FLTDIV): Likewise.
9198         (FPE_FLTOVF): Likewise.
9199         (FPE_FLTUND): Likewise.
9200         (FPE_FLTRES): Likewise.
9201         (FPE_FLTINV): Likewise.
9202         (FPE_FLTSUB): Likewise.
9203         (SEGV_MAPERR): Likewise.
9204         (SEGV_ACCERR): Likewise.
9205         (BUS_ADRALN): Likewise.
9206         (BUS_ADRERR): Likewise.
9207         (BUS_OBJERR): Likewise.
9208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9209         (TRAP_TRACE): Likewise.
9210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9211         __USE_XOPEN2K8].
9212         (CLD_KILLED): Likewise.
9213         (CLD_DUMPED): Likewise.
9214         (CLD_TRAPPED): Likewise.
9215         (CLD_STOPPED): Likewise.
9216         (CLD_CONTINUED): Likewise.
9217         (POLL_IN): Likewise.
9218         (POLL_OUT): Likewise.
9219         (POLL_MSG): Likewise.
9220         (POLL_ERR): Likewise.
9221         (POLL_PRI): Likewise.
9222         (POLL_HUP): Likewise.
9223         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9224         Likewise.
9225         (ILL_ILLOPN): Likewise.
9226         (ILL_ILLADR): Likewise.
9227         (ILL_ILLTRP): Likewise.
9228         (ILL_PRVOPC): Likewise.
9229         (ILL_PRVREG): Likewise.
9230         (ILL_COPROC): Likewise.
9231         (ILL_BADSTK): Likewise.
9232         (FPE_INTDIV): Likewise.
9233         (FPE_INTOVF): Likewise.
9234         (FPE_FLTDIV): Likewise.
9235         (FPE_FLTOVF): Likewise.
9236         (FPE_FLTUND): Likewise.
9237         (FPE_FLTRES): Likewise.
9238         (FPE_FLTINV): Likewise.
9239         (FPE_FLTSUB): Likewise.
9240         (SEGV_MAPERR): Likewise.
9241         (SEGV_ACCERR): Likewise.
9242         (BUS_ADRALN): Likewise.
9243         (BUS_ADRERR): Likewise.
9244         (BUS_OBJERR): Likewise.
9245         (BUS_MCEERR_AR): Likewise.
9246         (BUS_MCEERR_AO): Likewise.
9247         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9248         (TRAP_TRACE): Likewise.
9249         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9250         __USE_XOPEN2K8].
9251         (CLD_KILLED): Likewise.
9252         (CLD_DUMPED): Likewise.
9253         (CLD_TRAPPED): Likewise.
9254         (CLD_STOPPED): Likewise.
9255         (CLD_CONTINUED): Likewise.
9256         (POLL_IN): Likewise.
9257         (POLL_OUT): Likewise.
9258         (POLL_MSG): Likewise.
9259         (POLL_ERR): Likewise.
9260         (POLL_PRI): Likewise.
9261         (POLL_HUP): Likewise.
9262         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9263         (ILL_ILLOPN): Likewise.
9264         (ILL_ILLADR): Likewise.
9265         (ILL_ILLTRP): Likewise.
9266         (ILL_PRVOPC): Likewise.
9267         (ILL_PRVREG): Likewise.
9268         (ILL_COPROC): Likewise.
9269         (ILL_BADSTK): Likewise.
9270         (FPE_INTDIV): Likewise.
9271         (FPE_INTOVF): Likewise.
9272         (FPE_FLTDIV): Likewise.
9273         (FPE_FLTOVF): Likewise.
9274         (FPE_FLTUND): Likewise.
9275         (FPE_FLTRES): Likewise.
9276         (FPE_FLTINV): Likewise.
9277         (FPE_FLTSUB): Likewise.
9278         (SEGV_MAPERR): Likewise.
9279         (SEGV_ACCERR): Likewise.
9280         (BUS_ADRALN): Likewise.
9281         (BUS_ADRERR): Likewise.
9282         (BUS_OBJERR): Likewise.
9283         (BUS_MCEERR_AR): Likewise.
9284         (BUS_MCEERR_AO): Likewise.
9285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9286         (TRAP_TRACE): Likewise.
9287         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9288         __USE_XOPEN2K8].
9289         (CLD_KILLED): Likewise.
9290         (CLD_DUMPED): Likewise.
9291         (CLD_TRAPPED): Likewise.
9292         (CLD_STOPPED): Likewise.
9293         (CLD_CONTINUED): Likewise.
9294         (POLL_IN): Likewise.
9295         (POLL_OUT): Likewise.
9296         (POLL_MSG): Likewise.
9297         (POLL_ERR): Likewise.
9298         (POLL_PRI): Likewise.
9299         (POLL_HUP): Likewise.
9300         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9301         Likewise.
9302         (ILL_ILLOPN): Likewise.
9303         (ILL_ILLADR): Likewise.
9304         (ILL_ILLTRP): Likewise.
9305         (ILL_PRVOPC): Likewise.
9306         (ILL_PRVREG): Likewise.
9307         (ILL_COPROC): Likewise.
9308         (ILL_BADSTK): Likewise.
9309         (ILL_BADIADDR): Likewise.
9310         (ILL_BREAK): Likewise.
9311         (FPE_INTDIV): Likewise.
9312         (FPE_INTOVF): Likewise.
9313         (FPE_FLTDIV): Likewise.
9314         (FPE_FLTOVF): Likewise.
9315         (FPE_FLTUND): Likewise.
9316         (FPE_FLTRES): Likewise.
9317         (FPE_FLTINV): Likewise.
9318         (FPE_FLTSUB): Likewise.
9319         (FPE_DECOVF): Likewise.
9320         (FPE_DECDIV): Likewise.
9321         (FPE_DECERR): Likewise.
9322         (FPE_INVASC): Likewise.
9323         (FPE_INVDEC): Likewise.
9324         (SEGV_MAPERR): Likewise.
9325         (SEGV_ACCERR): Likewise.
9326         (SEGV_PSTKOVF): Likewise.
9327         (BUS_ADRALN): Likewise.
9328         (BUS_ADRERR): Likewise.
9329         (BUS_OBJERR): Likewise.
9330         (BUS_MCEERR_AR): Likewise.
9331         (BUS_MCEERR_AO): Likewise.
9332         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9333         (TRAP_TRACE): Likewise.
9334         (TRAP_BRANCH): Likewise.
9335         (TRAP_HWBKPT): Likewise.
9336         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9337         __USE_XOPEN2K8].
9338         (CLD_KILLED): Likewise.
9339         (CLD_DUMPED): Likewise.
9340         (CLD_TRAPPED): Likewise.
9341         (CLD_STOPPED): Likewise.
9342         (CLD_CONTINUED): Likewise.
9343         (POLL_IN): Likewise.
9344         (POLL_OUT): Likewise.
9345         (POLL_MSG): Likewise.
9346         (POLL_ERR): Likewise.
9347         (POLL_PRI): Likewise.
9348         (POLL_HUP): Likewise.
9349         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9350         (ILL_ILLOPN): Likewise.
9351         (ILL_ILLADR): Likewise.
9352         (ILL_ILLTRP): Likewise.
9353         (ILL_PRVOPC): Likewise.
9354         (ILL_PRVREG): Likewise.
9355         (ILL_COPROC): Likewise.
9356         (ILL_BADSTK): Likewise.
9357         (FPE_INTDIV): Likewise.
9358         (FPE_INTOVF): Likewise.
9359         (FPE_FLTDIV): Likewise.
9360         (FPE_FLTOVF): Likewise.
9361         (FPE_FLTUND): Likewise.
9362         (FPE_FLTRES): Likewise.
9363         (FPE_FLTINV): Likewise.
9364         (FPE_FLTSUB): Likewise.
9365         (SEGV_MAPERR): Likewise.
9366         (SEGV_ACCERR): Likewise.
9367         (BUS_ADRALN): Likewise.
9368         (BUS_ADRERR): Likewise.
9369         (BUS_OBJERR): Likewise.
9370         (BUS_MCEERR_AR): Likewise.
9371         (BUS_MCEERR_AO): Likewise.
9372         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9373         (TRAP_TRACE): Likewise.
9374         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9375         __USE_XOPEN2K8].
9376         (CLD_KILLED): Likewise.
9377         (CLD_DUMPED): Likewise.
9378         (CLD_TRAPPED): Likewise.
9379         (CLD_STOPPED): Likewise.
9380         (CLD_CONTINUED): Likewise.
9381         (POLL_IN): Likewise.
9382         (POLL_OUT): Likewise.
9383         (POLL_MSG): Likewise.
9384         (POLL_ERR): Likewise.
9385         (POLL_PRI): Likewise.
9386         (POLL_HUP): Likewise.
9387         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9388         (ILL_ILLOPN): Likewise.
9389         (ILL_ILLADR): Likewise.
9390         (ILL_ILLTRP): Likewise.
9391         (ILL_PRVOPC): Likewise.
9392         (ILL_PRVREG): Likewise.
9393         (ILL_COPROC): Likewise.
9394         (ILL_BADSTK): Likewise.
9395         (FPE_INTDIV): Likewise.
9396         (FPE_INTOVF): Likewise.
9397         (FPE_FLTDIV): Likewise.
9398         (FPE_FLTOVF): Likewise.
9399         (FPE_FLTUND): Likewise.
9400         (FPE_FLTRES): Likewise.
9401         (FPE_FLTINV): Likewise.
9402         (FPE_FLTSUB): Likewise.
9403         (SEGV_MAPERR): Likewise.
9404         (SEGV_ACCERR): Likewise.
9405         (BUS_ADRALN): Likewise.
9406         (BUS_ADRERR): Likewise.
9407         (BUS_OBJERR): Likewise.
9408         (BUS_MCEERR_AR): Likewise.
9409         (BUS_MCEERR_AO): Likewise.
9410         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9411         (TRAP_TRACE): Likewise.
9412         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9413         __USE_XOPEN2K8].
9414         (CLD_KILLED): Likewise.
9415         (CLD_DUMPED): Likewise.
9416         (CLD_TRAPPED): Likewise.
9417         (CLD_STOPPED): Likewise.
9418         (CLD_CONTINUED): Likewise.
9419         (POLL_IN): Likewise.
9420         (POLL_OUT): Likewise.
9421         (POLL_MSG): Likewise.
9422         (POLL_ERR): Likewise.
9423         (POLL_PRI): Likewise.
9424         (POLL_HUP): Likewise.
9425         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9426         (ILL_ILLOPN): Likewise.
9427         (ILL_ILLADR): Likewise.
9428         (ILL_ILLTRP): Likewise.
9429         (ILL_PRVOPC): Likewise.
9430         (ILL_PRVREG): Likewise.
9431         (ILL_COPROC): Likewise.
9432         (ILL_BADSTK): Likewise.
9433         (FPE_INTDIV): Likewise.
9434         (FPE_INTOVF): Likewise.
9435         (FPE_FLTDIV): Likewise.
9436         (FPE_FLTOVF): Likewise.
9437         (FPE_FLTUND): Likewise.
9438         (FPE_FLTRES): Likewise.
9439         (FPE_FLTINV): Likewise.
9440         (FPE_FLTSUB): Likewise.
9441         (SEGV_MAPERR): Likewise.
9442         (SEGV_ACCERR): Likewise.
9443         (BUS_ADRALN): Likewise.
9444         (BUS_ADRERR): Likewise.
9445         (BUS_OBJERR): Likewise.
9446         (BUS_MCEERR_AR): Likewise.
9447         (BUS_MCEERR_AO): Likewise.
9448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9449         (TRAP_TRACE): Likewise.
9450         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9451         __USE_XOPEN2K8].
9452         (CLD_KILLED): Likewise.
9453         (CLD_DUMPED): Likewise.
9454         (CLD_TRAPPED): Likewise.
9455         (CLD_STOPPED): Likewise.
9456         (CLD_CONTINUED): Likewise.
9457         (POLL_IN): Likewise.
9458         (POLL_OUT): Likewise.
9459         (POLL_MSG): Likewise.
9460         (POLL_ERR): Likewise.
9461         (POLL_PRI): Likewise.
9462         (POLL_HUP): Likewise.
9463         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9464         (ILL_ILLOPN): Likewise.
9465         (ILL_ILLADR): Likewise.
9466         (ILL_ILLTRP): Likewise.
9467         (ILL_PRVOPC): Likewise.
9468         (ILL_PRVREG): Likewise.
9469         (ILL_COPROC): Likewise.
9470         (ILL_BADSTK): Likewise.
9471         (ILL_DBLFLT): Likewise.
9472         (ILL_HARDWALL): Likewise.
9473         (FPE_INTDIV): Likewise.
9474         (FPE_INTOVF): Likewise.
9475         (FPE_FLTDIV): Likewise.
9476         (FPE_FLTOVF): Likewise.
9477         (FPE_FLTUND): Likewise.
9478         (FPE_FLTRES): Likewise.
9479         (FPE_FLTINV): Likewise.
9480         (FPE_FLTSUB): Likewise.
9481         (SEGV_MAPERR): Likewise.
9482         (SEGV_ACCERR): Likewise.
9483         (BUS_ADRALN): Likewise.
9484         (BUS_ADRERR): Likewise.
9485         (BUS_OBJERR): Likewise.
9486         (BUS_MCEERR_AR): Likewise.
9487         (BUS_MCEERR_AO): Likewise.
9488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9489         (TRAP_TRACE): Likewise.
9490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9491         __USE_XOPEN2K8].
9492         (CLD_KILLED): Likewise.
9493         (CLD_DUMPED): Likewise.
9494         (CLD_TRAPPED): Likewise.
9495         (CLD_STOPPED): Likewise.
9496         (CLD_CONTINUED): Likewise.
9497         (POLL_IN): Likewise.
9498         (POLL_OUT): Likewise.
9499         (POLL_MSG): Likewise.
9500         (POLL_ERR): Likewise.
9501         (POLL_PRI): Likewise.
9502         (POLL_HUP): Likewise.
9503         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9504         (ILL_ILLOPN): Likewise.
9505         (ILL_ILLADR): Likewise.
9506         (ILL_ILLTRP): Likewise.
9507         (ILL_PRVOPC): Likewise.
9508         (ILL_PRVREG): Likewise.
9509         (ILL_COPROC): Likewise.
9510         (ILL_BADSTK): Likewise.
9511         (FPE_INTDIV): Likewise.
9512         (FPE_INTOVF): Likewise.
9513         (FPE_FLTDIV): Likewise.
9514         (FPE_FLTOVF): Likewise.
9515         (FPE_FLTUND): Likewise.
9516         (FPE_FLTRES): Likewise.
9517         (FPE_FLTINV): Likewise.
9518         (FPE_FLTSUB): Likewise.
9519         (SEGV_MAPERR): Likewise.
9520         (SEGV_ACCERR): Likewise.
9521         (BUS_ADRALN): Likewise.
9522         (BUS_ADRERR): Likewise.
9523         (BUS_OBJERR): Likewise.
9524         (BUS_MCEERR_AR): Likewise.
9525         (BUS_MCEERR_AO): Likewise.
9526         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9527         (TRAP_TRACE): Likewise.
9528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9529         __USE_XOPEN2K8].
9530         (CLD_KILLED): Likewise.
9531         (CLD_DUMPED): Likewise.
9532         (CLD_TRAPPED): Likewise.
9533         (CLD_STOPPED): Likewise.
9534         (CLD_CONTINUED): Likewise.
9535         (POLL_IN): Likewise.
9536         (POLL_OUT): Likewise.
9537         (POLL_MSG): Likewise.
9538         (POLL_ERR): Likewise.
9539         (POLL_PRI): Likewise.
9540         (POLL_HUP): Likewise.
9541         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9542         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9543
9544         [BZ #16670]
9545         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9546         before #include of <time.h>.
9547         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9548         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9549         (test-xfail-UNIX98/sched.h/conform): Likewise.
9550
9551 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9552
9553         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9554         error absence of trapping exception support.
9555         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9556
9557 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9558
9559         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9560         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9561         * timezone/Makefile (testdata): Move definition above include of
9562         Rules.
9563         (test-zones): New variable.
9564         (tests-special): Add zone files.
9565         (build-testdata): Use $(evaluate-test).
9566
9567         * elf/Makefile (tests-special): Rename tests to end with .out.
9568         ($(objpfx)noload-mem): Likewise.
9569         ($(objpfx)tst-leaks1-mem): Likewise.
9570         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9571         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9572         $(objpfx)test-iconvconfig.out.
9573         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9574         set -e inside subshell and redirect output to file.
9575         * iconvdata/Makefile (generated): Rename tests to end with .out.
9576         Correct type.
9577         (tests-special): Rename tests to end with .out.
9578         ($(objpfx)mtrace-tst-loading): Likewise.
9579         * intl/Makefile (generated): Likewise.
9580         (tests-special): Likewise.
9581         ($(objpfx)mtrace-tst-gettext): Likewise.
9582         * misc/Makefile (generated): Likewise.
9583         (tests-special): Likewise.
9584         ($(objpfx)tst-error1-mem): Likewise.
9585         * nptl/Makefile (tests-special): Likewise.
9586         ($(objpfx)tst-stack3-mem): Likewise.
9587         (generated): Likewise.
9588         * posix/Makefile (generated): Likewise.
9589         (tests-special): Likewise.
9590         (xtests-special): Likewise.
9591         ($(objpfx)tst-fnmatch-mem): Likewise.
9592         ($(objpfx)bug-regex2-mem): Likewise.
9593         ($(objpfx)bug-regex14-mem): Likewise.
9594         ($(objpfx)bug-regex21-mem): Likewise.
9595         ($(objpfx)bug-regex31-mem): Likewise.
9596         ($(objpfx)tst-vfork3-mem): Likewise.
9597         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9598         ($(objpfx)tst-pcre-mem): Likewise.
9599         ($(objpfx)tst-boost-mem): Likewise.
9600         ($(objpfx)bug-ga2-mem): Likewise.
9601         ($(objpfx)bug-glob2-mem): Likewise.
9602         * resolv/Makefile (generate): Likewise.
9603         (tests-special): Likewise.
9604         (xtests-special): Likewise.
9605         (generated): Likewise.
9606         ($(objpfx)mtrace-tst-leaks): Likewise.
9607         ($(objpfx)mtrace-tst-leaks2): Likewise.
9608
9609         * scripts/merge-test-results.sh: New file.
9610         * Makefile (tests-special-notdir): New variable.
9611         (tests): Run merge-test-results.sh.
9612         (xtests): Likewise.
9613         * Rules (tests-special-notdir): New variable.
9614         (xtests-special-notdir): Likewise.
9615         (tests): Run merge-test-results.sh
9616         (xtests): Likewise.
9617
9618         * Makeconfig (test-xfail-name): New variable.
9619         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9620         compute variable name for expected failures.
9621         * conform/Makefile (conformtest-headers-data): New variable.
9622         (conformtest-standards): Likewise.
9623         (conformtest-headers-ISO): Likewise.
9624         (conformtest-headers-ISO99): Likewise.
9625         (conformtest-headers-ISO11): Likewise.
9626         (conformtest-headers-POSIX): Likewise.
9627         (conformtest-headers-XPG3): Likewise.
9628         (conformtest-headers-XPG4): Likewise.
9629         (conformtest-headers-UNIX98): Likewise.
9630         (conformtest-headers-XOPEN2K): Likewise.
9631         (conformtest-headers-POSIX2008): Likewise.
9632         (conformtest-headers-XOPEN2K8): Likewise.
9633         (conformtest-header-list-base): Likewise.
9634         (conformtest-header-list-tests): Likewise.
9635         (conformtest-header-base): Likewise.
9636         (conformtest-header-tests): Likewise.
9637         (tests-special): Add $(conformtest-header-list-tests).  If
9638         [$(fast-check) && !$(cross-compiling)], add
9639         $(conformtest-header-tests) instead of
9640         $(objpfx)run-conformtest.out.
9641         (generated): Add $(conformtest-header-list-base).  If
9642         [$(fast-check) && !$(cross-compiling)], add
9643         $(conformtest-header-base).  Remove previous setting.
9644         ($(conformtest-header-list-tests)): New target.
9645         (test-xfail-run-conformtest): Remove variable.
9646         ($(objpfx)run-conformtest.out): Remove target.
9647         (test-xfail-ISO11/complex.h/conform): New variable.
9648         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9649         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9650         (test-xfail-XPG3/varargs.h/conform): Likewise.
9651         (test-xfail-XPG4/varargs.h/conform): Likewise.
9652         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9653         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9654         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9655         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9656         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9657         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9658         (test-xfail-XPG3/ftw.h/conform): Likewise.
9659         (test-xfail-XPG3/grp.h/conform): Likewise.
9660         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9661         (test-xfail-XPG3/limits.h/conform): Likewise.
9662         (test-xfail-XPG3/pwd.h/conform): Likewise.
9663         (test-xfail-XPG3/search.h/conform): Likewise.
9664         (test-xfail-XPG3/signal.h/conform): Likewise.
9665         (test-xfail-XPG3/stdio.h/conform): Likewise.
9666         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9667         (test-xfail-XPG3/string.h/conform): Likewise.
9668         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9669         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9670         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9671         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9672         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9673         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9674         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9675         (test-xfail-XPG3/termios.h/conform): Likewise.
9676         (test-xfail-XPG3/time.h/conform): Likewise.
9677         (test-xfail-XPG3/unistd.h/conform): Likewise.
9678         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9679         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9680         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9681         (test-xfail-XPG4/netdb.h/conform): Likewise.
9682         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9683         (test-xfail-XPG4/signal.h/conform): Likewise.
9684         (test-xfail-XPG4/stdio.h/conform): Likewise.
9685         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9686         (test-xfail-XPG4/stropts.h/conform): Likewise.
9687         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9688         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9689         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9690         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9691         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9692         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9693         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9694         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9695         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9696         (test-xfail-XPG4/termios.h/conform): Likewise.
9697         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9698         (test-xfail-XPG4/unistd.h/conform): Likewise.
9699         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9700         (test-xfail-POSIX/sched.h/conform): Likewise.
9701         (test-xfail-POSIX/signal.h/conform): Likewise.
9702         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9703         (test-xfail-POSIX/tar.h/conform): Likewise.
9704         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9705         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9706         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9707         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9708         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9709         (test-xfail-UNIX98/sched.h/conform): Likewise.
9710         (test-xfail-UNIX98/signal.h/conform): Likewise.
9711         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9712         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9713         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9714         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9715         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9716         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9717         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9718         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9719         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9720         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9721         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9722         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9723         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9724         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9725         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9726         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9727         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9728         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9729         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9730         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9731         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9732         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9733         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9734         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9735         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9736         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9737         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9738         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9739         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9740         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9741         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9742         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9743         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9744         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9745         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9746         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9747         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9748         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9749         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9750         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9751         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9752         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9753         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9754         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9755         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9756         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9757         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9758         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9759         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9760         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9761         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9762         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9763         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9764         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9765         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9766         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9767         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9768         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9769         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9770         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9771         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9772         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9773         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9774         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9775         (conformtest-cc-flags): Likewise.
9776         ($(conformtest-header-tests): New target.
9777         * conform/check-header-lists.sh: New file.
9778         * conform/run-conformtest.sh: Remove.
9779
9780         * conform/conformtest.pl: Allow ' and \ in values given for
9781         constants.
9782         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9783         inclusion.
9784         [POSIX] (sys/types.h): Likewise.
9785         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9786         inclusion.
9787         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9788         inclusion.
9789         * conform/data/signal.h-data (SIGIO): Remove expectation.
9790         [XPG3] (SIGBUS): Do not expect.
9791         [POSIX || XPG3] (SIGPOLL): Likewise.
9792         [POSIX || XPG3] (SIGPROF): Likewise.
9793         [POSIX || XPG3] (SIGSYS): Likewise.
9794         [XPG3] (SIGTRAP): Likewise.
9795         [POSIX || XPG3] (SIGURG): Likewise.
9796         [POSIX || XPG3] (SIGVTALRM): Likewise.
9797         [POSIX || XPG3] (SIGXCPU): Likewise.
9798         [POSIX || XPG3] (SIGXFSZ): Likewise.
9799         [POSIX] (SA_SIGINFO): Expect.
9800         [XPG3] (siginfo_t): Do not expect type or contents.
9801         [POSIX] (si_pid): Do not expect element.
9802         [POSIX] (si_uid): Likewise.
9803         [POSIX] (si_addr): Likewise.
9804         [POSIX] (si_status): Likewise.
9805         [POSIX] (si_band): Likewise.
9806         [XPG4] (si_value): Likewise.
9807         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9808         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9809         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9810         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9811         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9812         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9813         [POSIX || XPG3] (ILL_COPROC): Likewise.
9814         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9815         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9816         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9817         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9818         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9819         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9820         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9821         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9822         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9823         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9824         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9825         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9826         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9827         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9828         [POSIX || XPG3] (CLD_EXITED): Likewise.
9829         [POSIX || XPG3] (CLD_KILLED): Likewise.
9830         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9831         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9832         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9833         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9834         [POSIX || XPG3] (POLL_IN): Likewise.
9835         [POSIX || XPG3] (POLL_OUT): Likewise.
9836         [POSIX || XPG3] (POLL_MSG): Likewise.
9837         [POSIX || XPG3] (POLL_ERR): Likewise.
9838         [POSIX || XPG3] (POLL_PRI): Likewise.
9839         [POSIX || XPG3] (POLL_HUP): Likewise.
9840         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9841         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9842         (SIG*): Do not allow.
9843         [XPG3] (si_*): Likewise.
9844         [XPG3] (SI_*): Likewise.
9845         [XPG3 || XPG4] (sigev_*): Likewise.
9846         [XPG3 || XPG4] (SIGEV_*): Likewise.
9847         [XPG3 || XPG4] (sival_*): Likewise.
9848         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9849         [POSIX || XPG3] (BUS_*): Likewise.
9850         [POSIX || XPG3] (CLD_*): Likewise.
9851         [POSIX || XPG3] (FPE_*): Likewise.
9852         [POSIX || XPG3] (ILL_*): Likewise.
9853         [POSIX || XPG3] (POLL_*): Likewise.
9854         [POSIX || XPG3] (SEGV_*): Likewise.
9855         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9856         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9857         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9858         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9859         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9860         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9861         Specify type and value.
9862         (TVERSLEN): Likewise.
9863         (REGTYPE): Likewise.
9864         (AREGTYPE): Likewise.
9865         (LNKTYPE): Likewise.
9866         (SYMTYPE): Likewise.
9867         (CHRTYPE): Likewise.
9868         (BLKTYPE): Likewise.
9869         (DIRTYPE): Likewise.
9870         (FIFOTYPE): Likewise.
9871         (CONTTYPE): Likewise.
9872         (TSUID): Likewise.
9873         (TSGID): Likewise.
9874         (TSVTX): Likewise.
9875         (TUREAD): Likewise.
9876         (TUWRITE): Likewise.
9877         (TUEXEC): Likewise.
9878         (TGREAD): Likewise.
9879         (TGWRITE): Likewise.
9880         (TGEXEC): Likewise.
9881         (TOREAD): Likewise.
9882         (TOWRITE): Likewise.
9883         (TOEXEC): Likewise.
9884         [POSIX] (TSVTX): Expect constant.
9885
9886 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9887
9888         * Makefile (tests): Change dependencies to ....
9889         (tests-special): ... additions to this variable.
9890         (tests): Depend on $(tests-special).
9891         * Makerules (check-abi-list): New variable.
9892         (check-abi): Depend on $(check-abi-list).
9893         [$(subdir) = elf] (tests-special): Add
9894         $(objpfx)check-abi-libc.out.
9895         [$(build-shared) = yes && subdir] (tests-special): Add
9896         $(check-abi-list).
9897         [$(build-shared) = yes && subdir] (tests): Do not depend on
9898         check-abi.
9899         * Rules (tests): Depend on $(tests-special).
9900         (xtests): Depend on $(xtests-special).
9901         * catgets/Makefile (tests): Change dependencies to ....
9902         (tests-special): ... additions to this variable.
9903         * conform/Makefile (tests): Change dependencies to ....
9904         (tests-special): ... additions to this variable.
9905         * elf/Makefile (tests): Change dependencies to ....
9906         (tests-special): ... additions to this variable.
9907         * grp/Makefile (tests): Change dependencies to ....
9908         (tests-special): ... additions to this variable.
9909         * iconv/Makefile (xtests): Change dependencies to ....
9910         (xtests-special): ... additions to this variable.
9911         * iconvdata/Makefile (tests): Change dependencies to ....
9912         (tests-special): ... additions to this variable.
9913         * intl/Makefile (tests): Change dependencies to ....
9914         (tests-special): ... additions to this variable.  Also add
9915         $(objpfx)tst-gettext.out.
9916         * io/Makefile (tests): Change dependencies to ....
9917         (tests-special): ... additions to this variable.
9918         * libio/Makefile (tests): Change dependencies to ....
9919         (tests-special): ... additions to this variable.
9920         * malloc/Makefile (tests): Change dependencies to ....
9921         (tests-special): ... additions to this variable.
9922         * misc/Makefile (tests): Change dependencies to ....
9923         (tests-special): ... additions to this variable.
9924         * nptl/Makefile (tests): Change dependencies to ....
9925         (tests-special): ... additions to this variable.
9926         * nptl_db/Makefile (tests): Change dependencies to ....
9927         (tests-special): ... additions to this variable.
9928         * posix/Makefile (tests): Change dependencies to ....
9929         (tests-special): ... additions to this variable.
9930         (xtests): Change dependencies to ....
9931         (xtests-special): ... additions to this variable.
9932         * resolv/Makefile (tests): Change dependencies to ....
9933         (tests-special): ... additions to this variable.
9934         (xtests): Change dependencies to ....
9935         (xtests-special): ... additions to this variable.
9936         * stdio-common/Makefile (tests): Change dependencies to ....
9937         (tests-special): ... additions to this variable.
9938         (do-tst-unbputc): Remove target.
9939         (do-tst-printf): Likewise.
9940         * stdlib/Makefile (tests): Change dependencies to ....
9941         (tests-special): ... additions to this variable.
9942         * string/Makefile (tests): Change dependencies to ....
9943         (tests-special): ... additions to this variable.
9944         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9945         (tests-special): ... additions to this variable.
9946
9947         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9948         whole file.
9949         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9950         whole file.
9951         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9952         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9953
9954         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9955         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9956         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9957         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9958         * conform/data/libgen.h-data [XPG3]: Likewise.
9959         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9960         * conform/data/ndbm.h-data [XPG3]: Likewise.
9961         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9962         * conform/data/netdb.h-data [XPG3]: Likewise.
9963         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9964         * conform/data/poll.h-data [XPG3]: Likewise.
9965         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9966         * conform/data/strings.h-data [XPG3]: Likewise.
9967         * conform/data/stropts.h-data [XPG3]: Likewise.
9968         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9969         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9970         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9971         Likewise.
9972         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9973         * conform/data/sys/time.h-data [XPG3]: Likewise.
9974         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9975         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9976         * conform/data/sys/un.h-data [XPG3]: Likewise.
9977         * conform/data/syslog.h-data [XPG3]: Likewise.
9978         * conform/data/ucontext.h-data [XPG3]: Likewise.
9979         * conform/data/utmpx.h-data [XPG3]: Likewise.
9980         * conform/data/varargs.h-data [UNIX98]: Enable file.
9981
9982         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9983
9984         * math/libm-test.inc (struct test_f_f_data): Move expected results
9985         into structure for each rounding mode.
9986         (struct test_ff_f_data): Likewise.
9987         (struct test_ff_f_data_nexttoward): Likewise.
9988         (struct test_fi_f_data): Likewise.
9989         (struct test_fl_f_data): Likewise.
9990         (struct test_if_f_data): Likewise.
9991         (struct test_fff_f_data): Likewise.
9992         (struct test_c_f_data): Likewise.
9993         (struct test_f_f1_data): Likewise.
9994         (struct test_fF_f1_data): Likewise.
9995         (struct test_ffI_f1_data): Likewise.
9996         (struct test_c_c_data): Likewise.
9997         (struct test_cc_c_data): Likewise.
9998         (struct test_f_i_data): Likewise.
9999         (struct test_ff_i_data): Likewise.
10000         (struct test_f_l_data): Likewise.
10001         (struct test_f_L_data): Likewise.
10002         (struct test_fFF_11_data): Likewise.
10003         (RM_): New macro.
10004         (RM_FE_DOWNWARD): Likewise.
10005         (RM_FE_TONEAREST): Likewise.
10006         (RM_FE_TOWARDZERO): Likewise.
10007         (RM_FE_UPWARD): Likewise.
10008         (RUN_TEST_LOOP_f_f): Update references to expected results.
10009         (RUN_TEST_LOOP_2_f): Likewise.
10010         (RUN_TEST_LOOP_fff_f): Likewise.
10011         (RUN_TEST_LOOP_c_f): Likewise.
10012         (RUN_TEST_LOOP_f_f1): Likewise.
10013         (RUN_TEST_LOOP_fF_f1): Likewise.
10014         (RUN_TEST_LOOP_fI_f1): Likewise.
10015         (RUN_TEST_LOOP_ffI_f1): Likewise.
10016         (RUN_TEST_LOOP_c_c): Likewise.
10017         (RUN_TEST_LOOP_cc_c): Likewise.
10018         (RUN_TEST_LOOP_f_i): Likewise.
10019         (RUN_TEST_LOOP_f_i_tg): Likewise.
10020         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10021         (RUN_TEST_LOOP_f_b): Likewise.
10022         (RUN_TEST_LOOP_f_b_tg): Likewise.
10023         (RUN_TEST_LOOP_f_l): Likewise.
10024         (RUN_TEST_LOOP_f_L): Likewise.
10025         (RUN_TEST_LOOP_fFF_11): Likewise.
10026         * math/gen-libm-test.pl (parse_args): Output four copies of
10027         expected results for each test.
10028
10029         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10030         (__ASSUME_UTIMES): Remove.
10031         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10032         (__ASSUME_UTIMES): Likewise.
10033
10034         * math/gen-auto-libm-tests.c: Update comment on output format.
10035         (output_for_one_input_case): Generate before-rounding and
10036         after-rounding information as conditions on output flags not
10037         floating-point format.
10038         * math/auto-libm-test-out: Regenerated.
10039         * math/gen-libm-test.pl (cond_value): New function.
10040         (or_cond_value): Use cond_value.
10041         (generate_testfile): Handle conditional exceptions.
10042
10043 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10044
10045         * math/libm-test.inc (max_valid_error): New variable.
10046         (init_max_error): Take new argument specifying whether function
10047         results are exactly determined.  Set max_valid_error and bound
10048         other variables for errors based on this argument.
10049         (set_max_error): Do not record results above max_valid_error.
10050         (check_float_internal): Only accept errors of up to 0.5ulps if
10051         also at most max_valid_error.
10052         (START): Take new argument EXACT and pass it to init_max_error.
10053         (acos_test): Update call to START.
10054         (acos_test_tonearest): Likewise.
10055         (acos_test_towardzero): Likewise.
10056         (acos_test_downward): Likewise.
10057         (acos_test_upward): Likewise.
10058         (acosh_test): Likewise.
10059         (asin_test): Likewise.
10060         (asin_test_tonearest): Likewise.
10061         (asin_test_towardzero): Likewise.
10062         (asin_test_downward): Likewise.
10063         (asin_test_upward): Likewise.
10064         (asinh_test): Likewise.
10065         (atan_test): Likewise.
10066         (atanh_test): Likewise.
10067         (atan2_test): Likewise.
10068         (cabs_test): Likewise.
10069         (cacos_test): Likewise.
10070         (cacosh_test): Likewise.
10071         (carg_test): Likewise.
10072         (casin_test): Likewise.
10073         (casinh_test): Likewise.
10074         (catan_test): Likewise.
10075         (catanh_test): Likewise.
10076         (cbrt_test): Likewise.
10077         (ccos_test): Likewise.
10078         (ccosh_test): Likewise.
10079         (ceil_test): Likewise.
10080         (cexp_test): Likewise.
10081         (cimag_test): Likewise.
10082         (clog_test): Likewise.
10083         (clog10_test): Likewise.
10084         (conj_test): Likewise.
10085         (copysign_test): Likewise.
10086         (cos_test): Likewise.
10087         (cos_test_tonearest): Likewise.
10088         (cos_test_towardzero): Likewise.
10089         (cos_test_downward): Likewise.
10090         (cos_test_upward): Likewise.
10091         (cosh_test): Likewise.
10092         (cosh_test_tonearest): Likewise.
10093         (cosh_test_towardzero): Likewise.
10094         (cosh_test_downward): Likewise.
10095         (cosh_test_upward): Likewise.
10096         (cpow_test): Likewise.
10097         (cproj_test): Likewise.
10098         (creal_test): Likewise.
10099         (csin_test): Likewise.
10100         (csinh_test): Likewise.
10101         (csqrt_test): Likewise.
10102         (ctan_test): Likewise.
10103         (ctan_test_tonearest): Likewise.
10104         (ctan_test_towardzero): Likewise.
10105         (ctan_test_downward): Likewise.
10106         (ctan_test_upward): Likewise.
10107         (ctanh_test): Likewise.
10108         (ctanh_test_tonearest): Likewise.
10109         (ctanh_test_towardzero): Likewise.
10110         (ctanh_test_downward): Likewise.
10111         (ctanh_test_upward): Likewise.
10112         (erf_test): Likewise.
10113         (erfc_test): Likewise.
10114         (exp_test): Likewise.
10115         (exp_test_tonearest): Likewise.
10116         (exp_test_towardzero): Likewise.
10117         (exp_test_downward): Likewise.
10118         (exp_test_upward): Likewise.
10119         (exp10_test): Likewise.
10120         (exp10_test_tonearest): Likewise.
10121         (exp10_test_towardzero): Likewise.
10122         (exp10_test_downward): Likewise.
10123         (exp10_test_upward): Likewise.
10124         (pow10_test): Likewise.
10125         (exp2_test): Likewise.
10126         (expm1_test): Likewise.
10127         (expm1_test_tonearest): Likewise.
10128         (expm1_test_towardzero): Likewise.
10129         (expm1_test_downward): Likewise.
10130         (expm1_test_upward): Likewise.
10131         (fabs_test): Likewise.
10132         (fdim_test): Likewise.
10133         (floor_test): Likewise.
10134         (fma_test): Likewise.
10135         (fma_test_towardzero): Likewise.
10136         (fma_test_downward): Likewise.
10137         (fma_test_upward): Likewise.
10138         (fmax_test): Likewise.
10139         (fmin_test): Likewise.
10140         (fmod_test): Likewise.
10141         (fpclassify_test): Likewise.
10142         (frexp_test): Likewise.
10143         (hypot_test): Likewise.
10144         (ilogb_test): Likewise.
10145         (isfinite_test): Likewise.
10146         (finite_test): Likewise.
10147         (isgreater_test): Likewise.
10148         (isgreaterequal_test): Likewise.
10149         (isinf_test): Likewise.
10150         (isless_test): Likewise.
10151         (islessequal_test): Likewise.
10152         (islessgreater_test): Likewise.
10153         (isnan_test): Likewise.
10154         (isnormal_test): Likewise.
10155         (issignaling_test): Likewise.
10156         (isunordered_test): Likewise.
10157         (j0_test): Likewise.
10158         (j1_test): Likewise.
10159         (jn_test): Likewise.
10160         (ldexp_test): Likewise.
10161         (lgamma_test): Likewise.
10162         (gamma_test): Likewise.
10163         (lrint_test): Likewise.
10164         (lrint_test_tonearest): Likewise.
10165         (lrint_test_towardzero): Likewise.
10166         (lrint_test_downward): Likewise.
10167         (lrint_test_upward): Likewise.
10168         (llrint_test): Likewise.
10169         (llrint_test_tonearest): Likewise.
10170         (llrint_test_towardzero): Likewise.
10171         (llrint_test_downward): Likewise.
10172         (llrint_test_upward): Likewise.
10173         (log_test): Likewise.
10174         (log10_test): Likewise.
10175         (log1p_test): Likewise.
10176         (log2_test): Likewise.
10177         (logb_test): Likewise.
10178         (logb_test_downward): Likewise.
10179         (lround_test): Likewise.
10180         (llround_test): Likewise.
10181         (modf_test): Likewise.
10182         (nearbyint_test): Likewise.
10183         (nextafter_test): Likewise.
10184         (nexttoward_test): Likewise.
10185         (pow_test): Likewise.
10186         (pow_test_tonearest): Likewise.
10187         (pow_test_towardzero): Likewise.
10188         (pow_test_downward): Likewise.
10189         (pow_test_upward): Likewise.
10190         (remainder_test): Likewise.
10191         (drem_test): Likewise.
10192         (remainder_test_tonearest): Likewise.
10193         (drem_test_tonearest): Likewise.
10194         (remainder_test_towardzero): Likewise.
10195         (drem_test_towardzero): Likewise.
10196         (remainder_test_downward): Likewise.
10197         (drem_test_downward): Likewise.
10198         (remainder_test_upward): Likewise.
10199         (drem_test_upward): Likewise.
10200         (remquo_test): Likewise.
10201         (rint_test): Likewise.
10202         (rint_test_tonearest): Likewise.
10203         (rint_test_towardzero): Likewise.
10204         (rint_test_downward): Likewise.
10205         (rint_test_upward): Likewise.
10206         (round_test): Likewise.
10207         (scalb_test): Likewise.
10208         (scalbn_test): Likewise.
10209         (scalbln_test): Likewise.
10210         (signbit_test): Likewise.
10211         (sin_test): Likewise.
10212         (sin_test_tonearest): Likewise.
10213         (sin_test_towardzero): Likewise.
10214         (sin_test_downward): Likewise.
10215         (sin_test_upward): Likewise.
10216         (sincos_test): Likewise.
10217         (sinh_test): Likewise.
10218         (sinh_test_tonearest): Likewise.
10219         (sinh_test_towardzero): Likewise.
10220         (sinh_test_downward): Likewise.
10221         (sinh_test_upward): Likewise.
10222         (sqrt_test): Likewise.
10223         (sqrt_test_tonearest): Likewise.
10224         (sqrt_test_towardzero): Likewise.
10225         (sqrt_test_downward): Likewise.
10226         (sqrt_test_upward): Likewise.
10227         (tan_test): Likewise.
10228         (tan_test_tonearest): Likewise.
10229         (tan_test_towardzero): Likewise.
10230         (tan_test_downward): Likewise.
10231         (tan_test_upward): Likewise.
10232         (tanh_test): Likewise.
10233         (tgamma_test): Likewise.
10234         (trunc_test): Likewise.
10235         (y0_test): Likewise.
10236         (y1_test): Likewise.
10237         (yn_test): Likewise.
10238         (significand_test): Likewise.
10239
10240         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10241         individual tests in comment.
10242         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10243         (prev_max_error): New variable.
10244         (prev_real_max_error): Likewise.
10245         (prev_imag_max_error): Likewise.
10246         (compare_ulp_data): Don't refer to test names in comment.
10247         (find_test_ulps): Remove function.
10248         (find_function_ulps): Likewise.
10249         (find_complex_function_ulps): Likewise.
10250         (init_max_error): Take function name as argument.  Look up ulps
10251         for that function.
10252         (print_ulps): Remove function.
10253         (print_max_error): Use prev_max_error instead of calling
10254         find_function_ulps.
10255         (print_complex_max_error): Use prev_real_max_error and
10256         prev_imag_max_error instead of calling find_complex_function_ulps.
10257         (check_float_internal): Take max_ulp parameter instead of calling
10258         find_test_ulps.  Don't call print_ulps.
10259         (check_float): Update call to check_float_internal.
10260         (check_complex): Update calls to check_float_internal.
10261         (START): Pass argument to init_max_error.
10262         * math/gen-libm-test.pl (%results): Don't include "kind"
10263         information.
10264         (parse_ulps): Don't handle ulps of individual tests.
10265         (print_ulps_file): Likewise.
10266         (output_ulps): Likewise.
10267         * math/README.libm-test: Update.
10268         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10269         individual tests.
10270         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10271         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10272         * sysdeps/arm/libm-test-ulps: Likewise.
10273         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10274         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10275         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10276         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10277         * sysdeps/microblaze/libm-test-ulps: Likewise.
10278         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10279         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10280         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10281         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10282         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10283         * sysdeps/sh/libm-test-ulps: Likewise.
10284         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10285         * sysdeps/tile/libm-test-ulps: Likewise.
10286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287
10288 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10289
10290         * math/libm-test.inc (print_complex_max_error): Check separately
10291         whether real and imaginary errors are within allowed range and
10292         pass 0 to print_complex_function_ulps instead of value within
10293         allowed range.
10294
10295 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10296
10297         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10298         formatting.
10299         (get_handles_fopen): Likewise.
10300         (do_write_test): Likewise.
10301
10302         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10303
10304         * libio/fileops.c (do_ftell): Use cached offset when
10305         available.
10306         * libio/iofwide.c (do_ftell_wide): Likewise.
10307         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10308         _IO_file_attach.
10309         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10310
10311         [BZ #16532]
10312         * libio/libioP.h (get_file_offset): New function.
10313         * libio/fileops.c (get_file_offset): Likewise.
10314         (do_ftell): Likewise.
10315         (_IO_new_file_seekoff): Split out ftell logic.
10316         * libio/wfileops.c (do_ftell_wide): Likewise.
10317         (_IO_wfile_seekoff): Split out ftell logic.
10318         * libio/tst-ftell-active-handler.c: New test case.
10319         * libio/Makefile (tests): Add it.
10320
10321 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10322
10323         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10324         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10325
10326 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10327
10328         [BZ #16639]
10329         * nscd/connections.c (nscd_init): Call do_exit.
10330         (start_threads): Call do_exit and notify_parent.
10331         (begin_drop_privileges): Call do_exit.
10332         (finish_drop_privileges): Likewise.
10333         * nscd/selinux.c (preserve_capabilities): Likewise.
10334         (install_real_capabilities): Likewise.
10335         (nscd_selinux_enabled): Likewise.
10336         (avc_create_thread): Likewise.
10337         (avc_alloc_lock): Likewise.
10338         (nscd_avc_init): Likewise.
10339         * nscd/nscd.c (parent_fd): New static variable.
10340         (main): Create a pipe between parent and child processes.
10341         Skip closing parent_fd.
10342         (monitor_child): New function.
10343         (do_exit): Likewise.
10344         (notify_parent): Likewise.
10345         * nscd/nscd.h (notify_parent): Likewise.
10346         (do_exit): Likewise.
10347
10348 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10349
10350         * malloc/malloc.c (__libc_calloc): Revert last change.
10351
10352 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10353
10354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10355
10356 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10357
10358         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10360         implementation.
10361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10362         (__libc_ifunc_impl_list): Likewise.
10363         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10364         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10365         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10366         * string/strrchr.c: Define STRRCHR.
10367
10368 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10369
10370         * benchtest/bench-strtok.c (simple_strtok): Delete.
10371         (strtok_string): Use as benchmark.
10372         * string/strtok (STRTOK): New macro.
10373
10374 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10375
10376         * manual/threads.texi: Add header and standard comments to all
10377         functions.
10378
10379         * elf/dl-lookup.c (check_match): New function.
10380         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10381         (do_lookup_x): Remove nested function check_match. Use non-nested
10382         function check_match.
10383
10384 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10385
10386         * csu/Makefile (generated, before-compile): Use += rather than =.
10387         * catgets/Makefile (generated, generated-dirs): Likewise.
10388         * debug/Makefile (generated): Likewise.
10389         * dlfcn/Makefile (generated): Likewise.
10390         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10391         * iconvdata/Makefile (before-compile, generated): Likewise.
10392         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10393         * libio/Makefile (generated): Likewise.
10394         * malloc/Makefile (generated): Likewise.
10395         * manual/Makefile (generated, generated-dirs): Likewise.
10396         * misc/Makefile (generated): Likewise.
10397         * posix/Makefile (generated): Likewise.
10398         * resolv/Makefile (generated): Likewise.
10399         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10400         * timezone/Makefile (generated, generated-dirs): Likewise.
10401
10402         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10403
10404 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10405
10406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10407         power8 implementation.
10408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10409         file: POWER8 llround ifunc implementation.
10410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10411         (__lllround): Add POWER8 implementation.
10412         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10413         POWER8 llround implementation.
10414
10415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10416         power8 implementation.
10417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10418         file: POWER8 llrint ifunc implementation.
10419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10420         Add POWER8 implementation.
10421         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10422         POWER8 llrint implementation.
10423
10424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10425         power8 implementation.
10426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10427         file: POWER8 finite ifunc implementation.
10428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10429         Add POWER8 implementation.
10430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10431         Likewise.
10432         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10433         POWER8 finite implementation.
10434         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10435
10436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10437         power8 implementation.
10438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10439         file: POWER8 isinf ifunc implementation.
10440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10441         POWER8 implementation.
10442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10443         Likewise.
10444         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10445         isinf implementation.
10446         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10447
10448         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10449         (INIT_ARCH): Add hwcap2 initialization.
10450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10451         power8 implementation.
10452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10453         file: POWER8 isnan ifunc implementation.
10454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10455         POWER8 implementation.
10456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10457         Likewise.
10458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10459         isnan implementation.
10460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10461
10462 2014-02-27  Joey Ye  <joey.ye@arm.com>
10463
10464         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10465         (_FP_NANFRAC_Q): Set to zero.
10466
10467 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10468
10469         [BZ #16623]
10470         * math/auto-libm-test-in: New test inputs.
10471         * math/auto-libm-test-out: Regenerate.
10472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10473         and DA.
10474         (__cos): Likewise.
10475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10476
10477 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10478
10479         * scripts/evaluate-test.sh: Take new argument indicating whether
10480         failure is expected.
10481         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10482         indicating whether failure is expected.
10483         * conform/Makefile (test-xfail-run-conformtest): New variable.
10484         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10485         level.
10486         * posix/Makefile (test-xfail-annexc): New variable.
10487         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10488
10489 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10490
10491         * argp/Makefile: Include Makeconfig immediately after defining
10492         subdir.
10493         * assert/Makefile: Likewise.
10494         * benchtests/Makefile: Likewise.
10495         * catgets/Makefile: Likewise.
10496         * conform/Makefile: Likewise.
10497         * crypt/Makefile: Likewise.
10498         * csu/Makefile: Likewise.
10499         (all): Remove target.
10500         * ctype/Makefile: Include Makeconfig immediately after defining
10501         subdir.
10502         * debug/Makefile: Likewise.
10503         * dirent/Makefile: Likewise.
10504         * dlfcn/Makefile: Likewise.
10505         * gmon/Makefile: Likewise.
10506         * gnulib/Makefile: Likewise.
10507         * grp/Makefile: Likewise.
10508         * gshadow/Makefile: Likewise.
10509         * hesiod/Makefile: Likewise.
10510         * hurd/Makefile: Likewise.
10511         (all): Remove target.
10512         * iconvdata/Makefile: Include Makeconfig immediately after
10513         defining subdir.
10514         * inet/Makefile: Likewise.
10515         * intl/Makefile: Likewise.
10516         * io/Makefile: Likewise.
10517         * libio/Makefile: Likewise.
10518         (all): Remove target.
10519         * locale/Makefile: Include Makeconfig immediately after defining
10520         subdir.
10521         * login/Makefile: Likewise.
10522         * mach/Makefile: Likewise.
10523         (all): Remove target.
10524         * malloc/Makefile: Include Makeconfig immediately after defining
10525         subdir.
10526         (all): Remove target.
10527         * manual/Makefile: Include Makeconfig immediately after defining
10528         subdir.
10529         * math/Makefile: Likewise.
10530         * misc/Makefile: Likewise.
10531         * nis/Makefile: Likewise.
10532         * nss/Makefile: Likewise.
10533         * po/Makefile: Likewise.
10534         (all): Remove target.
10535         * posix/Makefile: Include Makeconfig immediately after defining
10536         subdir.
10537         * pwd/Makefile: Likewise.
10538         * resolv/Makefile: Likewise.
10539         * resource/Makefile: Likewise.
10540         * rt/Makefile: Likewise.
10541         * setjmp/Makefile: Likewise.
10542         * shadow/Makefile: Likewise.
10543         * signal/Makefile: Likewise.
10544         * socket/Makefile: Likewise.
10545         * soft-fp/Makefile: Likewise.
10546         * stdio-common/Makefile: Likewise.
10547         * stdlib/Makefile: Likewise.
10548         * streams/Makefile: Likewise.
10549         * string/Makefile: Likewise.
10550         * sunrpc/Makefile: Likewise.
10551         (all): Remove target.
10552         * sysvipc/Makefile: Include Makeconfig immediately after defining
10553         subdir.
10554         * termios/Makefile: Likewise.
10555         * time/Makefile: Likewise.
10556         * timezone/Makefile: Likewise.
10557         (all): Remove target.
10558         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10559         subdir.
10560         * wctype/Makefile: Likewise.
10561
10562 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10563
10564         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10565         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10566         (libc_feholdexcept_setround_mips): Ditto.
10567         (libc_feholdsetround): New.
10568         (libc_feholdsetroundf): New.
10569         (libc_feholdsetroundl): New.
10570         (libc_feupdateenv_test_mips): New.
10571         (libc_feupdateenv_test): New.
10572         (libc_feupdateenv_testf): New.
10573         (libc_feupdateenv_testl): New.
10574         (libc_feresetround): New.
10575         (libc_feresetroundf): New.
10576         (libc_feresetroundl): New.
10577         (libc_fetestexcept_mips): New.
10578         (libc_fetestexcept): New.
10579         (libc_fetestexceptf): New.
10580         (libc_fetestexceptl): New.
10581         (HAVE_RM_CTX): New.
10582         (libc_feholdexcept_setround_mips_ctx): New.
10583         (libc_feholdexcept_setround_ctx): New.
10584         (libc_feholdexcept_setroundf_ctx): New.
10585         (libc_feholdexcept_setroundl_ctx): New.
10586         (libc_fesetenv_mips_ctx): New.
10587         (libc_fesetenv_ctx): New.
10588         (libc_fesetenv_ctxf): New.
10589         (libc_fesetenv_ctxl): New.
10590         (libc_feupdateenv_mips_ctx): New.
10591         (libc_feupdateenv_ctx): New.
10592         (libc_feupdateenvf_ctx): New.
10593         (libc_feupdateenvl_ctx): New.
10594         (libc_feholdsetround_mips_ctx): New.
10595         (libc_feholdsetround_ctx): New.
10596         (libc_feholdsetroundf_ctx): New.
10597         (libc_feholdsetroundl_ctx): New.
10598         (libc_feresetround_mips_ctx): New.
10599         (libc_feresetround_ctx): New.
10600         (libc_feresetroundf_ctx): New.
10601         (libc_feresetroundl_ctx): New.
10602
10603 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10604
10605         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10606
10607         * manual/ipc.texi: New file.
10608         * manual/Makefile (chapters): Add ipc.
10609         * manual/job.texi: Add "Inter-Process Communication" to next.
10610         * manual/process.texi: Add "Inter-Process Communication" to prev.
10611
10612 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10613
10614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10615
10616 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10617
10618         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10619
10620         * manual/arith.texi: Fix spaces after sentences.
10621         * manual/charset.texi: Likewise.
10622         * manual/errno.texi: Likewise.
10623         * manual/install.texi: Likewise.
10624         * manual/llio.texi: Likewise.
10625         * manual/locale.texi: Likewise.
10626         * manual/maint.texi: Likewise.
10627         * manual/math.texi: Likewise.
10628         * manual/memory.texi: Likewise.
10629         * manual/message.texi: Likewise.
10630         * manual/probes.texi: Likewise.
10631         * manual/resource.texi: Likewise.
10632         * manual/signal.texi: Likewise.
10633         * manual/socket.texi: Likewise.
10634         * manual/stdio.texi: Likewise.
10635         * manual/string.texi: Likewise.
10636         * manual/time.texi: Likewise.
10637         * manual/users.texi: Likewise.
10638
10639 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10640
10641         [BZ #16632]
10642         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10643         _DEFAULT_SOURCE is defined.
10644
10645 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10646             Carlos O'Donell  <carlos@redhat.com>
10647
10648         [BZ #16613]
10649         * elf/dl-tls.c (_dl_count_modids): New function.
10650         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10651         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10652         audit library and increment generation counter.
10653         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10654         * elf/tst-audit9.c: New file.
10655         * elf/tst-auditmod9a.c: New file.
10656         * elf/tst-auditmod9b.c: New file.
10657         * elf/Makefile: Add rules to build and run tst-audit9.
10658
10659 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10660
10661         [BZ #15347]
10662         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10663
10664 2014-02-25  Will Newton  <will.newton@linaro.org>
10665
10666         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10667         (__longjmp): Restore sp and lr before restoring callee
10668         saved registers.  Add longjmp and longjmp_target
10669         SystemTap probe point.
10670         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10671         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10672         Define to zero to match jmpbuf layout.
10673         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10674         (__sigsetjmp): Save sp and lr before saving callee
10675         saved registers.  Add setjmp SystemTap probe point.
10676
10677 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10678
10679         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10680
10681 2014-02-24  Andreas Schwab  <schwab@suse.de>
10682
10683         [BZ #15804]
10684         * elf/pldd.c (wait_for_ptrace_stop): New function.
10685         (main): Call it after attaching.
10686
10687 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10688
10689         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10690         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10691         Versions files is now verboten.
10692         * hurd/Versions (libc: GLIBC_2.0):
10693         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10694         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10695         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10696         * mach/Versions: Likewise.
10697
10698         * csu/Versions: Remove unused %include.
10699         * resolv/Versions: Likewise.
10700
10701 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10702
10703         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10704         ($(objpfx)check-local-headers.out): Likewise.
10705         ($(objpfx)begin-end-check.out): Likewise.
10706         * Makerules (check-abi-%.out): Likewise.
10707         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10708         ($(objpfx)test2.cat): Likewise.
10709         ($(objpfx)de/libc.cat): Likewise.
10710         ($(objpfx)test-gencat.out): Likewise.
10711         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10712         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10713         ($(objpfx)noload-mem): Likewise.
10714         ($(objpfx)tst-pathopt.out): Likewise.
10715         ($(objpfx)tst-rtld-load-self.out): Likewise.
10716         ($(objpfx)tst-array1-cmp.out): Likewise.
10717         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10718         ($(objpfx)tst-array2-cmp.out): Likewise.
10719         ($(objpfx)tst-array3-cmp.out): Likewise.
10720         ($(objpfx)tst-array4-cmp.out): Likewise.
10721         ($(objpfx)tst-array5-cmp.out): Likewise.
10722         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10723         ($(objpfx)check-textrel.out): Likewise.
10724         ($(objpfx)check-execstack.out): Likewise.
10725         ($(objpfx)check-localplt.out): Likewise.
10726         ($(objpfx)order2-cmp.out): Likewise.
10727         ($(objpfx)tst-leaks1-mem): Likewise.
10728         ($(objpfx)tst-leaks1-static-mem): Likewise.
10729         ($(objpfx)tst-initorder-cmp.out): Likewise.
10730         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10731         ($(objpfx)tst-unused-dep.out): Likewise.
10732         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10733         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10734         * iconv/Makefile (test-iconvconfig): Likewise.
10735         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10736         ($(objpfx)iconv-test.out): Likewise.
10737         ($(objpfx)tst-tables.out): Likewise.
10738         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10739         ($(objpfx)tst-gettext.out): Likewise.
10740         ($(objpfx)tst-translit.out): Likewise.
10741         ($(objpfx)tst-gettext2.out): Likewise.
10742         ($(objpfx)tst-gettext4.out): Likewise.
10743         ($(objpfx)tst-gettext6.out): Likewise.
10744         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10745         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10746         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10747         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10748         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10749         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10750         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10751         ($(objpfx)wordexp-tst.out): Likewise.
10752         ($(objpfx)annexc.out): Likewise.
10753         ($(objpfx)tst-fnmatch-mem): Likewise.
10754         ($(objpfx)bug-regex2-mem): Likewise.
10755         ($(objpfx)bug-regex14-mem): Likewise.
10756         ($(objpfx)bug-regex21-mem): Likewise.
10757         ($(objpfx)bug-regex31-mem): Likewise.
10758         ($(objpfx)tst-vfork3-mem): Likewise.
10759         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10760         ($(objpfx)tst-pcre-mem): Likewise.
10761         ($(objpfx)tst-boost-mem): Likewise.
10762         ($(objpfx)tst-getconf.out): Likewise.
10763         ($(objpfx)bug-ga2-mem): Likewise.
10764         ($(objpfx)bug-glob2-mem): Likewise.
10765         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10766         ($(objpfx)mtrace-tst-leaks2): Likewise.
10767         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10768         ($(objpfx)tst-printf.out): Likewise.
10769         ($(objpfx)tst-setvbuf1.out): Likewise.
10770         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10771         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10772         ($(objpfx)tst-fmtmsg.out): Likewise.
10773         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10774         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10775
10776         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10777         * bits/sigaction.h [__USE_MISC]: Likewise.
10778         * bits/waitstatus.h: Update #endif comments.
10779         * ctype/ctype.h: Likewise.
10780         * dirent/dirent.h: Likewise.
10781         [__USE_MISC]: Remove redundant conditionals.
10782         * grp/grp.h: Update #endif comments.
10783         [__USE_GNU]: Remove redundant conditionals.
10784         [__USE_MISC]: Likewise.
10785         * inet/netinet/in.h [__USE_GNU]: Likewise.
10786         * io/sys/stat.h [__USE_MISC]: Likewise.
10787         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10788         * libio/bits/stdio.h: Update #endif comments.
10789         [__USE_MISC]: Remove redundant conditionals.
10790         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10791         * libio/stdio.h: Update #endif comments.
10792         [__USE_MISC]: Remove redundant conditionals.
10793         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10794         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10795         * math/math.h: Update #else and #endif comments.
10796         [__USE_MISC]: Remove redundant conditionals.
10797         * misc/sys/uio.h: Update #endif comments.
10798         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10799         * posix/glob.h [__USE_MISC]: Likewise.
10800         * posix/sys/types.h: Update #endif comments.
10801         [__USE_MISC]: Remove redundant conditionals.
10802         * posix/sys/wait.h: Update #endif comments.
10803         [__USE_MISC]: Remove redundant conditionals.
10804         * posix/unistd.h: Update #endif comments.
10805         [__USE_MISC]: Remove redundant conditionals.
10806         * pwd/pwd.h [__USE_GNU]: Likewise.
10807         [__USE_MISC]: Likewise.
10808         * resolv/netdb.h [__USE_GNU]: Likewise.
10809         * signal/signal.h: Update #endif comments.
10810         [__USE_MISC]: Remove redundant conditionals.
10811         * stdlib/stdlib.h: Update #else and #endif comments.
10812         [__USE_MISC]: Remove redundant conditionals.
10813         [__USE_GNU]: Likewise.
10814         * string/bits/string2.h [__USE_MISC]: Likewise.
10815         * string/string.h: Update #endif comments.
10816         [__USE_MISC]: Remove redundant conditionals.
10817         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10818         Likewise.
10819         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10820         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10821         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10822         Likewise.
10823         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10824         Likewise.
10825         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10826         comments.
10827         [__USE_MISC]: Remove redundant conditionals.
10828         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10829         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10830         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10831         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10832         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10833         Likewise.
10834         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10835         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10836         Likewise.
10837         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10838         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10839         Likewise.
10840         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10841         Likewise.
10842         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10843         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10844         Likewise.
10845         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10846         Likewise.
10847         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10848         * sysdeps/x86/bits/string.h: Update #endif comments.
10849         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10850         conditionals.
10851         * time/sys/time.h: Update #endif comments.
10852         * time/time.h: Likewise.
10853         [__USE_MISC]: Remove redundant conditionals.
10854
10855 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10856
10857         [BZ #16600]
10858         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10859
10860 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10861
10862         * Versions.def (librt): Add GLIBC_2.17.
10863
10864 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10865
10866         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10867         synonym for _SYS_AUXV_H to allow direct inclusion.
10868         * sysdeps/sparc/bits/hwcap.h: Likewise.
10869         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10870         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10871         * sysdeps/sparc/sysdep.h: Likewise.
10872
10873 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10874
10875         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10876
10877 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10878
10879         * benchtests/bench-strrchr.c: Print length instead of position.
10880
10881 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10882
10883         [BZ #16611]
10884         * sysdeps/unix/sysv/linux/kernel-features.h
10885         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10886         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10887         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10888         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10889         Likewise.
10890         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10891         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10892         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10893         (__ASSUME_SENDMMSG): Define instead of using previous
10894         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10895         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10896         (__ASSUME_SENDMMSG_SYSCALL): Define.
10897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10898         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10901         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10902         Likewise.
10903         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10904         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10907         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10908         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10909         [__ASSUME_SENDMMSG]: Change conditionals to
10910         [__ASSUME_SENDMMSG_SOCKETCALL].
10911         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10912         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10913         Define.
10914         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10915         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10916         Likewise.
10917         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10918         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10919         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10920         [!__ASSUME_SENDMMSG]: Change conditional to
10921         [!__ASSUME_SENDMMSG_SOCKETCALL].
10922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10923         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10924         Define.
10925
10926         [BZ #16610]
10927         * sysdeps/unix/sysv/linux/kernel-features.h
10928         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10929         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10930         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10931         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10932         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10933         [__i386__ || __sparc__]
10934         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10935         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10936         (__ASSUME_RECVMMSG): Define instead of using previous
10937         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10939         (__ASSUME_RECVMMSG_SYSCALL): Define.
10940         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10941         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10942         Likewise.
10943         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10945         Likewise.
10946         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10948         Likewise.
10949         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10950         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10951         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10952         [__ASSUME_RECVMMSG]: Change condition to
10953         [__ASSUME_RECVMMSG_SOCKETCALL].
10954         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10955         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10956         Define.
10957         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10958         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10959         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10960         Likewise.
10961         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10962         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10963         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10964         [!__ASSUME_RECVMMSG]: Change condition to
10965         [!__ASSUME_RECVMMSG_SOCKETCALL].
10966         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10967         (__ASSUME_RECVMMSG_SYSCALL): Define.
10968
10969         [BZ #16609]
10970         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10971         __powerpc__ || __s390__ || __sh__ || __sparc__]
10972         (__ASSUME_SOCKETCALL): Define.
10973         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10974         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10975         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10976         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10977         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10978         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10979         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10980         (__ASSUME_ACCEPT4): Define instead of using previous
10981         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10982         __powerpc__ || __sparc__ || __s390__)] condition.
10983         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10984         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10985         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10986         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10987         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10988         [!__ASSUME_ACCEPT4]: Change condition to
10989         [!__ASSUME_ACCEPT4_SOCKETCALL].
10990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10991         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10992         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10993         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10994         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10995         __ASSUME_ACCEPT4_SYSCALL.
10996         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10997         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10999         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11000         __ASSUME_ACCEPT4_SYSCALL.
11001         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11002         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11003         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11004         [__ASSUME_ACCEPT4]: Change condition to
11005         [__ASSUME_ACCEPT4_SOCKETCALL].
11006         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11007         (__ASSUME_SOCKETCALL): Define.
11008         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11010         (__ASSUME_SOCKETCALL): Define.
11011         (__ASSUME_ACCEPT4): Remove.
11012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11013         Define.
11014         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11015         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11016         Likewise.
11017         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11018         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11019
11020         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11021         macro.
11022         (HWCAP_ARM_LPAE): Likewise.
11023         (HWCAP_ARM_EVTSTRM): Likewise.
11024         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11025         Add vpfd32, lpae and evtstrm.
11026         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11027         Increase to 22.
11028
11029 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11030
11031         * math/auto-libm-test-in: Add tests of clog10.
11032         * math/auto-libm-test-out: Regenerated.
11033         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11034         * sysdeps/i386/fpu/libm-test-ulps: Update.
11035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11036
11037 2014-02-18  Andreas Schwab  <schwab@suse.de>
11038
11039         [BZ #16574]
11040         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11041         Store non-zero if the second buffer was newly allocated.
11042         (send_dg): Likewise.
11043         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11044         to send_vc and send_dg.
11045         (res_nsend): Pass NULL for ansp2_malloced.
11046         * resolv/res_query.c (__libc_res_nquery): Add parameter
11047         answerp2_malloced and pass it down to __libc_res_nsend.
11048         (res_nquery): Pass additional NULL to __libc_res_nquery.
11049         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11050         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11051         second answer buffer if answerp2_malloced was set.
11052         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11053         (__libc_res_nquerydomain): Add parameter
11054         answerp2_malloced and pass it down to __libc_res_nquery.
11055         (res_nquerydomain): Pass additional NULL to
11056         __libc_res_nquerydomain.
11057         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11058         additional NULL to __libc_res_nsend and __libc_res_nquery.
11059         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11060         additional NULL to __libc_res_nsearch.
11061         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11062         parameter of __libc_res_nsearch to check for separately allocated
11063         second buffer.
11064         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11065         __libc_res_nquery.
11066         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11067         additional NULL to __libc_res_nquery.
11068         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11069         __libc_res_nsearch.
11070         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11071         * include/resolv.h: Update prototypes of __libc_res_nquery,
11072         __libc_res_nsearch, __libc_res_nsend.
11073
11074 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11075
11076         * math/auto-libm-test-in: Add tests of fma.
11077         * math/auto-libm-test-out: Regenerated.
11078         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11079         (fma_towardzero_test_data): Likewise.
11080         (fma_downward_test_data): Likewise.
11081         (fma_upward_test_data): Likewise.
11082         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11083         mpc_mode.
11084         (rounding_modes): Add values for new field.
11085         (func_calc_method): Add value mpfr_fff_f.
11086         (func_calc_desc): Add mpfr_fff_f union field.
11087         (test_function): Add field exact_args.
11088         (FUNC): Add macro argument EXACT_ARGS.
11089         (FUNC_mpfr_f_f): Update call to FUNC.
11090         (FUNC_mpfr_f_f): Likewise.
11091         (FUNC_mpfr_ff_f): Likewise.
11092         (FUNC_mpfr_if_f): Likewise.
11093         (FUNC_mpc_c_f): Likewise.
11094         (FUNC_mpc_c_c): Likewise.
11095         (test_functions): Add fma.  Update calls to FUNC.
11096         (handle_input_arg): Add argument exact_args.
11097         (add_test): Update call to handle_input_arg.
11098         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11099         (output_for_one_input_case): Update call to calc_generic_results.
11100         Recalculate exact zero results in each rounding mode.
11101
11102         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11103         non-negative before setting low bit.
11104         * math/auto-libm-test-in: Mark one asin test possibly having
11105         spurious underflow.
11106         * math/auto-libm-test-out: Regenerated.
11107         * sysdeps/i386/fpu/libm-test-ulps: Update.
11108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11109
11110 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11111
11112         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11113         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11114         ports/sysdeps/unix/sysv/linux/microblaze.
11115         * README: Add missing listing for microblaze*-*-linux-gnu.
11116
11117 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11118
11119         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11120         duplicate code
11121
11122 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11123
11124         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11125         * sysdeps/unix/sysv/linux/ia64: Move directory from
11126         ports/sysdeps/unix/sysv/linux/ia64.
11127         * README: Update listing for ia64-*-linux-gnu.
11128
11129 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11130             Joseph Myers  <joseph@codesourcery.com>
11131
11132         * Makeconfig (test-name): New variable.
11133         (evaluate-test): Likewise.
11134         * Makerules (do-test-clean): Remove .test-result files.
11135         (common-mostlyclean): Likewise.
11136         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11137         * scripts/evaluate-test.sh: New file.
11138
11139 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11140
11141         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11142         separate $(objpfx)tst-fopenloc-cmp.out and
11143         $(objpfx)tst-fopenloc-mem.out targets.
11144         (tests): Update dependencies.
11145         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11146         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11147         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11148         (tst-rxspencer-no-utf8-ARGS): New variable.
11149         (tst-rxspencer-no-utf8-ENV): Likewise.
11150         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11151         instead of $(objpfx)tst-rxspencer-mem.
11152         ($(objpfx)tst-rxspencer-mem): Change target to
11153         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11154         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11155         * posix/tst-rxspencer-no-utf8.c: New file.
11156
11157         * elf/Makefile ($(objpfx)order.out): Remove rule.
11158         [$(run-built-tests) = yes] (tests): Depend on
11159         $(objpfx)order-cmp.out.
11160         ($(objpfx)order-cmp.out): New rule.
11161         [$(run-built-tests) = yes] (tests): Depend on
11162         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11163         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11164         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11165         $(objpfx)tst-array5-static-cmp.out.
11166         ($(objpfx)tst-array1.out): Remove rule.
11167         ($(objpfx)tst-array1-cmp.out): New rule.
11168         ($(objpfx)tst-array1-static.out): Remove rule.
11169         ($(objpfx)tst-array1-static-cmp.out): New rule.
11170         ($(objpfx)tst-array2.out): Remove rule.
11171         ($(objpfx)tst-array2-cmp.out): New rule.
11172         ($(objpfx)tst-array3.out): Remove rule.
11173         ($(objpfx)tst-array3-cmp.out): New rule.
11174         ($(objpfx)tst-array4.out): Remove rule.
11175         ($(objpfx)tst-array4-cmp.out): New rule.
11176         ($(objpfx)tst-array5.out): Remove rule.
11177         ($(objpfx)tst-array5-cmp.out): New rule.
11178         ($(objpfx)tst-array5-static.out): Remove rule.
11179         ($(objpfx)tst-array5-static-cmp.out): New rule.
11180         [$(run-built-tests) = yes] (tests): Depend on
11181         $(objpfx)order2-cmp.out.
11182         ($(objpfx)order2.out): Remove rule.
11183         ($(objpfx)order2-cmp.out): New rule.
11184         ($(objpfx)tst-initorder.out): Remove rule.
11185         [$(run-built-tests) = yes] (tests): Depend on
11186         $(objpfx)tst-initorder-cmp.out.
11187         ($(objpfx)tst-initorder-cmp.out): New rule.
11188         ($(objpfx)tst-initorder2.out): Remove rule.
11189         [$(run-built-tests) = yes] (tests): Depend on
11190         $(objpfx)tst-initorder2-cmp.out.
11191         ($(objpfx)tst-initorder2-cmp.out): New rule.
11192         [$(run-built-tests) = yes] (tests): Depend on
11193         $(objpfx)tst-unused-dep-cmp.out.
11194         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11195         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11196         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11197         on $(objpfx)tst-setvbuf1-cmp.out.
11198         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11199         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11200         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11201         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11202         ($(objpfx)tst-svc.out): Remove rule.
11203         ($(objpfx)tst-svc-cmp.out): New rule.
11204
11205 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11206
11207         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11208         * ctype/ctype.h [__USE_MISC]: Likewise.
11209         * dirent/dirent.h [__USE_MISC]: Likewise.
11210         * grp/grp.h [__USE_MISC]: Likewise.
11211         * io/fcntl.h [__USE_MISC]: Likewise.
11212         * io/sys/stat.h [__USE_MISC]: Likewise.
11213         * libio/stdio.h [__USE_MISC]: Likewise.
11214         * posix/unistd.h [__USE_MISC]: Likewise.
11215         * pwd/pwd.h [__USE_MISC]: Likewise.
11216         * stdlib.h [__USE_MISC]: Likewise.
11217         * string/bits/string2.h [__USE_MISC]: Likewise.
11218         * string/string.h [__USE_MISC]: Likewise.
11219         * time/time.h [__USE_MISC]: Likewise.
11220
11221 2014-02-13  Andreas Schwab  <schwab@suse.de>
11222
11223         [BZ #16574]
11224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11225         second answer buffer if it was separately allocated.
11226
11227 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11228
11229         * sysdeps/mips/math-tests.h: Include <features.h>.
11230         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11231         (ROUNDING_TESTS_long_double): Do not define.
11232         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11233         (EXCEPTION_TESTS_long_double): Likewise.
11234         * sysdeps/mips/mips64/libm-test-ulps: Update.
11235
11236         * include/features.h (__USE_BSD): Remove macro definitions.
11237         (__USE_SVID): Likewise.
11238         (_BSD_SOURCE): Likewise.
11239         (_SVID_SOURCE): Likewise.
11240         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11241         from definition of _DEFAULT_SOURCE.
11242         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11243         [_DEFAULT_SOURCE].
11244         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11245         * bits/mman.h [__USE_BSD]: Likewise.
11246         * bits/termios.h [__USE_BSD]: Likewise.
11247         * bits/waitstatus.h [__USE_BSD]: Likewise.
11248         * ctype/ctype.h [__USE_SVID]: Likewise.
11249         * dirent/dirent.h [__USE_BSD]: Likewise.
11250         * grp/grp.h [__USE_SVID]: Likewise.
11251         [__USE_BSD]: Likewise.
11252         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11253         * io/fcntl.h [__USE_BSD]: Likewise.
11254         * io/ftw.h [__USE_BSD]: Likewise.
11255         * io/sys/stat.h [__USE_BSD]: Likewise.
11256         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11257         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11258         * libio/stdio.h [__USE_SVID]: Likewise.
11259         [__USE_BSD]: Likewise.
11260         * math/math.h [__USE_SVID]: Likewise.
11261         [__USE_BSD]: Likewise.
11262         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11263         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11264         * misc/search.h [__USE_SVID]: Likewise.
11265         * misc/sys/mman.h [__USE_BSD]: Likewise.
11266         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11267         * misc/sys/uio.h [__USE_BSD]: Likewise.
11268         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11269         * posix/glob.h [__USE_BSD]: Likewise.
11270         * posix/regex.h [__USE_BSD]: Likewise.
11271         * posix/sys/types.h [__USE_BSD]: Likewise.
11272         [__USE_SVID]: Likewise.
11273         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11274         * posix/sys/wait.h [__USE_BSD]: Likewise.
11275         [__USE_SVID]: Likewise.
11276         * posix/unistd.h [__USE_BSD]: Likewise.
11277         [__USE_SVID]: Likewise.
11278         * pwd/pwd.h [__USE_SVID]: Likewise.
11279         * resolv/netdb.h [__USE_BSD]: Likewise.
11280         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11281         * signal/signal.h [__USE_BSD]: Likewise.
11282         [__USE_SVID]: Likewise.
11283         * socket/sys/socket.h [__USE_BSD]: Likewise.
11284         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11285         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11286         [__USE_SVID]: Likewise.
11287         * string/bits/string2.h [__USE_BSD]: Likewise.
11288         [__USE_SVID]: Likewise.
11289         * string/bits/string3.h [__USE_BSD]: Likewise.
11290         * string/endian.h [__USE_BSD]: Likewise.
11291         * string/string.h [__USE_SVID]: Likewise.
11292         [__USE_BSD]: Likewise.
11293         * string/strings.h [__USE_BSD]: Likewise.
11294         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11295         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11296         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11297         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11298         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11299         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11300         Likewise.
11301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11302         Likewise.
11303         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11304         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11305         Likewise.
11306         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11307         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11308         Likewise.
11309         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11310         Likewise.
11311         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11312         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11313         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11314         Likewise.
11315         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11316         Likewise.
11317         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11318         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11319         * termios/termios.h [__USE_BSD]: Likewise.
11320         * time/sys/time.h [__USE_BSD]: Likewise.
11321         * time/time.h [__USE_BSD]: Likewise.
11322         [__USE_SVID]: Likewise.
11323
11324         * Makefile (subdir_targets): Remove subdir_lint.out.
11325
11326         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11327         (do-tst-printf): Likewise.
11328         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11329         $(objpfx)tst-printf.out.
11330
11331         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11332
11333         * Makerules (check-abi-%): Change target to
11334         $(objpfx)check-abi-%.out.
11335         (check-abi target): Update dependencies.
11336         (check-abi-pattern variable): Redirect output of diff to $@.
11337         (check-abi variable): Likewise.
11338         * elf/Makefile (check-abi): Update dependencies.
11339
11340         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11341         unused.
11342         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11343         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11344         subnormal range.
11345         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11346         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11347         value has largest subnormal exponent.
11348         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11349         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11350         * sysdeps/aarch64/soft-fp/sfp-machine.h
11351         (_FP_TININESS_AFTER_ROUNDING): New macro.
11352         * sysdeps/alpha/soft-fp/sfp-machine.h
11353         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11354         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11355         Likewise.
11356         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11358         * sysdeps/mips/soft-fp/sfp-machine.h
11359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11360         * sysdeps/powerpc/soft-fp/sfp-machine.h
11361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11362         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11363         Likewise.
11364         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11365         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11366         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11367         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11368         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11369         Likewise.
11370
11371 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11372
11373         [BZ #16545]
11374         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11375         model 1.
11376
11377 2014-02-12  Richard Henderson  <rth@redhat.com>
11378
11379         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11380         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11381         * sysdeps/unix/sysv/linux/alpha: Move directory from
11382         ports/sysdeps/unix/sysv/linux/alpha.
11383         * README: Update listing for alpha-*-linux-gnu.
11384
11385 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11386
11387         * include/features.h: Update comment documenting feature test
11388         macros.
11389         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11390         _DEFAULT_SOURCE.
11391         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11392         (_SVID_SOURCE): Likewise.
11393         (_DEFAULT_SOURCE): Update description of default features.
11394         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11395         with _GNU_SOURCE.
11396         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11397         (S_ISVTX): Likewise.
11398         * manual/math.texi (Mathematical Constants): Likewise.
11399         * manual/signal.texi (Interrupted Primitives): Likewise.
11400         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11401         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11402         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11403         Don't refer to _SVID_SOURCE in warning text.
11404
11405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11406
11407         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11408         already defined.
11409         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11410         * sysdeps/mips/dl-lookup.c: Remove.
11411         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11412
11413 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11414
11415         [BZ #16447]
11416         * math/auto-libm-test-in: Add testcase for expl.
11417         * math/auto-libm-test-out: Regenerate.
11418         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11419         calculation of unsafe.
11420         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11421
11422 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11423
11424         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11425         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11426         ports/sysdeps/unix/sysv/linux/aarch64.
11427         * README: Update listing for aarch64*-*-linux-gnu.
11428
11429 2014-02-11  Will Newton  <will.newton@linaro.org>
11430
11431         * manual/probes.texi (Mathematical Function Probes): Use
11432         "triggered" instead of "hit".
11433
11434         * manual/probes.texi (Internal Probes): Add documentation
11435         of setjmp, longjmp and longjmp_target probes.
11436
11437         * include/stap-probe.h: Add comment about probe argument
11438         format.
11439
11440         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11441         definition.  (tr_where, tr_freehook, tr_mallochook,
11442         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11443
11444 2014-02-11  David S. Miller  <davem@davemloft.net>
11445
11446         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11447         processing int_tests.
11448
11449 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11450
11451         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11452         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11453         * sysdeps/unix/sysv/linux/mips: Move directory from
11454         ports/sysdeps/unix/sysv/linux/mips.
11455         * README: Update listing for mips-*-linux-gnu and
11456         mips64-*-linux-gnu.
11457
11458 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11459
11460         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11461         * sysdeps/unix/sysv/linux/m68k: Move directory from
11462         ports/sysdeps/unix/sysv/linux/m68k.
11463         * README: Update listing for m68k-*-linux-gnu.
11464
11465 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11466
11467         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11468         * sysdeps/unix/sysv/linux/generic: Move directory from
11469         ports/sysdeps/unix/sysv/linux/generic.
11470         * sysdeps/unix/sysv/linux/tile: Move directory from
11471         ports/sysdeps/unix/sysv/linux/tile.
11472         * README: Update listing for tile*-*-linux-gnu.
11473
11474 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11475
11476         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11477         __builtin_expect.
11478         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11479         * catgets/open_catalog.c (__open_catalog): Likewise.
11480         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11481         * debug/confstr_chk.c: Likewise.
11482         * debug/fread_chk.c (__fread_chk): Likewise.
11483         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11484         * debug/getgroups_chk.c: Likewise.
11485         * debug/mbsnrtowcs_chk.c: Likewise.
11486         * debug/mbsrtowcs_chk.c: Likewise.
11487         * debug/mbstowcs_chk.c: Likewise.
11488         * debug/memcpy_chk.c: Likewise.
11489         * debug/memmove_chk.c: Likewise.
11490         * debug/mempcpy_chk.c: Likewise.
11491         * debug/memset_chk.c: Likewise.
11492         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11493         * debug/strcat_chk.c (__strcat_chk): Likewise.
11494         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11495         * debug/strncat_chk.c (__strncat_chk): Likewise.
11496         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11497         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11498         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11499         * debug/wcpncpy_chk.c: Likewise.
11500         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11501         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11502         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11503         * debug/wcsncpy_chk.c: Likewise.
11504         * debug/wcsnrtombs_chk.c: Likewise.
11505         * debug/wcsrtombs_chk.c: Likewise.
11506         * debug/wcstombs_chk.c: Likewise.
11507         * debug/wmemcpy_chk.c: Likewise.
11508         * debug/wmemmove_chk.c: Likewise.
11509         * debug/wmempcpy_chk.c: Likewise.
11510         * debug/wmemset_chk.c: Likewise.
11511         * dirent/scandirat.c (SCANDIRAT): Likewise.
11512         * dlfcn/dladdr1.c (dladdr1): Likewise.
11513         * dlfcn/dladdr.c (dladdr): Likewise.
11514         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11515         * dlfcn/dlerror.c (__dlerror): Likewise.
11516         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11517         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11518         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11519         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11520         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11521         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11522         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11523         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11524         Likewise.
11525         * elf/dl-conflict.c: Likewise.
11526         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11527         * elf/dl-dst.h: Likewise.
11528         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11529         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11530         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11531         * elf/dl-init.c (call_init, _dl_init): Likewise.
11532         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11533         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11534         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11535         Likewise.
11536         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11537         Likewise.
11538         * elf/dl-minimal.c (__libc_memalign): Likewise.
11539         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11540         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11541         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11542         * elf/dl-sym.c (do_sym): Likewise.
11543         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11544         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11545         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11546         * elf/dl-writev.h (_dl_writev): Likewise.
11547         * elf/ldconfig.c (search_dir): Likewise.
11548         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11549         (dl_main): Likewise.
11550         * elf/setup-vdso.h (setup_vdso): Likewise.
11551         * grp/compat-initgroups.c (compat_call): Likewise.
11552         * grp/fgetgrent.c (fgetgrent): Likewise.
11553         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11554         * grp/putgrent.c (putgrent): Likewise.
11555         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11556         Likewise.
11557         * hurd/hurdinit.c: Likewise.
11558         * iconvdata/8bit-gap.c (struct): Likewise.
11559         * iconvdata/ansi_x3.110.c : Likewise.
11560         * iconvdata/big5.c : Likewise.
11561         * iconvdata/big5hkscs.c : Likewise.
11562         * iconvdata/cp1255.c: Likewise.
11563         * iconvdata/cp1258.c : Likewise.
11564         * iconvdata/cp932.c : Likewise.
11565         * iconvdata/euc-cn.c: Likewise.
11566         * iconvdata/euc-jisx0213.c : Likewise.
11567         * iconvdata/euc-jp.c: Likewise.
11568         * iconvdata/euc-jp-ms.c : Likewise.
11569         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11570         * iconvdata/gb18030.c : Likewise.
11571         * iconvdata/gbbig5.c (const): Likewise.
11572         * iconvdata/gbgbk.c: Likewise.
11573         * iconvdata/gbk.c : Likewise.
11574         * iconvdata/ibm1364.c : Likewise.
11575         * iconvdata/ibm930.c : Likewise.
11576         * iconvdata/ibm932.c: Likewise.
11577         * iconvdata/ibm933.c : Likewise.
11578         * iconvdata/ibm935.c : Likewise.
11579         * iconvdata/ibm937.c : Likewise.
11580         * iconvdata/ibm939.c : Likewise.
11581         * iconvdata/ibm943.c: Likewise.
11582         * iconvdata/iso_11548-1.c: Likewise.
11583         * iconvdata/iso-2022-cn.c : Likewise.
11584         * iconvdata/iso-2022-cn-ext.c : Likewise.
11585         * iconvdata/iso-2022-jp-3.c: Likewise.
11586         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11587         * iconvdata/iso-2022-kr.c : Likewise.
11588         * iconvdata/iso646.c (gconv_end): Likewise.
11589         * iconvdata/iso_6937-2.c : Likewise.
11590         * iconvdata/iso_6937.c : Likewise.
11591         * iconvdata/iso8859-1.c: Likewise.
11592         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11593         * iconvdata/shift_jisx0213.c : Likewise.
11594         * iconvdata/sjis.c : Likewise.
11595         * iconvdata/t.61.c : Likewise.
11596         * iconvdata/tcvn5712-1.c : Likewise.
11597         * iconvdata/tscii.c: Likewise.
11598         * iconvdata/uhc.c : Likewise.
11599         * iconvdata/unicode.c (gconv_end): Likewise.
11600         * iconvdata/utf-16.c (gconv_end): Likewise.
11601         * iconvdata/utf-32.c (gconv_end): Likewise.
11602         * iconvdata/utf-7.c (base64): Likewise.
11603         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11604         * iconv/gconv_close.c (__gconv_close): Likewise.
11605         * iconv/gconv_open.c (__gconv_open): Likewise.
11606         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11607         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11608         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11609         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11610         (ucs4le_internal_loop_single): Likewise.
11611         * iconv/iconv.c (iconv): Likewise.
11612         * iconv/iconv_close.c: Likewise.
11613         * iconv/loop.c (SINGLE): Likewise.
11614         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11615         * include/atomic.h: Likewise.
11616         * inet/inet6_option.c (option_alloc): Likewise.
11617         * intl/bindtextdom.c (set_binding_values): Likewise.
11618         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11619         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11620         * intl/localealias.c (read_alias_file): Likewise.
11621         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11622         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11623         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11624         * libio/fmemopen.c (fmemopen): Likewise.
11625         * libio/iofgets.c (_IO_fgets): Likewise.
11626         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11627         * libio/iofgetws.c (fgetws): Likewise.
11628         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11629         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11630         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11631         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11632         * locale/findlocale.c (_nl_find_locale): Likewise.
11633         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11634         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11635         Likewise.
11636         * locale/setlocale.c (setlocale): Likewise.
11637         * login/programs/pt_chown.c (main): Likewise.
11638         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11639         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11640         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11641         (mmap, mmap64, mremap, munmap): Likewise.
11642         * math/e_exp2l.c: Likewise.
11643         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11644         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11645         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11646         * math/s_catan.c (__catan): Likewise.
11647         * math/s_catanf.c (__catanf): Likewise.
11648         * math/s_catanh.c (__catanh): Likewise.
11649         * math/s_catanhf.c (__catanhf): Likewise.
11650         * math/s_catanhl.c (__catanhl): Likewise.
11651         * math/s_catanl.c (__catanl): Likewise.
11652         * math/s_ccosh.c (__ccosh): Likewise.
11653         * math/s_ccoshf.c (__ccoshf): Likewise.
11654         * math/s_ccoshl.c (__ccoshl): Likewise.
11655         * math/s_cexp.c (__cexp): Likewise.
11656         * math/s_cexpf.c (__cexpf): Likewise.
11657         * math/s_cexpl.c (__cexpl): Likewise.
11658         * math/s_clog10.c (__clog10): Likewise.
11659         * math/s_clog10f.c (__clog10f): Likewise.
11660         * math/s_clog10l.c (__clog10l): Likewise.
11661         * math/s_clog.c (__clog): Likewise.
11662         * math/s_clogf.c (__clogf): Likewise.
11663         * math/s_clogl.c (__clogl): Likewise.
11664         * math/s_csin.c (__csin): Likewise.
11665         * math/s_csinf.c (__csinf): Likewise.
11666         * math/s_csinh.c (__csinh): Likewise.
11667         * math/s_csinhf.c (__csinhf): Likewise.
11668         * math/s_csinhl.c (__csinhl): Likewise.
11669         * math/s_csinl.c (__csinl): Likewise.
11670         * math/s_csqrt.c (__csqrt): Likewise.
11671         * math/s_csqrtf.c (__csqrtf): Likewise.
11672         * math/s_csqrtl.c (__csqrtl): Likewise.
11673         * math/s_ctan.c (__ctan): Likewise.
11674         * math/s_ctanf.c (__ctanf): Likewise.
11675         * math/s_ctanh.c (__ctanh): Likewise.
11676         * math/s_ctanhf.c (__ctanhf): Likewise.
11677         * math/s_ctanhl.c (__ctanhl): Likewise.
11678         * math/s_ctanl.c (__ctanl): Likewise.
11679         * math/w_pow.c: Likewise.
11680         * math/w_powf.c: Likewise.
11681         * math/w_powl.c: Likewise.
11682         * math/w_scalb.c (sysv_scalb): Likewise.
11683         * math/w_scalbf.c (sysv_scalbf): Likewise.
11684         * math/w_scalbl.c (sysv_scalbl): Likewise.
11685         * misc/error.c (error_tail): Likewise.
11686         * misc/pselect.c (__pselect): Likewise.
11687         * nis/nis_callback.c (__nis_create_callback): Likewise.
11688         * nis/nis_call.c (__nisfind_server): Likewise.
11689         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11690         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11691         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11692         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11693         * nis/nis_lookup.c (nis_lookup): Likewise.
11694         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11695         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11696         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11697         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11698         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11699         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11700         * nis/nss_compat/compat-initgroups.c (add_group)
11701         (internal_getgrent_r): Likewise.
11702         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11703         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11704         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11705         (internal_getspnam_r): Likewise.
11706         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11707         (_nss_nis_getaliasbyname_r): Likewise.
11708         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11709         (_nss_nis_getntohost_r): Likewise.
11710         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11711         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11712         (_nss_nis_getgrgid_r): Likewise.
11713         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11714         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11715         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11716         (_nss_nis_gethostbyname4_r): Likewise.
11717         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11718         (initgroups_netid): Likewise.
11719         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11720         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11721         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11722         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11723         (_nss_nis_getprotobynumber_r): Likewise.
11724         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11725         (_nss_nis_getsecretkey): Likewise.
11726         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11727         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11728         (_nss_nis_getpwuid_r): Likewise.
11729         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11730         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11731         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11732         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11733         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11734         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11735         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11736         Likewise.
11737         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11738         (_nss_nisplus_getntohost_r): Likewise.
11739         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11740         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11741         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11742         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11743         Likewise.
11744         * nis/nss_nisplus/nisplus-initgroups.c
11745         (_nss_nisplus_initgroups_dyn): Likewise.
11746         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11747         (_nss_nisplus_getnetbyaddr_r): Likewise.
11748         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11749         (_nss_nisplus_getprotobynumber_r): Likewise.
11750         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11751         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11752         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11753         Likewise.
11754         * nis/nss_nisplus/nisplus-service.c
11755         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11756         (_nss_nisplus_getservbyport_r): Likewise.
11757         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11758         (_nss_nisplus_getspnam_r): Likewise.
11759         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11760         Likewise.
11761         * nscd/aicache.c (addhstaiX): Likewise.
11762         * nscd/cache.c (cache_search, prune_cache): Likewise.
11763         * nscd/connections.c (register_traced_file, send_ro_fd)
11764         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11765         (main_loop_epoll): Likewise.
11766         * nscd/grpcache.c (addgrbyX): Likewise.
11767         * nscd/hstcache.c (addhstbyX): Likewise.
11768         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11769         * nscd/mem.c (gc, mempool_alloc): Likewise.
11770         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11771         (addinnetgrX): Likewise.
11772         * nscd/nscd-client.h (__nscd_acquire_maplock)
11773         (__nscd_drop_map_ref): Likewise.
11774         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11775         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11776         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11777         Likewise.
11778         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11779         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11780         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11781         (__nscd_get_map_ref): Likewise.
11782         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11783         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11784         Likewise.
11785         * nscd/pwdcache.c (addpwbyX): Likewise.
11786         * nscd/selinux.c (preserve_capabilities): Likewise.
11787         * nscd/servicescache.c (addservbyX): Likewise.
11788         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11789         * posix/fnmatch.c (fnmatch): Likewise.
11790         * posix/getopt.c (_getopt_internal_r): Likewise.
11791         * posix/glob.c (glob, glob_in_dir): Likewise.
11792         * posix/wordexp.c (exec_comm_child): Likewise.
11793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11794         (getanswer_r, gaih_getanswer_slice): Likewise.
11795         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11796         * resolv/res_init.c: Likewise.
11797         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11798         * resolv/res_query.c (__libc_res_nquery): Likewise.
11799         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11800         Likewise.
11801         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11802         * stdio-common/perror.c (perror): Likewise.
11803         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11804         * stdio-common/tmpnam.c (tmpnam): Likewise.
11805         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11806         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11807         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11808         Likewise.
11809         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11810         * stdlib/putenv.c (putenv): Likewise.
11811         * stdlib/setenv.c (__add_to_environ): Likewise.
11812         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11813         * stdlib/strtol_l.c (INTERNAL): Likewise.
11814         * string/memmem.c (memmem): Likewise.
11815         * string/strerror.c (strerror): Likewise.
11816         * string/strnlen.c (__strnlen): Likewise.
11817         * string/test-memmem.c (simple_memmem): Likewise.
11818         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11819         * sunrpc/pm_getport.c (__get_socket): Likewise.
11820         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11821         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11822         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11823         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11824         Likewise.
11825         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11826         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11827         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11828         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11829         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11830         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11831         Likewise.
11832         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11833         Likewise.
11834         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11835         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11836         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11837         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11838         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11840         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11841         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11842         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11843         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11844         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11845         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11846         Likewise.
11847         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11848         Likewise.
11849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11850         Likewise.
11851         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11853         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11855         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11856         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11857         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11858         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11860         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11861         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11863         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11864         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11866         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11867         Likewise.
11868         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11869         Likewise.
11870         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11871         Likewise.
11872         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11873         Likewise.
11874         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11876         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11877         Likewise.
11878         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11879         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11880         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11881         * sysdeps/posix/sleep.c: Likewise.
11882         * sysdeps/posix/tempname.c: Likewise.
11883         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11884         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11885         Likewise.
11886         * sysdeps/powerpc/powerpc32/dl-machine.h
11887         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11888         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11890         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11891         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11892         Likewise.
11893         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11894         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11895         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11896         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11897         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11898         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11899         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11900         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11901         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11902         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11904         (elf_machine_lazy_rel): Likewise.
11905         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11907         (elf_machine_lazy_rel): Likewise.
11908         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11909         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11910         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11911         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11912         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11913         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11914         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11916         Likewise.
11917         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11918         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11919         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11920         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11921         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11922         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11923         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11924         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11925         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11926         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11927         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11928         Likewise.
11929         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11930         (__posix_fallocate64_l64): Likewise.
11931         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11932         (posix_fallocate): Likewise.
11933         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11934         Likewise.
11935         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11936         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11937         (getifaddrs_internal): Likewise.
11938         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11939         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11940         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11941         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11942         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11943         (__posix_fallocate64_l64): Likewise.
11944         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11945         Likewise.
11946         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11947         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11948         (__get_clockfreq): Likewise.
11949         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11950         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11951         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11954         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11955         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11956         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11959         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11960         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11961         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11962         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11963         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11964         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11965         Likewise.
11966         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11967         (posix_fallocate): Likewise.
11968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11969         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11970         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11971         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11972         (elf_machine_rela, elf_machine_rela_relative)
11973         (elf_machine_lazy_rel): Likewise.
11974         * time/asctime.c (asctime_internal): Likewise.
11975         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11976         * time/tzset.c (__tzset_parse_tz): Likewise.
11977         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11978         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11979         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11980         * wcsmbs/wcsmbsload.h: Likewise.
11981
11982         [BZ #15894]
11983         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11984
11985         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11986         (arena_get2): Remove THREAD_STATS conditionals.
11987         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11988         (__malloc_stats, int): Likewise.
11989
11990 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11991
11992         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11993         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11994
11995         * manual/setjmp.texi: Fix typos/grammar errors.
11996
11997         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11998         Only return early when n is <= 0.  Delete unused return statement.
11999
12000         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12001         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12002         * debug/tst-longjmp_chk3.c: New file.
12003
12004         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12005         (test_main): Replace code with set_fortify_handler call.
12006         * debug/test-strcpy_chk.c: Likewise.
12007         * debug/tst-chk1.c: Likewise.
12008         * debug/tst-longjmp_chk.c: Likewise.
12009         * test-skeleton.c: Include fcntl.h & paths.h
12010         (set_fortify_handler): Define.
12011
12012         * debug/tst-longjmp_chk.c: Add header comment and include
12013         ../test-skeleton.c.
12014         (do_test): Mark static.
12015         (TEST_FUNCTION): Define.
12016
12017         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12018         (IP_PMTUDISC_INTERFACE): Likewise.
12019         (IP_MULTICAST_IF): Likewise.
12020         (IP_MULTICAST_TTL): Likewise.
12021         (IP_MULTICAST_LOOP): Likewise.
12022         (IP_ADD_MEMBERSHIP): Likewise.
12023         (IP_DROP_MEMBERSHIP): Likewise.
12024         (IP_UNBLOCK_SOURCE): Likewise.
12025         (IP_BLOCK_SOURCE): Likewise.
12026         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12027         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12028         (IP_MSFILTER): Likewise.
12029         (MCAST_JOIN_GROUP): Likewise.
12030         (MCAST_BLOCK_SOURCE): Likewise.
12031         (MCAST_UNBLOCK_SOURCE): Likewise.
12032         (MCAST_LEAVE_GROUP): Likewise.
12033         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12034         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12035         (MCAST_MSFILTER): Likewise.
12036         (IP_MULTICAST_ALL): Likewise.
12037         (IP_UNICAST_IF): Likewise.
12038
12039         * timezone/Makefile: Delete $(have-ksh) check.
12040         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12041         * timezone/tzselect.ksh: Add +x mode bits.
12042
12043         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12044         (ANON_INODE_FS_MAGIC): Likewise.
12045         (BDEVFS_MAGIC): Likewise.
12046         (BINFMTFS_MAGIC): Likewise.
12047         (BTRFS_TEST_MAGIC): Likewise.
12048         (CRAMFS_MAGIC_WEND): Likewise.
12049         (DEBUGFS_MAGIC): Likewise.
12050         (ECRYPTFS_SUPER_MAGIC): Likewise.
12051         (EXT3_SUPER_MAGIC): Likewise.
12052         (EXT4_SUPER_MAGIC): Likewise.
12053         (FUTEXFS_SUPER_MAGIC): Likewise.
12054         (HOSTFS_SUPER_MAGIC): Likewise.
12055         (HUGETLBFS_MAGIC): Likewise.
12056         (MINIX3_SUPER_MAGIC): Likewise.
12057         (MTD_INODE_FS_MAGIC): Likewise.
12058         (NILFS_SUPER_MAGIC): Likewise.
12059         (OPENPROM_SUPER_MAGIC): Likewise.
12060         (PIPEFS_MAGIC): Likewise.
12061         (PSTOREFS_MAGIC): Likewise.
12062         (QNX6_SUPER_MAGIC): Likewise.
12063         (RAMFS_MAGIC): Likewise.
12064         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12065         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12066         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12067         (SECURITYFS_MAGIC): Likewise.
12068         (SELINUX_MAGIC): Likewise.
12069         (SMACK_MAGIC): Likewise.
12070         (SOCKFS_MAGIC): Likewise.
12071         (SQUASHFS_MAGIC): Likewise.
12072         (STACK_END_MAGIC): Likewise.
12073         (TMPFS_MAGIC): Likewise.
12074         (USBDEVICE_SUPER_MAGIC): Likewise.
12075         (V9FS_MAGIC): Likewise.
12076         (XENFS_SUPER_MAGIC): Likewise.
12077         (CRAMFS_MAGIC): Fix typo in comment.
12078         (EXT2_SUPER_MAGIC): Update comment.
12079         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12080
12081 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12082
12083         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12084         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12085         * sysdeps/unix/sysv/linux/arm: Move directory from
12086         ports/sysdeps/unix/sysv/linux/arm.
12087         * README: Update listing for arm-*-linux-gnueabi.
12088
12089         * README: Remove mention of am33.
12090
12091 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12092
12093         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12094         than the comma operator, to avoid "rhs of comma has no effect"
12095         compiler warnings.
12096         (__sigfillset, __sigandset, __sigorset): Likewise.
12097         * include/signal.h (__sigemptyset): Likewise.
12098         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12099
12100 2014-02-07  Allan McRae  <allan@archlinux.org>
12101
12102         * version.h (RELEASE): Set to "development".
12103         (VERSION): Set to "2.19.90"
12104         * NEWS: Add 2.20 section.
12105
12106 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12107
12108         [BZ #16529]
12109         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12110
12111 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12112
12113         * manual/contrib.texi: Update entry for Carlos O'Donell,
12114         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12115
12116 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12117
12118         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12119
12120         * sysdeps/unix/sysv/linux/kernel-features.h
12121         [__LINUX_KERNEL_VERSION >= 0x020621]
12122         (__ASSUME_PROC_PID_TASK_COMM): Define.
12123
12124 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12125
12126         [BZ #16398]
12127         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12128         conversion when destination buffer does not have enough space.
12129         * libio/tst-ftell-partial-wide.c: New test case.
12130         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12131
12132         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12133         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12134         Leonard and Allan McRae.
12135
12136 2014-02-04  David S. Miller  <davem@davemloft.net>
12137
12138         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12139         32-bit.
12140
12141 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12142
12143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12144         New file
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12146         New file
12147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12148         New file.
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12150         New file.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12152         New file.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12154         New file.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12156         New file.
12157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12158         New file.
12159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12160         New file.
12161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12162         New file.
12163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12164         New file.
12165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12166         New file.
12167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12168         New file.
12169
12170 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12171
12172         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12173         * shlib-versions: Likewise.
12174
12175 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12176             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12177
12178         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12179         (abilist-pattern): New variable, set to %-le.abilist.
12180
12181         * Makerules (abilist-pattern): New variable.
12182         (vpath): Use $(abilist-pattern) in place of %.abilist.
12183         (check-abi-% pattern rule): Likewise.
12184         (check-abi, update-abi): Likewise.
12185
12186 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12187
12188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12189
12190 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12191
12192         * manual/startup.texi: Add next, previous, and top entries for
12193         the `Program Arguments' and `Environment Variables' nodes.
12194
12195 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12196
12197         * manual/macros.texi: Add comments before MTASC-safety macros.
12198
12199         * manual/users.texi: Document MTASC-safety properties.
12200
12201         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12202         (pthread_getspecific, pthread_setspecific): Format with
12203         @deftypefun, and add @safety note.
12204         * manual/signal.texi: Move comments that analyze the above
12205         functions to their home place.
12206
12207 2014-02-03  Allan McRae  <allan@archlinux.org>
12208
12209         * po/sl.po: Update Slovenian translation from translation project.
12210
12211 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12212
12213         * manual/time.texi (timegm): Add missing blank after @c.
12214         Reported by Joseph Myers <joseph@codesourcery.com>.
12215
12216 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12217
12218         * manual/check-safety.sh: New.
12219         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12220
12221         * manual/terminal.texi: Document MTASC-safety properties.
12222
12223         * manual/filesys.texi: Document MTASC-safety properties.
12224
12225         * manual/errno.texi: Document MTASC-safety properties.
12226
12227         * manual/intro.texi: Document safety identifiers and
12228         conditionals.
12229
12230         * manual/string.texi (wcstok): Fix prototype.
12231         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12232
12233         * manual/time.texi: Document MTASC-safety properties.
12234
12235         * manual/string.texi: Document MTASC-safety properties.
12236
12237         * manual/threads.texi: Document MTASC-safety properties.
12238
12239         * manual/stdio.texi: Document MTASC-safety properties.
12240
12241         * manual/syslog.texi: Document MTASC-safety properties.
12242
12243         * manual/sysinfo.texi: Document MTASC-safety properties.
12244
12245         * manual/startup.texi: Document MTASC-safety properties.
12246
12247         * manual/socket.texi: Document MTASC-safety properties.
12248
12249         * manual/signal.texi: Document MTASC-safety properties.
12250
12251 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12252
12253         * manual/setjmp.texi: Document MTASC-safety properties.
12254
12255         * manual/search.texi: Document MTASC-safety properties.
12256
12257         * manual/resource.texi: Document MTASC-safety properties.
12258
12259         * manual/process.texi: Document MTASC-safety properties.
12260
12261         * manual/platform.texi: Document MTASC-safety properties.
12262
12263         * manual/pipe.texi: Document MTASC-safety properties.
12264
12265         * manual/pattern.texi: Document MTASC-safety properties.
12266
12267         * manual/message.texi: Document MTASC-safety properties.
12268
12269         [BZ #12751]
12270         * manual/memory.texi: Document MTASC-safety properties.
12271
12272         * manual/math.texi: Document MTASC-safety properties.
12273
12274         * manual/locale.texi: Document MTASC-safety properties.
12275
12276         * manual/llio.texi: Document MTASC-safety properties.
12277
12278         * manual/libdl.texi: New.
12279
12280         * manual/lang.texi: Document MTASC-safety properties.
12281
12282         * manual/job.texi: Document MTASC-safety properties.
12283
12284         * manual/getopt.texi: Document MTASC-safety properties.
12285
12286         * manual/ctype.texi: Document MTASC-safety properties.
12287
12288 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12289
12290         [BZ #16046]
12291         * csu/libc-tls.c (static_map): Remove variable.
12292         (__libc_setup_tls): Use main executable's link map for TLS data.
12293         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12294         casing for LM_ID_BASE and GL(dl_nns).
12295         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12296         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12297         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12298         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12299         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12300         member.
12301         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12302         l_phnum members.
12303
12304 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12305
12306         * manual/debug.texi: Document MTASC-safety properties.
12307
12308 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12309
12310         [BZ #16510]
12311         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12312         of __x86_64__ when disabling x87 inline functions.
12313
12314 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12315
12316         * manual/charset.texi: Document MTASC-safety properties.
12317
12318         * manual/crypt.texi: Document MTASC-safety properties.
12319
12320         * manual/conf.texi: Document MTASC-safety properties.
12321
12322         * manual/arith.texi: Document MTASC-safety properties.
12323
12324         * manual/argp.texi: Document MTASC-safety properties.
12325
12326         * manual/macros.texi: Introduce macros to document multi
12327         thread, asynchronous signal and asynchronous cancellation
12328         safety properties.
12329         * manual/intro.texi: Introduce the properties themselves.
12330
12331 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12332
12333         * sysdeps/sh/sh4/Makefile: New file.
12334
12335 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12336
12337         * math/gen-libm-test.pl ($srcdir): New variable.
12338         ($auto_input): Use it.
12339
12340 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12341
12342         [BZ #16506]
12343         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12344         access beyond array bounds when parsing netgroups file.
12345
12346         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12347         the old buffer before realloc.
12348
12349 2014-01-27  Allan McRae  <allan@archlinux.org>
12350
12351         * po/fr.po: Update French translation from translation project.
12352
12353 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12354
12355         * sysdeps/sh/libm-test-ulps: Regenerate.
12356
12357 2014-01-24  David S. Miller  <davem@davemloft.net>
12358
12359         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12360
12361 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12362
12363         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12364         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12365
12366 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12367
12368         [BZ #16474]
12369         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12370         string pointers after reallocation.
12371
12372 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12373
12374         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12375         __SH4A__ instead of __SH_FPU_ANY__.
12376
12377 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12378
12379         * sysdeps/sh/fpu_control.h: New file.
12380         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12381         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12382         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12383         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12384         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12385         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12386         * sysdeps/sh/sys/ucontext.h: Remove.
12387         * sysdeps/sh/sys: Remove directory.
12388
12389 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12390
12391         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12392         s390/sys/ucontext.h.
12393         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12395
12396 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12397
12398         [BZ #15605]
12399         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12400
12401 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12402
12403         [BZ#16431]
12404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12405         Adjust the vDSO correctly for internal calls.
12406         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12407
12408 2014-01-20  Allan McRae  <allan@archlinux.org>
12409
12410         * po/ca.po: Update Catalan translation from translation project.
12411
12412 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12413
12414         * sysdeps/s390/sotruss-lib.c: New file.
12415
12416 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12417
12418         [BZ#16430]
12419         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12420         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12421         local calls issues by not having a PLT stub required for IFUNC calls.
12422         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12423
12424 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12425
12426         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12427         * math/test-fpucw-static.c: Likewise.
12428
12429 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12430
12431         [BZ #16453]
12432         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12433
12434 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12435
12436         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12437         implementation for powerpc.
12438
12439 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12440
12441         [BZ #14782]
12442         * sysdeps/posix/system.c (__libc_system): Do not enable
12443         asynchronous cancellation.
12444
12445 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12446
12447         [BZ #16427]
12448         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12449         handling only for numbers special also in the IEEE case.
12450
12451 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12452
12453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12454
12455 2014-01-11  Allan McRae  <allan@archlinux.org>
12456
12457         * po/bg.po: Update Bulgarian translation from translation project.
12458
12459         * po/de.po: Update German translation from translation project.
12460
12461 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12462
12463         * sysdeps/generic/gcc-compat.h: New file.
12464
12465 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12466
12467         * benchtests/asin-inputs: Correct slow inputs.
12468         * benchtests/acos-inputs: Likewise.
12469
12470 2014-01-10  Allan McRae  <allan@archlinux.org>
12471
12472         * po:sv.po: Update Swedish translation from translation project.
12473
12474         * po/vi.po: Update Vietnamese translation from translation project.
12475
12476         * po/eo.po: Update Esperanto translation from translation project.
12477
12478         * po/cs.po: Update Czech translation from translation project.
12479
12480         * po/nl.po: Update Dutch translation from translation project.
12481
12482         * po/pl.po: Update Polish translation from translation project.
12483
12484         * po/ru.po: Update Russian translation from translation project.
12485
12486         * po/uk.po: Update Ukrainian translation from translation project.
12487
12488 2014-01-08  Brooks Moses  <bmoses@google.com>
12489
12490         * elf/dl-load.c: Fix comment typo.
12491
12492 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12493
12494         * po/header.pot: Rename to...
12495         * po/pot.header: ... this.
12496         * po/Makefile: Use pot.header.
12497
12498 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12499             Maxim Kuvyrkov  <maxim@kugelworks.com>
12500
12501         [BZ #16394]
12502         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12503         SRC and DEST against LEN.
12504
12505 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12506
12507         [BZ #16414]
12508         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12509         implementation.
12510         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12511
12512 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12513
12514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12515
12516 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12517
12518         [BZ #16408]
12519         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12520         for large positive arguments.
12521
12522 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12523
12524         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12525
12526         * math/auto-libm-test-in: Mark various tests with
12527         xfail-rounding:ldbl-128ibm.
12528         * math/auto-libm-test-out: Regenerated.
12529
12530         [BZ #16407]
12531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12532         Increase overflow threshold.
12533
12534 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12535
12536         [BZ #14286]
12537         * stdio-common/vfprintf.c: Check for integer overflow.
12538
12539 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12540
12541         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12542         the first argument and return value of __tls_get_addr_internal.
12543
12544 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12545
12546         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12547         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12548
12549 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12550
12551         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12552         * sysdeps/s390/rtld-global-offsets.sym: New file.
12553         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12554         GLIBC_2.19 symbol.
12555         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12556         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12557         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12558         ... this.
12559         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12560         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12561         ... this.
12562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12563         Regenerate.
12564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12565         Regenerate.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12567         halfs of GPRs for high_gprs contexts.
12568         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12569         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12570         field.
12571         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12572         uc_flags field.
12573         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12574         64 bit versions:
12575         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12576         for high GPRs (uc_high_gprs) and for future extensions
12577         (__reserved).
12578         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12579         for future extensions (__reserved).
12580         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12581         64 bit versions:
12582         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12583         SC_HIGHGPRS offset definition.
12584         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12585         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12586
12587         * Versions.def: Add GLIBC_2.19 for libpthread.
12588         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12589         siglongjmp for libpthread with GLIBC_2.19 symver.
12590         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12591         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12592         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12593         * sysdeps/s390/__longjmp.c: New file.
12594         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12595         * sysdeps/s390/longjmp.c: New file.
12596         * sysdeps/s390/setjmp.S: New file.
12597         * sysdeps/s390/sigjmp.S: New file.
12598         * sysdeps/s390/v1-longjmp.c: New file.
12599         * sysdeps/s390/v1-setjmp.h: New file.
12600         * sysdeps/s390/v1-sigjmp.c: New file.
12601         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12602         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12603         GLIBC_2.19 version.
12604         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12605         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12606         versioned symbols for ____longjmp_chk.
12607         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12608         Likewise.
12609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12610         Regenerate.
12611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12612         Regenerate.
12613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12614         Regenerate.
12615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12616         Regenerate.
12617         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12618         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12619         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12620         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12621         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12622         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12623         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12624         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12625         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12626         * sysdeps/s390/rtld-__longjmp.c: New file.
12627         * sysdeps/s390/rtld-setjmp.S: New file.
12628
12629 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12630
12631         [BZ #16400]
12632         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12633         Return -__logl (x) for small positive arguments without evaluating
12634         a polynomial.
12635
12636 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12637
12638         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12639         Rename to ...
12640         (__ptrace_peeksiginfo_args): ... this.
12641         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12642         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12643         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12644
12645 2014-01-06  Allan McRae  <allan@archlinux.org>
12646
12647         * inet/netinet/in.h: Fix typo in comment.
12648
12649 2014-01-05  Andreas Jaeger  <aj@suse.de>
12650
12651         * sysdeps/i386/fpu/libm-test-ulps: Update.
12652
12653 2014-01-05  Allan McRae  <allan@archlinux.org>
12654
12655         * po/libc.pot: Regenerated.
12656
12657         * malloc/memusagestat.c: Fix gettext call formatting.
12658
12659 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12660
12661         * nscd/nscd.c: Improve usage() output.
12662
12663 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12664
12665         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12666         * sysdeps/unix/sysv/linux/configure: Regenerated.
12667         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12668         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12669
12670 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12671
12672         [BZ #16390]
12673         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12674         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12675
12676 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12677
12678         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12679         extra tokens at end of #undef directive.
12680         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12681         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12682         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12683
12684 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12685
12686         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12687
12688         * math/auto-libm-test-in: Mark various tests with
12689         xfail-rounding:ldbl-128ibm.
12690         * math/auto-libm-test-out: Regenerated.
12691
12692 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12693
12694         [BZ #16386]
12695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12696         numbers with subnormal high part when calculating exponent.
12697
12698         [BZ #16385]
12699         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12700         fabs.
12701
12702         [BZ #16384]
12703         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12704         M_LN2l.
12705         (__ieee754_acoshl): Use __log1pl not __log1p.
12706
12707 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12708
12709         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12710         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12711         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12712         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12713         (reused_arena, arena_get2): Convert to GNU style.
12714         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12715         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12716         (memalign_check, __malloc_set_state): Likewise.
12717         * malloc/mallocbug.c (main): Likewise.
12718         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12719         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12720         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12721         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12722         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12723         (__posix_memalign, malloc_info): Likewise.
12724         * malloc/malloc.h: Likewise.
12725         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12726         (mallochook, memalignhook, reallochook, mabort): Likewise.
12727         * malloc/mcheck.h: Likewise.
12728         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12729         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12730         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12731         * malloc/morecore.c (__default_morecore): Likewise.
12732         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12733         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12734         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12735         (print_and_abort): Likewise.
12736         * malloc/obstack.h: Likewise.
12737         * malloc/set-freeres.c (__libc_freeres): Likewise.
12738         * malloc/tst-mallocstate.c (main): Likewise.
12739         * malloc/tst-mtrace.c (main): Likewise.
12740         * malloc/tst-realloc.c (do_test): Likewise.
12741
12742 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12743
12744         [BZ #16366]
12745         * nscd/netgroupcache.c (do_notfound): New function.
12746         (addgetnetgrentX): Use it.
12747
12748         [BZ # 16365]
12749         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12750         NSS_STATUS_NOTFOUND.
12751
12752 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12753
12754         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756
12757 2014-01-01  Allan McRae  <allan@archlinux.org>
12758
12759         * scripts/update-copyrights: Update configure input file suffix.
12760
12761         * NEWS: Update copyright year.
12762         * catgets/gencat.c: Likewise.
12763         * csu/version.c: Likewise.
12764         * debug/catchsegv.sh: Likewise.
12765         * debug/pcprofiledump.c: Likewise.
12766         * debug/xtrace.sh: Likewise.
12767         * elf/ldconfig.c: Likewise.
12768         * elf/ldd.bash.in: Likewise.
12769         * elf/pldd.c: Likewise.
12770         * elf/sotruss.ksh: Likewise.
12771         * elf/sprof.c: Likewise.
12772         * iconv/iconv_prog.c: Likewise.
12773         * iconv/iconvconfig.c: Likewise.
12774         * locale/programs/locale.c: Likewise.
12775         * locale/programs/localedef.c: Likewise.
12776         * login/programs/pt_chown.c: Likewise.
12777         * malloc/memusage.sh: Likewise.
12778         * malloc/memusagestat.c: Likewise.
12779         * malloc/mtrace.pl: Likewise.
12780         * manual/libc.texinfo: Likewise.
12781         * nscd/nscd.c: Likewise.
12782         * nss/getent.c: Likewise.
12783         * nss/makedb.c: Likewise.
12784         * posix/getconf.c: Likewise.
12785         * scripts/test-installation.pl: Likewise.
12786
12787         * All files with FSF copyright notices: Update copyright dates
12788         using scripts/update-copyrights.
12789         * intl/plural.c: Regenerated.
12790         * locale/programs/charmap-kw.h: Likewise.
12791         * locale/programs/locfile-kw.h: Likewise.
12792
12793 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12794
12795         * sysdeps/unix/sysv/linux/configure: Regenerated.
12796         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12797         the linux/fanotify.h header.
12798         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12799         HAVE_LINUX_FANOTIFY_H is defined.
12800
12801 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12802
12803         * benchtests/cos-inputs: New inputs.
12804         * benchtests/sin-inputs: Likewise.
12805
12806         * benchtests/atan-inputs: New inputs. Fix name of multiple
12807         precision fallback inputs.
12808
12809         * benchtests/atanh-inputs: New inputs.
12810         * benchtests/tanh-inputs: Likewise.
12811
12812         * benchtests/acosh-inputs: New inputs.
12813         * benchtests/asinh-inputs: Likewise.
12814
12815         * benchtests/cosh-inputs: New inputs.
12816         * benchtests/sinh-inputs: Likewise.
12817
12818         * benchtests/acos-inputs: Add more inputs.
12819         * benchtests/asin-inputs: Likewise.
12820
12821 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12822
12823         [BZ #16375]
12824         * manual/arith.texi: Fix spelling.
12825         * manual/charset.texi: Likewise.
12826         * manual/errno.texi: Likewise.
12827         * manual/filesys.texi: Likewise.
12828         * manual/lang.texi: Likewise.
12829         * manual/llio.texi: Likewise.
12830         * manual/locale.texi: Likewise.
12831         * manual/message.texi: Likewise.
12832         * manual/resource.texi: Likewise.
12833         * manual/search.texi: Likewise.
12834         * manual/setjmp.texi: Likewise.
12835         * manual/stdio.texi: Likewise.
12836         * manual/string.texi: Likewise.
12837         * manual/sysinfo.texi: Likewise.
12838         * manual/time.texi: Likewise.
12839
12840 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12841
12842         * po/sl.po: New file.
12843
12844 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12845
12846         * .gitignore: Add core/.gdbinit/.gdb_history.
12847
12848 2013-12-27  Allan McRae  <allan@archlinux.org>
12849
12850         [BZ #16369]
12851         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12852         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12853
12854 2013-12-24  Brooks Moses  <bmoses@google.com>
12855
12856         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12857         all compilers that claim C++98 compliance, not just GCC.
12858         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12859         Likewise.
12860
12861 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12862
12863         * NEWS: Restore accidentally deleted bug-fix entries.
12864
12865 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12866             Ondřej Bílka  <neleai@seznam.cz>
12867
12868         [BZ #15073]
12869         * malloc/malloc.c (_int_free): Perform sanity check only if we
12870         have_lock.
12871
12872 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12873
12874         [BZ #12986]
12875         * manual/stdio.texi (String Input Conversions): Clarify that character
12876         classes are not supported.
12877
12878 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12879
12880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12881
12882 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12883
12884         [BZ #16337]
12885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12886         Calculate results for small negative arguments directly rather
12887         than using reflection formula with special underflow handling.
12888
12889         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12890         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12891         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12892         (fchflags): Likewise.
12893         (revoke): Likewise.
12894         (setlogin): Likewise.
12895         (sigaltstack): Likewise.
12896         (wait4): Likewise.
12897         (sigblock): Remove.
12898         (sigsetmask): Likewise.
12899         (wait3): Likewise.
12900         (waitpid): Likewise.
12901         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12902         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12903         file.
12904         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12905         * sysdeps/unix/bsd/Makefile: ... here.
12906         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12907         * sysdeps/unix/bsd/Versions: ... here.
12908         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12909         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12910         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12911         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12912         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12913         * sysdeps/unix/bsd/sigblock.c: ... here.
12914         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12915         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12916         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12917         * sysdeps/unix/bsd/sigvec.c: ... here.
12918         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12919         * sysdeps/unix/bsd/tcdrain.c: ... here.
12920         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12921         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12922         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12923         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12924         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12925         * sysdeps/unix/bsd/wait.c: ... here.
12926         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12927         * sysdeps/unix/bsd/wait3.c: ... here.
12928         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12929         * sysdeps/unix/bsd/waitpid.c: ... here.
12930
12931 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12932
12933         [BZ #16356]
12934         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12935         round-to-nearest for [!USE_AS_EXPM1L].
12936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12937         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12938         more tests of exp and exp10.  Expect some exp10 tests to miss
12939         exceptions or fail in directed rounding modes.
12940         * math/auto-libm-test-out: Regenerated.
12941         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12942         (exp10_test_tonearest): New function.
12943         (exp10_towardzero_test_data): New array.
12944         (exp10_test_towardzero): New function.
12945         (exp10_downward_test_data): New array.
12946         (exp10_test_downward): New function.
12947         (exp10_upward_test_data): New array.
12948         (exp10_test_upward): New function.
12949         (main): Call the new functions.
12950         * sysdeps/i386/fpu/libm-test-ulps: Update.
12951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12952
12953 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12954
12955         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12956         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12957         * math/auto-libm-test-out: Regenerated.
12958         * math/libm-test.inc (acosh_test_data): Add more tests.
12959         (atanh_test_data): Likewise.
12960         (ceil_test_data): Likewise.
12961         (copysign_test_data): Likewise.
12962         * sysdeps/i386/fpu/libm-test-ulps: Update.
12963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964
12965         * timezone/checktab.awk: Update from tzcode 2013i.
12966         * timezone/private.h: Likewise.
12967         * timezone/scheck.c: Likewise.
12968         * timezone/tzfile.h: Likewise.
12969         * timezone/tzselect.ksh: Likewise.
12970         * timezone/zdump.c: Likewise.
12971         * timezone/zic.c: Likewise.
12972
12973         * math/auto-libm-test-in: Add tests of cpow.
12974         * math/auto-libm-test-out: Regenerated.
12975         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12976         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12977         mpc_cc_c.
12978         (func_calc_desc): Add mpc_cc_c union field.
12979         (test_functions): Add cpow.
12980         (special_fill_2pi): New function.
12981         (special_real_inputs): Add 2pi.
12982         (calc_generic_results): Handle mpc_cc_c.
12983         * sysdeps/i386/fpu/libm-test-ulps: Update.
12984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12985
12986         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12987         csqrt, ctan and ctanh.
12988         * math/auto-libm-test-out: Regenerated.
12989         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12990         (TEST_COND_x86): Likewise.
12991         (ccos_test_data): Use AUTO_TESTS_c_c.
12992         (ccosh_test_data): Likewise.
12993         (cexp_test_data): Likewise.
12994         (clog_test_data): Likewise.
12995         (csqrt_test_data): Likewise.
12996         (ctan_test_data): Likewise.
12997         (ctan_tonearest_test_data): Likewise.
12998         (ctan_towardzero_test_data): Likewise.
12999         (ctan_downward_test_data): Likewise.
13000         (ctan_upward_test_data): Likewise.
13001         (ctanh_test_data): Likewise.
13002         (ctanh_tonearest_test_data): Likewise.
13003         (ctanh_towardzero_test_data): Likewise.
13004         (ctanh_downward_test_data): Likewise.
13005         (ctanh_upward_test_data): Likewise.
13006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13007         mpc_c_c.
13008         (func_calc_desc): Add mpc_c_c union field.
13009         (FUNC_mpc_c_c): New macro.
13010         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13011         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13012         ctanh.
13013         (special_fill_min_subnorm_p120): New function.
13014         (special_real_inputs): Add min_subnorm_p120.
13015         (calc_generic_results): Handle mpc_c_c.
13016         * sysdeps/i386/fpu/libm-test-ulps: Update.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018
13019 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13020
13021         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13022         (do_sin_slow): New functions.
13023         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13024         (cslow2, csloww1, csloww2): Use the new functions.
13025
13026         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13027         Use M to change sign of result instead of X.  Assume X is
13028         positive.
13029         (csloww1): Likewise.
13030         (__sin): Adjust.
13031         (__cos): Adjust.
13032
13033         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13034         arguments A and DA.
13035         (__sin): Adjust.
13036         (__cos): Likewise.
13037
13038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13039         (__cos): Likewise.
13040         (sloww1): Don't adjust sign of DX.
13041         (csloww1): Likewise.
13042         (sloww2): Use X directly and don't adjust sign of DX.
13043         (csloww2): Likewise.
13044
13045 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13046
13047         * math/auto-libm-test-in: Add tests of cabs and carg.
13048         * math/auto-libm-test-out: Regenerated.
13049         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13050         (carg_test_data): Likewise.
13051         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13052         mpc_c_f.
13053         (func_calc_desc): Add mpc_c_f union field.
13054         (test_functions): Add cabs and carg.
13055         (calc_generic_results): Handle mpc_c_f.
13056
13057         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13058         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13059         as a macro and a compat symbol.
13060         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13061         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13062         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13063         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13064         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13066         not use .hidden.
13067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13068         Likewise.
13069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13070         Likewise.
13071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13072         Likewise.
13073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13074         Likewise.
13075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13076         Likewise.
13077         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13078         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13079         from GLIBC_2.3.2.
13080
13081 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13082
13083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13084
13085 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13086
13087         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13088         trailing whitespace removed.
13089         * scripts/config.guess: Update to version 2013-11-29.
13090         * scripts/config.sub: Update to version 2013-10-01.
13091
13092         * math/auto-libm-test-in: Add tests of sincos.
13093         * math/auto-libm-test-out: Regenerated.
13094         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13095         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13096         mpfr_f_11.
13097         (func_calc_desc): Add mpfr_f_11 union field.
13098         (test_functions): Add sincos.
13099         (calc_generic_results): Handle mpfr_f_11.
13100         * sysdeps/i386/fpu/libm-test-ulps: Update.
13101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13102
13103 2013-12-19  Andreas Schwab  <schwab@suse.de>
13104
13105         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13106         CALL_MCOUNT.
13107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13108         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13109         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13110
13111 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13112
13113         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13114         * sysdeps/i386/fpu/libm-test-ulps: Update.
13115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13116
13117         [BZ #16293]
13118         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13119         round-to-nearest mode when using frndint.
13120         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13121         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13122         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13123         Likewise.
13124         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13125         sinh test to fail.
13126         * math/auto-libm-test-out: Regenerated.
13127         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13128         (TEST_COND_x86): Likewise.
13129         (expm1_tonearest_test_data): New array.
13130         (expm1_test_tonearest): New function.
13131         (expm1_towardzero_test_data): New array.
13132         (expm1_test_towardzero): New function.
13133         (expm1_downward_test_data): New array.
13134         (expm1_test_downward): New function.
13135         (expm1_upward_test_data): New array.
13136         (expm1_test_upward): New function.
13137         (main): Run the new test functions.
13138         * sysdeps/i386/fpu/libm-test-ulps: Update.
13139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13140
13141         * include/features.h: Update comment documenting feature test
13142         macros.  Mention _DEFAULT_SOURCE in comment.
13143         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13144         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13145         _BSD_SOURCE and _SVID_SOURCE.
13146         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13147         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13148         !_SVID_SOURCE]: Likewise.
13149         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13150         (__USE_POSIX_IMPLICITLY): Define.
13151         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13152         (_POSIX_SOURCE): Undefine and redefine.
13153         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13154         (_POSIX_C_SOURCE): Likewise.
13155         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13156         (Feature Test Macros): Update documentation of default features.
13157
13158 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13159
13160         * benchtests/Makefile: Add bench-strtok.
13161         * benchtests/bench-strtok.c: New file: strtok benchtest.
13162
13163 2013-12-19  Allan McRae  <allan@archlinux.org>
13164
13165         * manual/install.texi: Suppress menu for plain text output.
13166         * INSTALL: Regenerated.
13167
13168 2013-12-18  Brooks Moses  <bmoses@google.com>
13169
13170         [BZ #15846]
13171         * misc/getauxval.c: Include errno.h.
13172         (__getauxval): Set errno to ENOENT if the requested type is not
13173         found.
13174         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13175         don't declare with __attribute_const__.
13176         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13177         * manual/startup.texi: Document that getauxval sets errno.
13178
13179 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13180
13181         * math/auto-libm-test-in: Add tests of jn and yn.
13182         * math/auto-libm-test-out: Regenerated.
13183         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13184         (yn_test_data): Likewise.
13185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13186         mpfr_if_f.
13187         (func_calc_desc): Add mpfr_if_f union field.
13188         (FUNC_mpfr_if_f): New macro.
13189         (test_functions): Add jn and yn.
13190         (calc_generic_results): Assert type of second input for
13191         mpfr_ff_f.  Handle mpfr_if_f.
13192         (output_for_one_input_case): Disable all checking for arguments
13193         fitting floating-point types in case of an integer argument.
13194         * sysdeps/i386/fpu/libm-test-ulps: Update.
13195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13196
13197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13198         Don't expect fegetround reference in libm.so.
13199
13200 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13201
13202         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13203         $(config-cflags-nofma).
13204
13205 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13206
13207         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13208         * math/auto-libm-test-out: Regenerated.
13209
13210         [BZ #16338]
13211         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13212         to determine exponent and adjust argument to have exponent of -1.
13213         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13214         log2.
13215         * math/auto-libm-test-out: Regenerated.
13216         * sysdeps/i386/fpu/libm-test-ulps: Update.
13217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13218
13219 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13220
13221         * manual/probes.texi: Remove cases when per-thread arenas are
13222         disabled.
13223
13224 2013-12-18  Andreas Schwab  <schwab@suse.de>
13225
13226         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13227         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13228         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13229         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13230         * sysdeps/i386/i686/multiarch/Makefile: Update.
13231         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13232
13233 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13234
13235         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13236         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13237
13238 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13239
13240         [BZ #15968]
13241         Support TZ transition times < 00:00:00.
13242         This is needed for version-3 tz-format files; it supports time
13243         stamps past 2037 for America/Godthab (the only entry in the tz
13244         database for which this change is relevant).
13245         * manual/time.texi (TZ Variable): Document transition times
13246         from -167:59:59 through -00:00:01.
13247         * time/tzset.c (tz_rule): Time of day is now signed.
13248         (__tzset_parse_tz): Parse negative time of day.
13249
13250         Document TZ transition times >= 25:00:00.
13251         * manual/time.texi (TZ Variable): Document transition times from
13252         25:00:00 through 167:59:59.  These are already supported, and this
13253         support will help with version-3 tz-format files.
13254
13255         * manual/time.texi (TZ Variable): Modernize North America example
13256         to reflect current (i.e., 2007-and-later) daylight saving rules.
13257
13258         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13259
13260 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13261
13262         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13263         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13266         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13267         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13268         * sysdeps/unix/bsd/clock.c: Likewise.
13269         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13270         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13271         * sysdeps/unix/bsd/init-posix.c: Likewise.
13272         * sysdeps/unix/bsd/poll.c: Likewise.
13273         * sysdeps/unix/bsd/ptsname.c: Likewise.
13274         * sysdeps/unix/bsd/seekdir.c: Likewise.
13275         * sysdeps/unix/bsd/setegid.c: Likewise.
13276         * sysdeps/unix/bsd/seteuid.c: Likewise.
13277         * sysdeps/unix/bsd/setgid.c: Likewise.
13278         * sysdeps/unix/bsd/setrgid.c: Likewise.
13279         * sysdeps/unix/bsd/setruid.c: Likewise.
13280         * sysdeps/unix/bsd/setsid.c: Likewise.
13281         * sysdeps/unix/bsd/setuid.c: Likewise.
13282         * sysdeps/unix/bsd/sigaction.c: Likewise.
13283         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13284         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13285         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13286         * sysdeps/unix/bsd/telldir.c: Likewise.
13287         * sysdeps/unix/bsd/times.c: Likewise.
13288         * sysdeps/unix/bsd/usleep.c: Likewise.
13289
13290         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13291         ($(objpfx)libbsd-compat.a): Remove rule.
13292
13293         * include/features.h (__FAVOR_BSD): Do not define.
13294         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13295         features conflicting with POSIX.
13296         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13297         (_BSD_SOURCE): Remove description of not being a subset of other
13298         feature test macros.
13299         * manual/job.texi (getpgrp): Do not document BSD version.
13300         (getpgid): Do not document by reference to BSD getpgrp.
13301         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13302         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13303         * signal/signal.h [__FAVOR_BSD]: Likewise.
13304         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13305         instead of making contents conditional on [__FAVOR_BSD].
13306         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13307
13308 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13309
13310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13311
13312 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13313
13314         [BZ #16314]
13315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13316         values below 2**-450, not 2**-500.
13317         * math/auto-libm-test-in: Don't allow spurious underflow from
13318         hypot.
13319         * math/auto-libm-test-out: Regenerated.
13320
13321         [BZ #16316]
13322         [BZ #16330]
13323         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13324         values of ha and hb and sort them after adjusting subnormal
13325         arguments.
13326         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13327         Likewise.
13328         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13329         values of ea and eb and sort them after adjusting subnormal
13330         arguments.
13331         * math/auto-libm-test-in: Do not expect some hypot tests of
13332         subnormals to fail.  Add more hypot tests.
13333         * math/auto-libm-test-out: Regenerated.
13334
13335 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13336
13337         [BZ #13304]
13338         * sysdeps/sh/s_fma.c: New file.
13339         * sysdeps/sh/s_fmaf.c: New file.
13340         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13341         version.
13342         * sysdeps/sh/Implies: Add sh/soft-fp.
13343
13344 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13345
13346         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13347         level of indirection to members `objname', `errstring', `malloced'.
13348         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13349         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13350         it as the __longjmp argument (just pass 1 instead).
13351         (_dl_catch_error): Initialize C with argument pointers and address of
13352         volatile local ERRCODE rather than copying values out of C at return.
13353
13354 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13355
13356         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13357         * math/auto-libm-test-out: Regenerated.
13358         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13359         (hypot_test_data): Likewise.
13360         (pow_test_data): Likewise.
13361         (pow_tonearest_test_data): Likewise.
13362         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13363         mpfr_ff_f.
13364         (func_calc_desc): Add mpfr_ff_f union field.
13365         (FUNC_mpfr_ff_f): New macro.
13366         (test_functions): Add atan2, hypot and pow.
13367         (special_fill_min): New function.
13368         (special_fill_minus_min): Likewise.
13369         (special_fill_min_subnorm): Likewise.
13370         (special_fill_minus_min_subnorm): Likewise.
13371         (special_real_inputs): Add min, -min, min_subnorm and
13372         -min_subnorm.
13373         (calc_generic_results): Handle mpfr_ff_f.
13374         * sysdeps/i386/fpu/libm-test-ulps: Update.
13375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13376
13377 2013-12-16  Will Newton  <will.newton@linaro.org>
13378
13379         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13380         (Aligned Memory Blocks): Add documentation for aligned_alloc
13381         and suggest it as an alternative to posix_memalign.
13382         (Hooks for Malloc): Document __memalign_hook is also called
13383         for aligned_alloc.  (Summary of Malloc): Add summary for
13384         aligned alloc.  Document __memalign_hook is also called
13385         for aligned_alloc.
13386
13387 2013-12-16  Will Newton  <will.newton@linaro.org>
13388
13389         * manual/memory.texi (Malloc Examples): Clarify default
13390         alignment documentation.  Suggest posix_memalign rather
13391         than memalign or valloc.
13392         (Aligned Memory Blocks): Remove suggestion to use memalign
13393         or valloc.  Remove obsolete comment about BSD.
13394         Document memalign errno values and mark the function obsolete.
13395         Document posix_memalign returned error codes.  Mark valloc
13396         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13397         called for posix_memalign and valloc.
13398         (Summary of Malloc): Add posix_memalign to function summary.
13399         __memalign_hook is also called for posix_memalign and valloc.
13400
13401 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13402
13403         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13404         TAYLOR_SIN.
13405         (__sin): Adjust.
13406         (__cos): Likewise.
13407         (sloww): Use mynumber union.  Expand ternary operator into
13408         if-else statements.
13409         (cslow): use mynumber union.
13410
13411 2013-12-16  Allan McRae  <allan@archlinux.org>
13412
13413         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13414         * configure: Regenerated.
13415
13416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13417
13418         [BZ #14120]
13419         * configure.ac: Added --enable-maintainer-mode. Check for
13420         autoconf when enabled.
13421         * configure: Regenerated.
13422
13423         * nscd/nscd.service: New file.
13424         * nscd/nscd.tmpfiles: New file.
13425
13426 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13427
13428         [BZ #12100]
13429         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13430         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13431         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13432         (strstr): Add __strstr_sse2_unaligned ifunc.
13433         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13434         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13435         (strcasestr): Remove __strcasestr_sse42 ifunc.
13436         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13439
13440 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13441
13442         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13443         * sysdeps/sh/bits/fenv.h: ... here.
13444         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13445
13446 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13447
13448         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13449
13450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13451         hypotf multiarch implementations.
13452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13455         multiarch hypot for PPC64.
13456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13459         multiarch hypotf for PPC64.
13460
13461         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13462         modff multiarch implementations.
13463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13466         multiarch modf for PPC64.
13467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13470         multiarch modff for PPC64.
13471
13472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13473         and logl multiarch implementations.
13474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13477         multiarch logb for PPC64.
13478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13481         multiarch logb for PPC64.
13482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13485         multiarch logb for PPC64.
13486
13487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13488         isinff multiarch implementation.
13489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13490         file.
13491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13493         multiarch isinf for PPC64.
13494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13495         file.
13496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13497         multiarch isinff for PPC64.
13498
13499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13500         finitef multiarch implementation.
13501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13502         file.
13503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13505         multiarch finite for PPC64.
13506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13507         file.
13508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13509         multiarch finitef for PPC64.
13510
13511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13512         lrint multiarch implementation.
13513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13514         file.
13515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13517         multiarch llrint for PPC64.
13518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13519         multiarch lrint for PPC64.
13520
13521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13522         copysignf multiarch implementation.
13523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13524         file.
13525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13526         file.
13527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13528         multiarch copysign for PPC64.
13529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13530         multiarch copysignf for PPC64.
13531
13532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13533         multiarch implementation.
13534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13535         file.
13536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13537         file.
13538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13539         file.
13540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13541         file.
13542         multiarch llround for PPC64.
13543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13544         multiarch trunc for PPC64.
13545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13546         multiarch truncf for PPC64.
13547
13548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13549         multiarch implementation.
13550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13551         file.
13552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13553         file.
13554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13555         file.
13556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13557         file.
13558         multiarch llround for PPC64.
13559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13560         multiarch round for PPC64.
13561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13562         multiarch roundf for PPC64.
13563
13564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13565         multiarch implementation.
13566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13567         file.
13568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13569         file.
13570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13571         file.
13572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13573         file.
13574         multiarch llround for PPC64.
13575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13576         multiarch floor for PPC64.
13577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13578         multiarch floorf for PPC64.
13579
13580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13581         multiarch implementation.
13582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13583         file.
13584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13585         file.
13586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13587         file.
13588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13589         file.
13590         multiarch llround for PPC64.
13591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13592         multiarch ceil for PPC64.
13593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13594         multiarch ceilf for PPC64.
13595
13596         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13597         multiarch implementation.
13598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13599         file.
13600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13601         file.
13602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13603         file.
13604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13605         multiarch llround for PPC64.
13606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13607         multiarch lround for PPC64.
13608
13609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13610         multiarch implementation.
13611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13614         file.
13615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13618         multiarch isnan for PPC64.
13619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13620         multiarch isnanf for PPC64.
13621
13622         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13623         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13624         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13625         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13626         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13628
13629         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13630         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13632         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13633
13634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13635         multiarch implementations.
13636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13637         (__libc_ifunc_impl_list): Likewise.
13638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13641         multiarch stpcpy for PPC64.
13642
13643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13644         multiarch implementations.
13645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13646         (__libc_ifunc_impl_list): Likewise.
13647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13648         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13649         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13650         multiarch strcpy for PPC64.
13651
13652         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13653         redefine function name.
13654         (_wordcopy_fwd_dest_aligned): Likewise.
13655         (_wordcopy_bwd_aligned): Likewise.
13656         (_wordcopy_bwd_dest_aligned): Likewise.
13657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13658         multiarch implementations.
13659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13660         (__libc_ifunc_impl_list): Likewise.
13661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13665         multiarch wcscpy for PPC64.
13666
13667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13668         multiarch implementations.
13669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13670         (__libc_ifunc_impl_list): Likewise.
13671         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13675         multiarch wcscpy for PPC64.
13676
13677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13678         multiarch implementations.
13679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13680         (__libc_ifunc_impl_list): Likewise.
13681         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13682         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13685         multiarch wcsrchr for PPC64.
13686
13687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13688         multiarch implementations.
13689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13690         (__libc_ifunc_impl_list): Likewise.
13691         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13692         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13693         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13694         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13695         multiarch wcschr for PPC64.
13696
13697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13698         multiarch implementations.
13699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13700         (__libc_ifunc_impl_list): Likewise.
13701         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13702         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13703         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13704         multiarch strchrnul for PPC64.
13705
13706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13707         implementations.
13708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13709         (__libc_ifunc_impl_list): Likewise.
13710         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13711         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13712         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13713         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13714         strchr for PPC64.
13715
13716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13717         implementations.
13718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13719         (__libc_ifunc_impl_list): Likewise.
13720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13721         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13722         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13723         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13724         strncmp for PPC64.
13725
13726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13727         multiarch implementations.
13728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13729         (__libc_ifunc_impl_list): Likewise.
13730         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13731         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13732         strncasecmp for PPC64.
13733         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13734         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13735         multiarch strncasecmp_l for PPC64.
13736
13737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13738         multiarch implementations.
13739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13740         (__libc_ifunc_impl_list): Likewise.
13741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13743         multiarch strcasecmp for PPC64.
13744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13745         file.
13746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13747         multiarch strcasecmp_l for PPC64.
13748
13749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13750         implementations.
13751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13752         (__libc_ifunc_impl_list): Likewise.
13753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13754         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13755         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13756         strnlen for PPC64.
13757
13758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13759         implementations.
13760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13761         (__libc_ifunc_impl_list): Likewise.
13762         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13763         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13764         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13765         strlen for PPC64.
13766
13767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13768         implementations.
13769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13770         (__libc_ifunc_impl_list): Likewise.
13771         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13772         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13774         rawmemrchr for PPC64.
13775
13776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13777         implementation.
13778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13779         (__libc_ifunc_impl_list): Likewise.
13780         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13781         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13782         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13783         memrchr for PPC64.
13784
13785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13786         implementation.
13787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13788         (__libc_ifunc_impl_list): Likewise.
13789         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13790         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13791         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13792         memchr for PPC64.
13793
13794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13795         implementation.
13796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13797         (__libc_ifunc_impl_list): Likewise.
13798         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13799         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13801         mempcpy for PPC64.
13802
13803         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13804         avoid cretion of __bzero symbol.
13805         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13806         Likewise.
13807         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13808         Likewise.
13809         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13810         Likewise.
13811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13812         multiarch implementations.
13813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13814         (__libc_ifunc_impl_list): Likewise.
13815         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13816         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13818         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13819         bzero for PPC32.
13820         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13821         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13822         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13823         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13824         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13825         memset for PPC64.
13826         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13827
13828         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13830         implementations.
13831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13832         (__libc_ifunc_impl_list): Likewise.
13833         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13834         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13835         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13836         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13837         memcmp for PPC64.
13838
13839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13840         multiarch for POWER/PPC64.
13841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13842         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13849         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13850         memcpy for PPC64.
13851
13852         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13853         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13854         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13855         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13856         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13857         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13858         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13859         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13860         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13861         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13862         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13863         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13864         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13865         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13866         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13874
13875 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13876
13877         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13878
13879 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13880
13881         * benchtests/Makefile (bench): Add exp2 and log2.
13882         (LDLIBS-bench-exp2): Add -lm.
13883         (LDLIBS-bench-log2): Likewise.
13884         * benchtests/exp2-inputs: New inputs file.
13885         * benchtests/log2-inputs: New inputs file.
13886         * benchtests/log-inputs: Add new inputs.
13887         * benchtests/tan-inputs: Likewise.
13888
13889 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13890
13891         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13892         definition...
13893         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13894         (csloww2): ... from here.
13895
13896         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13897         instead of structures.
13898         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13899         (POLYNOMIAL): Likewise.
13900         (TAYLOR_SLOW): Likewise.
13901         (__sin): Likewise.
13902         (__cos): Likewise.
13903         (slow1): Likewise.
13904         (slow2): Likewise.
13905         (sloww): Likewise.
13906         (sloww1); Likewise.
13907         (sloww2): Likewise.
13908         (bsloww1): Likewise.
13909         (bsloww2): Likewise.
13910         (cslow2): Likewise.
13911         (csloww): Likewise.
13912         (csloww1): Likewise.
13913         (csloww2): Likewise.
13914
13915 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13916
13917         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13918         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13919         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13920         * malloc/hooks.c (realloc_check): Likewise.
13921
13922         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13923         * malloc/arena.c: Remove PER_THREAD conditional.
13924         [!PER_THREAD]: Remove code.
13925         (ptmalloc_unlock_all2): Likewise.
13926         (ptmalloc_init): Likewise.
13927         (_int_new_arena): Likewise.
13928         (arena_get2): Likewise.
13929         * malloc/hooks.c (__malloc_get_state): Likewise.
13930         (__malloc_set_state): Likewise.
13931         * malloc/malloc.c: Likewise.
13932         (struct malloc_state): Likewise.
13933         (struct malloc_par): Likewise.
13934         (__libc_realloc): Likewise.
13935         (__libc_mallopt): Likewise.
13936
13937 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13938
13939         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13940
13941 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13942
13943         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13944         macro to a function.  Check for zero perturb_byte.
13945         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13946
13947         * malloc/malloc.c: (force_reg): Remove.
13948         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13949         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13950         force_reg by atomic_forced_read.
13951         * malloc/arena.c (ptmalloc_init): Likewise.
13952         * malloc/hooks.c (top_check): Likewise.
13953
13954 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13955
13956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13957
13958 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13959
13960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13961
13962 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13963
13964         * math/auto-libm-test-in: Add tests of lgamma.
13965         * math/auto-libm-test-out: Regenerated.
13966         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13967         (M_LOG_2_SQRT_PIl): Likewise.
13968         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13970         mpfr_f_f1.
13971         (func_calc_desc): Add mpfr_f_f1 union field.
13972         (ARGS1): New macro.
13973         (ARGS2): Likewise.
13974         (ARGS3): Likewise.
13975         (ARGS4): Likewise.
13976         (RET1): Likewise.
13977         (RET2): Likewise.
13978         (CALC): Likewise.
13979         (FUNC): Likewise.
13980         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13981         (test_functions): Add lgamma.
13982         (calc_generic_results): Handle mpfr_f_f1.
13983         * sysdeps/i386/fpu/libm-test-ulps: Update.
13984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13985
13986 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13987
13988         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13989         __mpn_add_n for PowerPC64/POWER7.
13990         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13991         __mpn_sub_n for PowerPC64/POWER7.
13992
13993         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13994         __mpn_addmul_1 for PowerPC64.
13995         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13996         __mpn_submul_1 for PowerPC64.
13997         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13998         for PowerPC64.
13999         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14000         for PowerPC64.
14001
14002 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14003
14004         [BZ #15089]
14005         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14006
14007 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14008
14009         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14010
14011         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14012         add multiarch folders.
14013         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14014         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14015         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14016         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14017         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14018         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14019         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14020         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14021         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14022         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14023         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14030
14031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14032         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14034         New file.
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14036         New file.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14038         multiarch __ieee754_hypot for PowerPC32.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14040         New file.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14042         New file.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14044         multiarch __ieee754_hypotf for PowerPC32.
14045
14046         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14047         long_double_symbol only if __logbl is defined.
14048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14049         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14051         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14053         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14055         path for implementation.
14056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14059         logb, and logbl multiarch implementations for PowerPC32.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14061         file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14063         file.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14065         multiarch logb for PowerPC32.
14066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14067         file.
14068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14069         file.
14070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14071         multiarch logbf for PowerPC32.
14072         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14074         file.
14075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14076         multiarch logbl implementation for PowerPC32.
14077
14078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14079         and modff multiarch implementations.
14080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14081         New file.
14082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14083         New file.
14084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14085         multiarch modf for PowerPC32.
14086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14087         New file.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14089         New file.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14091         multiarch modff for PowerPC32.
14092
14093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14094         and lrintf multiarch implementations.
14095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14096         New file.
14097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14098         New file.
14099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14100         multiarch lrint for PowerPC32.
14101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14102         file: multiarch lrintf for PowerPC32.
14103
14104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14105         and lroundf multiarch implementations.
14106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14107         New file.
14108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14109         New file.
14110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14111         New file.
14112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14113         multiarch lround for PowerPC32.
14114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14115         file: multiarch lroundf for PowerPC32.
14116
14117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14118         copysign and copysignf multiarch implementations.
14119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14120         New file.
14121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14122         New file.
14123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14124         file: multiarch copysign for PowerPC32.
14125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14126         file: multiarch copysignf for PowerPC32.
14127
14128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14129         and truncf multiarch implementations.
14130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14131         New file.
14132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14133         file.
14134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14135         multiarch trunc for PowerPC32.
14136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14137         New file.
14138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14139         New file.
14140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14141         multiarch truncf for PowerPC32.
14142
14143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14144         and roundf multiarch implementations.
14145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14146         New file.
14147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14148         file.
14149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14150         multiarch round for PowerPC32.
14151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14152         New file.
14153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14154         New file.
14155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14156         multiarch roundf for PowerPC32.
14157
14158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14159         and floorf multiarch implementations.
14160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14161         New file.
14162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14163         file.
14164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14165         multiarch floor for PowerPC32.
14166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14167         New file.
14168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14169         New file.
14170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14171         multiarch floorf for PowerPC32.
14172
14173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14174         and ceilf multiarch implementations.
14175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14176         New file.
14177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14178         file.
14179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14180         multiarch ceil for PowerPC32.
14181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14182         New file.
14183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14184         file.
14185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14186         multiarch ceilf for PowerPC32.
14187
14188         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14189         is defined.
14190         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14191         FINITEF is defined.
14192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14193         and finitef multiarch implementations.
14194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14195         New file.
14196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14197         file.
14198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14199         multiarch finite for PowerPC32.
14200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14201         New file.
14202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14203         file: multiarch finitef for PowerPC32.
14204
14205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14206         and isinff multiarch implementations.
14207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14208         file.
14209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14210         file.
14211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14212         multiarch isinf for PowerPC32.
14213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14214         New file.
14215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14216         multiarch isinff for PowerPC32.
14217
14218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14219         alias when __isnan is defined.
14220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14221         and isnanf multiarch implementations.
14222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14223         file.
14224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14225         file.
14226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14227         file.
14228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14229         file.
14230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14231         multiarch isnan for PowerPC32.
14232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14233         New file.
14234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14235         New file.
14236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14237         multiarch isnanf for PowerPC32.
14238
14239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14240         and sqrtf multiarch implementations.
14241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14242         file.
14243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14244         file.
14245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14246         multiarch sqrt for PowerPC32.
14247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14248         file.
14249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14250         file.
14251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14252         multiarch sqrtf for PowerPC32.
14253
14254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14255         and llroundf multiarch implementations.
14256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14257         New file.
14258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14259         New file.
14260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14261         New file.
14262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14263         file: multiarch llround for PowerPC32.
14264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14265         file: multiarch llroundf for PowerPC32.
14266
14267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14268         multiarch PowerPC32 fpu implementations.
14269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14270         New file.
14271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14272         New file.
14273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14274         multiarch llrint for PowerPC32.
14275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14276         New file.
14277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14278         New file.
14279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14280         file.
14281
14282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14283
14284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14285         file.
14286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14287         file.
14288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14289         file.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14291         multiarch wordcopy for PPC32.
14292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14293         wordcopy objects.
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14295         (__libc_ifunc_impl_list): Likewise.
14296         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14297         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14298         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14299         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14300         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14301         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14302
14303         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14305         file.
14306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14307         file.
14308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14309         file.
14310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14311         multiarch wcscpy for PPC32.
14312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14313         multiarch objects.
14314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14315         (__libc_ifunc_impl_list): Likewise.
14316         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14317         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14318         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14319         sysdeps/powerpc/power6/wcscpy.c.
14320
14321         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14323         file.
14324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14325         file.
14326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14327         file.
14328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14329         multiarch wcsrchr for PPC32.
14330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14331         multiarch objects.
14332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14333         (__libc_ifunc_impl_list): Likewise.
14334         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14335         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14336         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14337         sysdeps/powerpc/power6/wcsrchr.c.
14338
14339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14340         file.
14341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14342         file.
14343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14345         multiarch wcschr for PPc32.
14346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14347         multiarch objects.
14348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14349         (__libc_ifunc_impl_list): Likewise.
14350         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14351         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14352         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14353         sysdeps/powerpc/power6/wcschr.c.
14354
14355         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14356         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14357         file.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14359         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14360         file: multiarch strchr for PPC32.
14361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14362         multiarch objects.
14363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14364         (__libc_ifunc_impl_list): Likewise.
14365
14366         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14367         name.
14368         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14369         file.
14370         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14371         file.
14372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14373         multiarch strchrnul for PPC32.
14374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14375         multiarch objects.
14376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14377         (__libc_ifunc_impl_list): Likewise.
14378
14379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14380         file.
14381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14382         multiarch strncasecmp for PPC32.
14383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14384         file.
14385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14386         multiarch strncasecmp_l for PPC32.
14387         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14388         strncasecmp multiarch objects.
14389         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14390         (__libc_ifunc_impl_list): Likewise.
14391
14392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14393         file.
14394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14395         multiarch strncasecmp for PPC32.
14396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14397         New file.
14398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14399         multiarch strcasecmp_l for PPC32.
14400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14401         multiarch objects.
14402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14403         (__libc_ifunc_impl_list): Likewise.
14404
14405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14406         file.
14407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14408         file.
14409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14410         multiarch strncmp for PPC32.
14411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14412         multiarch objects.
14413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14414         (__libc_ifunc_impl_list): Likewise.
14415
14416         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14417         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14418         file.
14419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14420         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14422         multiarch objects.
14423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14424         (__libc_ifunc_impl_list): Likewise.
14425
14426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14427         file.
14428         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14429         file.
14430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14432         multiarch objects.
14433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14434         (__libc_ifunc_impl_list): Likewise.
14435
14436         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14437         file.
14438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14439         file.
14440         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14441         multiarch rawmemchr for PPC32.
14442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14443         multiarch objects.
14444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14445         (__libc_ifunc_impl_list): Likewise.
14446
14447         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14448         file.
14449         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14450         file.
14451         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14452         file: memrchr multiarch for PPC32.
14453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14454         multiarch objects.
14455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14456         (__libc_ifunc_impl_list): Likewise.
14457
14458         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14460         file.
14461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14463         multiarch memchr for PPC32.
14464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14465         multiarch objects.
14466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14467         (__libc_ifunc_impl_list): Likewise.
14468
14469         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14471         file.
14472         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14473         file.
14474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14475         file: multiarch mempcpy for PPC32.
14476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14477         multiarch objects.
14478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14479         (__libc_ifunc_impl_list): Likewise.
14480
14481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14485         multiarch bzero for PPC32.
14486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14487         file.
14488         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14489         file.
14490         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14491         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14492         file: multiarch memset for PPC32.
14493         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14495         memset multiarch objects.
14496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14497         (__libc_ifunc_impl_list): Likewise.
14498
14499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14500         file.
14501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14503         memcmp for PPC32.
14504         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14506         multiarch objects.
14507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14508         (__libc_ifunc_impl_list): Likewise.
14509
14510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14513         file.
14514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14515         file.
14516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14517         file.
14518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14519         multiarch memcpy for PPC32.
14520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14521         multiarch objects.
14522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14523         (__libc_ifunc_impl_list): Likewise.
14524
14525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14526         support multiarch for POWER/PPC32.
14527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14528         Likewise.
14529         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14531         Implies file to make multiarch folder appers before the fpu and
14532         default folder for power4 configuration.
14533
14534 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14535
14536         * scripts/bench.pl: Append volatile keyword to type.
14537
14538 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14539
14540         * sysdeps/sh/sotruss-lib.c: New file.
14541         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14542
14543 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14544
14545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14546
14547 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14548
14549         [BZ #6810]
14550         * math/w_tgamma.c: Include <errno.h>.
14551         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14552         * math/w_tgammaf.c: Include <errno.h>.
14553         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14554         * math/w_tgammal.c: Include <errno.h>.
14555         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14556         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14557         underflow.  Add more tgamma tests.
14558         * math/auto-libm-test-out: Regenerated.
14559         * sysdeps/i386/fpu/libm-test-ulps: Update.
14560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
14562         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14563         sin, sinh, tan, tanh, tgamma, y0 and y1.
14564         * math/auto-libm-test-out: Regenerated.
14565         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14566         (TEST_COND_x86): Likewise.
14567         (M_E2l): Remove macro.
14568         (M_E3l): Likewise.
14569         (M_2_SQRT_PIl): Likewise.
14570         (M_SQRT_PIl): Likewise.
14571         (M_1_DIV_El): Likewise.
14572         (log_test_data): Use AUTO_TESTS_f_f.
14573         (log10_test_data): Likewise.
14574         (log1p_test_data): Likewise.
14575         (log2_test_data): Likewise.
14576         (sin_test_data): Likewise.
14577         (sin_tonearest_test_data): Likewise.
14578         (sin_towardzero_test_data): Likewise.
14579         (sin_downward_test_data): Likewise.
14580         (sin_upward_test_data): Likewise.
14581         (sinh_test_data): Likewise.
14582         (sinh_tonearest_test_data): Likewise.
14583         (sinh_towardzero_test_data): Likewise.
14584         (sinh_downward_test_data): Likewise.
14585         (sinh_upward_test_data): Likewise.
14586         (tan_test_data): Likewise.
14587         (tan_tonearest_test_data): Likewise.
14588         (tan_towardzero_test_data): Likewise.
14589         (tan_downward_test_data): Likewise.
14590         (tan_upward_test_data): Likewise.
14591         (tanh_test_data): Likewise.
14592         (tgamma_test_data): Likewise.
14593         (y0_test_data): Likewise.
14594         (y1_test_data): Likewise.
14595         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14596         (special_real_inputs): Add pi/4.
14597         * sysdeps/i386/fpu/libm-test-ulps: Update.
14598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14599
14600 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14601
14602         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14603         "longjmp_target" static probes.
14604         (__longjmp): Rename to __longjmp_symbol.
14605         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14606         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14607         on which longjmp to generate.
14608         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14609         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14610         probe.
14611         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14612         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14613         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14614         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14615         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14618         __longjmp_symbol based on which __longjmp to generate.
14619         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14620         probe.
14621         (setjmp): Rename to setjmp_symbol.
14622         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14623         (_setjmp): Rename to _setjmp_symbol.
14624         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14625         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14626         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14627         which setjmp to generate.
14628         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14629         "longjmp_target" static probes.
14630
14631 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14632
14633         * benchtests/README: Add note about output arguments.
14634         * benchtests/bench-sincos.c: Remove file.
14635         * benchtests/sincos-inputs: New file.
14636         * scripts/bench.pl: Identify output arguments and define
14637         static variables for them.
14638
14639         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14640
14641         [BZ #15941]
14642         * Makefile (INSTALL): Add install-plain.texi as the primary
14643         dependency.
14644         * manual/install-plain.texi: New file.
14645         * manual/install.texi: Include node directive only for
14646         non-plaintext output.
14647
14648 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14649
14650         * stdlib/longlong.h: Update from GCC.
14651
14652         [BZ #6807]
14653         [BZ #15901]
14654         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14655         * math/w_j0f.c (y0f): Likewise.
14656         * math/w_j0l.c (__y0l): Likewise.
14657         * math/w_j1.c (y1): Likewise.
14658         * math/w_j1f.c (y1f): Likewise.
14659         * math/w_j1l.c (__y1l): Likewise
14660         * math/w_jn.c (yn): Likewise.
14661         * math/w_jnf.c (ynf): Likewise.
14662         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14663         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14664         value for Bessel function domain errors outside _SVID_ mode.
14665         Adjust sign of return value for yn (negative integer, 0).
14666         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14667         by zero in return for negative x and set sign appropriately for
14668         negative n.
14669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14671         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14672         expectations in error cases.
14673         (y1_test_data): Likewise.
14674         (yn_test_data): Likewise.
14675         * sysdeps/i386/fpu/libm-test-ulps: Update.
14676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14677
14678 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14679
14680         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14681         "64" to "64-v1".  Add "64-v2".
14682         (abi-64-options): Rename to ...
14683         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14684         (abi-64-condition): Rename to ...
14685         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14686         (abi-64-ld-soname): Rename to ...
14687         (abi-64-v1-ld-soname): ... this.
14688         (abi-64-v2-options): Define.
14689         (abi-64-v2-condition): Likewise.
14690         (abi-64-v2-ld-soname): Likewise.
14691         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14692         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14696
14697 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14698             Alan Modra  <amodra@gmail.com>
14699
14700         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14701         New versions for use with the ELFv2 ABI.
14702         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14703         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14704         declaration.
14705         (struct La_ppc64v2_retval): Likewise.
14706         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14707         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14708         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14709         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14710         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14711         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14712         Do not save or restore CR.
14713         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14714         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14715         return values for ELFv2 ABI.  Fix location of FPR return registers.
14716         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14717         updated values for _CALL_ELF == 2.
14718         (La_regs, La_retval, int_retval): Likewise.
14719
14720 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14721
14722         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14723         (FRAME_MIN_SIZE_PARM): Likewise.
14724         (FRAME_BACKCHAIN): Likewise.
14725         (FRAME_CR_SAVE): Likewise.
14726         (FRAME_LR_SAVE): Likewise.
14727         (FRAME_TOC_SAVE): Likewise.
14728         (FRAME_PARM_SAVE): Likewise.
14729         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14730         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14731         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14732         (call_mcount_parm_offset): New macro.
14733         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14734         (PROF): Use symbolic stack frame offsets.
14735         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14737         Redefine in terms of FRAME_MIN_SIZE.
14738         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14739         (_dl_profile_resolve): Likewise.  Update comment.
14740         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14741         symbols stack frame offsets.
14742         (__sigsetjmp): Likewise.
14743         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14744         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14745         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14746         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14747
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14749         (FRAME_BACKCHAIN): Remove.
14750         (FRAME_CR_SAVE): Likewise.
14751         (FRAME_LR_SAVE): Likewise.
14752         (FRAME_COMPILER_DW): Likewise.
14753         (FRAME_LINKER_DW): 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         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14760         (CHECK_SP): Use symbolic stack frame offsets.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14762         zone" instead of caller's parameter save area for temp storage.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14764         Likewise.  Also, use symbolic stack frame offsets.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14766         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14767         our own stack frame instead of the caller's.
14768         (__socket): Use symbolic stack frame offsets.
14769
14770 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14771             Alan Modra  <amodra@gmail.com>
14772
14773         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14774         Define.
14775         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14776         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14777         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14778         New function.
14779         (elf_machine_fixup_plt): Call it.
14780         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14781         reloc arguments.
14782         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14783         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14784         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14785         r2 before calling target.
14786
14787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14788             Alan Modra  <amodra@gmail.com>
14789
14790         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14791         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14792         versions of macros to support ELFv2 ABI.
14793         (LOCALENTRY): New macro.
14794         (ENTRY, EALIGN): Use it.
14795         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14796         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14797         fall through into ENTRY entry point.
14798         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14799         Only define if _CALL_ELF != 2.
14800
14801         (elf_machine_matches_host): Verify ABI version matches.
14802         (RTLD_START): Use LOCALENTRY.
14803         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14804         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14805         (PLT_ENTRY_WORDS): New macro.
14806         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14807         (elf_machine_runtime_setup): Support ELFv2 ABI.
14808         (elf_machine_fixup_plt): Likewise.
14809         (elf_machine_plt_conflict): Likewise.
14810         (resolve_ifunc): Likewise.
14811         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14812         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14813         Likewise.
14814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14815         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14817         (makecontext): Support ELFv2 ABI.
14818         * elf/elf.h (EF_PPC64_ABI): Define.
14819
14820 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14821
14822         * sysdeps/powerpc/powerpc64/sysdep.h
14823         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14824         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14825         (ENTRY) [ASSEMBLER]: ... but instead here ...
14826         (EALIGN) [ASSEMBLER]: ... and here.
14827         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14828         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14829         (ENTRY_2) [!ASSEMBLER]: Use it.
14830         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14831         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14832         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14833         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14834         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14836         Use PPC64_LOAD_FUNCPTR.
14837
14838         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14839
14840 2013-12-04  Alan Modra  <amodra@gmail.com>
14841
14842         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14843         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14844         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14845         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14846
14847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14848         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14849         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14850         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14851         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14852         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14853
14854 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14855
14856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14857         (__makecontext): Fix incorrect CFI when backtracing out of
14858         context created via makecontext.
14859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14860         (__setcontext): Fix incorrect CFI during switch to new context.
14861         (__novec_setcontext): Likewise.
14862
14863 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14864
14865         [BZ #4772]
14866         * time/strptime_l.c (__strptime_internal): Allow modifiers
14867         in strptime.
14868         * time/tst-strptime.c (day_tests): Add testcase.
14869
14870 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14871
14872         * scripts/bench.pl: Skip over blank lines.
14873
14874 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14875
14876         [BZ #926]
14877         * manual/time.texi (Calendar Time): Clarify what timezone functions
14878         use.
14879
14880 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14881
14882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14883
14884 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14885
14886         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14887         implementation.
14888         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14889         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14890         * debug/memset_chk.c (__memset_chk): Likewise.
14891         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14892         * debug/strncpy_chk.c: Likewise.
14893
14894 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14895
14896         [BZ #15268]
14897         [BZ #15425]
14898         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14899         (__ieee754_exp): For possibly underflowing results, check size of
14900         result and force underflow exception if required.
14901         * math/auto-libm-test-in: Add more tests of exp.
14902         * math/auto-libm-test-out: Regenerated.
14903         * sysdeps/i386/fpu/libm-test-ulps: Update.
14904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14905
14906         [BZ #16283]
14907         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14908         * math/w_exp2f.c (__exp2f): Likewise.
14909         * math/w_exp2l.c (__exp2l): Likewise.
14910         * math/auto-libm-test-in: Do not allow missing errno on exp2
14911         underflow.
14912         * math/auto-libm-test-out: Regenerated.
14913
14914 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14915
14916         [BZ #16274]
14917         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14918         handle filename validation.
14919         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14920         (do_open): Delete.
14921
14922 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14923
14924         [BZ #6786]
14925         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14926         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14927         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14928         <float.h>.
14929         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14930         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14931         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14932         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14933         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14934         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14935         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14936         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14937         Add more erfc tests.
14938         * math/auto-libm-test-out: Regenerated.
14939         * sysdeps/i386/fpu/libm-test-ulps: Update.
14940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14941
14942         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14943         exp2, expm1, j0 and j1.
14944         * math/auto-libm-test-out: Regenerated.
14945         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14946         (erfc_test_data): Likewise.
14947         (exp_test_data): Likewise.
14948         (exp_tonearest_test_data): Likewise.
14949         (exp_towardzero_test_data): Likewise.
14950         (exp_downward_test_data): Likewise.
14951         (exp_upward_test_data): Likewise.
14952         (exp10_test_data): Likewise.
14953         (exp2_test_data): Likewise.
14954         (expm1_test_data): Likewise.
14955         (j0_test_data): Likewise.
14956         (j1_test_data): Likewise.
14957         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14958         (input_flag_type): Add flag_xfail_rounding.
14959         (input_flags): Add xfail-rounding.
14960         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14961         (output_for_one_input_case): Handle flag_xfail_rounding.
14962         * sysdeps/i386/fpu/libm-test-ulps: Update.
14963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14964
14965 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14966
14967         [BZ #16289]
14968         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14969         division by 0.
14970
14971 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972
14973         [BZ #16195]
14974         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14975         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14976         (STAP_PROBE0): New macro.
14977         (STAP_PROBE1): Likewise.
14978         (STAP_PROBE2): Likewise.
14979         (STAP_PROBE3): Likewise.
14980         (STAP_PROBE4): Likewise.
14981
14982 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14983
14984         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14985
14986 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14987
14988         * benchtests/Makefile (bench): Add sqrt.
14989         (LDLIBS-bench-sqrt): New.
14990         * benchtests/sqrt-input: New.
14991
14992 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14993
14994         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14995         (GAIH_EAI): Likewise.
14996         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14997         (gaih_inet): Likewise.
14998         (getaddrinfo): Don't use GAIH_EAI.
14999
15000         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15001         (struct gaih): Remove definition.
15002
15003 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004
15005         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15006         Use HERRNOP directly.
15007
15008 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15009
15010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15011
15012 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15013
15014         * math/gen-auto-libm-tests.c (test_functions): Add more
15015         single-argument functions.
15016         (special_fill_pi_2): New function.
15017         (special_fill_minus_pi_2): Likewise.
15018         (special_fill_pi_6): Likewise.
15019         (special_fill_minus_pi_6): Likewise.
15020         (special_fill_pi_3): Likewise.
15021         (special_fill_2pi_3): Likewise.
15022         (special_fill_e): Likewise.
15023         (special_fill_1_e): Likewise.
15024         (special_fill_e_minus_1): Likewise.
15025         (special_real_inputs): Add more special inputs.
15026         (output_for_one_input_case): Do not require ERANGE on underflow to
15027         zero if round-to-nearest result does not underflow to zero, unless
15028         exact results required.
15029         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15030         atan, atanh, cbrt, cos and cosh.
15031         * math/auto-libm-test-out: Regenerated.
15032         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15033         (acos_tonearest_test_data): Likewise.
15034         (acos_towardzero_test_data): Likewise.
15035         (acos_downward_test_data): Likewise.
15036         (acos_upward_test_data): Likewise.
15037         (acosh_test_data): Likewise.
15038         (asin_test_data): Likewise.
15039         (asin_tonearest_test_data): Likewise.
15040         (asin_towardzero_test_data): Likewise.
15041         (asin_upward_test_data): Likewise.
15042         (asinh_test_data): Likewise.
15043         (atan_test_data): Likewise.
15044         (atanh_test_data): Likewise.
15045         (cbrt_test_data): Likewise.
15046         (cos_test_data): Likewise.
15047         (cos_tonearest_test_data): Likewise.
15048         (cos_towardzero_test_data): Likewise.
15049         (cos_downward_test_data): Likewise.
15050         (cos_upward_test_data): Likewise.
15051         (cosh_test_data): Likewise.
15052         (cosh_tonearest_test_data): Likewise.
15053         (cosh_towardzero_test_data): Likewise.
15054         (cosh_downward_test_data): Likewise.
15055         (cosh_upward_test_data): Likewise.
15056         * sysdeps/i386/fpu/libm-test-ulps: Update.
15057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15058
15059 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15060
15061         [BZ #6787]
15062         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15063         * math/w_exp10f.c (__exp10f): Likewise.
15064         * math/w_exp10l.c (__exp10l): Likewise.
15065         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15066         errno settings in existing tests.
15067
15068         [BZ #14032]
15069         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15070         precision control set to double precision.
15071         * sysdeps/i386/fpu/w_sqrt.c: New file.
15072         * math/auto-libm-test-in: Add more tests.
15073         * math/auto-libm-test-out: Update.
15074
15075         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15076         (sqrt_test_tonearest): New function.
15077         (sqrt_towardzero_test_data): New variable.
15078         (sqrt_test_towardzero): New function.
15079         (sqrt_downward_test_data): New variable.
15080         (sqrt_test_downward): New function.
15081         (sqrt_upward_test_data): New variable.
15082         (sqrt_test_upward): New function.
15083         (main): Call the new functions.
15084
15085         * math/gen-auto-libm-tests.c: New file.
15086         * math/auto-libm-test-in: Likewise.
15087         * math/auto-libm-test-out: New generated file.
15088         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15089         variables.
15090         (%beautify): Add generated representations of zero.
15091         (top level): Set $auto_input and call parse_auto_input.
15092         (beautify): Remove trailing "f" from hex float constants.
15093         (parse_args): Handle XFAIL_TEST.
15094         (convert_condition): New function.
15095         (or_value): Likewise.
15096         (or_cond_value): Likewise.
15097         (generate_testfile): Handle AUTO_TESTS_* lines.
15098         (parse_auto_input): New function.
15099         * math/libm-test.inc (XFAIL_TEST): New macro.
15100         (ERRNO_UNCHANGED): Update value.
15101         (ERRNO_EDOM): Likewise.
15102         (ERRNO_ERANGE): Likewise.
15103         (IGNORE_RESULT): Likewise.
15104         (TEST_COND_flt_32): New macro.
15105         (TEST_COND_dbl_64): Likewise.
15106         (TEST_COND_ldbl_96_intel): Likewise.
15107         (TEST_COND_ldbl_96_m68k): Likewise.
15108         (TEST_COND_ldbl_128): Likewise.
15109         (TEST_COND_ldbl_128ibm): Likewise.
15110         (TEST_COND_long32): Likewise.
15111         (TEST_COND_long64): Likewise.
15112         (TEST_COND_before_rounding): Likewise.
15113         (TEST_COND_after_rounding): Likewise.
15114         (enable_test): Handle XFAIL_TEST flag.
15115         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15116         with finite results.
15117         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15118         auto-libm-test-out.
15119
15120 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15121             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15122
15123         [BZ #16214]
15124         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15125         __tls_get_addr_internal instead of __tls_get_offset in order to
15126         avoid GOT pointer dependency.  Make rtld export
15127         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15128         __tls_get_addr since we are a __tls_get_offset platform.
15129         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15130         GOT pointer being set up before.
15131         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15132
15133 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15134
15135         * manual/math.texi (Errors in Math Functions): Document accuracy
15136         goals.
15137
15138         [BZ #15004]
15139         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15140         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15141         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15142         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15143         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15144         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15145         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15146         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15147         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15148         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15149         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15150         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15151         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15152         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15153         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15154         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15155
15156         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15157         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15158         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15159         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15160         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15161         Likewise.
15162         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15163         Likewise.
15164         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15165         Likewise.
15166         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15167         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15168         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15169         atomic-feupdateenv and flt-rounds.
15170         * sysdeps/powerpc/nofpu/Versions (libc): Add
15171         __atomic_feholdexcept, __atomic_feclearexcept,
15172         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15173         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15174         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15175         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15176         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15177         here.
15178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15179         Update.
15180
15181         * manual/arith.texi (FP Exceptions): Document that exceptions may
15182         not be raised when matherr is used.
15183         (Math Error Reporting): Document overflow in directed rounding
15184         modes.  Document that errno may not be set when finite values are
15185         returned on overflow.  Document intent to set errno on underflow
15186         only for underflow to zero.
15187
15188         [BZ #16271]
15189         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15190         round-to-nearest then adjust result for other rounding modes.
15191         * include/fenv.h (fegetround): Use libm_hidden_proto.
15192         * math/fegetround.c (fegetround): Use libm_hidden_def.
15193         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15194         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15195         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15196         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15197         Likewise.
15198         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15199         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15200         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15201         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15202
15203 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15204
15205         [BZ #16077]
15206         * nss/Versions (libnss_files): Add
15207         _nss_files_gethostbyname3_r.
15208         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15209         New function.
15210         (HOST_DB_LOOKUP): Remove macro.
15211         (_nss_files_gethostbyname_r): Implement function without the
15212         HOST_DB_LOOKUP macro.
15213         (_nss_files_gethostbyname2_r): Likewise.
15214
15215 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15216
15217         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15218
15219 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15220
15221         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15222         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15223         warning.
15224
15225 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15226
15227         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15228         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15229         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15230         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15231         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15232         __fe_nomask_env_priv and attribute_hidden.
15233         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15234         (libc_feupdateenv_test_ppc): Likewise.
15235         (libc_feresetround_ppc): Likewise.
15236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15237         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15238         compat_symbol macro.
15239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15240         (__fe_nomask_env): Likewise.
15241         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15242
15243 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15244
15245         * string/Makefile: Remove ifunc tests.
15246         * string/test-string.h: Define TEST_IFUNC.
15247         * string/test-bcopy-ifunc.c: Remove.
15248         * string/test-bzero-ifunc.c: Likewise.
15249         * string/test-memccpy-ifunc.c: Likewise.
15250         * string/test-memchr-ifunc.c: Likewise.
15251         * string/test-memcmp-ifunc.c: Likewise.
15252         * string/test-memcpy-ifunc.c: Likewise.
15253         * string/test-memmem-ifunc.c: Likewise.
15254         * string/test-memmove-ifunc.c: Likewise.
15255         * string/test-mempcpy-ifunc.c: Likewise.
15256         * string/test-memrchr-ifunc.c: Likewise.
15257         * string/test-memset-ifunc.c: Likewise.
15258         * string/test-rawmemchr-ifunc.c: Likewise.
15259         * string/test-stpcpy-ifunc.c: Likewise.
15260         * string/test-stpncpy-ifunc.c: Likewise.
15261         * string/test-strcasecmp-ifunc.c: Likewise.
15262         * string/test-strcasestr-ifunc.c: Likewise.
15263         * string/test-strcat-ifunc.c: Likewise.
15264         * string/test-strchr-ifunc.c: Likewise.
15265         * string/test-strchrnul-ifunc.c: Likewise.
15266         * string/test-strcmp-ifunc.c: Likewise.
15267         * string/test-strcpy-ifunc.c: Likewise.
15268         * string/test-strcspn-ifunc.c: Likewise.
15269         * string/test-strlen-ifunc.c: Likewise.
15270         * string/test-strncasecmp-ifunc.c: Likewise.
15271         * string/test-strncat-ifunc.c: Likewise.
15272         * string/test-strncmp-ifunc.c: Likewise.
15273         * string/test-strncpy-ifunc.c: Likewise.
15274         * string/test-strnlen-ifunc.c: Likewise.
15275         * string/test-strpbrk-ifunc.c: Likewise.
15276         * string/test-strrchr-ifunc.c: Likewise.
15277         * string/test-strspn-ifunc.c: Likewise.
15278         * string/test-strstr-ifunc.c: Likewise.
15279
15280 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15281
15282         * benchtests/Makefile: Remove ifunc tests.
15283         * benchtests/bench-string.h: Define TEST_IFUNC.
15284         * benchtests/bench-bcopy-ifunc.c: Remove.
15285         * benchtests/bench-bzero-ifunc.c: Likewise.
15286         * benchtests/bench-memccpy-ifunc.c: Likewise.
15287         * benchtests/bench-memchr-ifunc.c: Likewise.
15288         * benchtests/bench-memcmp-ifunc.c: Likewise.
15289         * benchtests/bench-memcpy-ifunc.c: Likewise.
15290         * benchtests/bench-memmem-ifunc.c: Likewise.
15291         * benchtests/bench-memmove-ifunc.c: Likewise.
15292         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15293         * benchtests/bench-memrchr-ifunc.c: Likewise.
15294         * benchtests/bench-memset-ifunc.c: Likewise.
15295         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15296         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15297         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15298         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15299         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15300         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15301         * benchtests/bench-strcat-ifunc.c: Likewise.
15302         * benchtests/bench-strchr-ifunc.c: Likewise.
15303         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15304         * benchtests/bench-strcmp-ifunc.c: Likewise.
15305         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15306         * benchtests/bench-strcpy-ifunc.c: Likewise.
15307         * benchtests/bench-strcspn-ifunc.c: Likewise.
15308         * benchtests/bench-strlen-ifunc.c: Likewise.
15309         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15310         * benchtests/bench-strncat-ifunc.c: Likewise.
15311         * benchtests/bench-strncmp-ifunc.c: Likewise.
15312         * benchtests/bench-strncpy-ifunc.c: Likewise.
15313         * benchtests/bench-strnlen-ifunc.c: Likewise.
15314         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15315         * benchtests/bench-strrchr-ifunc.c: Likewise.
15316         * benchtests/bench-strsep-ifunc.c: Likewise.
15317         * benchtests/bench-strspn-ifunc.c: Likewise.
15318         * benchtests/bench-strstr-ifunc.c: Likewise.
15319
15320 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15321
15322         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15323
15324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15325
15326         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15327         * rt/aio.h: Likewise.
15328         * sysdeps/gnu/bits/utmp.h: Likewise.
15329         * sysdeps/gnu/bits/utmpx.h: Likewise.
15330         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15331         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15332         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15333         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15334         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15335         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15336         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15337         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15338         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15339         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15340         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15341         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15342         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15344         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15345         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15346         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15347         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15348         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15349         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15350         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15351         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15352         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15353         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15354         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15356         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15357         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15358         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15359         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15360         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15361         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15362         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15363         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15364         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15365         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15366         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15367         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15368         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15369         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15370         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15371         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15372
15373 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15374
15375         [BZ #16245]
15376         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15377         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15378
15379 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15380
15381         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15382         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15383         Likewise.
15384
15385 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15386
15387         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15388         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15389         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15390         (__fesetround): Remove define.
15391         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15392         rounding and exceptions handling.
15393         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15394         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15395         (__fe_nomask_env): Likewise.
15396         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15397         __fegetround instead of fegetround.
15398         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15399         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15400
15401 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15402
15403         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15404         it's there.
15405
15406         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15407
15408 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15409
15410         [BZ #11157]
15411         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15412         (encrypt_r): Likewise.
15413         * malloc/obstack.h (obstack_free): Likewise.
15414         * posix/unistd.h (encrypt): Likewise.
15415
15416 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15417
15418         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15419         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15420         DL_CALL_DT_FINI() that call the functions directly.
15421         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15422         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15423         * elf/dl-fini.c: Likewise.
15424
15425 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15426
15427         * malloc/hooks.c (memalign_check): Add alignment rounding.
15428         * malloc/malloc.c (_mid_memalign): New function.
15429         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15430         Implement by calling _mid_memalign.
15431         * manual/probes.texi (Memory Allocation Probes): Remove
15432         memory_valloc_retry and memory_pvalloc_retry.
15433
15434 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15435
15436         * locale/programs/locarchive.c (open_archive): Add const
15437         qualifier to ARCHIVEFNAME and copy default fname to
15438         DEFAULT_FNAME.
15439
15440         [BZ #15601]
15441         * libio/tst-widetext.input: Rename Oriya to Odia.
15442         * locale/iso-639.def: Likewise.
15443
15444         * manual/probes.texi (Mathematical Function Probes): Add
15445         documentation for sin, cos, asin and acos probes.
15446         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15447         (__sin32): Add slowasin probe.
15448         (__cos32): Add slowacos probe.
15449         (__mpsin): Add slowsin probe.
15450         (__mpcos): Add slowcos probe.
15451
15452 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15453
15454         [BZ #15483]
15455         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15456         thread-local __sim_exceptions_thread and global
15457         __sim_exceptions_global.
15458         (__sim_disabled_exceptions): Change to thread-local
15459         __sim_disabled_exceptions_thread and global
15460         __sim_disabled_exceptions_global.
15461         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15462         and global __sim_round_mode_global.
15463         (__simulate_exceptions): Use thread-local floating-point state and
15464         set global state from it as needed.
15465         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15466         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15467         __sim_round_mode_thread.
15468         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15469         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15470         and global __sim_exceptions_global.
15471         (__sim_disabled_exceptions): Change to thread-local
15472         __sim_disabled_exceptions_thread and global
15473         __sim_disabled_exceptions_global.
15474         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15475         and global __sim_round_mode_global.
15476         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15477         (SIM_SET_GLOBAL): Likewise.
15478         * sysdeps/powerpc/soft-fp/sfp-machine.h
15479         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15480         __sim_round_mode_thread.
15481         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15482         __sim_disabled_exceptions_thread.
15483         (__sim_exceptions): Change to __sim_exceptions_thread.
15484         (__sim_disabled_exceptions): Change to
15485         __sim_disabled_exceptions_thread.
15486         (__sim_round_mode): Change to __sim_round_mode_thread.
15487         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15488         thread-local floating-point state and set global state from it as
15489         needed.
15490         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15491         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15492         (__sim_disabled_exceptions): Remove extern declaration.
15493         (feenableexcept): Use thread-local floating-point state and set
15494         global state from it as needed.
15495         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15496         extern declaration.
15497         (__sim_disabled_exceptions): Likewise.
15498         (__sim_round_mode): Likewise.
15499         (__fegetenv): Use thread-local floating-point state.
15500         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15501         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15502         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15503         floating-point state and set global state from it as needed.
15504         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15505         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15506         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15507         Likewise.
15508         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15509         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15510         Likewise.
15511         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15512         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15513         Use __sim_round_mode_thread.
15514         * math/test-fenv-tls.c: New file.
15515         * math/Makefile (tests): Add test-fenv-tls.
15516         ($(objpfx)test-fenv-tls): Depend on
15517         $(common-objpfx)nptl/libpthread.so.
15518
15519 2013-11-19  Andreas Schwab  <schwab@suse.de>
15520
15521         * locale/programs/locale.c (show_info): Decode wordarray elements.
15522         * locale/categories.def (LC_MONETARY): Add element for
15523         _NL_MONETARY_CRNCYSTR.
15524         * locale/C-monetary.c (conversion_rate): New variable.
15525         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15526         element.
15527
15528 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15529
15530         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15531         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15532
15533 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15534
15535         * elf/Makefile (tst-auxv): New test.
15536         * elf/tst-auxv.c: New
15537         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15538
15539 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15540
15541         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15542         (hidden_proto): Caller changed.
15543         (hidden_tls_proto): New macro.
15544         (libc_hidden_tls_proto): Likewise.
15545         (rtld_hidden_tls_proto): Likewise.
15546         (libm_hidden_tls_proto): Likewise.
15547         (libresolv_hidden_tls_proto): Likewise.
15548         (librt_hidden_tls_proto): Likewise.
15549         (libdl_hidden_tls_proto): Likewise.
15550         (libnss_files_hidden_tls_proto): Likewise.
15551         (libnsl_hidden_tls_proto): Likewise.
15552         (libnss_nisplus_hidden_tls_proto): Likewise.
15553         (libutil_hidden_tls_proto): Likewise.
15554
15555 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15556
15557         [BZ #10253]
15558         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15559         (decompose_rpath): Defer expansion to fillin_rpath.
15560         (_dl_init_paths): Pass linkmap to fillin_rpath.
15561
15562 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15563
15564         * benchtests/Makefile: Add strsep.
15565         * benchtests/bench-strsep.c: New file: strsep benchtest.
15566         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15567
15568 2013-11-18  Andreas Schwab  <schwab@suse.de>
15569
15570         * locale/programs/locale.c (show_info) [case byte]: Check for
15571         '\377' instead of '\177'.
15572         * locale/C-monetary.c (not_available): Always use "\377".
15573         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15574         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15575         detect unavailable sign_posn locale elements.
15576         * locale/localeconv.c (__localeconv): For grouping and
15577         mon_grouping handle "\177" and "\377" like no grouping.
15578         (INT_ELEM): New macro.  Use it to set all numeric members.
15579         * locale/programs/ld-monetary.c (monetary_read)
15580         <tok_mon_grouping>: Normalize single -1 to the empty string.
15581         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15582         Likewise.
15583
15584 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15585
15586         [BZ #16055]
15587         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15588         when we match (nil).
15589         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15590
15591 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15592
15593         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15594         (NO_TEST_INLINE): Update value.
15595         (ERRNO_UNCHANGED): Likewise.
15596         (ERRNO_EDOM): Likewise.
15597         (ERRNO_ERANGE): Likewise.
15598         (IGNORE_RESULT): Likewise.
15599         (check_float_internal): Check signs of NaN results if
15600         TEST_NAN_SIGN used.
15601         (check_complex): Pass TEST_NAN_SIGN flag through to second
15602         check_float_internal call.
15603         (copysign_test_data): Add tests with quiet NaNs as second
15604         argument.  Use TEST_NAN_SIGN.
15605         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15606         TEST_NAN_SIGN.
15607         (signbit_test_data): Add tests of quiet NaN argument.
15608         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15609
15610         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15611         $ignore_result.
15612         (parse_args): Handle function results specified as IGNORE.
15613         * math/libm-test.inc (IGNORE_RESULT): New macro.
15614         (check_float_internal): Do not check numerical result if flag
15615         IGNORE_RESULT set.
15616         (check_complex): Pass through IGNORE_RESULT to second
15617         check_float_internal call.
15618         (check_int): Do not check numerical result if flag IGNORE_RESULT
15619         set.
15620         (check_long): Likewise.
15621         (check_bool): Likewise.
15622         (check_longlong): Likewise.
15623         (lrint_test_data): Add tests of infinite and NaN arguments.
15624         (lrint_tonearest_test_data): Likewise.
15625         (lrint_towardzero_test_data): Likewise.
15626         (lrint_downward_test_data): Likewise.
15627         (lrint_upward_test_data): Likewise.
15628         (llrint_test_data): Likewise.
15629         (llrint_tonearest_test_data): Likewise.
15630         (llrint_towardzero_test_data): Likewise.
15631         (llrint_downward_test_data): Likewise.
15632         (llrint_upward_test_data): Likewise.
15633         (lround_test_data): Likewise.
15634         (llround_test_data): Likewise.
15635
15636         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15637         (ERRNO_UNCHANGED): Update value.
15638         (ERRNO_EDOM): Likewise.
15639         (ERRNO_ERANGE): Likewise.
15640         (NO_TEST_INLINE_FLOAT): New macro.
15641         (NO_TEST_INLINE_DOUBLE): Likewise.
15642         (enable_test): New function.
15643         (RUN_TEST_f_f): Check enable_test before running test.
15644         (RUN_TEST_2_f): Likewise.
15645         (RUN_TEST_fff_f): Likewise.
15646         (RUN_TEST_c_f): Likewise.
15647         (RUN_TEST_f_f1): Likewise.
15648         (RUN_TEST_fF_f1): Likewise.
15649         (RUN_TEST_fI_f1): Likewise.
15650         (RUN_TEST_ffI_f1): Likewise.
15651         (RUN_TEST_c_c): Likewise.
15652         (RUN_TEST_cc_c): Likewise.
15653         (RUN_TEST_f_i): Likewise.
15654         (RUN_TEST_f_i_tg): Likewise.
15655         (RUN_TEST_ff_i_tg): Likewise.
15656         (RUN_TEST_f_b): Likewise.
15657         (RUN_TEST_f_b_tg): Likewise.
15658         (RUN_TEST_f_l): Likewise.
15659         (RUN_TEST_f_L): Likewise.
15660         (RUN_TEST_fFF_11): Likewise.
15661         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15662         conditionals.
15663         (cosh_test_data): Likewise.
15664         (exp_test_data): Likewise.
15665         (expm1_test_data): Likewise.
15666         (hypot_test_data): Likewise.
15667         (pow_test_data): Likewise.
15668         (sinh_test_data): Likewise.
15669         (tanh_test_data): Likewise.
15670         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15671         flags argument.
15672
15673         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15674         tests with quiet NaN input and output.
15675         (acosh_test_data): Likewise.
15676         (asin_test_data): Likewise.
15677         (asinh_test_data): Likewise.
15678         (atan_test_data): Likewise.
15679         (atanh_test_data): Likewise.
15680         (atan2_test_data): Likewise.
15681         (cbrt_test_data): Likewise.
15682         (cos_test_data): Likewise.
15683         (cosh_test_data): Likewise.
15684         (erf_test_data): Likewise.
15685         (erfc_test_data): Likewise.
15686         (exp_test_data): Likewise.
15687         (exp10_test_data): Likewise.
15688         (exp2_test_data): Likewise.
15689         (expm1_test_data): Likewise.
15690         (hypot_test_data): Likewise.
15691         (j0_test_data): Likewise.
15692         (j1_test_data): Likewise.
15693         (jn_test_data): Likewise.
15694         (lgamma_test_data): Likewise.
15695         (log_test_data): Likewise.
15696         (log10_test_data): Likewise.
15697         (log1p_test_data): Likewise.
15698         (log2_test_data): Likewise.
15699         (pow_test_data): Likewise.
15700         (scalb_test_data): Likewise.
15701         (sin_test_data): Likewise.
15702         (sincos_test_data): Likewise.
15703         (sinh_test_data): Likewise.
15704         (tan_test_data): Likewise.
15705         (tanh_test_data): Likewise.
15706         (tgamma_test_data): Likewise.
15707         (y0_test_data): Likewise.
15708         (y1_test_data): Likewise.
15709         (yn_test_data): Likewise.
15710
15711         [BZ #16167]
15712         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15713         argument being NaN and avoid computations with second argument in
15714         that case.
15715         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15716         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15717         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15718
15719 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15720
15721         * locale/iso-639.def: Add Chitwani Tharu (the).
15722
15723 2013-11-14  Andreas Schwab  <schwab@suse.de>
15724
15725         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15726         word instead of empty string.
15727
15728 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15729
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15731         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15733         (__fe_nomask_env): Likewise.
15734
15735 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15736
15737         * benchtests/bench-timing.h: Include time.h.
15738
15739 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15740
15741         [BZ #15997]
15742         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15743         to 3.4.0 for x32.
15744         * sysdeps/unix/sysv/linux/configure: Regenerated.
15745
15746 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15747
15748         [BZ #16151]
15749         * stdlib/strtod_l.c (round_and_return): Do not consider
15750         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15751         exponent one less than half the least subnormal exponent.
15752         * stdlib/test-strtod-round-data: Add more tests.
15753         * stdlib/tst-strtod-round.c (tests): Regenerated.
15754
15755 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15756
15757         [BZ #14143]
15758         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15759         (__fe_mask_env): Likewise.
15760         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15761         libm_hidden_proto and add function prototype.
15762         (__fe_mask_env): Add function prototype.
15763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15764         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15766         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15768         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15769
15770 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15771
15772         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15773         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15774
15775 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15776
15777         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15778         of htab_find_slot().
15779
15780 2013-11-11  David S. Miller  <davem@davemloft.net>
15781
15782         [BZ #16150]
15783         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15784         symbol in the non-vis3 case in static builds.
15785         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15786         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15787         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15788         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15789
15790 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15791
15792         [BZ #387]
15793         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15794         it is empty.
15795
15796 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15797
15798         * benchtests/Makefile: Add bench-strtod.
15799         * benchtests/bench-strtod.c: New file: strtod benchtest
15800
15801 2013-11-11  Andreas Schwab  <schwab@suse.de>
15802
15803         [BZ #16153]
15804         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15805         terminating NUL in key length.
15806
15807 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15808
15809         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15810         Add artificial ODP entry for vDSO symbol for PPC64.
15811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15812         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15813
15814 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15815
15816         [BZ #15374]
15817         * nss/getent.c (services_keys): Recognize services starting with digit.
15818
15819 2013-11-06  David S. Miller  <davem@davemloft.net>
15820
15821         [BZ #15985]
15822         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15823         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15824
15825 2013-11-06  Will Newton  <will.newton@linaro.org>
15826
15827         * manual/memory.texi (Malloc Examples): Remove register
15828         keyword from examples.
15829
15830 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15831
15832         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15833
15834 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15835
15836         [BZ #6981]
15837         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15838         depending on [__GCC_IEC_559 > 0].
15839         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15840         depending on [__GCC_IEC_559_COMPLEX > 0].
15841
15842 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15843
15844         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15845         to iso-639.def.
15846
15847 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15848
15849         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15850
15851 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15852
15853         [BZ #16112]
15854         * malloc/malloc (malloc_info): Do not handle first bin as
15855         special case.
15856
15857 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15858
15859         * locale/iso-639.def: Add Central Nahuatl (nhn).
15860
15861 2013-11-01  Bruno Haible  <bruno@clisp.org>
15862
15863         [BZ #7003]
15864         * manual/math.texi (BSD Random): Specify range upper bound as
15865         in POSIX.
15866
15867 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15868
15869         * locale/iso-639.def: Add Meadow Mari (mhr).
15870
15871 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15872
15873         [BZ #14752], [BZ #15763]
15874         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15875         Validate name.
15876         * rt/tst_shm.c: Add test for escaping directory.
15877
15878 2013-10-31  Andreas Schwab  <schwab@suse.de>
15879
15880         [BZ #15917]
15881         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15882         followed by 'x' as part of digit sequence.
15883         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15884
15885 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15886
15887         [BZ #16037]
15888         * configure.ac: allow GNU Make 4.0 and greater.
15889         * configure: Regenerated.
15890
15891 2013-10-30  Will Newton  <will.newton@linaro.org>
15892
15893         [BZ #16038]
15894         * malloc/hooks.c (memalign_check): Limit alignment to the
15895         maximum representable power of two.
15896         * malloc/malloc.c (__libc_memalign): Likewise.
15897         * malloc/tst-memalign.c (do_test): Add test for very
15898         large alignment values.
15899         * malloc/tst-posix_memalign.c (do_test): Likewise.
15900
15901 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15902
15903         [BZ #11087]
15904         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15905         (munmap_chunk): Likewise.
15906         (mremap_chunk): Likewise.
15907
15908 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15909
15910         [BZ #15799]
15911         * stdlib/div.c (div): Remove obsolete code.
15912         * stdlib/ldiv.c (ldiv): Likewise.
15913         * stdlib/lldiv.c (lldiv): Likewise.
15914
15915 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15916
15917         [BZ #16071]
15918         * nss/nss_files/files-XXX.c (get_contents_ret): New
15919         enumerator.
15920         (get_contents): New function.
15921         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15922
15923 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15924
15925         * configure.in: Moved to ...
15926         * configure.ac: ... here. Change reference to configure.in
15927         to configure.ac.
15928         * sysdeps/arm/preconfigure.ac: ... here.
15929         configure.in to configure.ac.
15930         * sysdeps/gnu/configure.in: Moved to ...
15931         * sysdeps/gnu/configure.ac: ... here.
15932         * sysdeps/i386/configure.in: Moved to ...
15933         * sysdeps/i386/configure.ac: ... here.
15934         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15935         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15936         * sysdeps/mach/configure.in: Moved to ...
15937         * sysdeps/mach/configure.ac: ... here.
15938         * sysdeps/mach/hurd/configure.in: Moved to ...
15939         * sysdeps/mach/hurd/configure.ac: ... here.
15940         * sysdeps/powerpc/configure.in: Moved to ...
15941         * sysdeps/powerpc/configure.ac: ... here.
15942         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15943         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15944         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15945         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15946         * sysdeps/s390/s390-32/configure.in: Moved to ...
15947         * sysdeps/s390/s390-32/configure.ac: ... here.
15948         * sysdeps/s390/s390-64/configure.in: Moved to ...
15949         * sysdeps/s390/s390-64/configure.ac: ... here.
15950         * sysdeps/sh/configure.in: Moved to ...
15951         * sysdeps/sh/configure.ac: ... here.
15952         * sysdeps/sparc/configure.in: Moved to ...
15953         * sysdeps/sparc/configure.ac: ... here.
15954         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15955         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15956         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15957         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15958         * sysdeps/x86_64/configure.in: Moved to ...
15959         * sysdeps/x86_64/configure.ac: ... here.
15960         * sysdeps/x86_64/preconfigure.in: Moved to ...
15961         * sysdeps/x86_64/preconfigure.ac: ... here.
15962         * aclocal.m4: Change reference to configure.in to configure.ac.
15963         * config.h.in: Likewise.
15964         * manual/install.texi: Likewise.
15965         * manual/maint.texi: Likewise.
15966         * Makefile: Likewise.
15967         * malloc/Makefile: Likewise.
15968         * nscd/Makefile: Likewise.
15969         * Makeconfig: Change reference to configure.in and
15970         preconfigure.in to configure.ac and preconfigure.ac
15971         respectively.
15972         * INSTALL: Regenerated.
15973         * configure: Likewise.
15974         * sysdeps/gnu/configure: Likewise.
15975         * sysdeps/i386/configure: Likewise.
15976         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15977         * sysdeps/mach/configure: Likewise.
15978         * sysdeps/mach/hurd/configure: Likewise.
15979         * sysdeps/powerpc/configure: Likewise.
15980         * sysdeps/powerpc/powerpc32/configure: Likewise.
15981         * sysdeps/powerpc/powerpc64/configure: Likewise.
15982         * sysdeps/s390/s390-32/configure: Likewise.
15983         * sysdeps/s390/s390-64/configure: Likewise.
15984         * sysdeps/sh/configure: Likewise.
15985         * sysdeps/sparc/configure: Likewise.
15986         * sysdeps/unix/sysv/linux/configure: Likewise.
15987         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15988         * sysdeps/x86_64/configure: Likewise.
15989         * sysdeps/x86_64/preconfigure: Likewise.
15990
15991 2013-10-29  Andreas Schwab  <schwab@suse.de>
15992
15993         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15994
15995 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15996
15997         * benchtests/pow-inputs: Add new inputs.
15998
15999         * benchtests/exp-inputs: Add new inputs.
16000
16001         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16002         conditional check for return value.
16003         (__cos32): Likewise.
16004
16005 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16006
16007         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16008         to provide a boost for large inputs with word alignment.
16009         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16010         implementation based on optimized PPC64 strcpy.
16011         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16012         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16013         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16014         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16015
16016 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16017
16018         [BZ #2801]
16019         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16020
16021 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16022
16023         [BZ #14876]
16024         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16025         * time/tst-strptime.c (day_tests): Add testcase.
16026
16027 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16028
16029         [BZ #14029]
16030         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16031
16032 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16033
16034         [BZ #16074]
16035         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16036         MAP_FAILED on error.
16037
16038 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16039
16040         [BZ #16072]
16041         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16042         heap for large requests.
16043
16044 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16045
16046         [BZ #9954]
16047         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16048         result if the result has no associated interface.
16049         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16050         interface for all 127.X.Y.Z addresses.
16051
16052 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16053
16054         * locale/iso-639.def: Add Ligurian (lij)
16055
16056 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16057
16058         [BZ #15825]
16059         * sunrpc/rpc_main.c: Document rpcgen -5.
16060
16061 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16062
16063         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16064
16065 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16066
16067         [BZ #10278]
16068         * posix/glob.c: Match only directories when trailing slash is present.
16069         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16070         (main): Add testcase.
16071
16072 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16073
16074         [BZ #15670]
16075         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16076
16077 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16078
16079         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16080         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16081         AUTH_DES and cindex for FIPS 140-2.
16082         (DES Encryption): Add cindex FIPS 46-3.
16083
16084         * locale/locarchive.h (struct locarhandle): Add fname.
16085         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16086         if an optional argument was specified to --list-archive,
16087         otherwise NULL.
16088         * locale/programs/locarchive.c (show_archive_content): Take new
16089         argument fname and pass it via ah.fname to open_archive.
16090         * locale/programs/localedef.h: Update decl.
16091         (open_archive): If AH->fname is non-null, open that file
16092         rather than the default file name, and don't ignore ENOENT.
16093         (create_archive): Set AH.fname to NULL.
16094         (delete_locales_from_archive): Likewise.
16095         (add_locales_to_archive): Likewise.
16096         * locale/programs/locfile.c (write_all_categories): Likewise.
16097
16098 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16099             Aldy Hernandez  <aldyh@redhat.com>
16100
16101         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16102         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16103         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16104         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16105         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16109         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16110         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16111         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16112         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16113         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16114         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16115         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16116         Likewise.
16117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16118         Likewise.
16119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16120         Likewise.
16121         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16122         Likewise.
16123         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16124         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16125         Likewise.
16126         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16127         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16128         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16129         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16130         Likewise.
16131         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16132         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16133         * sysdeps/powerpc/preconfigure: Likewise.
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16135         Likewise.
16136         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16137         Replace contents of file by #include of <fenv_libc.h>.
16138         * sysdeps/powerpc/soft-fp/sfp-machine.h
16139         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16140         and <sys/prctl.h>.
16141         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16154         Allow copysignl PLT reference to be missing.
16155
16156 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16157             Joseph Myers  <joseph@codesourcery.com
16158
16159         [BZ #15948]
16160         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16161         single character.
16162         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16163
16164 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16165
16166         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16167         * elf/tst-tls1.c: Likewise.
16168         * elf/tst-tls10.h: Likewise.
16169         * elf/tst-tls14.c: Likewise.
16170         * elf/tst-tls2.c: Likewise.
16171         * elf/tst-tls3.c: Likewise.
16172         * elf/tst-tls4.c: Likewise.
16173         * elf/tst-tls5.c: Likewise.
16174         * elf/tst-tls6.c: Likewise.
16175         * elf/tst-tls7.c: Likewise.
16176         * elf/tst-tls8.c: Likewise.
16177         * elf/tst-tls9.c: Likewise.
16178         * elf/tst-tlsmod1.c: Likewise.
16179         * elf/tst-tlsmod13.c: Likewise.
16180         * elf/tst-tlsmod13a.c: Likewise.
16181         * elf/tst-tlsmod14a.c: Likewise.
16182         * elf/tst-tlsmod16a.c: Likewise.
16183         * elf/tst-tlsmod16b.c: Likewise.
16184         * elf/tst-tlsmod2.c: Likewise.
16185         * elf/tst-tlsmod3.c: Likewise.
16186         * elf/tst-tlsmod4.c: Likewise.
16187         * elf/tst-tlsmod5.c: Likewise.
16188         * elf/tst-tlsmod6.c: Likewise.
16189
16190 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16191
16192         [BZ #12486]
16193         * malloc/malloc.c: remove checks for statistics.
16194
16195 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16196
16197         [BZ #15277]
16198         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16199         * inet/tst-network.c: Add testcase.
16200
16201 2013-10-17  Andreas Schwab  <schwab@suse.de>
16202
16203         [BZ #15218]
16204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16205         to determine canonical name.
16206
16207 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16208
16209         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16210         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16211         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16212         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16213         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16214         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16215         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16216         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16217         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16218         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16219         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16220         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16221         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16222         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16223         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16224         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16226         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16227         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16228         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16229         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16230         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16231         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16232         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16233         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16234         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16235         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16236         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16237         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16238         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16239         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16240         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16241         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16242         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16243         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16244         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16245         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16246         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16247         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16248         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16249         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16250         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16251         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16252         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16253         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16254         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16255         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16256         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16257         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16258         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16259         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16260         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16261         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16262         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16263         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16264         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16266         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16267
16268 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16269
16270         [BZ #16041]
16271         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16272         make result into a quiet NaN.
16273
16274 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16275
16276         * soft-fp/adddf3.c: Fix horizontal whitespace.
16277         * soft-fp/addsf3.c: Likewise.
16278         * soft-fp/addtf3.c: Likewise.
16279         * soft-fp/divdf3.c: Likewise.
16280         * soft-fp/divsf3.c: Likewise.
16281         * soft-fp/divtf3.c: Likewise.
16282         * soft-fp/double.h: Likewise.
16283         * soft-fp/eqdf2.c: Likewise.
16284         * soft-fp/eqsf2.c: Likewise.
16285         * soft-fp/eqtf2.c: Likewise.
16286         * soft-fp/extenddftf2.c: Likewise.
16287         * soft-fp/extended.h: Likewise.
16288         * soft-fp/extendsfdf2.c: Likewise.
16289         * soft-fp/extendsftf2.c: Likewise.
16290         * soft-fp/extendxftf2.c: Likewise.
16291         * soft-fp/fixdfdi.c: Likewise.
16292         * soft-fp/fixdfsi.c: Likewise.
16293         * soft-fp/fixdfti.c: Likewise.
16294         * soft-fp/fixsfdi.c: Likewise.
16295         * soft-fp/fixsfsi.c: Likewise.
16296         * soft-fp/fixsfti.c: Likewise.
16297         * soft-fp/fixtfdi.c: Likewise.
16298         * soft-fp/fixtfsi.c: Likewise.
16299         * soft-fp/fixtfti.c: Likewise.
16300         * soft-fp/fixunsdfdi.c: Likewise.
16301         * soft-fp/fixunsdfsi.c: Likewise.
16302         * soft-fp/fixunsdfti.c: Likewise.
16303         * soft-fp/fixunssfdi.c: Likewise.
16304         * soft-fp/fixunssfsi.c: Likewise.
16305         * soft-fp/fixunssfti.c: Likewise.
16306         * soft-fp/fixunstfdi.c: Likewise.
16307         * soft-fp/fixunstfsi.c: Likewise.
16308         * soft-fp/fixunstfti.c: Likewise.
16309         * soft-fp/floatdidf.c: Likewise.
16310         * soft-fp/floatdisf.c: Likewise.
16311         * soft-fp/floatditf.c: Likewise.
16312         * soft-fp/floatsidf.c: Likewise.
16313         * soft-fp/floatsisf.c: Likewise.
16314         * soft-fp/floatsitf.c: Likewise.
16315         * soft-fp/floattidf.c: Likewise.
16316         * soft-fp/floattisf.c: Likewise.
16317         * soft-fp/floattitf.c: Likewise.
16318         * soft-fp/floatundidf.c: Likewise.
16319         * soft-fp/floatundisf.c: Likewise.
16320         * soft-fp/floatunditf.c: Likewise.
16321         * soft-fp/floatunsidf.c: Likewise.
16322         * soft-fp/floatunsisf.c: Likewise.
16323         * soft-fp/floatunsitf.c: Likewise.
16324         * soft-fp/floatuntidf.c: Likewise.
16325         * soft-fp/floatuntisf.c: Likewise.
16326         * soft-fp/floatuntitf.c: Likewise.
16327         * soft-fp/fmadf4.c: Likewise.
16328         * soft-fp/fmasf4.c: Likewise.
16329         * soft-fp/fmatf4.c: Likewise.
16330         * soft-fp/gedf2.c: Likewise.
16331         * soft-fp/gesf2.c: Likewise.
16332         * soft-fp/getf2.c: Likewise.
16333         * soft-fp/ledf2.c: Likewise.
16334         * soft-fp/lesf2.c: Likewise.
16335         * soft-fp/letf2.c: Likewise.
16336         * soft-fp/muldf3.c: Likewise.
16337         * soft-fp/mulsf3.c: Likewise.
16338         * soft-fp/multf3.c: Likewise.
16339         * soft-fp/negdf2.c: Likewise.
16340         * soft-fp/negsf2.c: Likewise.
16341         * soft-fp/negtf2.c: Likewise.
16342         * soft-fp/op-1.h: Likewise.
16343         * soft-fp/op-2.h: Likewise.
16344         * soft-fp/op-4.h: Likewise.
16345         * soft-fp/op-8.h: Likewise.
16346         * soft-fp/op-common.h: Likewise.
16347         * soft-fp/quad.h: Likewise.
16348         * soft-fp/single.h: Likewise.
16349         * soft-fp/soft-fp.h: Likewise.
16350         * soft-fp/sqrtdf2.c: Likewise.
16351         * soft-fp/sqrtsf2.c: Likewise.
16352         * soft-fp/sqrttf2.c: Likewise.
16353         * soft-fp/subdf3.c: Likewise.
16354         * soft-fp/subsf3.c: Likewise.
16355         * soft-fp/subtf3.c: Likewise.
16356         * soft-fp/truncdfsf2.c: Likewise.
16357         * soft-fp/trunctfdf2.c: Likewise.
16358         * soft-fp/trunctfsf2.c: Likewise.
16359         * soft-fp/trunctfxf2.c: Likewise.
16360         * soft-fp/unorddf2.c: Likewise.
16361         * soft-fp/unordsf2.c: Likewise.
16362         * soft-fp/unordtf2.c: Likewise.
16363
16364 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16365
16366         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16367         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16368
16369 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16370
16371         * elf/dl-libc.c: Clear initfini list after freeing.
16372
16373 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16374
16375         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16376         * soft-fp/addsf3.c: Likewise.
16377         * soft-fp/addtf3.c: Likewise.
16378         * soft-fp/divdf3.c: Likewise.
16379         * soft-fp/divsf3.c: Likewise.
16380         * soft-fp/divtf3.c: Likewise.
16381         * soft-fp/double.h: Likewise.
16382         * soft-fp/eqdf2.c: Likewise.
16383         * soft-fp/eqsf2.c: Likewise.
16384         * soft-fp/eqtf2.c: Likewise.
16385         * soft-fp/extenddftf2.c: Likewise.
16386         * soft-fp/extended.h: Likewise.
16387         * soft-fp/extendsfdf2.c: Likewise.
16388         * soft-fp/extendsftf2.c: Likewise.
16389         * soft-fp/extendxftf2.c: Likewise.
16390         * soft-fp/fixdfdi.c: Likewise.
16391         * soft-fp/fixdfsi.c: Likewise.
16392         * soft-fp/fixdfti.c: Likewise.
16393         * soft-fp/fixsfdi.c: Likewise.
16394         * soft-fp/fixsfsi.c: Likewise.
16395         * soft-fp/fixsfti.c: Likewise.
16396         * soft-fp/fixtfdi.c: Likewise.
16397         * soft-fp/fixtfsi.c: Likewise.
16398         * soft-fp/fixtfti.c: Likewise.
16399         * soft-fp/fixunsdfdi.c: Likewise.
16400         * soft-fp/fixunsdfsi.c: Likewise.
16401         * soft-fp/fixunsdfti.c: Likewise.
16402         * soft-fp/fixunssfdi.c: Likewise.
16403         * soft-fp/fixunssfsi.c: Likewise.
16404         * soft-fp/fixunssfti.c: Likewise.
16405         * soft-fp/fixunstfdi.c: Likewise.
16406         * soft-fp/fixunstfsi.c: Likewise.
16407         * soft-fp/fixunstfti.c: Likewise.
16408         * soft-fp/floatdidf.c: Likewise.
16409         * soft-fp/floatdisf.c: Likewise.
16410         * soft-fp/floatditf.c: Likewise.
16411         * soft-fp/floatsidf.c: Likewise.
16412         * soft-fp/floatsisf.c: Likewise.
16413         * soft-fp/floatsitf.c: Likewise.
16414         * soft-fp/floattidf.c: Likewise.
16415         * soft-fp/floattisf.c: Likewise.
16416         * soft-fp/floattitf.c: Likewise.
16417         * soft-fp/floatundidf.c: Likewise.
16418         * soft-fp/floatundisf.c: Likewise.
16419         * soft-fp/floatunsidf.c: Likewise.
16420         * soft-fp/floatunsisf.c: Likewise.
16421         * soft-fp/floatuntidf.c: Likewise.
16422         * soft-fp/floatuntisf.c: Likewise.
16423         * soft-fp/floatuntitf.c: Likewise.
16424         * soft-fp/fmadf4.c: Likewise.
16425         * soft-fp/fmasf4.c: Likewise.
16426         * soft-fp/fmatf4.c: Likewise.
16427         * soft-fp/gedf2.c: Likewise.
16428         * soft-fp/gesf2.c: Likewise.
16429         * soft-fp/getf2.c: Likewise.
16430         * soft-fp/ledf2.c: Likewise.
16431         * soft-fp/lesf2.c: Likewise.
16432         * soft-fp/letf2.c: Likewise.
16433         * soft-fp/muldf3.c: Likewise.
16434         * soft-fp/mulsf3.c: Likewise.
16435         * soft-fp/multf3.c: Likewise.
16436         * soft-fp/negdf2.c: Likewise.
16437         * soft-fp/negsf2.c: Likewise.
16438         * soft-fp/negtf2.c: Likewise.
16439         * soft-fp/op-1.h: Likewise.
16440         * soft-fp/op-2.h: Likewise.
16441         * soft-fp/op-4.h: Likewise.
16442         * soft-fp/op-8.h: Likewise.
16443         * soft-fp/op-common.h: Likewise.
16444         * soft-fp/quad.h: Likewise.
16445         * soft-fp/single.h: Likewise.
16446         * soft-fp/soft-fp.h: Likewise.
16447         * soft-fp/sqrtdf2.c: Likewise.
16448         * soft-fp/sqrtsf2.c: Likewise.
16449         * soft-fp/sqrttf2.c: Likewise.
16450         * soft-fp/subdf3.c: Likewise.
16451         * soft-fp/subsf3.c: Likewise.
16452         * soft-fp/subtf3.c: Likewise.
16453         * soft-fp/truncdfsf2.c: Likewise.
16454         * soft-fp/trunctfdf2.c: Likewise.
16455         * soft-fp/trunctfsf2.c: Likewise.
16456         * soft-fp/trunctfxf2.c: Likewise.
16457         * soft-fp/unorddf2.c: Likewise.
16458         * soft-fp/unordsf2.c: Likewise.
16459         * soft-fp/unordtf2.c: Likewise.
16460
16461 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16462
16463         [BZ #15672]
16464         * misc/error.c (error_tail): Fix possible buffer overflow.
16465
16466 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16467
16468         [BZ #13028]
16469         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16470         address.
16471
16472 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16473
16474         [BZ #832]
16475         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16476         testing pipefail option.
16477
16478 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16479
16480         * soft-fp/double.h: Indent preprocessor directives inside #if.
16481         * soft-fp/extended.h: Likewise.
16482         * soft-fp/op-2.h: Likewise.
16483         * soft-fp/op-4.h: Likewise.
16484         * soft-fp/op-common.h: Likewise.
16485         * soft-fp/quad.h: Likewise.
16486         * soft-fp/single.h: Likewise.
16487         * soft-fp/soft-fp.h: Likewise.
16488
16489 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16490
16491         * iconv/iconv_prog.c: Fix typos.
16492         * stdio-common/psiginfo-data.h: Likewise.
16493
16494 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16495
16496         [BZ #15764]
16497         * locale/setlocale.c: Fix typo.
16498
16499 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16500
16501         [BZ #16036]
16502         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16503         signaling NaN arguments.
16504         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16505         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16506
16507         [BZ #14910]
16508         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16509         unordered operands.
16510         * soft-fp/gesf2.c (__gesf2): Likewise.
16511         * soft-fp/getf2.c (__getf2): Likewise.
16512         * soft-fp/ledf2.c (__ledf2): Likewise.
16513         * soft-fp/lesf2.c (__lesf2): Likewise.
16514         * soft-fp/letf2.c (__letf2): Likewise.
16515
16516         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16517         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16518         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16519         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16520         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16521         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16522         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16523         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16524         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16525         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16526         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16527         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16528         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16529         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16530         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16531         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16532         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16533         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16534         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16535         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16536         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16537         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16538         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16539         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16540         * soft-fp/floattidf.c (__floattidf): Likewise.
16541         * soft-fp/floattisf.c (__floattisf): Likewise.
16542         * soft-fp/floattitf.c (__floattitf): Likewise.
16543         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16544         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16545         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16546         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16547         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16548         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16549         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16550         * soft-fp/gesf2.c (__gesf2): Likewise.
16551         * soft-fp/getf2.c (__getf2): Likewise.
16552         * soft-fp/ledf2.c (__ledf2): Likewise.
16553         * soft-fp/lesf2.c (__lesf2): Likewise.
16554         * soft-fp/letf2.c (__letf2): Likewise.
16555
16556         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16557         Undefine and redefine.
16558         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16559         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16560         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16561         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16562         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16563         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16564         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16565         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16566         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16567         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16568         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16569         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16570         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16571         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16572         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16573
16574         [BZ #16032]
16575         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16576         without decrementing exponent if mantissa >= that for the
16577         denominator, not >.
16578         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16579         denominator, not >.  Decrement exponent in < case instead of
16580         incrementing in >= case.
16581         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16582         without decrementing exponent if mantissa >= that for the
16583         denominator, not >.
16584
16585         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16586         computing saturated result for unsigned overflow.
16587
16588 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16589             Jeff Law  <law@redhat.com>
16590
16591         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16592         (atan2Mp): Add systemtap probe marker.
16593         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16594         (__ieee754_log): Add systemtap probe marker.
16595         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16596         (atanMp): Add systemtap probe marker.
16597         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16598         (tanMp): Add systemtap probe marker.
16599         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16600         (__slowexp): Add systemtap probe marker.
16601         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16602         (__slowpow): Add systemtap probe marker.
16603         * manual/probes.texi: Document probes.
16604
16605 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16606
16607         [BZ #15362]
16608         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16609         written.
16610         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16611         written.
16612         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16613         written to buffer but not flushed.
16614         * libio/iofwrite_u.c:  Likewise.
16615         * libio/iopadn.c:  Return bytes returned even if EOF was
16616         encountered.
16617         * libio/iowpadn.c:  Likewise.
16618         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16619         if _IO_padn does not write the whole buffer.
16620         [!COMPILE_WPRINTF] (PAD): Likewise.
16621
16622 2013-10-10  David S. Miller  <davem@davemloft.net>
16623
16624         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16625         directory block.
16626
16627 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16628
16629         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16630         instead of FSF address.
16631         * soft-fp/fixdfti.c: Likewise.
16632         * soft-fp/fixsfti.c: Likewise.
16633         * soft-fp/fixtfti.c: Likewise.
16634         * soft-fp/fixunsdfti.c: Likewise.
16635         * soft-fp/fixunssfti.c: Likewise.
16636         * soft-fp/fixunstfti.c: Likewise.
16637         * soft-fp/floattidf.c: Likewise.
16638         * soft-fp/floattisf.c: Likewise.
16639         * soft-fp/floattitf.c: Likewise.
16640         * soft-fp/floatuntidf.c: Likewise.
16641         * soft-fp/floatuntisf.c: Likewise.
16642         * soft-fp/floatuntitf.c: Likewise.
16643         * soft-fp/trunctfxf2.c: Likewise.
16644
16645         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16646         * soft-fp/fixdfti.c: Likewise.
16647         * soft-fp/fixsfti.c: Likewise.
16648         * soft-fp/fixtfti.c: Likewise.
16649         * soft-fp/fixunsdfti.c: Likewise.
16650         * soft-fp/fixunssfti.c: Likewise.
16651         * soft-fp/fixunstfti.c: Likewise.
16652         * soft-fp/floattidf.c: Likewise.
16653         * soft-fp/floattisf.c: Likewise.
16654         * soft-fp/floattitf.c: Likewise.
16655         * soft-fp/floatuntidf.c: Likewise.
16656         * soft-fp/floatuntisf.c: Likewise.
16657         * soft-fp/floatuntitf.c: Likewise.
16658         * soft-fp/trunctfxf2.c: Likewise.
16659
16660 2013-10-10  David S. Miller  <davem@davemloft.net>
16661
16662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16663
16664 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16665
16666         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16667         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16668         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16669         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16670         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16671         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16672         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16673
16674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16675         for NaNs before doing comparisons on argument.
16676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16677         Likewise.
16678
16679 2013-10-10  Will Newton  <will.newton@linaro.org>
16680
16681         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16682         passed to _int_memalign does not overflow.
16683
16684 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16685
16686         * scripts/bench.pl: Add include-sources directive.
16687         * benchtests/README: Update documentation.
16688
16689 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16690
16691         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16692         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16693         instead of FP_INIT_ROUNDMODE.
16694         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16695         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16696
16697         [BZ #16034]
16698         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16699         copy class of input value.
16700         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16701         not handle exceptions.
16702         * soft-fp/negsf2.c (__negsf2): Likewise.
16703         * soft-fp/negtf2.c (__negtf2): Likewise.
16704         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16705
16706 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16707
16708         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16709         semicolon.  From Linux kernel.
16710
16711 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16712
16713         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16714
16715 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16716
16717         [BZ #156]
16718         * manual/socket.texi: Added statement about buffer
16719         for gethostbyname2_r.
16720
16721 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16722
16723         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16724         Use .p2align directive instead, throughout.
16725         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16726         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16727         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16728         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16730         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16731         * sysdeps/x86_64/strchr.S: Likewise.
16732         * sysdeps/x86_64/strrchr.S: Likewise.
16733
16734 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16735
16736         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16737
16738         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16739
16740         * sysdeps/generic/math_private.h (__mpsin1): Remove
16741         declaration.
16742         (__mpcos1): Likewise.
16743         (__mpsin): New argument __range_reduce.
16744         (__mpcos): Likewise.
16745         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16746         (slow): Use __mpsin and __mpcos.
16747         (slow1): Likewise.
16748         (slow2): Likewise.
16749         (sloww): Likewise.
16750         (sloww1): Likewise.
16751         (sloww2): Likewise.
16752         (bsloww): Likewise.
16753         (bsloww1): Likewise.
16754         (bsloww2): Likewise.
16755         (cslow2): Likewise.
16756         (csloww): Likewise.
16757         (csloww1): Likewise.
16758         (csloww2): Likewise.
16759         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16760         range_reduce.  Merge in __mpsin1.
16761         (__mpcos): Likewise.
16762         (__mpsin1): Remove.
16763         (__mpcos1): Likewise.
16764
16765 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16766
16767         * locale/loadlocale.c (_nl_intern_locale_data): Use
16768         LOCFILE_ALIGNED_P.
16769         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16770         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16771         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16772         obstack data is appropriately aligned.
16773         (obstack_int32_grow_fast): Likewise.
16774         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16775         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16776         (add_locale_uint32_array): Likewise.
16777
16778 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16779
16780         * benchtests/Makefile: Remove ARGLIST and RET variables.
16781         ($(objpfx)bench-%.c): Pass only function name to the script.
16782         * benchtests/README: Update documentation.
16783         * benchtests/acos-inputs: Add new directives.
16784         * benchtests/acosh-inputs: Likewise.
16785         * benchtests/asin-inputs: Likewise.
16786         * benchtests/asinh-inputs: Likewise.
16787         * benchtests/atan-inputs: Likewise.
16788         * benchtests/atanh-inputs: Likewise.
16789         * benchtests/cos-inputs: Likewise.
16790         * benchtests/cosh-inputs: Likewise.
16791         * benchtests/exp-inputs: Likewise.
16792         * benchtests/log-inputs: Likewise.
16793         * benchtests/pow-inputs: Likewise.
16794         * benchtests/rint-inputs: Likewise.
16795         * benchtests/sin-inputs: Likewise.
16796         * benchtests/sinh-inputs: Likewise.
16797         * benchtests/tan-inputs: Likewise.
16798         * benchtests/tanh-inputs: Likewise.
16799         * scripts/bench.pl: Add support for new directives.
16800
16801 2013-10-07  Alan Modra  <amodra@gmail.com>
16802
16803         * README: Fix careless merge.
16804
16805 2013-10-05  Alan Modra  <amodra@gmail.com>
16806
16807         * NEWS: Mention powerpc64le support and bugs fixed.
16808         * README: Both big-endian and little-endian powerpc64 supported.
16809
16810 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16811
16812         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16813         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16814         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16815         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16816
16817 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16818
16819         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16820         match prototype.
16821
16822 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16823
16824         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16825         Move -mhard-float appending from
16826         ports/sysdeps/powerpc/powerpc32/Makefile.
16827         [$(with-fp) = yes] (ASFLAGS): Likewise.
16828         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16829         * sysdeps/powerpc/nofpu: Move directory from
16830         ports/sysdeps/powerpc/nofpu.
16831         * sysdeps/powerpc/soft-fp: Move directory from
16832         ports/sysdeps/powerpc/soft-fp.
16833         * sysdeps/powerpc/powerpc32/405: Move directory from
16834         ports/sysdeps/powerpc/powerpc32/405.
16835         * sysdeps/powerpc/powerpc32/440: Move directory from
16836         ports/sysdeps/powerpc/powerpc32/440.
16837         * sysdeps/powerpc/powerpc32/464: Move directory from
16838         ports/sysdeps/powerpc/powerpc32/464.
16839         * sysdeps/powerpc/powerpc32/476: Move directory from
16840         ports/sysdeps/powerpc/powerpc32/476.
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16851         * README: Update for powerpc-*-linux-gnu software floating point
16852         support in libc.
16853
16854         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16855         case to powerpc/powerpc32*.
16856         * sysdeps/unix/sysv/linux/configure: Regenerated.
16857
16858         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16859         (_FPU_MASK_OM): Define as 0x04.
16860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16862         0x00c10080.
16863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16864         0x0000003c.
16865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16866
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16868         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16869         getcontext_e500.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16871         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16872         setcontext_e500.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16874         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16875         and setcontext_e500.
16876
16877 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16878
16879         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16880
16881 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16882
16883         * manual/threads.texi (Default Thread Attributes): Fix typo.
16884
16885 2013-10-04  Will Newton  <will.newton@linaro.org>
16886
16887         * malloc/Makefile: Add tst-memalign.
16888         * malloc/tst-memalign.c: New file.
16889
16890         * malloc/tst-posix_memalign.c: Add comments.
16891         (do_test): Add comments and call free on all potentially
16892         allocated pointers. Add space after cast.
16893
16894         * malloc/tst-pvalloc.c: Add comments.
16895         (do_test): Add comments and call free on all potentially
16896         allocated pointers. Remove duplicate check for NULL pointer.
16897         Add space after cast.
16898
16899         * malloc/tst-valloc.c: Add comments.
16900         (do_test): Add comments and call free on all potentially
16901         allocated pointers. Remove duplicate check for NULL pointer.
16902         Add space after cast.
16903
16904 2013-10-04  Alan Modra  <amodra@gmail.com>
16905
16906         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16907         Use stdint types in rather than __attribute__((mode())).
16908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16909
16910 2013-10-04  Alan Modra  <amodra@gmail.com>
16911
16912         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16913         Correct handling of unaligned relocs for little-endian.
16914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16915
16916 2013-10-04  Alan Modra  <amodra@gmail.com>
16917
16918         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16919         * configure: Regenerate.
16920         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16921         * shlib-versions: Likewise.
16922
16923 2013-10-04  Alan Modra  <amodra@gmail.com>
16924
16925         * string/tester.c (test_memrchr): Increment reported test cycle.
16926
16927 2013-10-04  Alan Modra  <amodra@gmail.com>
16928
16929         * string/test-memcpy.c (do_one_test): When reporting errors, print
16930         string address and don't overrun end of string.
16931
16932 2013-10-04  Alan Modra  <amodra@gmail.com>
16933
16934         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16935         insrdi.  Make better use of reg selection to speed exit slightly.
16936         Schedule entry path a little better.  Remove useless "are we done"
16937         checks on entry to main loop.  Handle wrapping around zero address.
16938         Correct main loop count.  Handle single left-over word from main
16939         loop inline rather than by using loop_small.  Remove extra word
16940         case in loop_small caused by wrong loop count.  Add little-endian
16941         support.
16942         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16943         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16944         cache hint.
16945         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16946         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16947         support.  Avoid rlwimi.
16948         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16949
16950 2013-10-04  Alan Modra  <amodra@gmail.com>
16951
16952         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16953         insrdi.  Formatting.
16954         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16955         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16956         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16957         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16958         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16959         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16960
16961 2013-10-04  Alan Modra  <amodra@gmail.com>
16962
16963         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16964         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16965         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16966         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16967         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16968         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16969         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16970         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16971         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16972         use of regs.  Use power7 mtocrf.  Tidy function tails.
16973
16974 2013-10-04  Alan Modra  <amodra@gmail.com>
16975
16976         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16977         Formatting.  Consistently use rXXX register defines or rN defines.
16978         Use early exit labels that avoid restoring unused non-volatile regs.
16979         Make cr field use more consistent with rWORDn compares.  Rename
16980         regs used as shift registers for unaligned loop, using rN defines
16981         for short lifetime/multiple use regs.
16982         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16983         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16984         addi 1,1,64 to pop stack frame.  Simplify return value code.
16985         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16986
16987 2013-10-04  Alan Modra  <amodra@gmail.com>
16988
16989         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16990         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16991         rather than rlwimi.
16992         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16993         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16994         little-endian support.  Correct typos.
16995         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16996         rather than rlwimi.
16997         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16998         in loop and entry code to keep "and." results.
16999         (strchr): Add little-endian support.  Comment.  Move cntlzd
17000         earlier in tail.
17001         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17002
17003 2013-10-04  Alan Modra  <amodra@gmail.com>
17004
17005         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17006         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17007         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17008         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17009
17010 2013-10-04  Alan Modra  <amodra@gmail.com>
17011
17012         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17013         (rTMP): Define as r11.
17014         (strcmp): Add little-endian support.  Optimise tail.
17015         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17016         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17017         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17018         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17019         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17021         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17022
17023 2013-10-04  Alan Modra  <amodra@gmail.com>
17024
17025         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17026         little-endian support.  Remove unnecessary "are we done" tests.
17027         Handle "s" wrapping around zero and extremely large "size".
17028         Correct main loop count.  Handle single left-over word from main
17029         loop inline rather than by using small_loop.  Correct comments.
17030         Delete "zero" tail, use "end_max" instead.
17031         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17032
17033 2013-10-04  Alan Modra  <amodra@gmail.com>
17034
17035         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17036         support.  Don't branch over align.
17037         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17038         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17039         support.  Rearrange tmp reg use to suit.  Comment.
17040         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17041
17042 2013-10-04  Alan Modra  <amodra@gmail.com>
17043
17044         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17045
17046 2013-10-04  Alan Modra  <amodra@gmail.com>
17047
17048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17049         conditional form of branch and link when obtaining pc.
17050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17051
17052 2013-10-04  Alan Modra  <amodra@gmail.com>
17053
17054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17055         HIWORD/LOWORD.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17058
17059 2013-10-04  Alan Modra  <amodra@gmail.com>
17060
17061         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17062         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17063         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17064         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17065         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17066         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17067         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17068         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17069         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17070         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17071
17072 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17073             Alistair Popple <alistair@ozlabs.au.ibm.com>
17074             Alan Modra <amodra@gmail.com>
17075
17076         [BZ #15723]
17077         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17078         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17079         _dl_hwcap access for little-endian.
17080         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17081         destroy vmx regs when saving unaligned.
17082         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17083         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17084         destroy vmx regs when saving unaligned.
17085
17086 2013-10-04  Alan Modra  <amodra@gmail.com>
17087
17088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17089         Don't use a union to pack hi/low value.
17090
17091 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17092
17093         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17094         for little-endian.
17095         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17096         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17097         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17098         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17099         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17100
17101 2013-10-04  Alan Modra  <amodra@gmail.com>
17102
17103         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17104         constants to usual value for .cst8 section, and remove redundant
17105         high address load.
17106         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17107         constant for 0x1p52.  Load little-endian words of double from
17108         correct stack offsets.
17109
17110 2013-10-04  Alan Modra  <amodra@gmail.com>
17111
17112         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17113         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17114         words of double from correct stack offsets.
17115         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17116         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17117         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17118         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17119         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17120         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17121         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17122         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17123         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17125         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17126         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17127         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17128         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17129         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17130         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17131         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17132
17133 2013-10-04  Alan Modra  <amodra@gmail.com>
17134
17135         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17136         64-bit int/double union.
17137         (_FPU_SETCW): Likewise.
17138         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17139         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17140
17141 2013-10-04  Alan Modra  <amodra@gmail.com>
17142
17143         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17144         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17145
17146 2013-10-04  Alan Modra  <amodra@gmail.com>
17147
17148         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17149         use vector int constants.
17150         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17151
17152 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17153
17154         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17155         array with long long.
17156         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17157         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17158         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17159         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17160         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17161         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17162         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17163         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17164         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17165         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17166         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17167         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17168         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17169
17170 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17171
17172         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17173         (__signbit): Likewise.  Correct for little-endian.
17174         (__signbitl): Call __signbit.
17175         (lrint): Correct for little-endian.
17176         (lrintf): Call lrint.
17177
17178 2013-10-04  Alan Modra  <amodra@gmail.com>
17179
17180         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17181         union 32-bit int array member with 64-bit int array.
17182         (t515, tm256): Double rather than long double.
17183         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17184
17185 2013-10-04  Alan Modra  <amodra@gmail.com>
17186
17187         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17188         Delete.
17189         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17191         version of math_ldbl.h.
17192
17193 2013-10-04  Alan Modra  <amodra@gmail.com>
17194
17195         [BZ #15734], [BZ #15735]
17196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17197         all uses of ieee875 long double macros and unions.  Simplify test
17198         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17199         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17200         normalize after ldbl_extract_mantissa, and don't add hidden bit
17201         already handled.  Don't treat low word of ieee854 mantissa like
17202         low word of IBM long double and mask off bit when testing for
17203         zero.
17204         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17205         all uses of ieee875 long double macros and unions.  Simplify tests
17206         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17207         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17208         two1022, instead use their values.  Recognise that tests for large
17209         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17211         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17212         test for 0.0L and nan.  Correct negation.
17213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17214         ieee875 long double macros and unions.  Correct output for large
17215         magnitude x.  Correct absolute value calculation.
17216         (__erfcl): Likewise.
17217         * math/libm-test.inc: Add tests for errors discovered in IBM long
17218         double versions of fmodl, remainderl, erfl and erfcl.
17219
17220 2013-10-04  Alan Modra  <amodra@gmail.com>
17221
17222         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17223         all uses of ieee854 long double macros and unions.  Simplify tests
17224         for long doubles that are fully specified by the high double.
17225         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17226         Likewise.
17227         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17228         Remove dead code too.
17229         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17230         (__ieee754_ynl): Likewise.
17231         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17232         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17233         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17234         Remove dead code too.
17235         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17236         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17237         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17238         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17239         Simplify.
17240         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17241         Simplify.
17242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17243         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17245         Comment on variable precision.
17246         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17247         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17248         Likewise.
17249         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17250         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17251         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17252         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17253         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17254
17255 2013-10-04  Alan Modra  <amodra@gmail.com>
17256
17257         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17258         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17259         all uses of ieee854 long double macros and unions.
17260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17262         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17263         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17264         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17265         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17266         Likewise.
17267         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17268         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17269         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17270         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17271         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17272         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17273         Simplify sign and nan test too.
17274         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17275         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17276         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17277         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17278         Likewise.
17279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17280         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17281         Likewise.
17282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17283         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17284         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17285         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17286         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17287         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17288
17289 2013-10-04  Alan Modra  <amodra@gmail.com>
17290
17291         * stdio-common/printf_size.c (__printf_size): Don't use
17292         union ieee854_long_double in fpnum union.
17293         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17294         signbit macro to retrieve sign from long double.
17295         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17296         retrieve sign from long double.
17297         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17298         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17299         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17300         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17301         * math/test-misc.c (main): Don't use union ieee854_long_double.
17302
17303 2013-10-04  Alan Modra  <amodra@gmail.com>
17304
17305         [BZ #15680]
17306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17307         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17308         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17309         calculation.  Remove unnecessary test for denormal exponent.
17310         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17311         Correct handling of denormals.  Avoid undefined shift behaviour.
17312         Correct normalisation of low mantissa when low double is denormal.
17313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17314         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17315         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17316         Correct normalisation of low mantissa.  Test for overflow of high
17317         mantissa and normalise.
17318         (ldbl_nearbyint): Use more readable constant for two52.
17319         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17320         (__mpn_construct_long_double): Fix test for overflow of high
17321         mantissa and correct normalisation.  Avoid undefined shift.
17322
17323 2013-10-04  Alan Modra  <amodra@gmail.com>
17324
17325         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17326         (union ibm_extended_long_double): Define as an array of ieee754_double.
17327         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17328         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17329         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17330         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17332         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17333         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17334         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17335         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17336         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17337         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17338
17339 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17340
17341         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17342         page size instead of calling getpagesize.
17343
17344         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17345         (LOCFILE_ALIGN_MASK): Likewise.
17346         (LOCFILE_ALIGN_UP): Likewise.
17347         (LOCFILE_ALIGNED_P): Likewise.
17348         * locale/programs/ld-collate.c (collate_output): Use the new
17349         macros instead of __alignof__ (int32_t).
17350         * locale/weight.h (findidx): Likewise.
17351
17352 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17353
17354         [BZ #431]
17355         * manual/string.texi: Fix strncat and wcsncat.
17356
17357 2013-10-03  Brooks Moses  <bmoses@google.com>
17358
17359         [BZ #15915]
17360         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17361         * Makerules: ...here, and adjust associated comments.
17362
17363 2013-10-02  Will Newton  <will.newton@linaro.org>
17364
17365         * malloc/Makefile: Add tst-pvalloc.
17366         * malloc/tst-pvalloc.c: New file.
17367
17368 2013-10-02  Will Newton  <will.newton@linaro.org>
17369
17370         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17371         improve test coverage.
17372
17373 2013-10-02  Will Newton  <will.newton@linaro.org>
17374
17375         * malloc/Makefile: Add tst-posix_memalign.
17376         * malloc/tst-posix_memalign.c: New file.
17377
17378 2013-10-01  Eric Blake  <eblake@redhat.com>
17379
17380         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17381         Use __THROWNL rather than __THROW on static functions.
17382
17383 2013-09-30  Petr Machata  <pmachata@redhat.com>
17384
17385         * elf/elf.h (R_AARCH64_ABS16): New macro.
17386         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17387         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17388         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17389         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17390         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17391         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17392         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17393         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17394         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17395         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17396         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17397         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17398         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17399         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17400         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17401         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17402         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17403         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17404         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17405         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17406         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17407         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17408         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17409         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17410         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17411         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17412         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17413         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17414         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17415         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17416         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17417         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17418         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17419         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17420         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17421         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17422         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17423         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17424         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17425         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17426         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17427         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17428         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17429         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17430         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17431         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17432         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17433         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17434         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17435         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17436         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17437         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17438         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17439         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17440         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17441         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17442         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17443         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17444         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17445         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17446         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17447         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17448         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17449         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17450         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17451         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17452         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17453         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17454         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17455         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17456         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17457         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17458         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17459         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17460         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17461         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17462         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17463         (R_AARCH64_TLSDESC_LDR): Likewise.
17464         (R_AARCH64_TLSDESC_ADD): Likewise.
17465         (R_AARCH64_TLSDESC_CALL): Likewise.
17466
17467 2013-09-30  Andreas Schwab  <schwab@suse.de>
17468
17469         [BZ #15048]
17470         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17471         the nss database lookup.
17472         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17474
17475 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17476
17477         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17478
17479 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17480
17481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17482         ${Bash-specific parameter/pattern/string} parameter expansion.
17483         * sysdeps/unix/make-syscalls.sh: Likewise.
17484
17485 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17486
17487         * sysdeps/sh/stackguard-macros.h: New file.
17488
17489 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17490
17491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17493         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17494         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17495         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17496         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17497
17498 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17499
17500         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17501         Fix thread ID register.
17502
17503 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17504
17505         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17506         [POSIX || UNIX98]: Require rather than permitting all symbols from
17507         <time.h>.
17508         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17509         element of struct sched_param.
17510         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17511         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17512         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17513         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17514         constant.
17515
17516 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17517
17518         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17519         argument calculation.
17520
17521 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17522
17523         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17524         Expect macro.
17525         [POSIX] (pthread_attr_t): Do not require type.
17526         [POSIX] (pthread_cond_t): Likewise.
17527         [POSIX] (pthread_condattr_t): Likewise.
17528         [POSIX] (pthread_key_t): Likewise.
17529         [POSIX] (pthread_mutex_t): Likewise.
17530         [POSIX] (pthread_mutexattr_t): Likewise.
17531         [POSIX] (pthread_once_t): Likewise.
17532         [POSIX] (pthread_t): Likewise.
17533         [POSIX-based standards] (pthread_atfork): Expect function.
17534
17535 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17536             Richard Sandiford  <richard@codesourcery.com>
17537
17538         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17539         (swap_endianness_p): New extern variable.
17540         (set_big_endian): New inline function.
17541         (maybe_swap_uint32): Likewise.
17542         (maybe_swap_uint32_array): Likewise.
17543         (maybe_swap_uint32_obstack): Likewise.
17544         * locale/programs/locfile.c: Include <stdbool.h>.
17545         (swap_endianness_p): New variable.
17546         (add_locale_uint32): Call maybe_swap_uint32.
17547         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17548         (write_locale_data): Call maybe_swap_uint32_array.
17549         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17550         maybe_swap_uint32.
17551         (obstack_int32_grow_fast): Likewise.
17552         (output_weightwc): Call maybe_swap_uint32_obstack.
17553         (collate_output): Likewise.
17554         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17555         (OPT_LITTLE_ENDIAN): Likewise.
17556         (options): Add --little-endian and --big-endian options.
17557         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17558         * locale/programs/locarchive.c: Include "locfile.h".
17559         (GET): New macro.
17560         (SET): Likewise.
17561         (INC): Likewise.
17562         (create_archive): Use the new macros to access fields of
17563         structures directly mapped from or written to locale archives.
17564         (oldlocrecentcmp): Likewise.
17565         (enlarge_archive): Likewise.
17566         (insert_name): Likewise.
17567         (add_alias): Likewise.
17568         (add_locale): Likewise.
17569         (delete_locales_from_archive): Likewise.
17570         (show_archive_content): Likewise.
17571         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17572         locale data.
17573
17574 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17575
17576         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17577         http://www.gnu.org/doc/freemanuals.texi.
17578         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17579
17580 2013-09-24  Will Newton  <will.newton@linaro.org>
17581
17582         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17583         macro.
17584
17585 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17586
17587         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17588         unsigned char.
17589
17590 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17591
17592         * manual/threads.texi (POSIX Threads): Fix a typo.
17593
17594 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17595
17596         [BZ #14547]
17597         * string/tst-strcoll-overflow.c: New test case.
17598         * string/Makefile (xtests): Add tst-strcoll-overflow.
17599         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17600         cache if string sizes may cause integer overflow.
17601
17602         [BZ #14547]
17603         * string/strcoll_l.c (coll_seq): New members rule, idx,
17604         save_idx and back_us.
17605         (get_next_seq_nocache): New function.
17606         (do_compare_nocache): New function.
17607         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17608         when malloc fails.
17609
17610 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17611
17612         [BZ #15754]
17613         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17614         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17615         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17616
17617         [BZ #15754]
17618         * elf/Makefile (tests): Add tst-ptrguard1.
17619         (tests-static): Add tst-ptrguard1-static.
17620         (tst-ptrguard1-ARGS): Define.
17621         (tst-ptrguard1-static-ARGS): Define.
17622         * elf/tst-ptrguard1.c: New file.
17623         * elf/tst-ptrguard1-static.c: New file.
17624         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17625         * sysdeps/i386/stackguard-macros.h: Likewise.
17626         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17627         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17628         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17629         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17630         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17631         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17632
17633 2013-09-23  Hector Marco  <hecmargi@upv.es>
17634             Ismael Ripoll  <iripoll@disca.upv.es>
17635             Carlos O'Donell  <carlos@redhat.com>
17636
17637         [BZ #15754]
17638         * sysdeps/generic/stackguard-macros.h: Define
17639         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17640         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17641         Define __pointer_chk_guard_local.
17642         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17643         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17644
17645 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17646
17647         [BZ #15859]
17648         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17649
17650 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17651
17652         * include/string.h (__ffs): Declare as hidden.
17653         * string/ffs.c (__ffs): Define as hidden.
17654         * sysdeps/i386/ffs.c (__ffs): Likewise.
17655         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17656         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17657         * sysdeps/s390/ffs.c (__ffs): Likewise.
17658         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17659
17660 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17661
17662         * NEWS: Mention malloc probes.
17663
17664         * malloc/arena.c (new_heap): New memory_heap_new probe.
17665         (grow_heap): New memory_heap_more probe.
17666         (shrink_heap): New memory_heap_less probe.
17667         (heap_trim): New memory_heap_free probe.
17668         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17669         (systrim): New memory_sbrk_less probe.
17670         * manual/probes.texi: Document them.
17671
17672         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17673         * manual/probes.texi: Document it.
17674
17675         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17676         (__libc_realloc): Add memory_realloc_retry probe.
17677         (__libc_memalign): Add memory_memalign_retry probe.
17678         (__libc_valloc): Add memory_valloc_retry probe.
17679         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17680         (__libc_calloc): Add memory_calloc_retry probe.
17681         * manual/probes.texi: Document them.
17682
17683         * malloc/arena.c (get_free_list): Add probe
17684         memory_arena_reuse_free_list.
17685         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17686         and memory_arena_reuse.
17687         (arena_get2) [!PER_THREAD]: Likewise.
17688         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17689         memory_arena_reuse_realloc.
17690         * manual/probes.texi: Document them.
17691
17692         * malloc/malloc.c (__libc_free): Add
17693         memory_mallopt_free_dyn_thresholds probe.
17694         (__libc_mallopt): Add multiple memory_mallopt probes.
17695         * manual/probes.texi: Document them.
17696
17697         * malloc/malloc.c: Include stap-probe.h.
17698         (__libc_mallopt): Add memory_mallopt probe.
17699         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17700         * manual/probes.texi: New.
17701         * manual/Makefile (chapters): Add probes.
17702         * manual/threads.texi: Set next node.
17703
17704 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17705
17706         [BZ #15963, #13985]
17707         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17708         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17709         Add `Chinese' to `nan' entry name.
17710
17711 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17712
17713         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17714         (POLYNOMIAL): Likewise.
17715         (TAYLOR_SINCOS): Likewise.
17716         (TAYLOR_SLOW): Likewise.
17717         (__sin): Use TAYLOR_SINCOS.
17718         (__cos): Likewise.
17719         (slow): Use TAYLOR_SLOW.
17720         (sloww): Likewise.
17721         (bsloww): Likewise.
17722         (csloww): Likewise.
17723
17724 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17725
17726         * stdlib/strtod_l.c: Fix buffer overrun.
17727
17728 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17729
17730         * benchtests/Makefile (bench): Add sincos.
17731         * benchtests/bench-sincos.c: New file.
17732
17733         * math/libm-test.inc (cos_test_data): New test inputs.
17734         (sin_test_data): Likewise.
17735
17736         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17737         macro.
17738         (__sin): Use it.
17739         (__cos): Likewise.
17740         (slow1): Likewise.
17741         (slow2): Likewise.
17742         (sloww1): Likewise.
17743         (sloww2): Likewise.
17744         (bsloww1): Likewise.
17745         (bsloww2): Likewise.
17746         (cslow2): Likewise.
17747         (csloww1): Likewise.
17748         (csloww2): Likewise.
17749
17750         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17751         function.
17752         (__sin): Use it.
17753         (__cos): Likewise.
17754
17755         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17756         gotos.
17757         (__cos): Likewise.
17758
17759 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17760
17761         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17762         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17763         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17764         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17765         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17766         * elf/cache.c (print_entry): Handle the new cache flags.
17767
17768 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17769             Aldy Hernandez  <aldyh@redhat.com>
17770
17771         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17772         Change condition to [_SOFT_FLOAT].
17773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17785         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17788         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17789         declaration.
17790
17791 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17792
17793         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17794         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17795         (__longjmp): Use LOAD_GP to load saved GPRs.
17796         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17797         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17798         (__sigsetjmp): Use SAVE_GP to save GPRs.
17799
17800         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17801         Do not append -msoft-float.
17802         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17803
17804 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17805
17806         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17807
17808 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17809
17810         [BZ #15966]
17811         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17812         (_FPU_GETCW): Use initial "__" on variable and field names but not
17813         on macro parameter name.
17814         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17815         parentheses around reference to macro parameter.
17816
17817 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17818
17819         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17820         prototype.
17821         (ctype_startup): Use uint32_t in cast and sizeof for
17822         ctype->charnames.
17823
17824 2013-09-11  Jia Liu  <proljc@gmail.com>
17825
17826         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17827         __daddr_t_defined.
17828         [__FreeBSD__]: Likewise.
17829
17830 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17831
17832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17833         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17834         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17835         (strchr): Remove __strchr_sse42 ifunc selection.
17836         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17837         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17838
17839 2013-09-11  Will Newton  <will.newton@linaro.org>
17840
17841         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17842         parameter to RES. Remove hardcoded 1000 value.
17843         * benchtests/bench-skeleton.c (main): Pass RES parameter
17844         to TIMING_INIT and multiply result by 1000.
17845
17846 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17847
17848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17849
17850 2013-09-11  Andreas Schwab  <schwab@suse.de>
17851
17852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17853         if not defined.
17854         (O_TMPFILE) [__USE_GNU]: Define.
17855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17856         Define.
17857
17858 2013-09-11  Will Newton  <will.newton@linaro.org>
17859
17860         [BZ #15857]
17861         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17862         does not overflow.
17863
17864 2013-09-11  Will Newton  <will.newton@linaro.org>
17865
17866         [BZ #15856]
17867         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17868         does not overflow.
17869
17870 2013-09-11  Will Newton  <will.newton@linaro.org>
17871
17872         [BZ #15855]
17873         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17874         does not overflow.
17875
17876 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17877
17878         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17879         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17880         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17881         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17882         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17883
17884 2013-09-10  Allan McRae  <allan@archlinux.org>
17885
17886         [BZ #15748]
17887         * manual/arith.texi (Parsing of Floats): Clarify
17888         cross-reference.
17889
17890         [BZ #15849]
17891         * manual/install.texi (Running make install): Mention
17892         --enable-pt-chown.
17893         * INSTALL: Regenerated.
17894
17895 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17896
17897         * csu/init-first.c (_init): Remove the !SHARED condition around
17898         FPU control word initialization.
17899         * elf/dl-support.c (_dl_fpu_control): New variable.
17900         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17901         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17902         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17903         * math/test-fpucw-static.c: New file.
17904         * math/test-fpucw-ieee.c: New file.
17905         * math/test-fpucw-ieee-static.c: New file.
17906         * math/Makefile (tests): Add `test-fpucw-ieee' and
17907         `$(tests-static)'.
17908         (tests-static): New variable.
17909         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17910         dependency to...
17911         [($(build-shared),yes)]
17912         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17913         ... this.
17914         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17915         New dependency.
17916
17917 2013-09-09  Allan McRae  <allan@archlinux.org>
17918
17919         [BZ #15939]
17920         * manual/string.texi (Collation Functions): Fix typo in
17921         strcoll example.
17922         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17923
17924         [BZ #15893]
17925         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17926
17927         [BZ #15892]
17928         * libio/memstream.c (open_memstream): Fix memory leak.
17929         * libio/wmemstream.c (open_wmemstream): Likewise.
17930
17931         [BZ #15895]
17932         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17933
17934 2013-09-09  Will Newton  <will.newton@linaro.org>
17935
17936         * malloc/Makefile: Add tst-realloc to tests.
17937         * malloc/tst-realloc.c: New file.
17938
17939 2013-09-09  Allan McRae  <allan@archlinux.org>
17940
17941         [BZ #15844]
17942         * COPYING: Update from GNU website to fix FSF address.
17943         * COPYING.LIB: Likewise.
17944
17945 2013-09-06  David S. Miller  <davem@davemloft.net>
17946
17947         * po/zh_TW.po: Update Chinese (traditional) translation from
17948         translation project.
17949
17950 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17951             Joseph Myers  <joseph@codesourcery.com>
17952
17953         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17954         "localeinfo.h".
17955         (obstack_chunk_alloc): New macro.
17956         (obstack_chunk_free): Likewise.
17957         (record_offset): New function.
17958         (init_locale_data): Likewise.
17959         (align_locale_data): Likewise.
17960         (add_locale_empty): Likewise.
17961         (add_locale_raw_data): Likewise.
17962         (add_locale_raw_obstack): Likewise.
17963         (add_locale_string): Likewise.
17964         (add_locale_wstring): Likewise.
17965         (add_locale_uint32): Likewise.
17966         (add_locale_uint32_array): Likewise.
17967         (add_locale_char): Likewise.
17968         (start_locale_structure): Likewise.
17969         (end_locale_structure): Likewise.
17970         (start_locale_prelude): Likewise.
17971         (end_locale_prelude): Likewise.
17972         (write_locale_data): Take locale_file structure rather than an
17973         iovec.
17974         * locale/programs/locfile.h: Include "obstack.h".
17975         (struct locale_file): Change to store locale file contents instead
17976         of header.
17977         (init_locale_data): New prototype.
17978         (align_locale_data): Likewise.
17979         (add_locale_empty): Likewise.
17980         (add_locale_raw_data): Likewise.
17981         (add_locale_raw_obstack): Likewise.
17982         (add_locale_string): Likewise.
17983         (add_locale_wstring): Likewise.
17984         (add_locale_uint32): Likewise.
17985         (add_locale_uint32_array): Likewise.
17986         (add_locale_char): Likewise.
17987         (start_locale_structure): Likewise.
17988         (end_locale_structure): Likewise.
17989         (start_locale_prelude): Likewise.
17990         (end_locale_prelude): Likewise.
17991         (write_locale_data): Update prototype.
17992         * locale/programs/3level.h (struct TABLE): Remove result field.
17993         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17994         Use new locale_file interface.
17995         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17996         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17997         * locale/programs/ld-address.c (address_output): Use new
17998         locale_file interface.
17999         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18000         NO_ADD_LOCALE.
18001         (collate_finish): Don't call collseq_table_finalize.
18002         (collate_output): Use new locale_file interface.
18003         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18004         in file.
18005         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18006         (TABLE): Move defines earlier in file.
18007         (ELEMENT): Likewise.
18008         (DEFAULT): Likewise.
18009         (wctrans_table_add): Move macro and inline function earlier in
18010         file.
18011         (struct wctype_table): Move type earlier in file.
18012         (add_locale_wctype_table): New static prototype.
18013         (struct locale_ctype_t): Use logical types instead of struct iovec
18014         pointers for members.
18015         (ctype_output): Use new locale_file interface.
18016         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18017         new locale_file interface.
18018         (allocate_arrays): Update for use of new locale_file interface.
18019         * locale/programs/ld-identification.c (identification_output): Use
18020         new locale_file interface.
18021         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18022         * locale/programs/ld-messages.c (messages_output): Likewise.
18023         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18024         * locale/programs/ld-name.c (name_output): Likewise.
18025         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18026         * locale/programs/ld-paper.c (paper_output): Likewise.
18027         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18028         * locale/programs/ld-time.c (time_output): Likewise.
18029
18030 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18031
18032         * benchtests/Makefile: Add memrchr benchmark.
18033         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18034         benchmark as memrchr.
18035         * benchtests/bench-memrchr-ifunc.c: New file.
18036         * benchtests/bench-memrchr.c: New file.
18037
18038 2013-09-06   Will Newton  <will.newton@linaro.org>
18039
18040         * benchtests/Makefile (string-bench): Add memcpy.
18041
18042 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18043             Cong Wang  <amwang@redhat.com>
18044
18045         [BZ #15850]
18046         * sysdeps/unix/sysv/linux/bits/in.h
18047         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18048         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18049         before __USE_KERNEL_IPV6_DEFS uses.
18050         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18051         IPPROTO_BEETPH.
18052         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18053         sockaddr_in6, or ipv6_mreq.
18054
18055 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18056
18057         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18058         memory access for final bytes in some large inputs.
18059         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18060
18061 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18062
18063         * string/test-memrchr.c: New file.
18064         * string/test-memrchr-ifunc.c: New file.
18065         * string/Makefile: Add new memrchr testcase.
18066
18067 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18068
18069         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18070         fanotify_init returns EPERM.
18071
18072 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18073
18074         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18075         errors.
18076         (top level): Treat second token from macro or constant entries for
18077         allowed headers as allowed.
18078         * include/complex.h: Condition internal declarations on
18079         [!_ISOMAC].
18080         * include/fenv.h: Condition include of <stdbool.h> and internal
18081         declarations on [!_ISOMAC].
18082
18083 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18084
18085         [BZ #15923]
18086         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18087
18088 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18089
18090         * configure.in (--enable-versioning): Remove configure option.
18091         (libc_cv_asm_symver_directive): Remove configure test.
18092         (libc_cv_ld_version_script_option): Likewise.
18093         (VERSIONING): Remove variable and AC_SUBST.
18094         (DO_VERSIONING): Remove AC_DEFINE.
18095         * configure: Regenerated.
18096         * config.h.in (DO_VERSIONING): Remove macro.
18097         * Makerules [$(versioning) = yes]: Change conditionals to
18098         [$(build-shared) = yes].
18099         * config.make.in (versioning): Remove variable.
18100         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18101         [$(build-shared) = yes].
18102         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18103         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18104         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18105         [$(build-shared) = yes].
18106         * extra-lib.mk [$(versioning) = yes]: Likewise.
18107         * hurd/Makefile [$(versioning) = yes]: Likewise.
18108         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18109         [SHARED].
18110         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18111         [SHARED].
18112         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18113         [SHARED && !NO_HIDDEN].
18114         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18115         [SHARED].
18116         [SHARED && DO_VERSIONING]: Likewise..
18117         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18118         [$(build-shared) = yes].
18119         * manual/install.texi (--disable-versioning): Remove
18120         documentation.
18121         * INSTALL: Regenerated.
18122         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18123         to [SHARED].
18124         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18125         [$(build-shared) = yes].
18126         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18127         * sysdeps/i386/i686/multiarch/strstr-c.c
18128         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18129         [SHARED && !NO_HIDDEN].
18130         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18131         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18132         * sysdeps/powerpc/powerpc32/dl-machine.c
18133         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18134         * sysdeps/powerpc/powerpc32/sysdep.h
18135         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18136         to [SHARED && PIC && !NO_HIDDEN].
18137         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18138         conditional to [SHARED].
18139
18140 2013-09-04   Will Newton  <will.newton@linaro.org>
18141
18142         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18143         * benchtests/bench-string.h: Include bench-timing.h instead
18144         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18145         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18146         call to HP_TIMING_DIFF_INIT.
18147         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18148         instead of hp-timing.h macros.
18149         * benchtests/bench-memchr.c: Likewise.
18150         * benchtests/bench-memcmp.c: Likewise.
18151         * benchtests/bench-memcpy.c: Likewise.
18152         * benchtests/bench-memmem.c: Likewise.
18153         * benchtests/bench-memmove.c: Likewise.
18154         * benchtests/bench-memset.c: Likewise.
18155         * benchtests/bench-rawmemchr.c: Likewise.
18156         * benchtests/bench-strcasecmp.c: Likewise.
18157         * benchtests/bench-strcasestr.c: Likewise.
18158         * benchtests/bench-strcat.c: Likewise.
18159         * benchtests/bench-strchr.c: Likewise.
18160         * benchtests/bench-strcmp.c: Likewise.
18161         * benchtests/bench-strcpy.c: Likewise.
18162         * benchtests/bench-strcpy_chk.c: Likewise.
18163         * benchtests/bench-strlen.c: Likewise.
18164         * benchtests/bench-strncasecmp.c: Likewise.
18165         * benchtests/bench-strncat.c: Likewise.
18166         * benchtests/bench-strncmp.c: Likewise.
18167         * benchtests/bench-strncpy.c: Likewise.
18168         * benchtests/bench-strnlen.c: Likewise.
18169         * benchtests/bench-strpbrk.c: Likewise.
18170         * benchtests/bench-strrchr.c: Likewise.
18171         * benchtests/bench-strspn.c: Likewise.
18172         * benchtests/bench-strstr.c: Likewise.
18173
18174 2013-09-04  Will Newton  <will.newton@linaro.org>
18175
18176         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18177
18178 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18179
18180         [BZ #15427]
18181         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18182         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18183         * math/libm-test.inc (lgamma_test_data): Add more tests.
18184         * sysdeps/i386/fpu/libm-test-ulps: Update.
18185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18186
18187 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18188
18189         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18191         Add ifunc.
18192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18193         Add strcmp-sse2-unaligned
18194         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18195
18196 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18197
18198         * Versions.def (libc): Add GLIBC_2.19.
18199
18200 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18201
18202         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18203         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18204
18205 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18206
18207         [BZ #14155]
18208         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18209         intermediate calculations in recurrence.
18210         (__ieee754_ynf): Likewise.
18211         * math/libm-test.inc (jn_test_data): Do not allow spurious
18212         underflow exception.  Add more tests.
18213         (yn_test_data): Add more tests.
18214         * sysdeps/i386/fpu/libm-test-ulps: Update.
18215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18216
18217 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18218
18219         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18220
18221 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18222
18223         * csu/init-first.c: Fix then/than typos.
18224         * locale/programs/ld-collate.c: Likewise.
18225         * locale/programs/linereader.h: Likewise.
18226         * manual/charset.texi: Likewise.
18227         * manual/filesys.texi: Likewise.
18228         * manual/stdio.texi: Likewise.
18229         * manual/string.texi: Likewise.
18230         * stdlib/fmtmsg.c: Likewise.
18231         * sysdeps/i386/stpncpy.S: Likewise.
18232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18233         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18234         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18235         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18236
18237 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18238
18239         * elf/dl-open.c: Fix typos.
18240         * iconvdata/gbbig5.c: Likewise.
18241         * iconvdata/iso-2022-jp.c: Likewise.
18242         * iconv/gconv_int.h: Likewise.
18243         * iconv/loop.c: Likewise.
18244         * nis/rpcsvc/nis.h: Likewise.
18245         * resolv/ns_name.c: Likewise.
18246         * stdio-common/vfscanf.c: Likewise.
18247         * streams/stropts.h: Likewise.
18248         * sunrpc/rpc_thread.c: Likewise.
18249         * sysdeps/i386/strpbrk.S: Likewise.
18250         * sysdeps/ieee754/k_standard.c: Likewise.
18251         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18253         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18254         * sysdeps/mach/hurd/profil.c: Likewise.
18255         * sysdeps/s390/dl-procinfo.h: Likewise.
18256         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18257         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18258         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18259         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18260         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18261
18262 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18263
18264         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18266
18267 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18268
18269         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18270         aix specific files.
18271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18274         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18275         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18276         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18277         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18278         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18279
18280 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18281             Roland McGrath  <roland@hack.frob.com>
18282
18283         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18284         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18285
18286 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18287
18288         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18289         __executable_start symbol instead of _start.
18290
18291 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18292
18293         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18294         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18295         Move macros to...
18296         * sysdeps/gnu/ldsodefs.h: ... this new file.
18297
18298         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18299         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18300         instead of ELFOSABI_LINUX.
18301
18302         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18303         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18304         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18305         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18306         Likewise.
18307         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18308         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18309         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18310         Likewise.
18311         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18312         (ibm_extended_long_double): Add ieee_nan member.
18313         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18314         (do_test): New function.
18315
18316         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18317         TEST_TRUNC.
18318         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18319         functions, renamed from truncdfsf_test, trunctfsf_test,
18320         trunctfdf_test.
18321         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18322         functions.
18323         (do_test): Run all these.
18324
18325 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18326
18327         * argp/argp-help.c: Fix typos.
18328         * argp/argp-parse.c: Likewise.
18329         * debug/backtracesyms.c: Likewise.
18330         * elf/elf.h: Likewise.
18331         * malloc/malloc.c: Likewise.
18332         * nis/nis_print.c: Likewise.
18333         * resolv/res_comp.c: Likewise.
18334         * stdlib/stdlib.h: Likewise.
18335         * sunrpc/clnt_tcp.c: Likewise.
18336         * sunrpc/clnt_udp.c: Likewise.
18337         * sunrpc/clnt_unix.c: Likewise.
18338         * sysdeps/unix/bsd/ptsname.c: Likewise.
18339         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18340         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18342         Likewise.
18343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18344         Likewise.
18345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18346         Likewise.
18347         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18348
18349 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18350
18351         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18353
18354 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18355
18356         [BZ #15897]
18357         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18358         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18359         ($(objpfx)bug-dl-leaf): New rule.
18360         ($(objpfx)bug-dl-leaf.so): Likewise.
18361         ($(objpfx)bug-dl-leaf.out): Likewise.
18362         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18363         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18364         * dlfcn/bug-dl-leaf.c: New test.
18365         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18366         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18367         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18368         (dlclose): Likewise.
18369         (dlmopen): Likewise.
18370
18371 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18372
18373         * include/netdb.h [!_ISOMAC]:
18374         Don't include <tls.h>.
18375         (h_errno, __libc_h_errno): Move declaration and macros out of
18376         [_LIBC_REENTRANT].
18377
18378         * include/resolv.h [_RESOLV_H_]:
18379         Don't include <tls.h>.
18380         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18381         * resolv/res_libc.c: Don't include <tls.h>.
18382         (_res): Use __attribute__ ((nocommon)) in place of
18383         __attribute__ ((section (".bss"))).
18384
18385         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18386         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18387
18388         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18389
18390         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18391         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18392
18393         * resolv/res_mkquery.c: Include <sys/time.h>.
18394
18395         * inet/ifreq.c: Moved to ...
18396         * sysdeps/unix/ifreq.c: ... here.
18397         * inet/ifreq.c: New file, true stub version.
18398
18399         * socket/sa_len.c: New file.
18400         * socket/Makefile (aux): Add it.
18401         * sysdeps/unix/sysv/linux/Makefile
18402         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18403         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18404         and #include <socket/sa_len.c>.
18405         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18406         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18407
18408         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18409         * bits/socket.h: ... here.
18410
18411         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18412         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18413         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18414
18415 2013-08-27  Andreas Schwab  <schwab@suse.de>
18416
18417         [BZ #15736]
18418         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18419         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18420         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18421         * string/test-strcasecmp.c (test_main): Run tests in several
18422         locales.
18423         * string/test-strncasecmp.c (test_main): Likewise.
18424
18425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18426         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18427         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18428         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18429         (__strncasecmp_ssse3) [PIC]: Likewise.
18430
18431 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18432
18433         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18434
18435         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18436         instead of explicitly declaring xdecrypt.
18437         * nis/nss_nis/nis-publickey.c: Likewise.
18438
18439 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18440
18441         [BZ #15890]
18442         * nscd/aicache.c: Include res_hconf.h.
18443         (addhstaiX): Initialize res_hconf.
18444
18445 2013-08-26  Andreas Schwab  <schwab@suse.de>
18446
18447         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18448         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18449
18450 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18451
18452         * nscd/aicache.c (addhstaiX): Fix indentation.
18453
18454 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18455
18456         * configure.ac: Quote $build_pt_chown test.
18457         * configure: Regenerated.
18458
18459 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18460
18461         [BZ #15532]
18462         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18463         * math/s_cexpf.c (__cexpf): Likewise.
18464         * math/s_cexpl.c (__cexpl): Likewise.
18465         * math/libm-test.inc (cexp_test_data): Correct expected return
18466         value for NaN + i0.  Add another test.
18467
18468 2013-08-22  David S. Miller  <davem@davemloft.net>
18469
18470         * po/ca.po: Update Catalan translation from translation project.
18471         * po/uk.po: Add Ukrainian translations from translation project.
18472
18473 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18474
18475         [BZ #15797]
18476         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18477         is infinite, not alongside NaN test.
18478         * math/s_fdimf.c (__fdimf): Likewise.
18479         * math/s_fdiml.c (__fdiml): Likewise.
18480         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18481         errno is unchanged.
18482
18483 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18484
18485         * argp/argp-help.c: Fix typos.
18486         * crypt/speeds.c: Likewise.
18487         * csu/check_fds.c: Likewise.
18488         * elf/dl-load.c: Likewise.
18489         * elf/dl-open.c: Likewise.
18490         * elf/reldep3.c: Likewise.
18491         * elf/reldep.c: Likewise.
18492         * elf/sprof.c: Likewise.
18493         * iconv/iconv_charmap.c: Likewise.
18494         * iconv/skeleton.c: Likewise.
18495         * iconv/strtab.c: Likewise.
18496         * io/lockf64.c: Likewise.
18497         * libio/libioP.h: Likewise.
18498         * resolv/gai_notify.c: Likewise.
18499         * resolv/ns_name.c: Likewise.
18500         * resolv/ns_samedomain.c: Likewise.
18501         * resolv/res_send.c: Likewise.
18502         * stdlib/random.c: Likewise.
18503         * sunrpc/rpc/xdr.h: Likewise.
18504         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18505         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18506         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18507         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18509         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18510         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18511         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18512         * sysdeps/mach/hurd/check_fds.c: Likewise.
18513         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18514         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18515         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18516         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18517         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18518         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18519         * sysdeps/pthread/aio_notify.c: Likewise.
18520         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18521         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18522         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18524         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18525
18526 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18527
18528         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18529         version if bit_Slow_SSE4_2 is set.
18530         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18532
18533 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18534
18535         [BZ #15867]
18536         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18537         trampoline stack frame information.
18538         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18539         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18540         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18541         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18542         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18543         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18544         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18545         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18546         sa_flags value.
18547         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18548         interrupting a syscall and set with option SA_SIGINFO.
18549
18550 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18551
18552         [BZ #15531]
18553         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18554         argument is infinite.
18555         * math/s_cprojf.c (__cprojf): Likewise.
18556         * math/s_cprojl.c (__cprojl): Likewise.
18557         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18558         * math/libm-test.inc (cproj_test_data): Add more tests.
18559
18560         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18561
18562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18563         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18564         size.  Use __ffs to determine corresponding shift.
18565
18566 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18567             Roland McGrath  <roland@hack.frob.com>
18568
18569         * Makefile (INSTALL): Remove trailing blank lines from output of
18570         makeinfo.
18571
18572 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18573
18574         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18575         Align 32 bit compat elf_greg to 8 bytes.
18576
18577 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18578
18579         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18580
18581 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18582
18583         * string/strcoll_l.c (coll_seq): New structure.
18584         (get_next_seq_cached): New function.
18585         (get_next_seq): New function.
18586         (do_compare): New function.
18587         (STRCOLL): Use GNU style definition.  Simplify implementation
18588         by using get_next_seq, get_next_seq_cached and do_compare.
18589
18590 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18591
18592         [BZ #14699]
18593         CVE-2013-4237
18594         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18595         member.
18596         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18597         member.
18598         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18599         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18600         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18601         conditional.
18602         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18603         GETDENTS_64BIT_ALIGNED.
18604         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18605         * manual/filesys.texi (Reading/Closing Directory): Document
18606         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18607         strongly.
18608         * manual/conf.texi (Limits for Files): Add portability note to
18609         NAME_MAX, PATH_MAX.
18610         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18611
18612 2013-08-13  Andreas Schwab  <schwab@suse.de>
18613
18614         [BZ #15749]
18615         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18616         of fabs.
18617         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18618         LDBL_MAX_EXP >= 16384]: Add tests for it.
18619
18620 2013-08-12  David S. Miller  <davem@davemloft.net>
18621
18622         * version.h (RELEASE): Set to "development".
18623         (VERSION): Set to "2.18.90".
18624         * NEWS: Add 2.19 section.
18625
18626 2013-08-03  David S. Miller  <davem@davemloft.net>
18627
18628         * po/ko.po: Update Korean translation from translation project.
18629
18630 2013-08-01  David S. Miller  <davem@davemloft.net>
18631
18632         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18633         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18634         Bilka.
18635
18636 2013-07-30  David S. Miller  <davem@davemloft.net>
18637
18638         * po/fr.po: Update French translation from translation project.
18639
18640 2013-07-28  David S. Miller  <davem@davemloft.net>
18641
18642         * po/cs.po: Update Czech translation from translation project.
18643
18644         * po/sv.po: Update Swedish translation from translation project.
18645
18646 2013-07-27  David S. Miller  <davem@davemloft.net>
18647
18648         * po/eo.po: Update Esperanto translation from translation project.
18649
18650         * po/vi.po: Update Vietnamese translation from translation project.
18651
18652         * po/de.po: Update German translation from translation project.
18653
18654 2013-07-26  David S. Miller  <davem@davemloft.net>
18655
18656         * po/bg.po: Update Bulgarian translation from translation project.
18657
18658         * po/nl.po: Update Dutch translation from translation project.
18659         * po/pl.po: Update Polish translation from translation project.
18660         * po/ru.po: Update Russian translation from translation project.
18661
18662 2013-07-24  David S. Miller  <davem@davemloft.net>
18663
18664         * po/libc.pot: Update.
18665
18666 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18667
18668         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18669         variable page size.
18670         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18671         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18672         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18673
18674 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18675
18676         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18677
18678 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18679             Andreas Schwab  <schwab@suse.de>
18680             Roland McGrath  <roland@hack.frob.com>
18681             Joseph Myers  <joseph@codesourcery.com>
18682             Carlos O'Donell  <carlos@redhat.com>
18683
18684         [BZ #15755]
18685         * config.h.in: Define HAVE_PT_CHOWN.
18686         * config.make.in (build-pt-chown): New variable.
18687         * configure.in (--enable-pt_chown): New configure option.
18688         * configure: Regenerate.
18689         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18690         build-pt-chown is enabled.
18691         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18692         pt_chown to fix pty ownership.
18693         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18694         CLOSE_ALL_FDS.
18695         * manual/install.texi (Configuring and compiling): Mention
18696         --enable-pt_chown. Add @findex for grantpt.
18697         * INSTALL: Regenerate.
18698
18699 2013-07-20  David S. Miller  <davem@davemloft.net>
18700
18701         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18702         difference between 32-bit and 64-bit.
18703
18704 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18705
18706         [BZ #15711]
18707         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18708         Avoid system header dependency with -ffreestanding.
18709         ($(objpfx)bits/syscall%d): Likewise.
18710
18711 2013-07-13  David S. Miller  <davem@davemloft.net>
18712
18713         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18714         underflows from atanl/atan2l due to bug 15319.
18715         (casinh_test_data): Likewise.
18716
18717 2013-07-07  David S. Miller  <davem@davemloft.net>
18718
18719         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18720
18721 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18722
18723         * sysdeps/i386/fpu/libm-test-ulps: Update.
18724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725
18726 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18727
18728         * configure.in (--enable-lock-elision): Fix message text.
18729         * INSTALL: Regenerate.
18730         * configure: Regenerate.
18731
18732 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18733
18734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18735
18736 2013-07-03  Andreas Jaeger  <aj@suse.de>
18737
18738         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18739         define.
18740         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18741         (ptrace_peeksiginfo_args): Add.
18742         (__ptrace_peeksiginfo_flags): Add.
18743         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18744         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18745         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18746
18747 2013-07-03  Allan McRae  <allan@archlinux.org>
18748
18749         * sysdeps/i386/fpu/libm-test-ulps: Update.
18750
18751 2013-07-02  David S. Miller  <davem@davemloft.net>
18752
18753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18754
18755 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18756
18757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18758
18759 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18760
18761         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763
18764 2013-07-02  Andi Kleen <ak@linux.intel.com>
18765
18766         * config.h.in (ENABLE_LOCK_ELISION): Add.
18767         * configure.in (--enable-lock-elision): Add option.
18768         * manual/install.texi: Document --enable lock elision.
18769         * configure: Regenerate
18770         * INSTALL: Regenerate.
18771
18772 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18773
18774         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18775         SSE4.2 strcasecmp for libc.a.
18776         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18777
18778 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18779
18780         [BZ #13304]
18781         * soft-fp/op-common.h (_FP_FMA): New macro.
18782         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18783         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18784         (_FP_MUL_MEAT_1_imm): ... here.
18785         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18786         (_FP_MUL_MEAT_1_wide): ... here.
18787         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18788         (_FP_MUL_MEAT_1_hard): ... here.
18789         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18790         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18791         (_FP_MUL_MEAT_2_wide): ... here.
18792         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18793         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18794         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18795         (_FP_MUL_MEAT_2_gmp): ... here.
18796         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18797         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18798         (_FP_MUL_MEAT_4_wide): ... here.
18799         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18800         (_FP_MUL_MEAT_4_gmp): ... here.
18801         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18802         (_FP_WFRACBITS_DW_S): Likewise.
18803         (_FP_WFRACXBITS_DW_S): Likewise.
18804         (_FP_HIGHBIT_DW_S): Likewise.
18805         (FP_FMA_S): Likewise.
18806         (_FP_FRAC_HIGH_DW_S): Likewise.
18807         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18808         (_FP_WFRACBITS_DW_D): Likewise.
18809         (_FP_WFRACXBITS_DW_D): Likewise.
18810         (_FP_HIGHBIT_DW_D): Likewise.
18811         (FP_FMA_D): Likewise.
18812         (_FP_FRAC_HIGH_DW_D): Likewise.
18813         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18814         (_FP_WFRACBITS_DW_E): Likewise.
18815         (_FP_WFRACXBITS_DW_E): Likewise.
18816         (_FP_HIGHBIT_DW_E): Likewise.
18817         (FP_FMA_E): Likewise.
18818         (_FP_FRAC_HIGH_DW_E): Likewise.
18819         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18820         (_FP_WFRACBITS_DW_Q): Likewise.
18821         (_FP_WFRACXBITS_DW_Q): Likewise.
18822         (_FP_HIGHBIT_DW_Q): Likewise.
18823         (FP_FMA_Q): Likewise.
18824         (_FP_FRAC_HIGH_DW_Q): Likewise.
18825         * soft-fp/fmasf4.c: New file.
18826         * soft-fp/fmadf4.c: Likewise.
18827         * soft-fp/fmatf4.c: Likewise.
18828
18829 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18830
18831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18832         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18833         Silvermont.
18834         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18835         macro.
18836         (index_Slow_SSE4_2): Likewise.
18837         (index_Prefer_PMINUB_for_stringop): Likewise.
18838         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18839         bit_Slow_SSE4_2 is set.
18840         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18841         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18842
18843 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18844
18845         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18846         rtld_global._dl_hwcap2.
18847         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18848         POWER8.
18849         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18850         POWER8 feature descriptions defined in _dl_hwcap2.
18851         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18852         string handling for POWER8 feature bits.
18853         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18854         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18855         _dl_powerpc_cap_flags.
18856         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18857         * sysdeps/powerpc/rtld-global-offsets.sym
18858         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18859         _dl_hwcap2 in the rtld_global_ro structure.
18860
18861 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18862
18863         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18864         hardware capabilities in support of AT_HWCAP2.
18865         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18866         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18867         GLRO(dl_hwcap2).
18868         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18869         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18870         explicitly the unknown a_type display mechanism is used.
18871         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18872         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18873         struct member.
18874         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18875         to macro prototype for AT_HWCAP2 support.
18876         * sysdeps/i386/dl-procinfo.h: Likewise.
18877         * sysdeps/s390/dl-procinfo.h: Likewise.
18878         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18879         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18880         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18881         return -1 for unknown a_type display fallback.
18882         * sysdeps/sparc/dl-procinfo.h: Likewise.
18883         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18884         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18885
18886 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18887
18888         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18889         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18890
18891 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18892
18893         [BZ #12492]
18894         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18895         mprotect making __stack_prot writable.
18896
18897 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18898             Joseph Myers  <joseph@codesourcery.com>
18899
18900         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18901         as being properly aligned.
18902
18903 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18904
18905         * dlfcn/modstatic5.c: New file.
18906         * dlfcn/tststatic5.c: New file.
18907         * dlfcn/Makefile (tests): Add tststatic5.
18908         (tests-static): Likewise.
18909         (modules-names): Add modstatic5.
18910         (tststatic5-ENV): New variable.
18911         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18912
18913         [BZ #15022]
18914         * elf/dl-support.c (_dl_main_map): New variable.
18915         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18916         (_dl_nns, _dl_load_adds): Set to 1.
18917         (_dl_initial_searchlist): Refer to _dl_main_map.
18918         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18919         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18920         call to _dl_get_origin.
18921         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18922         around call_map.
18923         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18924         * dlfcn/modstatic3.c: New file.
18925         * dlfcn/tststatic3.c: New file.
18926         * dlfcn/tststatic4.c: New file.
18927         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18928         (tests-static): Likewise.
18929         (modules-names): Add modstatic3.
18930         (tststatic3-ENV, tststatic4-ENV): New variables.
18931         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18932         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18933
18934 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18935
18936         * configure.in (CC): Require GCC version 4.4 or later.
18937         * configure: Regenerated.
18938         * manual/install.texi (Tools for Compilation): Update GCC version
18939         requirement.
18940         * INSTALL: Regenerated.
18941
18942 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18943
18944         [BZ #15674]
18945         * string/test-memcmp.c (check2): New.
18946         (main): Call check2.
18947
18948         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18949
18950 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18951
18952         [BZ #15022]
18953         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18954         over to...
18955         (dl_open_worker) [!SHARED]: ... here.
18956
18957 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18958
18959         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18960
18961 2013-06-25  Richard Henderson  <rth@redhat.com>
18962
18963         * locale/programs/locarchive.c: Include <libc-internal.h>
18964
18965 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18966
18967         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18968         trailing whitespace removed.
18969
18970 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18971
18972         [BZ #10283]
18973         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18974         * locale/programs/locarchive.c: Include libc-mmap.h.
18975         (prepare_address_space): Take two new outputs (the mmap base and len).
18976         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18977         values.
18978         (create_archive): Declare new mmap base and len values for
18979         prepare_address_space, and store the result in ah.
18980         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18981         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18982         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18983         Declare new mmap base and len values for
18984         prepare_address_space, and store the result in new_ah.
18985         (open_archive): Declare new mmap base and len values for
18986         prepare_address_space, and store the result in ah.
18987         (close_archive): If ah->mmap_base is not NULL, use that and
18988         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18989         * sysdeps/generic/libc-mmap.h: New file.
18990
18991 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18992
18993         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18994         (ALIGN_UP): Likewise.
18995         (PTR_ALIGN_DOWN): Likewise.
18996         (PTR_ALIGN_UP): Likewise.
18997
18998 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18999
19000         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19001         entry mapped to PPC_PLATFORM_POWER8.
19002         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19003         POWER8.
19004         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19005         (_dl_string_platform): Add case for exporting platform position for
19006         POWER8.
19007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19008         search path to sysdeps/powerpc/powerpc32/power8 directory.
19009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19010         search path to sysdeps/powerpc/powerpc64/power8 directory.
19011         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19012         power7 directories.
19013         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19014         power7 directories.
19015
19016 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19017
19018         * INSTALL: Regenerate.
19019
19020         * nscd/connections.c (nscd_init): Fix comment.
19021
19022 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19023
19024         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19025
19026         [BZ #15667]
19027         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19028         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19029
19030 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19031
19032         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19033         DL_DST_REQ_STATIC.
19034         (DL_DST_REQ_STATIC): Remove macro.
19035
19036 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19037
19038         [BZ #7006]
19039         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19040         with a shift of 0 bits.
19041
19042 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19043
19044         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19045         $(tststatic-ENV).
19046
19047 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19048
19049         [BZ #15655]
19050         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19051
19052 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19053
19054         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19055         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19056         accepts -fno-tree-loop-distribute-patterns.
19057         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19058         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19059         recursive call.
19060         * string/memset.c (memset): Likewise.
19061         * string/test-memmove.c (simple_memmove): Disable loop transformation
19062         to library calls.
19063         * string/test-memset.c (simple_memset): Likewise.
19064         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19065         * benchtests/bench-memset.c (simple_memset): Likewise.
19066         * configure: Regenerated.
19067
19068 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19069
19070         * math/test-misc.c (main): Ignore fesetround failure when failures
19071         of subsequent rounding tests would be ignored.
19072
19073         [BZ #15654]
19074         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19075         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19076         * math/fegetenv.c (__fegetenv): Return 0.
19077         * math/fegetexcept.c (fegetexcept): Return 0.
19078         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19079         FE_TONEAREST.
19080         * math/feholdexcpt.c (feholdexcept): Return 0.
19081         * math/fesetenv.c (__fesetenv): Return 0.
19082         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19083         argument FE_TONEAREST.
19084         * math/feupdateenv.c (__feupdateenv): Return 0.
19085         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19086
19087 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19088
19089         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19090         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19091         ($(objpfx)rtld-%.os rules): Use them.
19092
19093 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19094
19095         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19096         fields.
19097
19098 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19099
19100         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19101         length of target pattern, then descending length of dependency pattern.
19102         * configure.in (AWK): Require gawk 3.1.2 or newer.
19103         * manual/install.texi (Tools for Compilation): Say that we do.
19104         * configure: Regenerated.
19105
19106         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19107         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19108         * scripts/sysd-rules.awk: ... this new script.
19109         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19110         than a glob-style pattern.
19111
19112 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19113
19114         * math/test-misc.c (main): Do not treat incorrectly rounded
19115         conversions as failure unless ROUNDING_TESTS passes.
19116
19117 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19118
19119         [BZ #15631]
19120         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19121         restore exception state around main square root computation, then
19122         check for inexactness explicitly.
19123
19124         * math/libm-test.inc (fma_test_data): Add another test.
19125
19126 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19127
19128         * manual/threads.texi (Non-POSIX Extensions): New document
19129         node.  Document pthread_getattr_default_np and
19130         pthread_setattr_default_np.
19131
19132         * Versions.def (libpthread): Add GLIBC_2.18.
19133         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19135         Likewise.
19136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19137         Likewise.
19138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19139         Likewise.
19140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19141         Likewise.
19142         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19143         Likewise.
19144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19145         Likewise.
19146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19147         Likewise.
19148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19149         Likewise.
19150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19151         Likewise.
19152
19153 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19154
19155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19156         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19157
19158 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159             H.J. Lu  <hjl.tools@gmail.com>
19160
19161         [BZ #15627]
19162         * sysdeps/x86_64/rtld-memset.c: Remove file.
19163         * sysdeps/x86_64/rtld-memset.S: New file.
19164
19165 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19166
19167         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19168         (test_in_one_mode): Take arguments for whether the rounding mode
19169         is supported for each floating-point type.
19170         (do_test): Pass new arguments to test_in_one_mode using
19171         ROUNDING_TESTS.
19172
19173 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19174
19175         * posix/tst-waitid.c (do_test): Distinguish different instances of
19176         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19177         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19178         before entering the kernel for waitpid.
19179
19180 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19181
19182         * NEWS: Fix note on clock function precision.  Text by Roland
19183         McGrath.
19184
19185 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19186
19187         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19188         it into place only when and if the sanity check passes.
19189
19190 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19191
19192         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19193         output for whether conversion result is exact.  Take argument
19194         indicating whether type is IBM long double.
19195         (round_for_all): Change need_exact field to ibm_ld.
19196         * stdlib/tst-strtod-round.c (struct exactness): New type.
19197         (struct test): Change bool ld_ok field to struct exactness exact.
19198         (TEST): Update all definitions for change to field.
19199         (tests): Regenerate array contents.
19200         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19201         field value.  Check for IBM long double here.
19202         (do_test): Update calls to test_in_one_mode.
19203
19204 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19205
19206         [BZ #12515]
19207         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19208         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19209
19210 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19211
19212         [BZ #15605]
19213         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19214         generated by the compiler on loop optimizations.
19215         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19216         general definitions.
19217
19218 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19219
19220         * math/bug-nextafter.c: Include <math-tests.h>.
19221         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19222         the relevant type.
19223         * math/bug-nexttoward.c: Include <math-tests.h>.
19224         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19225         the relevant type.
19226         * math/test-misc.c: Include <math-tests.h>.
19227         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19228         the relevant type.
19229
19230 2013-06-12  Andreas Jaeger  <aj@suse.de>
19231
19232         * po/ia.po: Update Interlingua translation from translation
19233         project.
19234
19235 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19236
19237         * include/fenv.h: Include stdbool.h.
19238         (struct rm_ctx): New structure.
19239         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19240         Define macro.
19241         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19242         (SET_RESTORE_ROUNDF): Likewise.
19243         (SET_RESTORE_ROUNDL): Likewise.
19244         (SET_RESTORE_ROUND_NOEX): Likewise.
19245         (SET_RESTORE_ROUND_NOEXF): Likewise.
19246         (SET_RESTORE_ROUND_NOEXL): Likewise.
19247         (SET_RESTORE_ROUND_53BIT): Likewise.
19248         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19249         (libc_feresetround_noexf_ctx): Likewise.
19250         (libc_feresetround_noexl_ctx): Likewise.
19251         (libc_feholdsetround_53bit_ctx): Likewise.
19252         (libc_feresetround_53bit_ctx): Likewise.
19253         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19254         (libc_feholdexcept_setround_sse_ctx): New function.
19255         (libc_fesetenv_sse_ctx): Likewise.
19256         (libc_feupdateenv_sse_ctx): Likewise.
19257         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19258         (libc_feholdexcept_setround_387_ctx): Likewise.
19259         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19260         (libc_feholdsetround_387_prec_ctx): Likewise.
19261         (libc_feholdsetround_387_ctx): Likewise.
19262         (libc_feholdsetround_387_53bit_ctx): Likewise.
19263         (libc_feholdsetround_sse_ctx): Likewise.
19264         (libc_feresetround_sse_ctx): Likewise.
19265         (libc_feresetround_387_ctx): Likewise.
19266         (libc_feupdateenv_387_ctx): Likewise.
19267         (libc_feholdexcept_setroundf_ctx): Define macro.
19268         (libc_fesetenvf_ctx): Likewise.
19269         (libc_feupdateenvf_ctx): Likewise.
19270         (libc_feholdsetroundf_ctx): Likewise.
19271         (libc_feresetroundf_ctx): Likewise.
19272         (libc_feholdexcept_setround_ctx): Likewise.
19273         (libc_fesetenv_ctx): Likewise.
19274         (libc_feupdateenv_ctx): Likewise.
19275         (libc_feholdsetround_ctx): Likewise.
19276         (libc_feresetround_ctx): Likewise.
19277         (libc_feholdexcept_setroundl_ctx): Likewise.
19278         (libc_feupdateenvl_ctx): Likewise.
19279         (libc_feholdsetroundl_ctx): Likewise.
19280         (libc_feresetroundl_ctx): Likewise.
19281         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19282         (libc_feresetround_53bit_ctx): Likewise.
19283
19284 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19285
19286         * locale/iso-639.def: Convert to UTF-8.
19287
19288 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19289
19290         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19291         (EXCEPTION_TESTS_double): Likewise.
19292         (EXCEPTION_TESTS_long_double): Likewise.
19293         (EXCEPTION_TESTS): Likewise.
19294         * math/libm-test.inc (test_exceptions): Only test exceptions if
19295         EXCEPTION_TESTS (FLOAT).
19296
19297 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298
19299         * benchtests/Makefile (string-bench): Add strcpy_chk and
19300         stpcpy_chk.
19301         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19302         * benchtests/bench-stpcpy_chk.c: New file.
19303         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19304         * benchtests/bench-strcpy_chk.c: New file.
19305         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19306         code.
19307         (do_test): Likewise.
19308
19309 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19310
19311         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19312         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19313         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19314         with tabs where appropriate.
19315         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19316         dl-procinfo.h.
19317         [PPC_PLATFORM_PPC440]: Likewise.
19318         [PPC_PLATFORM_PPC464]: Likewise.
19319         [PPC_PLATFORM_PPC476]: Likewise.
19320         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19321         ppc464, and ppc476 platform strings merging from ports/
19322         dl-procinfo.h.
19323
19324 2013-06-11  Andreas Schwab  <schwab@suse.de>
19325
19326         [BZ #14991]
19327         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19328         (from_ucs4_idx): Regenerate.
19329         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19330         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19331         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19332         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19333         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19334         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19335         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19336         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19337         from FROM_LOOP and TO_LOOP specific macros.
19338         (BODY): Handle combining characters.
19339         * iconvdata/BIG5HKSCS.irreversible: Update.
19340         * iconvdata/BIG5HKSCS.precomposed: New file.
19341         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19342         characters.
19343         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19344
19345 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19346
19347         * include/sys/time.h: Fix indentation and add copyright header.
19348
19349         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19350         (do_test): Likewise.
19351         * string/test-memchr.c (do_one_test): Likewise.
19352         (do_test): Likewise.
19353         * string/test-memcmp.c (do_one_test): Likewise.
19354         (do_test): Likewise.
19355         * string/test-memcpy.c (do_one_test): Likewise.
19356         (do_test): Likewise.
19357         * string/test-memmem.c (do_one_test): Likewise.
19358         (do_test): Likewise.
19359         (do_random_tests): Likewise.
19360         * string/test-memmove.c (do_one_test): Likewise.
19361         (do_test): Likewise.
19362         * string/test-memset.c (do_one_test): Likewise.
19363         (do_test): Likewise.
19364         * string/test-rawmemchr.c (do_one_test): Likewise.
19365         (do_test): Likewise.
19366         * string/test-strcasecmp.c (do_one_test): Likewise.
19367         (do_test): Likewise.
19368         * string/test-strcasestr.c (do_one_test): Likewise.
19369         (do_test): Likewise.
19370         * string/test-strcat.c (do_one_test): Likewise.
19371         (do_test): Likewise.
19372         * string/test-strchr.c (do_one_test): Likewise.
19373         (do_test): Likewise.
19374         * string/test-strcmp.c (do_one_test): Likewise.
19375         (do_test): Likewise.
19376         * string/test-strcpy.c (do_one_test): Likewise.
19377         (do_test): Likewise.
19378         * string/test-string.h: Likewise.
19379         (test_init): Likewise.
19380         * string/test-strlen.c (do_one_test): Likewise.
19381         (do_test): Likewise.
19382         * string/test-strncasecmp.c (do_one_test): Likewise.
19383         (do_test): Likewise.
19384         * string/test-strncat.c (do_one_test): Likewise.
19385         (do_test): Likewise.
19386         * string/test-strncmp.c (do_one_test): Likewise.
19387         (do_test_limit): Likewise.
19388         (do_test): Likewise.
19389         * string/test-strncpy.c (do_one_test): Likewise.
19390         (do_test): Likewise.
19391         * string/test-strnlen.c (do_one_test): Likewise.
19392         (do_test): Likewise.
19393         * string/test-strpbrk.c (do_one_test): Likewise.
19394         (do_test): Likewise.
19395         * string/test-strrchr.c (do_one_test): Likewise.
19396         (do_test): Likewise.
19397         * string/test-strspn.c (do_one_test): Likewise.
19398         (do_test): Likewise.
19399         * string/test-strstr.c (do_one_test): Likewise.
19400         (do_test): Likewise.
19401
19402         * benchtests/Makefile (string-bench): Add string benchmarks.
19403         * benchtests/bench-bcopy-ifunc.c: New file.
19404         * benchtests/bench-bcopy.c: New file.
19405         * benchtests/bench-bzero-ifunc.c: New file.
19406         * benchtests/bench-bzero.c: New file.
19407         * benchtests/bench-memccpy-ifunc.c: New file.
19408         * benchtests/bench-memccpy.c: New file.
19409         * benchtests/bench-memchr-ifunc.c: New file.
19410         * benchtests/bench-memchr.c: New file.
19411         * benchtests/bench-memcmp-ifunc.c: New file.
19412         * benchtests/bench-memcmp.c: New file.
19413         * benchtests/bench-memmem-ifunc.c: New file.
19414         * benchtests/bench-memmem.c: New file.
19415         * benchtests/bench-memmove-ifunc.c: New file.
19416         * benchtests/bench-memmove.c: New file.
19417         * benchtests/bench-mempcpy-ifunc.c: New file.
19418         * benchtests/bench-mempcpy.c: New file.
19419         * benchtests/bench-memset-ifunc.c: New file.
19420         * benchtests/bench-memset.c: New file.
19421         * benchtests/bench-rawmemchr-ifunc.c: New file.
19422         * benchtests/bench-rawmemchr.c: New file.
19423         * benchtests/bench-stpcpy-ifunc.c: New file.
19424         * benchtests/bench-stpcpy.c: New file.
19425         * benchtests/bench-stpncpy-ifunc.c: New file.
19426         * benchtests/bench-stpncpy.c: New file.
19427         * benchtests/bench-strcasecmp-ifunc.c: New file.
19428         * benchtests/bench-strcasecmp.c: New file.
19429         * benchtests/bench-strcasestr-ifunc.c: New file.
19430         * benchtests/bench-strcasestr.c: New file.
19431         * benchtests/bench-strcat-ifunc.c: New file.
19432         * benchtests/bench-strcat.c: New file.
19433         * benchtests/bench-strchr-ifunc.c: New file.
19434         * benchtests/bench-strchr.c: New file.
19435         * benchtests/bench-strchrnul-ifunc.c: New file.
19436         * benchtests/bench-strchrnul.c: New file.
19437         * benchtests/bench-strcmp-ifunc.c: New file.
19438         * benchtests/bench-strcmp.c: New file.
19439         * benchtests/bench-strcpy-ifunc.c: New file.
19440         * benchtests/bench-strcpy.c: New file.
19441         * benchtests/bench-strcspn-ifunc.c: New file.
19442         * benchtests/bench-strcspn.c: New file.
19443         * benchtests/bench-strlen-ifunc.c: New file.
19444         * benchtests/bench-strlen.c: New file.
19445         * benchtests/bench-strncasecmp-ifunc.c: New file.
19446         * benchtests/bench-strncasecmp.c: New file.
19447         * benchtests/bench-strncat-ifunc.c: New file.
19448         * benchtests/bench-strncat.c: New file.
19449         * benchtests/bench-strncmp-ifunc.c: New file.
19450         * benchtests/bench-strncmp.c: New file.
19451         * benchtests/bench-strncpy-ifunc.c: New file.
19452         * benchtests/bench-strncpy.c: New file.
19453         * benchtests/bench-strnlen-ifunc.c: New file.
19454         * benchtests/bench-strnlen.c: New file.
19455         * benchtests/bench-strpbrk-ifunc.c: New file.
19456         * benchtests/bench-strpbrk.c: New file.
19457         * benchtests/bench-strrchr-ifunc.c: New file.
19458         * benchtests/bench-strrchr.c: New file.
19459         * benchtests/bench-strspn-ifunc.c: New file.
19460         * benchtests/bench-strspn.c: New file.
19461         * benchtests/bench-strstr-ifunc.c: New file.
19462         * benchtests/bench-strstr.c: New file.
19463
19464         * benchtests/Makefile: Disable parallel execution of targets.
19465         (string-bench): Add memcpy.
19466         (benchset): New variable to store a list of benchmark sets.
19467         (bench-func): Renamed from bench.
19468         (bench-set): New target.
19469         (bench): Depend on bench-func and bench-set.
19470         * benchtests/README: Add section on benchmark sets.
19471         * benchtests/bench-memcpy-ifunc.c: New file.
19472         * benchtests/bench-memcpy.c: New file.
19473         * benchtests/bench-string.h: New file.
19474
19475 2013-06-11  Andreas Schwab  <schwab@suse.de>
19476
19477         [BZ #15577]
19478         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19479         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19480         values in the triple.
19481         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19482         terminator in the group key.
19483
19484 2013-06-11  Andreas Jaeger  <aj@suse.de>
19485
19486         * po/zh_TW.po: Update Chinese (traditional) translation from
19487         translation project.
19488
19489 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19490
19491         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19492         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19493         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19494         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19495         (clock_getcpuclockid): Likewise.
19496         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19497         Add weak_alias and libc_hidden_def.
19498         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19499         * rt/clock_gettime.c (clock_gettime): Rename to
19500         __clock_gettime.  Add weak_alias and libc_hidden_def.
19501         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19502         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19503         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19504         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19505         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19506         Likewise.
19507         * rt/clock_settime.c (clock_settime): Rename to
19508         __clock_settime.  Add weak_alias and libc_hidden_def.
19509         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19510
19511 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19512
19513         * mach/err_boot.sub: Remove trailing whitespace.
19514         * mach/err_ipc.sub: Likewise.
19515         * mach/err_mach.sub: Likewise.
19516
19517         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19518         (ROUNDING_TESTS_double): Likewise.
19519         (ROUNDING_TESTS_long_double): Likewise.
19520         (ROUNDING_TESTS): Likewise.
19521         * math/libm-test.inc: Include <math-tests.h>.
19522         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19523         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19524         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19525         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19526
19527 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19528
19529         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19530         of assigning.
19531
19532 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19533
19534         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19535         otherwise empty TRANS lines.
19536         * sysdeps/gnu/errlist.c: Regenerated.
19537
19538         * catgets/gencat.c (error_print): Use (void) in function
19539         definition.
19540         * crypt/crypt_util.c (__init_des): Likewise.
19541         * crypt/speeds.c (Stop): Likewise.
19542         (main): Likewise.
19543         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19544         * inet/ruserpass.c (token): Likewise.
19545         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19546         * intl/localealias.c (extend_alias_table): Likewise.
19547         * intl/plural-exp.c (init_germanic_plural): Likewise.
19548         * libio/fcloseall.c (__fcloseall): Likewise.
19549         * libio/genops.c (_IO_flush_all): Likewise.
19550         (_IO_flush_all_linebuffered): Likewise.
19551         (_IO_cleanup): Likewise.
19552         (_IO_iter_begin): Likewise.
19553         (_IO_iter_end): Likewise.
19554         (_IO_list_lock): Likewise.
19555         (_IO_list_unlock): Likewise.
19556         (_IO_list_resetlock): Likewise.
19557         * libio/getchar.c (getchar): Likewise.
19558         * libio/getchar_u.c (getchar_unlocked): Likewise.
19559         * libio/getwchar.c (getwchar): Likewise.
19560         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19561         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19562         * login/getpt.c (__getpt): Likewise.
19563         * login/tst-utmp.c (main): Likewise.
19564         * malloc/hooks.c (__malloc_check_init): Likewise.
19565         * malloc/malloc.c (__malloc_stats): Likewise.
19566         * malloc/mtrace.c (tr_break): Likewise.
19567         (mtrace): Likewise.
19568         (muntrace): Likewise.
19569         * misc/fstab.c (endfsent): Likewise.
19570         * misc/getclktck.c (__getclktck): Likewise.
19571         * misc/getdtsz.c (__getdtablesize): Likewise.
19572         * misc/gethostid.c (gethostid): Likewise.
19573         * misc/getpagesize.c (__getpagesize): Likewise.
19574         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19575         (__get_nprocs): Likewise.
19576         (__get_phys_pages): Likewise.
19577         (__get_avphys_pages): Likewise.
19578         * misc/getttyent.c (getttyent): Likewise.
19579         (setttyent): Likewise.
19580         (endttyent): Likewise.
19581         * misc/getusershell.c (getusershell): Likewise.
19582         (endusershell): Likewise.
19583         (setusershell): Likewise.
19584         (initshells): Likewise.
19585         * misc/hsearch.c (__hdestroy): Likewise.
19586         * misc/sync.c (sync): Likewise.
19587         * misc/syslog.c (closelog_internal): Likewise.
19588         (closelog): Likewise.
19589         * misc/ttyslot.c (ttyslot): Likewise.
19590         * misc/vhangup.c (vhangup): Likewise.
19591         * posix/fork.c (__fork): Likewise.
19592         * posix/getegid.c (__getegid): Likewise.
19593         * posix/geteuid.c (__geteuid): Likewise.
19594         * posix/getgid.c (__getgid): Likewise.
19595         * posix/getpid.c (__getpid): Likewise.
19596         * posix/getppid.c (__getppid): Likewise.
19597         * posix/getuid.c (__getuid): Likewise.
19598         * posix/pause.c (pause): Likewise.
19599         * posix/setpgrp.c (setpgrp): Likewise.
19600         * posix/setsid.c (__setsid): Likewise.
19601         * posix/test-vfork.c (noop): Likewise.
19602         * resolv/gethnamaddr.c (_endhtent): Likewise.
19603         (_gethtent): Likewise.
19604         (ht_endhostent): Likewise.
19605         (gethostent): Likewise.
19606         (dns_service): Likewise.
19607         * stdlib/drand48.c (drand48): Likewise.
19608         * stdlib/lrand48.c (lrand48): Likewise.
19609         * stdlib/mrand48.c (mrand48): Likewise.
19610         * stdlib/rand.c (rand): Likewise.
19611         * stdlib/random.c (__random): Likewise.
19612         * stdlib/setenv.c (clearenv): Likewise.
19613         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19614         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19615         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19616         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19617         (__get_nprocs): Likewise.
19618         (__get_phys_pages): Likewise.
19619         (__get_avphys_pages): Likewise.
19620         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19621         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19622         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19623         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19624         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19625         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19626         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19627         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19628         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19629         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19630         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19631         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19632         * sysdeps/posix/clock.c (clock): Likewise.
19633         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19634         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19635         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19636         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19637         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19639         (__get_nprocs_conf): Likewise.
19640         (__get_phys_pages): Likewise.
19641         (__get_avphys_pages): Likewise.
19642         * time/clock.c (clock): Likewise.
19643         * time/tzset.c (__tzname_max): Likewise.
19644
19645 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19646
19647         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19648         (__bswap_32): Do not use "register".
19649         * crypt/crypt.c (_ufc_doit_r): Likewise.
19650         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19651         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19652         * gmon/gmon.c (__monstartup): Likewise.
19653         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19654         * hurd/hurdmalloc.c (more_memory): Likewise.
19655         (malloc): Likewise.
19656         (free): Likewise.
19657         (realloc): Likewise.
19658         (malloc_fork_prepare): Likewise.
19659         (malloc_fork_parent): Likewise.
19660         (malloc_fork_child): Likewise.
19661         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19662         (_svcauth_des): Likewise.
19663         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19664         * inet/inet_net.c (inet_network): Likewise.
19665         * inet/inet_netof.c (inet_netof): Likewise.
19666         * inet/rcmd.c (__validuser2_sa): Likewise.
19667         * io/fts.c (fts_open): Likewise.
19668         (fts_load): Likewise.
19669         (fts_close): Likewise.
19670         (fts_read): Likewise.
19671         (fts_children): Likewise.
19672         (fts_build): Likewise.
19673         (fts_stat): Likewise.
19674         (fts_sort): Likewise.
19675         (fts_alloc): Likewise.
19676         (fts_lfree): Likewise.
19677         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19678         (_IO_file_xsgetn): Likewise.
19679         (_IO_file_xsgetn_mmap): Likewise.
19680         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19681         (_IO_cookie_write): Likewise.
19682         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19683         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19684         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19685         * malloc/obstack.c (_obstack_begin): Likewise.
19686         (_obstack_begin_1): Likewise.
19687         (_obstack_newchunk): Likewise.
19688         (_obstack_allocated_p): Likewise.
19689         (obstack_free): Likewise.
19690         (_obstack_memory_used): Likewise.
19691         * misc/getttyent.c (getttynam): Likewise.
19692         (getttyent): Likewise.
19693         (skip): Likewise.
19694         (value): Likewise.
19695         * misc/getusershell.c (initshells): Likewise.
19696         * misc/syslog.c (__vsyslog_chk): Likewise.
19697         * misc/ttyslot.c (ttyslot): Likewise.
19698         * nis/nis_hash.c (__nis_hash): Likewise.
19699         * posix/fnmatch_loop.c (FCT): Likewise.
19700         * posix/getconf.c (print_all): Likewise.
19701         (main): Likewise.
19702         * posix/getopt.c (exchange): Likewise.
19703         * posix/glob.c (globfree): Likewise.
19704         (prefix_array): Likewise.
19705         (__glob_pattern_type): Likewise.
19706         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19707         (NS_GET32): Likewise.
19708         (NS_PUT16): Likewise.
19709         (NS_PUT32): Likewise.
19710         * resolv/gethnamaddr.c (getanswer): Likewise.
19711         (gethostbyname2): Likewise.
19712         (gethostbyaddr): Likewise.
19713         (_gethtent): Likewise.
19714         (_gethtbyname2): Likewise.
19715         (_gethtbyaddr): Likewise.
19716         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19717         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19718         * resolv/res_init.c (__res_vinit): Likewise.
19719         (net_mask): Likewise.
19720         * resolv/res_mkquery.c (outchar): Likewise.
19721         (PRINT): Likewise.
19722         * stdio-common/printf_fp.c (outchar): Likewise.
19723         (PRINT): Likewise.
19724         * stdio-common/printf_fphex.c (outchar): Likewise.
19725         (PRINT): Likewise.
19726         * stdio-common/printf_size.c (outchar): Likewise.
19727         (PRINT): Likewise.
19728         * stdio-common/test_rdwr.c (main): Likewise.
19729         * stdio-common/tfformat.c (matches): Likewise.
19730         * stdio-common/vfprintf.c (outchar): Likewise.
19731         (printf_unknown): Likewise.
19732         (buffered_vfprintf): Likewise.
19733         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19734         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19735         (ReadFile): Likewise.
19736         * stdlib/qsort.c (SWAP): Likewise.
19737         (_quicksort): Likewise.
19738         * stdlib/setenv.c (__add_to_environ): Likewise.
19739         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19740         * stdlib/strtol_l.c (__strtol_l): Likewise.
19741         * stdlib/tst-strtod.c (main): Likewise.
19742         * stdlib/tst-strtol.c (main): Likewise.
19743         * stdlib/tst-strtoll.c (main): Likewise.
19744         * string/bits/string2.h (__strcmp_cc): Likewise.
19745         (__strcmp_cg): Likewise.
19746         (__strcspn_c1): Likewise.
19747         (__strcspn_c2): Likewise.
19748         (__strcspn_c3): Likewise.
19749         (__strspn_c1): Likewise.
19750         (__strspn_c2): Likewise.
19751         (__strspn_c3): Likewise.
19752         (__strsep_1c): Likewise.
19753         (__strsep_2c): Likewise.
19754         (__strsep_3c): Likewise.
19755         * string/memccpy.c (__memccpy): Likewise.
19756         * string/stpcpy.c (__stpcpy): Likewise.
19757         * string/strcmp.c (strcmp): Likewise.
19758         * string/strrchr.c (strrchr): Likewise.
19759         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19760         Likewise.
19761         * sysdeps/mach/hurd/getcwd.c
19762         (_hurd_canonicalize_directory_name_internal): Likewise.
19763         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19764         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19765         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19766         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19767         Likewise, in both definitions.
19768         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19769         definitions.
19770         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19771         64] (__bswap_64): Likewise.
19772         * time/test_time.c (main): Likewise.
19773         * time/tzfile.c (__tzfile_read): Likewise.
19774         (__tzfile_compute): Likewise.
19775         * time/tzset.c (__tzset_parse_tz): Likewise.
19776         (tzset_internal): Likewise.
19777         (compute_change): Likewise.
19778         * wcsmbs/wcscat.c (__wcscat): Likewise.
19779         * wcsmbs/wcschr.c (wcschr): Likewise.
19780         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19781         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19782         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19783         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19784         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19785         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19786         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19787         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19788         * wcsmbs/wmemset.c (wmemset): Likewise.
19789
19790 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19791
19792         * scripts/config.guess: Update to version 2013-05-16.
19793         * scripts/config.sub: Update to version 2013-04-24.
19794         * scripts/install-sh: Update to version 2011-11-20.07.
19795         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19796         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19797
19798 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19799
19800         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19801         * elf/sln.c: Likewise.
19802         * hurd/hurd/ioctl.h: Likewise.
19803         * hurd/hurdmalloc.c: Likewise.
19804         * hurd/xattr.c: Likewise.
19805         * include/shlib-compat.h: Likewise.
19806         * inet/ruserpass.c: Likewise.
19807         * libio/iofgets_u.c: Likewise.
19808         * libio/iofgetws_u.c: Likewise.
19809         * locale/programs/ld-identification.c: Likewise.
19810         * locale/programs/ld-time.c: Likewise.
19811         * mach/msg-destroy.c: Likewise.
19812         * nss/nss_files/files-netgrp.c: Likewise.
19813         * resolv/res_data.c: Likewise.
19814         * soft-fp/op-1.h: Likewise.
19815         * soft-fp/op-2.h: Likewise.
19816         * soft-fp/op-4.h: Likewise.
19817         * soft-fp/op-common.h: Likewise.
19818         * stdio-common/printf_fphex.c: Likewise.
19819         * stdlib/strtod_l.c: Likewise.
19820         * sunrpc/rpc/clnt.h: Likewise.
19821         * sysdeps/generic/framestate.c: Likewise.
19822         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19823         * sysdeps/i386/bsd-setjmp.S: Likewise.
19824         * sysdeps/i386/__longjmp.S: Likewise.
19825         * sysdeps/i386/setjmp.S: Likewise.
19826         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19827         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19828         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19829         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19830         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19831         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19832         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19833         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19834         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19835         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19836         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19837         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19838         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19839         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19840         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19842         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19843         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19844         * sysdeps/ieee754/support.c: Likewise.
19845         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19846         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19847         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19848         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19849         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19850         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19851         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19852         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19853         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19854         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19855         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19856         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19857         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19858         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19859         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19860         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19861         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19863
19864 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19865
19866         * posix/transbug.c: Remove executable mode.
19867
19868 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19869
19870         * crypt/speeds.c: Remove trailing whitespace.
19871         * dlfcn/default.c: Likewise.
19872         * elf/ifuncdep2.c: Likewise.
19873         * elf/ifuncmain1.c: Likewise.
19874         * elf/ifuncmain1vis.c: Likewise.
19875         * elf/testobj.h: Likewise.
19876         * elf/tst-stackguard1.c: Likewise.
19877         * gmon/sys/gmon.h: Likewise.
19878         * hurd/hurdmsg.c: Likewise.
19879         * hurd/new-fd.c: Likewise.
19880         * hurd/ports-get.c: Likewise.
19881         * iconvdata/ibm1008_420.c: Likewise.
19882         * inet/tst-getni1.c: Likewise.
19883         * inet/tst-getni2.c: Likewise.
19884         * libio/ioungetc.c: Likewise.
19885         * libio/wfiledoalloc.c: Likewise.
19886         * manual/libm-err-tab.pl: Likewise.
19887         * math/w_dremf.c: Likewise.
19888         * misc/ftruncate.c: Likewise.
19889         * posix/bug-glob2.c: Likewise.
19890         * posix/tst-pcre.c: Likewise.
19891         * posix/wait4.c: Likewise.
19892         * resolv/README: Likewise.
19893         * resolv/res_debug.h: Likewise.
19894         * resolv/tst-inet_ntop.c: Likewise.
19895         * setjmp/bug269-setjmp.c: Likewise.
19896         * soft-fp/extended.h: Likewise.
19897         * soft-fp/op-1.h: Likewise.
19898         * soft-fp/op-2.h: Likewise.
19899         * soft-fp/op-4.h: Likewise.
19900         * soft-fp/op-8.h: Likewise.
19901         * soft-fp/testit.c: Likewise.
19902         * stdio-common/bug16.c: Likewise.
19903         * stdlib/random.c: Likewise.
19904         * sunrpc/rpcsvc/rquota.x: Likewise.
19905         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19906         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19907         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19908         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19909         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19910         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19911         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19912         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19913         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19914         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19915         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19916         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19917         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19918         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19919         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19920         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19921         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19922         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19923         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19924         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19925         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19928         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19929         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19930         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19933         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19934         * sysdeps/ieee754/s_lib_version.c: Likewise.
19935         * sysdeps/mach/hurd/check_fds.c: Likewise.
19936         * sysdeps/mach/hurd/getsockname.c: Likewise.
19937         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19938         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19939         * sysdeps/powerpc/bits/link.h: Likewise.
19940         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19941         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19942         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19943         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19944         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19945         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19946         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19947         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19948         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19949         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19950         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19951         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19952         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19953         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19954         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19955         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19958         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19961         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19962         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19963         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19964         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19966         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19968         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19972         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19973         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19974         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19975         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19976         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19977         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19978         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19979         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19980         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19981         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19982         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19983         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19984         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19985         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19986         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19987         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19988         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19989         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19992         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19993         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19994         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19995         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19996         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19997         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19999         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20001         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20002         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20003         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20004         * sysdeps/powerpc/sysdep.h: Likewise.
20005         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20006         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20007         * sysdeps/sh/dl-trampoline.S: Likewise.
20008         * sysdeps/sh/memset.S: Likewise.
20009         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20010         * sysdeps/sh/strlen.S: Likewise.
20011         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20012         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20013         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20014         * sysdeps/sparc/sparc32/rem.S: Likewise.
20015         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20016         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20017         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20018         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20019         * sysdeps/sparc/sparc32/urem.S: Likewise.
20020         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20021         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20022         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20023         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20024         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20025         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20026         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20027         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20028         * sysdeps/unix/bsd/times.c: Likewise.
20029         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20030         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20034         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20035         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20036         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20037         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20038         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20039         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20040         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20041         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20042         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20043         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20044         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20045         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20046         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20047         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20048         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20049         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20050         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20051         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20052         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20053         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20054         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20055         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20056         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20057         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20058         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20059         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20060         * sysdeps/x86_64/strcspn.S: Likewise.
20061
20062 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20063
20064         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20065         generated file.  Regenerate properly from gen-translit.pl.
20066         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20067         locale/C-translit.h.
20068
20069 2013-06-05  Andreas Schwab  <schwab@suse.de>
20070
20071         [BZ #15100]
20072         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20073         week as 6 instead of -1.
20074         * time/tst-strptime.c (day_tests): Add test case.
20075
20076 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20077
20078         * sysdeps/generic/math_private.h
20079         (libc_feholdexcept_setround_53bit): Replace with
20080         libc_feholdsetround_53bit.
20081         (libc_feupdateenv_53bit): Replace with
20082         libc_feresetround_53bit.
20083         (SET_RESTORE_ROUND_53BIT): Adjust.
20084
20085 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20086
20087         * string/test-strchrnul.c: Add copyright header.
20088
20089         * posix/tst-getaddrinfo4.c: Increase test timeout.
20090
20091 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20092
20093         [BZ #15536]
20094         * math/libm-test.inc (MAX_EXP): Remove
20095         (MIN_EXP): Define.
20096         (ulp): Use MIN_EXP - MANT_DIG.
20097         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20098
20099 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20100
20101         * po/be.po: Revert last change.
20102         * po/zh_CN.po: Likewise.
20103         * po/header.pot: Likewise.
20104
20105 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20106
20107         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20108         link-libc-deps to empty as target-specific variable.
20109         * Makerules (link-libc-args): New variable.
20110         (libc-for-link): Likewise.
20111         (link-libc-deps): Likewise.
20112         (lib%.so): Depend on $(link-libc-deps).  Link with
20113         $(link-libc-args).
20114         (build-module): Link with $(link-libc-args).
20115         (build-module-asneeded): Likewise.
20116         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20117         list of objects.
20118         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20119         target-specific variable.
20120         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20121         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20122         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20123         libc.
20124         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20125         libc and ld.so.
20126         ($(objpfx)libpcprofile.so): Likewise.
20127         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20128         libc_nonshared.a.
20129         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20130         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20131         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20132         $(link-libc-deps).
20133         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20134         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20135         * login/Makefile ($(objpfx)libutil.so): Likewise.
20136         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20137         * math/Makefile ($(objpfx)libm.so): Likewise.
20138         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20139         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20140         variable instead of depending directly on libc.
20141         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20142         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20143         $(link-libc-deps).
20144         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20145         libc.
20146         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20147         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20148         ($(objpfx)libanl.so): Likewise.
20149         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20150         ld.so.
20151         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20152         $(link-libc-deps).
20153         * sysdeps/i386/fpu/Makefile: Remove file.
20154         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20155         ($(objpfx)libm.so): Remove dependency on ld.so.
20156
20157 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20158
20159         [BZ # 15553]
20160         * nis/yp_xdr.c (XDRMAXNAME): Define.
20161         (XDRMAXRECORD): Define.
20162         (xdr_domainname): Use XDRMAXNAME.
20163         (xdr_mapname): Likewise.
20164         (xdr_peername): Likewise.
20165         (xdr_keydat): Use XDRMAXRECORD.
20166         (xdr_valdat): Likewise.
20167
20168 2013-05-30  Jeff Law  <law@redhat.com>
20169
20170         [BZ #14256]
20171         * manual/errno.texi (ESTALE): Update to account for more than
20172         just NFS file systems.
20173         * sysdeps/gnu/errlist.c: Regenerated.
20174
20175 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20176
20177         [BZ #15465]
20178         * elf/Makefile (tests): Add tst-null-argv.
20179         (modules-names):  Add tst-null-argv-lib.
20180         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20181         (tst-null-argv-ENV): Set environment for tst-null-argv.
20182         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20183         (RTLD_PROGNAME): New macro.
20184         * elf/tst-null-argv.c: New test case.
20185         * elf/tst-null-argv-lib.c: Library for test case.
20186         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20187         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20188         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20189         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20190         * elf/dl-init.c (call_init): Likewise.
20191         (_dl_init): Likewise.
20192         * elf/dl-load.c (print_search_path): Likewise.
20193         (_dl_map_object): Likewise.
20194         * elf/dl-lookup.c (do_lookup_x): Likewise.
20195         (add_dependency): Likewise.
20196         (_dl_lookup_symbol_x): Likewise.
20197         (_dl_debug_bindings): Likewise.
20198         * elf/dl-open.c (_dl_show_scope): Likewise.
20199         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20200         * elf/dl-version.c (match_symbol): Likewise.
20201         (_dl_check_map_versions): Likewise.
20202         * elf/rtld.c (dl_main): Likewise.
20203         (print_unresolved): Use RTLD_PROGNAME.
20204         (print_missing_version): Likewise.
20205         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20206         (elf_machine_rela): Likewise.
20207         * sysdeps/powerpc/powerpc32/dl-machine.c
20208         (__process_machine_rela): Likewise.
20209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20210         Likewise.
20211         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20212         Likewise.
20213         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20214         Likewise.
20215         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20216         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20217         Likewise.
20218         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20219         Likewise.
20220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20221
20222 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20223
20224         * po/be.po: Add descriptive title.
20225         * po/zh_CN.po: Likewise.
20226         * po/header.pot: Likewise.
20227
20228 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20229
20230         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20231         error message.
20232         (enlarge_archive): Likewise.
20233
20234 2013-05-28  Ben North  <ben@redfrontdoor.org>
20235
20236         * manual/arith.texi (frexp): It is the magnitude of the return
20237         value which lies in [0.5, 1), not the return value itself.
20238
20239 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20240
20241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20242
20243 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20244
20245         * stdio-common/bug26.c (main): Correct fscanf template.
20246
20247         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20248         declare _dl_skip_args.
20249
20250         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20251         Don't declare.
20252
20253         * manual/platform.texi: Add missing @end deftypefun.
20254
20255 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20256
20257         [BZ #15529]
20258         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20259         bit of mantissa of 2^16382.
20260         * math/libm-test.inc (hypot_test_data): Add more tests.
20261
20262         * math/libm-test.inc: Add drem and pow10 to list of tested
20263         functions.
20264         (pow10_test): New function.
20265         (drem_test): Likewise.
20266         (drem_test_tonearest): Likewise.
20267         (drem_test_towardzero): Likewise.
20268         (drem_test_downward): Likewise.
20269         (drem_test_upward): Likewise.
20270         (main): Call the new functions.
20271
20272         * math/libm-test.inc (finite_test_data): Remove.
20273         (finite_test): Run tests from isfinite_test_data.
20274         (gamma_test_data): Remove.
20275         (gamma_test): Run tests from lgamma_test_data.
20276         * sysdeps/i386/fpu/libm-test-ulps: Update.
20277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278
20279 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20280
20281         * manual/platform.texi: Add PowerPC PPR function set documentation.
20282         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20283         implementation.
20284
20285 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20286
20287         * math/libm-test.inc (MAX_EXP): Define.
20288         (ULPDIFF): Define.
20289         (ulp): New function.
20290         (check_float_internal): Use ULPDIFF.
20291         (cpow_test): Disable failing test.
20292         (check_ulp): Test ulp() implemetnation.
20293         (main): Call check_ulp before starting tests.
20294
20295 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20296
20297         * math/gen-libm-test.pl (generate_testfile): Do not handle
20298         START_DATA and END_DATA.
20299         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20300         END_DATA.
20301         (acos_tonearest_test_data): Likewise.
20302         (acos_towardzero_test_data): Likewise.
20303         (acos_downward_test_data): Likewise.
20304         (acos_upward_test_data): Likewise.
20305         (acosh_test_data): Likewise.
20306         (asin_test_data): Likewise.
20307         (asin_tonearest_test_data): Likewise.
20308         (asin_towardzero_test_data): Likewise.
20309         (asin_downward_test_data): Likewise.
20310         (asin_upward_test_data): Likewise.
20311         (asinh_test_data): Likewise.
20312         (atan_test_data): Likewise.
20313         (atanh_test_data): Likewise.
20314         (atan2_test_data): Likewise.
20315         (cabs_test_data): Likewise.
20316         (cacos_test_data): Likewise.
20317         (cacosh_test_data): Likewise.
20318         (carg_test_data): Likewise.
20319         (casin_test_data): Likewise.
20320         (casinh_test_data): Likewise.
20321         (catan_test_data): Likewise.
20322         (catanh_test_data): Likewise.
20323         (cbrt_test_data): Likewise.
20324         (ccos_test_data): Likewise.
20325         (ccosh_test_data): Likewise.
20326         (ceil_test_data): Likewise.
20327         (cexp_test_data): Likewise.
20328         (cimag_test_data): Likewise.
20329         (clog_test_data): Likewise.
20330         (clog10_test_data): Likewise.
20331         (conj_test_data): Likewise.
20332         (copysign_test_data): Likewise.
20333         (cos_test_data): Likewise.
20334         (cos_tonearest_test_data): Likewise.
20335         (cos_towardzero_test_data): Likewise.
20336         (cos_downward_test_data): Likewise.
20337         (cos_upward_test_data): Likewise.
20338         (cosh_test_data): Likewise.
20339         (cosh_tonearest_test_data): Likewise.
20340         (cosh_towardzero_test_data): Likewise.
20341         (cosh_downward_test_data): Likewise.
20342         (cosh_upward_test_data): Likewise.
20343         (cpow_test_data): Likewise.
20344         (cproj_test_data): Likewise.
20345         (creal_test_data): Likewise.
20346         (csin_test_data): Likewise.
20347         (csinh_test_data): Likewise.
20348         (csqrt_test_data): Likewise.
20349         (ctan_test_data): Likewise.
20350         (ctan_tonearest_test_data): Likewise.
20351         (ctan_towardzero_test_data): Likewise.
20352         (ctan_downward_test_data): Likewise.
20353         (ctan_upward_test_data): Likewise.
20354         (ctanh_test_data): Likewise.
20355         (ctanh_tonearest_test_data): Likewise.
20356         (ctanh_towardzero_test_data): Likewise.
20357         (ctanh_downward_test_data): Likewise.
20358         (ctanh_upward_test_data): Likewise.
20359         (erf_test_data): Likewise.
20360         (erfc_test_data): Likewise.
20361         (exp_test_data): Likewise.
20362         (exp_tonearest_test_data): Likewise.
20363         (exp_towardzero_test_data): Likewise.
20364         (exp_downward_test_data): Likewise.
20365         (exp_upward_test_data): Likewise.
20366         (exp10_test_data): Likewise.
20367         (exp2_test_data): Likewise.
20368         (expm1_test_data): Likewise.
20369         (fabs_test_data): Likewise.
20370         (fdim_test_data): Likewise.
20371         (finite_test_data): Likewise.
20372         (floor_test_data): Likewise.
20373         (fma_test_data): Likewise.
20374         (fma_towardzero_test_data): Likewise.
20375         (fma_downward_test_data): Likewise.
20376         (fma_upward_test_data): Likewise.
20377         (fmax_test_data): Likewise.
20378         (fmin_test_data): Likewise.
20379         (fmod_test_data): Likewise.
20380         (fpclassify_test_data): Likewise.
20381         (frexp_test_data): Likewise.
20382         (gamma_test_data): Likewise.
20383         (hypot_test_data): Likewise.
20384         (ilogb_test_data): Likewise.
20385         (isfinite_test_data): Likewise.
20386         (isgreater_test_data): Likewise.
20387         (isgreaterequal_test_data): Likewise.
20388         (isinf_test_data): Likewise.
20389         (isless_test_data): Likewise.
20390         (islessequal_test_data): Likewise.
20391         (islessgreater_test_data): Likewise.
20392         (isnan_test_data): Likewise.
20393         (isnormal_test_data): Likewise.
20394         (issignaling_test_data): Likewise.
20395         (isunordered_test_data): Likewise.
20396         (j0_test_data): Likewise.
20397         (j1_test_data): Likewise.
20398         (jn_test_data): Likewise.
20399         (ldexp_test_data): Likewise.
20400         (lgamma_test_data): Likewise.
20401         (lrint_test_data): Likewise.
20402         (lrint_tonearest_test_data): Likewise.
20403         (lrint_towardzero_test_data): Likewise.
20404         (lrint_downward_test_data): Likewise.
20405         (lrint_upward_test_data): Likewise.
20406         (llrint_test_data): Likewise.
20407         (llrint_tonearest_test_data): Likewise.
20408         (llrint_towardzero_test_data): Likewise.
20409         (llrint_downward_test_data): Likewise.
20410         (llrint_upward_test_data): Likewise.
20411         (log_test_data): Likewise.
20412         (log10_test_data): Likewise.
20413         (log1p_test_data): Likewise.
20414         (log2_test_data): Likewise.
20415         (logb_test_data): Likewise.
20416         (logb_downward_test_data): Likewise.
20417         (lround_test_data): Likewise.
20418         (llround_test_data): Likewise.
20419         (modf_test_data): Likewise.
20420         (nearbyint_test_data): Likewise.
20421         (nextafter_test_data): Likewise.
20422         (nexttoward_test_data): Likewise.
20423         (pow_test_data): Likewise.
20424         (pow_tonearest_test_data): Likewise.
20425         (pow_towardzero_test_data): Likewise.
20426         (pow_downward_test_data): Likewise.
20427         (pow_upward_test_data): Likewise.
20428         (remainder_test_data): Likewise.
20429         (remainder_tonearest_test_data): Likewise.
20430         (remainder_towardzero_test_data): Likewise.
20431         (remainder_downward_test_data): Likewise.
20432         (remainder_upward_test_data): Likewise.
20433         (remquo_test_data): Likewise.
20434         (rint_test_data): Likewise.
20435         (rint_tonearest_test_data): Likewise.
20436         (rint_towardzero_test_data): Likewise.
20437         (rint_downward_test_data): Likewise.
20438         (rint_upward_test_data): Likewise.
20439         (round_test_data): Likewise.
20440         (scalb_test_data): Likewise.
20441         (scalbn_test_data): Likewise.
20442         (scalbln_test_data): Likewise.
20443         (signbit_test_data): Likewise.
20444         (sin_test_data): Likewise.
20445         (sin_tonearest_test_data): Likewise.
20446         (sin_towardzero_test_data): Likewise.
20447         (sin_downward_test_data): Likewise.
20448         (sin_upward_test_data): Likewise.
20449         (sincos_test_data): Likewise.
20450         (sinh_test_data): Likewise.
20451         (sinh_tonearest_test_data): Likewise.
20452         (sinh_towardzero_test_data): Likewise.
20453         (sinh_downward_test_data): Likewise.
20454         (sinh_upward_test_data): Likewise.
20455         (sqrt_test_data): Likewise.
20456         (tan_test_data): Likewise.
20457         (tan_tonearest_test_data): Likewise.
20458         (tan_towardzero_test_data): Likewise.
20459         (tan_downward_test_data): Likewise.
20460         (tan_upward_test_data): Likewise.
20461         (tanh_test_data): Likewise.
20462         (tgamma_test_data): Likewise.
20463         (trunc_test_data): Likewise.
20464         (y0_test_data): Likewise.
20465         (y1_test_data): Likewise.
20466         (yn_test_data): Likewise.
20467         (significand_test_data): Likewise.
20468
20469         * math/gen-libm-test.pl (@functions): Remove variable.
20470         (generate_testfile): Don't handle START and END lines.
20471         * math/libm-test.inc (START): New macro.
20472         (END): Likewise.
20473         (END_COMPLEX): Likewise.
20474         (acos_test): Use END macro without arguments.
20475         (acos_test_tonearest): Likewise.
20476         (acos_test_towardzero): Likewise.
20477         (acos_test_downward): Likewise.
20478         (acos_test_upward): Likewise.
20479         (acosh_test): Likewise.
20480         (asin_test): Likewise.
20481         (asin_test_tonearest): Likewise.
20482         (asin_test_towardzero): Likewise.
20483         (asin_test_downward): Likewise.
20484         (asin_test_upward): Likewise.
20485         (asinh_test): Likewise.
20486         (atan_test): Likewise.
20487         (atanh_test): Likewise.
20488         (atan2_test): Likewise.
20489         (cabs_test): Likewise.
20490         (cacos_test): Use END_COMPLEX macro without arguments.
20491         (cacosh_test): Likewise.
20492         (carg_test): Use END macro without arguments.
20493         (casin_test): Use END_COMPLEX macro without arguments.
20494         (casinh_test): Likewise.
20495         (catan_test): Likewise.
20496         (catanh_test): Likewise.
20497         (cbrt_test): Use END macro without arguments.
20498         (ccos_test): Use END_COMPLEX macro without arguments.
20499         (ccosh_test): Likewise.
20500         (ceil_test): Use END macro without arguments.
20501         (cexp_test): Use END_COMPLEX macro without arguments.
20502         (cimag_test): Use END macro without arguments.
20503         (clog_test): Use END_COMPLEX macro without arguments.
20504         (clog10_test): Likewise.
20505         (conj_test): Likewise.
20506         (copysign_test): Use END macro without arguments.
20507         (cos_test): Likewise.
20508         (cos_test_tonearest): Likewise.
20509         (cos_test_towardzero): Likewise.
20510         (cos_test_downward): Likewise.
20511         (cos_test_upward): Likewise.
20512         (cosh_test): Likewise.
20513         (cosh_test_tonearest): Likewise.
20514         (cosh_test_towardzero): Likewise.
20515         (cosh_test_downward): Likewise.
20516         (cosh_test_upward): Likewise.
20517         (cpow_test): Use END_COMPLEX macro without arguments.
20518         (cproj_test): Likewise.
20519         (creal_test): Use END macro without arguments.
20520         (csin_test): Use END_COMPLEX macro without arguments.
20521         (csinh_test): Likewise.
20522         (csqrt_test): Likewise.
20523         (ctan_test): Likewise.
20524         (ctan_test_tonearest): Likewise.
20525         (ctan_test_towardzero): Likewise.
20526         (ctan_test_downward): Likewise.
20527         (ctan_test_upward): Likewise.
20528         (ctanh_test): Likewise.
20529         (ctanh_test_tonearest): Likewise.
20530         (ctanh_test_towardzero): Likewise.
20531         (ctanh_test_downward): Likewise.
20532         (ctanh_test_upward): Likewise.
20533         (erf_test): Use END macro without arguments.
20534         (erfc_test): Likewise.
20535         (exp_test): Likewise.
20536         (exp_test_tonearest): Likewise.
20537         (exp_test_towardzero): Likewise.
20538         (exp_test_downward): Likewise.
20539         (exp_test_upward): Likewise.
20540         (exp10_test): Likewise.
20541         (exp2_test): Likewise.
20542         (expm1_test): Likewise.
20543         (fabs_test): Likewise.
20544         (fdim_test): Likewise.
20545         (finite_test): Likewise.
20546         (floor_test): Likewise.
20547         (fma_test): Likewise.
20548         (fma_test_towardzero): Likewise.
20549         (fma_test_downward): Likewise.
20550         (fma_test_upward): Likewise.
20551         (fmax_test): Likewise.
20552         (fmin_test): Likewise.
20553         (fmod_test): Likewise.
20554         (fpclassify_test): Likewise.
20555         (frexp_test): Likewise.
20556         (gamma_test): Likewise.
20557         (hypot_test): Likewise.
20558         (ilogb_test): Likewise.
20559         (isfinite_test): Likewise.
20560         (isgreater_test): Likewise.
20561         (isgreaterequal_test): Likewise.
20562         (isinf_test): Likewise.
20563         (isless_test): Likewise.
20564         (islessequal_test): Likewise.
20565         (islessgreater_test): Likewise.
20566         (isnan_test): Likewise.
20567         (isnormal_test): Likewise.
20568         (issignaling_test): Likewise.
20569         (isunordered_test): Likewise.
20570         (j0_test): Likewise.
20571         (j1_test): Likewise.
20572         (jn_test): Likewise.
20573         (ldexp_test): Likewise.
20574         (lgamma_test): Likewise.
20575         (lrint_test): Likewise.
20576         (lrint_test_tonearest): Likewise.
20577         (lrint_test_towardzero): Likewise.
20578         (lrint_test_downward): Likewise.
20579         (lrint_test_upward): Likewise.
20580         (llrint_test): Likewise.
20581         (llrint_test_tonearest): Likewise.
20582         (llrint_test_towardzero): Likewise.
20583         (llrint_test_downward): Likewise.
20584         (llrint_test_upward): Likewise.
20585         (log_test): Likewise.
20586         (log10_test): Likewise.
20587         (log1p_test): Likewise.
20588         (log2_test): Likewise.
20589         (logb_test): Likewise.
20590         (logb_test_downward): Likewise.
20591         (lround_test): Likewise.
20592         (llround_test): Likewise.
20593         (modf_test): Likewise.
20594         (nearbyint_test): Likewise.
20595         (nextafter_test): Likewise.
20596         (nexttoward_test): Likewise.
20597         (pow_test): Likewise.
20598         (pow_test_tonearest): Likewise.
20599         (pow_test_towardzero): Likewise.
20600         (pow_test_downward): Likewise.
20601         (pow_test_upward): Likewise.
20602         (remainder_test): Likewise.
20603         (remainder_test_tonearest): Likewise.
20604         (remainder_test_towardzero): Likewise.
20605         (remainder_test_downward): Likewise.
20606         (remainder_test_upward): Likewise.
20607         (remquo_test): Likewise.
20608         (rint_test): Likewise.
20609         (rint_test_tonearest): Likewise.
20610         (rint_test_towardzero): Likewise.
20611         (rint_test_downward): Likewise.
20612         (rint_test_upward): Likewise.
20613         (round_test): Likewise.
20614         (scalb_test): Likewise.
20615         (scalbn_test): Likewise.
20616         (scalbln_test): Likewise.
20617         (signbit_test): Likewise.
20618         (sin_test): Likewise.
20619         (sin_test_tonearest): Likewise.
20620         (sin_test_towardzero): Likewise.
20621         (sin_test_downward): Likewise.
20622         (sin_test_upward): Likewise.
20623         (sincos_test): Likewise.
20624         (sinh_test): Likewise.
20625         (sinh_test_tonearest): Likewise.
20626         (sinh_test_towardzero): Likewise.
20627         (sinh_test_downward): Likewise.
20628         (sinh_test_upward): Likewise.
20629         (sqrt_test): Likewise.
20630         (tan_test): Likewise.
20631         (tan_test_tonearest): Likewise.
20632         (tan_test_towardzero): Likewise.
20633         (tan_test_downward): Likewise.
20634         (tan_test_upward): Likewise.
20635         (tanh_test): Likewise.
20636         (tgamma_test): Likewise.
20637         (trunc_test): Likewise.
20638         (y0_test): Likewise.
20639         (y1_test): Likewise.
20640         (yn_test): Likewise.
20641         (significand_test): Likewise.
20642
20643 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20644
20645         [BZ #15381]
20646         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20647
20648 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20649
20650         [BZ #14894]
20651         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20652         __ppc_mdoio and __ppc_mdoom.
20653         * manual/platform.texi: Document new functions __ppc_yield,
20654         __ppc_mdoio and __ppc_mdoom.
20655
20656 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20657
20658         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20659         (main): Mention "tls" pseudo-hwcap is legacy.
20660         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20661
20662 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20663
20664         * math/gen-libm-test.pl (parse_args): Output only string of
20665         arguments as text for test name, not full call or descriptions of
20666         tests for extra outputs.
20667         (generate_testfile): Do not pass function name to parse_args.
20668         Generate this_func variable from START.
20669         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20670         field to arg_str.
20671         (struct test_ff_f_data): Likewise.
20672         (test_ff_f_data_nexttoward): Likewise.
20673         (struct test_fi_f_data): Likewise.
20674         (struct test_fl_f_data): Likewise.
20675         (struct test_if_f_data): Likewise.
20676         (struct test_fff_f_data): Likewise.
20677         (struct test_c_f_data): Likewise.
20678         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20679         (struct test_fF_f1_data): Likewise.
20680         (struct test_ffI_f1_data): Likewise.
20681         (struct test_c_c_data): Rename test_name field to arg_str.
20682         (struct test_cc_c_data): Likewise.
20683         (struct test_f_i_data): Likewise.
20684         (struct test_ff_i_data): Likewise.
20685         (struct test_f_l_data): Likewise.
20686         (struct test_f_L_data): Likewise.
20687         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20688         and extra2_name.
20689         (COMMON_TEST_SETUP): New macro.
20690         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20691         (COMMON_TEST_CLEANUP): Likewise.
20692         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20693         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20694         macros.
20695         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20696         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20697         macros.
20698         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20699         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20700         cleanup macros.
20701         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20702         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20703         macros.
20704         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20705         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20706         macros.
20707         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20708         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20709         cleanup macros.
20710         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20711         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20712         cleanup macros.
20713         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20714         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20715         cleanup macros.
20716         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20717         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20718         macros.
20719         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20720         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20721         macros.
20722         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20723         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20724         macros.
20725         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20726         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20727         cleanup macros.
20728         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20729         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20730         cleanup macros.
20731         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20732         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20733         macros.
20734         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20735         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20736         cleanup macros.
20737         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20738         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20739         macros.
20740         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20741         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20742         macros.
20743         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20744         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20745         cleanup macros.
20746         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20747
20748 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20749
20750         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20751         to _sifields.sigfault.
20752         (si_addr_lsb): Define new macro.
20753         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20755         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20756
20757 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20758
20759         [BZ #15441]
20760         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20761         returns -1.
20762         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20763         null return -1.
20764         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20765         loading the domain.
20766
20767 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20768
20769         * math/gen-libm-test.pl (parse_args): Do not include expected
20770         result in test name.
20771         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20772         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20773         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20774         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20775         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20777
20778 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20779
20780         * benchtests/Makefile: Sort function entries.
20781
20782         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20783         tanh, asinh, acosh, atanh.
20784         * benchtests/acos-inputs: New file.
20785         * benchtests/acosh-inputs: New file.
20786         * benchtests/asin-inputs: New file.
20787         * benchtests/asinh-inputs: New file.
20788         * benchtests/atanh-inputs: New file.
20789         * benchtests/cosh-inputs: New file.
20790         * benchtests/log-inputs: New file.
20791         * benchtests/sinh-inputs: New file.
20792         * benchtests/tanh-inputs: New file.
20793
20794 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20795
20796         [BZ #15339]
20797         * posix/tst-getaddrinfo4.c: New test.
20798         * posix/Makefile (tests): Add it.
20799
20800 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20801
20802         [BZ #15339]
20803         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20804         when no services were used.
20805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20806         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20807
20808 2013-05-21  Andreas Schwab  <schwab@suse.de>
20809
20810         [BZ #15014]
20811         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20812         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20813         successful.
20814         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20815         redundant variable declarations and reallocation of buffer when
20816         parsing as IPv6 address.  Always set NSS status when called from
20817         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20818         buffer too small.  Correct computation of needed size.
20819         * nss/Makefile (tests): Add test-digits-dots.
20820         * nss/test-digits-dots.c: New test.
20821
20822 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20823
20824         * benchtests/Makefile: Remove instructions for adding
20825         benchmark tests.
20826         * benchtests/README: New file to explain how to execute and
20827         enhance the benchmark tests.
20828
20829 2013-05-21  Andreas Schwab  <schwab@suse.de>
20830
20831         [BZ #15493]
20832         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20833         * setjmp/tst-sigsetjmp.c: New test.
20834
20835 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20836
20837         * sysdeps/x86_64/memset.S (memset): New implementation.
20838         (__bzero): Likewise.
20839         (__memset_tail): New function.
20840
20841 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20842
20843         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20844         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20845         __memcpy_sse2_unaligned ifunc selection.
20846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20847         Add memcpy-sse2-unaligned.S.
20848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20849         Add: __memcpy_sse2_unaligned.
20850
20851 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20852
20853         [BZ #15490]
20854         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20855         math_force_eval before restoring floating-point envrionment.
20856         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20857         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20858         Likewise.
20859         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20860         <math_private.h>.
20861         (__nearbyintl): Use math_force_eval before restoring
20862         floating-point environment.
20863         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20864
20865         * math/gen-libm-test.pl (special_functions): Remove.
20866         (parse_args): Don't handle TEST_extra.  Handle functions with no
20867         return value.
20868         * math/libm-test.inc (struct test_sincos_data): Replace with
20869         struct test_fFF_11_data.
20870         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20871         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20872         (sincos_test_data): Change element type to struct
20873         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20874         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20875         RUN_TEST_LOOP_sincos.
20876         * math/README.libm-test: Don't mention special handling of
20877         individual functions.
20878         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20879         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20880         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20881         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20882         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20884
20885         * math/gen-libm-test.pl (get_variable): Remove function.
20886         (parse_args): Don't show pointer parameters to call in test
20887         names.  Use "extra output N" in test names for extra outputs
20888         rather than naming variables.
20889
20890 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20891
20892         [BZ #15488]
20893         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20894         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20895         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20896         double tests.
20897         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20898         disable.
20899         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20900         check_long_double.
20901
20902         * math/gen-libm-test.pl (@tests): Remove variable.
20903         ($count): Likewise.
20904         (new_test): Remove function.
20905         (show_exceptions): New function.
20906         (special_functions): Use show_exceptions instead of new_test.
20907         (parse_args): Likewise.
20908         (generate_testfile): Pass only function name in generated call to
20909         print_max_error or print_complex_max_error.
20910         (get_ulps): Do not handle complex tests specially.
20911         (output_test): Rename to ...
20912         (get_all_ulps_for_test): ... this.  Return a string rather than
20913         printing to a file.  Require ulps to be present.
20914         (output_ulps): Generate arrays rather than #defines.
20915         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20916         (struct ulp_data): New type.
20917         (BUILD_COMPLEX_ULP): Remove macro.
20918         (compare_ulp_data): New function.
20919         (find_ulps): Likewise.
20920         (find_test_ulps): Likewise.
20921         (find_function_ulps): Likewise.
20922         (find_complex_function_ulps): Likewise.
20923         (print_max_error): Determine allowed ulps using
20924         find_function_ulps.
20925         (print_complex_max_error): Determine allowed ulps using
20926         find_complex_function_ulps.
20927         (check_float_internal): Determine max ulps using find_test_ulps.
20928         (check_float): Do not take max_ulp parameter.  Update call to
20929         check_float_internal.
20930         (check_complex): Likewise.
20931         (check_int): Do not take max_ulp parameter.
20932         (check_long): Likewise.
20933         (check_bool): Likewise.
20934         (check_longlong): Likewise.
20935         (struct test_f_f_data): Remove max_ulp field.
20936         (struct test_ff_f_data): Likewise.
20937         (struct test_ff_f_data_nexttoward): Likewise.
20938         (struct test_fi_f_data): Likewise.
20939         (struct test_fl_f_data): Likewise.
20940         (struct test_if_f_data): Likewise.
20941         (struct test_fff_f_data): Likewise.
20942         (struct test_c_f_data): Likewise.
20943         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20944         (struct test_fF_f1_data): Likewise.
20945         (struct test_ffI_f1_data): Likewise.
20946         (struct test_c_c_data): Remove max_ulp field.
20947         (struct test_cc_c_data): Likewise.
20948         (struct test_f_i_data): Likewise.
20949         (struct test_ff_i_data): Likewise.
20950         (struct test_f_l_data): Likewise.
20951         (struct test_f_L_data): Likewise.
20952         (struct test_sincos_data): Likewise.
20953         (RUN_TEST_f_f): Do not handle ulps.
20954         (RUN_TEST_LOOP_f_f): Likewise.
20955         (RUN_TEST_2_f): Likewise.
20956         (RUN_TEST_LOOP_2_f): Likewise.
20957         (RUN_TEST_fff_f): Likewise.
20958         (RUN_TEST_LOOP_fff_f): Likewise.
20959         (RUN_TEST_c_f): Likewise.
20960         (RUN_TEST_LOOP_c_f): Likewise.
20961         (RUN_TEST_f_f1): Likewise.
20962         (RUN_TEST_LOOP_f_f1): Likewise.
20963         (RUN_TEST_fF_f1): Likewise.
20964         (RUN_TEST_LOOP_fF_f1): Likewise.
20965         (RUN_TEST_fI_f1): Likewise.
20966         (RUN_TEST_LOOP_fI_f1): Likewise.
20967         (RUN_TEST_ffI_f1): Likewise.
20968         (RUN_TEST_LOOP_ffI_f1): Likewise.
20969         (RUN_TEST_c_c): Likewise.
20970         (RUN_TEST_LOOP_c_c): Likewise.
20971         (RUN_TEST_cc_c): Likewise.
20972         (RUN_TEST_LOOP_cc_c): Likewise.
20973         (RUN_TEST_f_i): Likewise.
20974         (RUN_TEST_LOOP_f_i): Likewise.
20975         (RUN_TEST_f_i_tg): Likewise.
20976         (RUN_TEST_LOOP_f_i_tg): Likewise.
20977         (RUN_TEST_ff_i_tg): Likewise.
20978         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20979         (RUN_TEST_f_b): Likewise.
20980         (RUN_TEST_LOOP_f_b): Likewise.
20981         (RUN_TEST_f_b_tg): Likewise.
20982         (RUN_TEST_LOOP_f_b_tg): Likewise.
20983         (RUN_TEST_f_l): Likewise.
20984         (RUN_TEST_LOOP_f_l): Likewise.
20985         (RUN_TEST_f_L): Likewise.
20986         (RUN_TEST_LOOP_f_L): Likewise.
20987         (RUN_TEST_sincos): Likewise.
20988         (RUN_TEST_LOOP_sincos): Likewise.
20989
20990 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20991
20992         [BZ #15480]
20993         [BZ #15485]
20994         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20995         main case of finite arguments, set rounding mode to FE_TONEAREST
20996         and discard exceptions.
20997         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20998         exceptions.
20999         (remainder_tonearest_test_data): New variable.
21000         (remainder_test_tonearest): New function.
21001         (remainder_towardzero_test_data): New variable.
21002         (remainder_test_towardzero): New function.
21003         (remainder_downward_test_data): New variable.
21004         (remainder_test_downward): New function.
21005         (remainder_upward_test_data): New variable.
21006         (remainder_test_upward): New function.
21007         (main): Call the new test functions.
21008
21009         * math/libm-test.inc (struct test_f_f1_data): Remove field
21010         extra_init.
21011         (struct test_fF_f1_data): Likewise.
21012         (struct test_ffI_f1_data): Likewise.
21013         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21014         based on value of EXTRA_EXPECTED.
21015         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21016         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21017         EXTRA_VAR based on value of EXTRA_EXPECTED.
21018         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21019         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21020         EXTRA_VAR based on value of EXTRA_EXPECTED.
21021         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21022         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21023         EXTRA_VAR based on value of EXTRA_EXPECTED.
21024         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21025         * math/gen-libm-test.pl (parse_args): Don't output initializers
21026         for extra output values.
21027
21028         * math/libm-test.inc (check_int): Expect result to be exactly
21029         equal to expected value and do not handle ulps.
21030         (check_long): Likewise.
21031         (check_longlong): Likewise.
21032
21033         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21034         exceptions.
21035         (cimag_test_data): Likewise.
21036         (conj_test_data): Likewise.
21037         (copysign_test_data): Likewise.
21038         (cproj_test_data): Likewise.
21039         (creal_test_data): Likewise.
21040         (fabs_test_data): Likewise.
21041         (fdim_test_data): Likewise.
21042         (finite_test_data): Likewise.
21043         (floor_test_data): Likewise.
21044         (fmax_test_data): Likewise.
21045         (fmin_test_data): Likewise.
21046         (fmod_test_data): Likewise.
21047         (fpclassify_test_data): Likewise.
21048         (frexp_test_data): Likewise.
21049         (ilogb_test_data): Likewise.
21050         (isfinite_test_data): Likewise.
21051         (isgreater_test_data): Likewise.
21052         (isgreaterequal_test_data): Likewise.
21053         (isinf_test_data): Likewise.
21054         (isless_test_data): Likewise.
21055         (islessequal_test_data): Likewise.
21056         (islessgreater_test_data): Likewise.
21057         (isnan_test_data): Likewise.
21058         (isnormal_test_data): Likewise.
21059         (issignaling_test_data): Likewise.
21060         (isunordered_test_data): Likewise.
21061         (ldexp_test_data): Likewise.
21062         (lrint_test_data): Likewise.
21063         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21064         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21065         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21066         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21067         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21068         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21069         test input.
21070         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21071         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21072         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21073         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21074         that test input.
21075         (lrint_downward_test_data): Test for "inexact" exceptions.
21076         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21077         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21078         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21079         test input.
21080         (lrint_upward_test_data): Test for "inexact" exceptions.
21081         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21082         test input.
21083         (llrint_test_data): Test for "inexact" exceptions.
21084         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21085         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21086         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21087         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21088         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21089         (llrint_downward_test_data): Test for "inexact" exceptions.
21090         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21091         (llrint_upward_test_data): Test for "inexact" exceptions.
21092         (logb_test_data): Likewise.
21093         (logb_downward_test_data): Likewise.
21094         (nextafter_test_data): Likewise.
21095         (nexttoward_test_data): Likewise.
21096         (remainder_test_data): Likewise.
21097         (remquo_test_data): Likewise.
21098         (scalbn_test_data): Likewise.
21099         (scalbln_test_data): Likewise.
21100         (signbit_test_data): Likewise.
21101         (sqrt_test_data): Likewise.
21102         (significand_test_data): Likewise.
21103
21104 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21105
21106         [BZ #15424]
21107         * benchtests/bench-modf.c (struct args): Mark arg0 as
21108         volatile.
21109         * scripts/bench.pl: Mark members of struct args as volatile.
21110
21111 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21112
21113         [BZ # 15497]
21114         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21115         negative infinity on POWER6 or lower.
21116         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21117
21118 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21119
21120         [BZ #15442]
21121         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21122         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21123         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21124         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21125         (_FP_SETQNAN): New macro.
21126         (_FP_SETQNAN_SEMIRAW): Likewise.
21127         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21128         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21129         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21130         (FP_EXTEND): Use _FP_FRAC_SNANP.
21131         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21132         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21133         into account.
21134         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21135         New macro.
21136         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21137         Likewise.
21138
21139 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21140
21141         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21142         with DIVIDE_BY_ZERO_EXCEPTION.
21143         (gamma_test_data): Likewise.
21144         (lgamma_test_data): Likewise.
21145         (log_test_data): Likewise.
21146         (log10_test_data): Likewise.
21147         (log2_test_data): Likewise.
21148         (tgamma_test_data): Likewise.
21149
21150         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21151         (acos_test_tonearest): Likewise.
21152         (acos_test_towardzero): Likewise.
21153         (acos_test_downward): Likewise.
21154         (acos_test_upward): Likewise.
21155         (acosh_test): Likewise.
21156         (asin_test): Likewise.
21157         (asin_test_tonearest): Likewise.
21158         (asin_test_towardzero): Likewise.
21159         (asin_test_downward): Likewise.
21160         (asin_test_upward): Likewise.
21161         (asinh_test): Likewise.
21162         (atan_test): Likewise.
21163         (atanh_test): Likewise.
21164         (atan2_test): Likewise.
21165         (cabs_test): Likewise.
21166         (cacos_test): Likewise.
21167         (cacosh_test): Likewise.
21168         (casin_test): Likewise.
21169         (casinh_test): Likewise.
21170         (catan_test): Likewise.
21171         (catanh_test): Likewise.
21172         (cbrt_test): Likewise.
21173         (ccos_test): Likewise.
21174         (ccosh_test): Likewise.
21175         (cexp_test): Likewise.
21176         (clog_test): Likewise.
21177         (clog10_test): Likewise.
21178         (cos_test): Likewise.
21179         (cos_test_tonearest): Likewise.
21180         (cos_test_towardzero): Likewise.
21181         (cos_test_downward): Likewise.
21182         (cos_test_upward): Likewise.
21183         (cosh_test): Likewise.
21184         (cosh_test_tonearest): Likewise.
21185         (cosh_test_towardzero): Likewise.
21186         (cosh_test_downward): Likewise.
21187         (cosh_test_upward): Likewise.
21188         (cpow_test): Likewise.
21189         (csin_test): Likewise.
21190         (csinh_test): Likewise.
21191         (csqrt_test): Likewise.
21192         (ctan_test): Likewise.
21193         (ctan_test_tonearest): Likewise.
21194         (ctan_test_towardzero): Likewise.
21195         (ctan_test_downward): Likewise.
21196         (ctan_test_upward): Likewise.
21197         (ctanh_test): Likewise.
21198         (ctanh_test_tonearest): Likewise.
21199         (ctanh_test_towardzero): Likewise.
21200         (ctanh_test_downward): Likewise.
21201         (ctanh_test_upward): Likewise.
21202         (erf_test): Likewise.
21203         (erfc_test): Likewise.
21204         (exp_test): Likewise.
21205         (exp_test_tonearest): Likewise.
21206         (exp_test_towardzero): Likewise.
21207         (exp_test_downward): Likewise.
21208         (exp_test_upward): Likewise.
21209         (exp10_test): Likewise.
21210         (exp2_test): Likewise.
21211         (expm1_test): Likewise.
21212         (fmod_test): Likewise.
21213         (gamma_test): Likewise.
21214         (hypot_test): Likewise.
21215         (j0_test): Likewise.
21216         (j1_test): Likewise.
21217         (jn_test): Likewise.
21218         (lgamma_test): Likewise.
21219         (log_test): Likewise.
21220         (log10_test): Likewise.
21221         (log1p_test): Likewise.
21222         (log2_test): Likewise.
21223         (logb_test_downward): Likewise.
21224         (pow_test): Likewise.
21225         (pow_test_tonearest): Likewise.
21226         (pow_test_towardzero): Likewise.
21227         (pow_test_downward): Likewise.
21228         (pow_test_upward): Likewise.
21229         (remainder_test): Likewise.
21230         (remquo_test): Likewise.
21231         (sin_test): Likewise.
21232         (sin_test_tonearest): Likewise.
21233         (sin_test_towardzero): Likewise.
21234         (sin_test_downward): Likewise.
21235         (sin_test_upward): Likewise.
21236         (sincos_test): Likewise.
21237         (sinh_test): Likewise.
21238         (sinh_test_tonearest): Likewise.
21239         (sinh_test_towardzero): Likewise.
21240         (sinh_test_downward): Likewise.
21241         (sinh_test_upward): Likewise.
21242         (sqrt_test): Likewise.
21243         (tan_test): Likewise.
21244         (tan_test_tonearest): Likewise.
21245         (tan_test_towardzero): Likewise.
21246         (tan_test_downward): Likewise.
21247         (tan_test_upward): Likewise.
21248         (tanh_test): Likewise.
21249         (tgamma_test): Likewise.
21250         (y0_test): Likewise.
21251         (y1_test): Likewise.
21252         (yn_test): Likewise.
21253
21254         * math/gen-libm-test.pl (adjust_arg): Remove function.
21255         (special_function): Remove argument $in_func.  Only handle
21256         generating output for tables of tests, not inside functions.
21257         (parse_args): Likewise.
21258         (generate_testfile): Remove variable $in_func.  Update call to
21259         parse_args.
21260         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21261         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21262         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21263         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21264         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21265         (MAX_VALUE_INIT): Rename macro to max_value.
21266         (MIN_VALUE_INIT): Rename macro to min_value.
21267         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21268         (plus_zero): Remove variable.
21269         (minus_zero): Likewise.
21270         (plus_infty): Likewise.
21271         (minus_infty): Likewise.
21272         (qnan_value): Likewise.
21273         (max_value): Likewise.
21274         (min_value): Likewise.
21275         (min_subnorm_value): Likewise.
21276
21277 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21278
21279         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21280         uint64_t or uint32_t usage.
21281         * crypt/sha256-block.c: Likewise.
21282         * crypt/sha256-crypt.c: Likewise.
21283         * crypt/sha256.c: Likewise.
21284         * crypt/sha512-block.c: Likewise.
21285         * crypt/sha512-crypt.c: Likewise.
21286         * crypt/sha512.c: Likewise.
21287         * debug/backtrace-tst.c: Likewise.
21288         * debug/pcprofiledump.c: Likewise.
21289         * elf/cache.c: Likewise.
21290         * elf/dl-cache.c: Likewise.
21291         * elf/dl-misc.c: Likewise.
21292         * elf/dl-profile.c: Likewise.
21293         * elf/dl-support.c: Likewise.
21294         * elf/ldconfig.c: Likewise.
21295         * elf/sprof.c: Likewise.
21296         * iconv/dummy-repertoire.c: Likewise.
21297         * iconv/iconv_charmap.c: Likewise.
21298         * iconv/skeleton.c: Likewise.
21299         * iconvdata/8bit-generic.c: Likewise.
21300         * iconvdata/cp737.h: Likewise.
21301         * iconvdata/cp775.h: Likewise.
21302         * iconvdata/ibm1008.h: Likewise.
21303         * iconvdata/ibm1025.h: Likewise.
21304         * iconvdata/ibm1046.h: Likewise.
21305         * iconvdata/ibm1097.h: Likewise.
21306         * iconvdata/ibm1112.h: Likewise.
21307         * iconvdata/ibm1122.h: Likewise.
21308         * iconvdata/ibm1123.h: Likewise.
21309         * iconvdata/ibm1124.h: Likewise.
21310         * iconvdata/ibm1129.h: Likewise.
21311         * iconvdata/ibm1130.h: Likewise.
21312         * iconvdata/ibm1132.h: Likewise.
21313         * iconvdata/ibm1133.h: Likewise.
21314         * iconvdata/ibm1137.h: Likewise.
21315         * iconvdata/ibm1140.h: Likewise.
21316         * iconvdata/ibm1141.h: Likewise.
21317         * iconvdata/ibm1142.h: Likewise.
21318         * iconvdata/ibm1143.h: Likewise.
21319         * iconvdata/ibm1144.h: Likewise.
21320         * iconvdata/ibm1145.h: Likewise.
21321         * iconvdata/ibm1146.h: Likewise.
21322         * iconvdata/ibm1147.h: Likewise.
21323         * iconvdata/ibm1148.h: Likewise.
21324         * iconvdata/ibm1149.h: Likewise.
21325         * iconvdata/ibm1153.h: Likewise.
21326         * iconvdata/ibm1154.h: Likewise.
21327         * iconvdata/ibm1155.h: Likewise.
21328         * iconvdata/ibm1156.h: Likewise.
21329         * iconvdata/ibm1157.h: Likewise.
21330         * iconvdata/ibm1158.h: Likewise.
21331         * iconvdata/ibm1160.h: Likewise.
21332         * iconvdata/ibm1161.h: Likewise.
21333         * iconvdata/ibm1162.h: Likewise.
21334         * iconvdata/ibm1163.h: Likewise.
21335         * iconvdata/ibm1164.h: Likewise.
21336         * iconvdata/ibm1166.h: Likewise.
21337         * iconvdata/ibm1167.h: Likewise.
21338         * iconvdata/ibm12712.h: Likewise.
21339         * iconvdata/ibm1390.h: Likewise.
21340         * iconvdata/ibm1399.h: Likewise.
21341         * iconvdata/ibm16804.h: Likewise.
21342         * iconvdata/ibm4517.h: Likewise.
21343         * iconvdata/ibm4899.h: Likewise.
21344         * iconvdata/ibm4909.h: Likewise.
21345         * iconvdata/ibm4971.h: Likewise.
21346         * iconvdata/ibm5347.h: Likewise.
21347         * iconvdata/ibm803.h: Likewise.
21348         * iconvdata/ibm856.h: Likewise.
21349         * iconvdata/ibm901.h: Likewise.
21350         * iconvdata/ibm902.h: Likewise.
21351         * iconvdata/ibm9030.h: Likewise.
21352         * iconvdata/ibm9066.h: Likewise.
21353         * iconvdata/ibm921.h: Likewise.
21354         * iconvdata/ibm922.h: Likewise.
21355         * iconvdata/ibm9448.h: Likewise.
21356         * iconvdata/isiri-3342.h: Likewise.
21357         * iconvdata/jis0201.h: Likewise.
21358         * include/link.h: Likewise.
21359         * include/netdb.h: Likewise.
21360         * inet/check_native.c: Likewise.
21361         * inet/check_pf.c: Likewise.
21362         * inet/getipv4sourcefilter.c: Likewise.
21363         * inet/getnameinfo.c: Likewise.
21364         * inet/getsourcefilter.c: Likewise.
21365         * inet/htonl.c: Likewise.
21366         * inet/setipv4sourcefilter.c: Likewise.
21367         * inet/setsourcefilter.c: Likewise.
21368         * inet/test-inet6_opt.c: Likewise.
21369         * inet/tst-network.c: Likewise.
21370         * locale/C-collate.c: Likewise.
21371         * locale/C-ctype.c: Likewise.
21372         * locale/C-time.c: Likewise.
21373         * locale/C-translit.h: Likewise.
21374         * locale/loadarchive.c: Likewise.
21375         * locale/programs/3level.h: Likewise.
21376         * locale/programs/charmap.c: Likewise.
21377         * locale/programs/charmap.h: Likewise.
21378         * locale/programs/ld-address.c: Likewise.
21379         * locale/programs/ld-collate.c: Likewise.
21380         * locale/programs/ld-ctype.c: Likewise.
21381         * locale/programs/ld-identification.c: Likewise.
21382         * locale/programs/ld-measurement.c: Likewise.
21383         * locale/programs/ld-messages.c: Likewise.
21384         * locale/programs/ld-monetary.c: Likewise.
21385         * locale/programs/ld-name.c: Likewise.
21386         * locale/programs/ld-numeric.c: Likewise.
21387         * locale/programs/ld-paper.c: Likewise.
21388         * locale/programs/ld-telephone.c: Likewise.
21389         * locale/programs/ld-time.c: Likewise.
21390         * locale/programs/linereader.c: Likewise.
21391         * locale/programs/locale.c: Likewise.
21392         * locale/programs/locarchive.c: Likewise.
21393         * locale/programs/locfile.h: Likewise.
21394         * locale/programs/repertoire.c: Likewise.
21395         * locale/programs/simple-hash.c: Likewise.
21396         * locale/programs/simple-hash.h: Likewise.
21397         * malloc/memusage.c: Likewise.
21398         * malloc/memusagestat.c: Likewise.
21399         * nis/nis_defaults.c: Likewise.
21400         * nis/nis_hash.c: Likewise.
21401         * nis/nis_print.c: Likewise.
21402         * nis/nis_xdr.c: Likewise.
21403         * nscd/connections.c: Likewise.
21404         * nscd/hstcache.c: Likewise.
21405         * nscd/nscd_gethst_r.c: Likewise.
21406         * nscd/nscd_getserv_r.c: Likewise.
21407         * nscd/nscd_helper.c: Likewise.
21408         * nscd/servicescache.c: Likewise.
21409         * nss/makedb.c: Likewise.
21410         * nss/nss_db/db-XXX.c: Likewise.
21411         * nss/nss_db/db-initgroups.c: Likewise.
21412         * nss/nss_db/db-netgrp.c: Likewise.
21413         * nss/nss_files/files-network.c: Likewise.
21414         * nss/nss_files/files-parse.c: Likewise.
21415         * posix/bug-regex5.c: Likewise.
21416         * posix/fnmatch_loop.c: Likewise.
21417         * posix/regcomp.c: Likewise.
21418         * posix/regexec.c: Likewise.
21419         * posix/tst-rfc3484-2.c: Likewise.
21420         * posix/tst-rfc3484-3.c: Likewise.
21421         * posix/tst-rfc3484.c: Likewise.
21422         * resolv/nss_dns/dns-canon.c: Likewise.
21423         * resolv/nss_dns/dns-network.c: Likewise.
21424         * resolv/res_init.c: Likewise.
21425         * resolv/res_mkquery.c: Likewise.
21426         * resolv/tst-aton.c: Likewise.
21427         * stdlib/cxa_atexit.c: Likewise.
21428         * stdlib/cxa_finalize.c: Likewise.
21429         * stdlib/gen-fpioconst.c: Likewise.
21430         * stdlib/strtol_l.c: Likewise.
21431         * string/tst-endian.c: Likewise.
21432         * sunrpc/auth_des.c: Likewise.
21433         * sunrpc/clnt_udp.c: Likewise.
21434         * sunrpc/rtime.c: Likewise.
21435         * sunrpc/svcauth_des.c: Likewise.
21436         * sunrpc/xdr.c: Likewise.
21437         * sunrpc/xdr_intXX_t.c: Likewise.
21438         * sunrpc/xdr_rec.c: Likewise.
21439         * sysdeps/generic/ldconfig.h: Likewise.
21440         * sysdeps/generic/ldsodefs.h: Likewise.
21441         * sysdeps/generic/memusage.h: Likewise.
21442         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21443         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21444         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21445         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21446         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21447         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21448         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21452         * sysdeps/posix/getaddrinfo.c: Likewise.
21453         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21454         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21455         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21456         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21457         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21458         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21459         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21460         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21461         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21462         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21463         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21464         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21465         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21466         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21467         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21468         * sysdeps/x86_64/dl-tls.h: Likewise.
21469         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21470         * time/alt_digit.c: Likewise.
21471         * time/era.c: Likewise.
21472         * wcsmbs/tst-c16c32-1.c: Likewise.
21473
21474 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21475
21476         * math/libm-test.inc (struct test_sincos_data): New type.
21477         (RUN_TEST_LOOP_sincos): New macro.
21478         (sincos_test_data): New variable.
21479         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21480
21481 2013-05-16  Richard Henderson  <rth@redhat.com>
21482
21483         * math/atest-exp2.c (LIMB64): New macro.
21484         (CONSTSZ): New macro.
21485         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21486         (hexdig): Move ...
21487         (print_mpn_fp): ... to function scope.
21488         (read_mpn_hex): Remove.
21489         (get_log2): Remove.
21490         (exp2_mpn): Use mp_log2.
21491         (main): Use mp_exp1.
21492
21493 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21494
21495         * math/libm-test.inc: Remove comment about not testing "inexact"
21496         exceptions.
21497         (INEXACT_EXCEPTION): New macro.
21498         (NO_INEXACT_EXCEPTION): Likewise.
21499         (INVALID_EXCEPTION_OK): Update value.
21500         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21501         (OVERFLOW_EXCEPTION_OK): Likewise.
21502         (UNDERFLOW_EXCEPTION_OK): Likewise.
21503         (IGNORE_ZERO_INF_SIGN): Likewise.
21504         (ERRNO_UNCHANGED): Likewise.
21505         (ERRNO_EDOM): Likewise.
21506         (ERRNO_ERANGE): Likewise.
21507         (test_exceptions): Handle testing "inexact" exceptions.
21508         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21509         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21510         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21511         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21512         INEXACT_EXCEPTION.
21513         (rint_towardzero_test_data): Likewise.
21514         (rint_downward_test_data): Likewise.
21515         (rint_upward_test_data): Likewise.
21516
21517         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21518         with OVERFLOW_EXCEPTION.
21519         (exp10_test_data): Likewise.
21520         (exp2_test_data): Likewise.
21521         (expm1_test_data): Likewise.
21522         (lgamma_test_data): Likewise.
21523         (pow_test_data): Likewise.
21524         (tgamma_test_data): Likewise.
21525         (yn_test_data): Remove duplicate test of overflow.
21526
21527         * math/libm-test.inc (struct test_cc_c_data): New type.
21528         (RUN_TEST_LOOP_cc_c): New macro.
21529         (cpow_test_data): New variable.
21530         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21531
21532         * math/libm-test.inc (struct test_f_L_data): New type.
21533         (RUN_TEST_LOOP_f_L): New macro.
21534         (llrint_test_data): New variable.
21535         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21536         (llrint_tonearest_test_data): New variable.
21537         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21538         (llrint_towardzero_test_data): New variable.
21539         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21540         (llrint_downward_test_data): New variable.
21541         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21542         (llrint_upward_test_data): New variable.
21543         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21544         (llround_test_data): New variable.
21545         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21546
21547 2013-05-13  Peter Collingbourne  <pcc@google.com>
21548
21549         * math/atest-exp2.c (get_log2): Remove const attribute.
21550
21551 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21552
21553         * math/libm-test.inc (struct test_f_l_data): New type.
21554         (RUN_TEST_LOOP_f_l): New macro.
21555         (lrint_test_data): New variable.
21556         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21557         (lrint_tonearest_test_data): New variable.
21558         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21559         (lrint_towardzero_test_data): New variable.
21560         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21561         (lrint_downward_test_data): New variable.
21562         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21563         (lrint_upward_test_data): New variable.
21564         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21565         (lround_test_data): New variable.
21566         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21567
21568 2013-05-15  Peter Collingbourne  <pcc@google.com>
21569
21570         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21571         (EXTRACT_WORDS64) Use where appropriate.
21572         (INSERT_WORDS64) Likewise.
21573
21574         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21575         constraints with x constraints.
21576         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21577
21578         * malloc/obstack.c (_obstack_compat): Add initializer.
21579
21580 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21581
21582         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21583         si_trapno and add si_addr_lsb to _sifields.sigfault.
21584         (si_trapno): Remove macro.
21585         (si_addr_lsb): Define new macro.
21586         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21587
21588 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21589
21590         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21591         instead of TEST_f_l.
21592         (llrint_test_tonearest): Likewise.
21593         (llrint_test_towardzero): Likewise.
21594         (llrint_test_downward): Likewise.
21595         (llrint_test_upward): Likewise.
21596         (llround_test): Likewise.
21597
21598         * math/libm-test.inc (struct test_f_i_data): Add comment.
21599         (RUN_TEST_LOOP_f_b): New macro.
21600         (RUN_TEST_LOOP_f_b_tg): Likewise.
21601         (finite_test_data): New variable.
21602         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21603         (isfinite_test_data): New variable.
21604         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21605         (isinf_test_data): New variable.
21606         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21607         (isnan_test_data): New variable.
21608         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21609         (isnormal_test_data): New variable.
21610         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21611         (issignaling_test_data): New variable.
21612         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21613         (signbit_test_data): New variable.
21614         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21615
21616         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21617         with INVALID_EXCEPTION.
21618         (acosh_test_data): Likewise.
21619         (asin_test_data): Likewise.
21620         (atanh_test_data): Likewise.
21621         (fmod_test_data): Likewise.
21622         (log_test_data): Likewise.
21623         (log10_test_data): Likewise.
21624         (log2_test_data): Likewise.
21625         (pow_test_data): Likewise.
21626         (sqrt_test_data): Likewise.
21627         (y0_test_data): Likewise.
21628         (y1_test_data): Likewise.
21629         (yn_test_data): Likewise.
21630
21631         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21632         function contents.
21633
21634         * math/libm-test.inc (struct test_ff_i_data): New type.
21635         (RUN_TEST_LOOP_ff_i_tg): New macro.
21636         (isgreater_test_data): New variable.
21637         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21638         (isgreaterequal_test_data): New variable.
21639         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21640         (isless_test_data): New variable.
21641         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21642         (islessequal_test_data): New variable.
21643         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21644         (islessgreater_test_data): New variable.
21645         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21646         (isunordered_test_data): New variable.
21647         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21648
21649 2013-05-14  David S. Miller  <davem@davemloft.net>
21650
21651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21652
21653 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21654
21655         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21656
21657         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21658         extra_test to int.
21659         (struct test_f_i_data): Change type of max_ulp to int.
21660
21661         * math/libm-test.inc (test_ffI_f1_data): New type.
21662         (RUN_TEST_LOOP_ffI_f1): New macro.
21663         (remquo_test_data): New variable.
21664         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21665
21666         * setjmp/tst-setjmp-fp.c: New file.
21667         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21668         (link-libm): New variable.
21669         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21670
21671         * math/libm-test.inc (struct test_f_i_data): New type.
21672         (RUN_TEST_LOOP_f_i): New macro.
21673         (RUN_TEST_LOOP_f_i_tg): Likewise.
21674         (fpclassify_test_data): New variable.
21675         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21676         (ilogb_test_data): New variable.
21677         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21678
21679         * math/libm-test.inc (scalbln_test): Correct function name in END
21680         call.
21681
21682         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21683         (RUN_TEST_LOOP_fI_f1): New macro.
21684         (frexp_test_data): New variable.
21685         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21686
21687         * math/libm-test.inc (struct test_fF_f1_data): New type.
21688         (RUN_TEST_LOOP_fF_f1): New macro.
21689         (modf_test_data): New variable.
21690         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21691
21692         * math/libm-test.inc (struct test_f_f1_data): New type.
21693         (RUN_TEST_LOOP_f_f1): New macro.
21694         (gamma_test_data): New variable.
21695         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21696         (lgamma_test_data): New variable.
21697         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21698
21699 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21700
21701         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21702         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21703         (main): Comment "tls" pseudo-hwcap.
21704
21705 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21706
21707         * math/libm-test.inc (struct test_fl_f_data): New type.
21708         (RUN_TEST_LOOP_fl_f): New variable.
21709         (scalbln_test_data): New variable.
21710         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21711
21712         * math/libm-test.inc (struct test_fi_f_data): New type.
21713         (RUN_TEST_LOOP_fi_f): New macro.
21714         (ldexp_test_data): New variable.
21715         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21716         (scalbn_test_data): New variable.
21717         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21718
21719         * math/libm-test.inc (struct test_c_f_data): New type.
21720         (RUN_TEST_LOOP_c_f): New macro.
21721         (cabs_test_data): New variable.
21722         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21723         (carg_test_data): New variable.
21724         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21725         (cimag_test_data): New variable.
21726         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21727         (creal_test_data): New variable.
21728         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21729
21730         * math/libm-test.inc (struct test_if_f_data): New type.
21731         (RUN_TEST_LOOP_if_f): New macro.
21732         (jn_test_data): New variable.
21733         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21734         (yn_test_data): New variable.
21735         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21736
21737         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21738
21739 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21740
21741         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21742         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21743
21744 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21745
21746         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21747         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21748         (bench-deps): Add bench-timing.h.
21749         * benchtests-bench-skeleton.c: Include bench-timing.h.
21750         (main): Use TIMING_* macros instead of clock_gettime.
21751         * benchtests/bench-timing.h: New file.
21752
21753         [BZ #14582]
21754         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21755         Renamed from _LIB_VERSION.
21756         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21757
21758 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21759
21760         * math/libm-test.inc (struct test_fff_f_data): New type.
21761         (RUN_TEST_LOOP_fff_f): New macro.
21762         (fma_test_data): New variable.
21763         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21764         (fma_towardzero_test_data): New variable.
21765         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21766         (fma_downward_test_data): New variable.
21767         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21768         (fma_upward_test_data): New variable.
21769         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21770
21771         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21772         (struct test_c_c_data): New type.
21773         (RUN_TEST_LOOP_c_c): New macro.
21774         (cacos_test_data): New variable.
21775         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21776         (cacosh_test_data): New variable.
21777         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21778         (casin_test_data): New variable.
21779         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21780         (casinh_test_data): New variable.
21781         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21782         (catan_test_data): New variable.
21783         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21784         (catanh_test_data): New variable.
21785         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21786         (ccos_test_data): New variable.
21787         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21788         (ccosh_test_data): New variable.
21789         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21790         (cexp_test_data): New variable.
21791         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21792         (clog_test_data): New variable.
21793         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21794         (clog10_test_data): New variable.
21795         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21796         (conj_test_data): New variable.
21797         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21798         (cproj_test_data): New variable.
21799         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21800         (csin_test_data): New variable.
21801         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21802         (csinh_test_data): New variable.
21803         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21804         (csqrt_test_data): New variable.
21805         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21806         (ctan_test_data): New variable.
21807         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21808         (ctan_tonearest_test_data): New variable.
21809         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21810         (ctan_towardzero_test_data): New variable.
21811         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21812         (ctan_downward_test_data): New variable.
21813         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21814         (ctan_upward_test_data): New variable.
21815         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21816         (ctanh_test_data): New variable.
21817         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21818         (ctanh_tonearest_test_data): New variable.
21819         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21820         (ctanh_towardzero_test_data): New variable.
21821         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21822         (ctanh_downward_test_data): New variable.
21823         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21824         (ctanh_upward_test_data): New variable.
21825         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21826         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21827         of BUILD_COMPLEX.
21828
21829         * math/libm-test.inc (struct test_ff_f_data): New type.
21830         (struct test_ff_f_data_nexttoward): Likewise.
21831         (RUN_TEST_LOOP_2_f): New macro.
21832         (RUN_TEST_LOOP_ff_f): Likewise.
21833         (atan2_test_data): New variable.
21834         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21835         (copysign_test_data): New variable.
21836         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21837         (fdim_test_data): New variable.
21838         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21839         (fmax_test_data): New variable.
21840         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21841         (fmin_test_data): New variable.
21842         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21843         (fmod_test_data): New variable.
21844         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21845         (hypot_test_data): New variable.
21846         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21847         (nextafter_test_data): New variable.
21848         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21849         (nexttoward_test_data): New variable.
21850         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21851         (pow_test_data): New variable.
21852         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21853         (pow_tonearest_test_data): New variable.
21854         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21855         (pow_towardzero_test_data): New variable.
21856         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21857         (pow_downward_test_data): New variable.
21858         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21859         (pow_upward_test_data): New variable.
21860         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21861         (remainder_test_data): New variable.
21862         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21863         (scalb_test_data): New variable.
21864         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21865         * sysdeps/i386/fpu/libm-test-ulps: Update.
21866
21867 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21868
21869         * math/libm-test.inc (fma_test): Use max_value instead of local
21870         variable fltmax.
21871         (nextafter_test): Likewise.
21872
21873         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21874         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21875         (acos_downward_test_data): New variable.
21876         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21877         (acos_upward_test_data): New variable.
21878         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21879         (acosh_test_data): New variable.
21880         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21881         (asin_test_data): New variable.
21882         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21883         (asin_tonearest_test_data): New variable.
21884         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21885         (asin_towardzero_test_data): New variable.
21886         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21887         (asin_downward_test_data): New variable.
21888         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21889         (asin_upward_test_data): New variable.
21890         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21891         (asinh_test_data): New variable.
21892         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21893         (atan_test_data): New variable.
21894         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21895         (atanh_test_data): New variable.
21896         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21897         (cbrt_test_data): New variable.
21898         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21899         (ceil_test_data): New variable.
21900         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21901         (cos_test_data): New variable.
21902         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21903         (cos_tonearest_test_data): New variable.
21904         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21905         (cos_towardzero_test_data): New variable.
21906         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21907         (cos_downward_test_data): New variable.
21908         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21909         (cos_upward_test_data): New variable.
21910         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21911         (cosh_test_data): New variable.
21912         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21913         (cosh_tonearest_test_data): New variable.
21914         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21915         (cosh_towardzero_test_data): New variable.
21916         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21917         (cosh_downward_test_data): New variable.
21918         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21919         (cosh_upward_test_data): New variable.
21920         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21921         (erf_test_data): New variable.
21922         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21923         (erfc_test_data): New variable.
21924         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21925         (exp_test_data): New variable.
21926         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21927         (exp_tonearest_test_data): New variable.
21928         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21929         (exp_towardzero_test_data): New variable.
21930         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21931         (exp_downward_test_data): New variable.
21932         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21933         (exp_upward_test_data): New variable.
21934         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21935         (exp10_test_data): New variable.
21936         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21937         (exp2_test_data): New variable.
21938         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21939         (expm1_test_data): New variable.
21940         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21941         (fabs_test_data): New variable.
21942         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21943         (floor_test_data): New variable.
21944         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21945         (j0_test_data): New variable.
21946         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21947         (j1_test_data): New variable.
21948         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21949         (log_test_data): New variable.
21950         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21951         (log10_test_data): New variable.
21952         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21953         (log1p_test_data): New variable.
21954         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21955         (log2_test_data): New variable.
21956         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21957         (logb_test_data): New variable.
21958         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21959         (logb_downward_test_data): New variable.
21960         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21961         (nearbyint_test_data): New variable.
21962         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21963         (rint_test_data): New variable.
21964         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21965         (rint_tonearest_test_data): New variable.
21966         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21967         (rint_towardzero_test_data): New variable.
21968         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21969         (rint_downward_test_data): New variable.
21970         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21971         (rint_upward_test_data): New variable.
21972         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21973         (round_test_data): New variable.
21974         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21975         (sin_test_data): New variable.
21976         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21977         (sin_tonearest_test_data): New variable.
21978         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21979         (sin_towardzero_test_data): New variable.
21980         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21981         (sin_downward_test_data): New variable.
21982         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21983         (sin_upward_test_data): New variable.
21984         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21985         (sinh_test_data): New variable.
21986         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21987         (sinh_tonearest_test_data): New variable.
21988         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21989         (sinh_towardzero_test_data): New variable.
21990         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21991         (sinh_downward_test_data): New variable.
21992         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21993         (sinh_upward_test_data): New variable.
21994         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21995         (sqrt_test_data): New variable.
21996         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21997         (tan_test_data): New variable.
21998         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21999         (tan_tonearest_test_data): New variable.
22000         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22001         (tan_towardzero_test_data): New variable.
22002         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22003         (tan_downward_test_data): New variable.
22004         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22005         (tan_upward_test_data): New variable.
22006         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22007         (tanh_test_data): New variable.
22008         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22009         (tgamma_test_data): New variable.
22010         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22011         (trunc_test_data): New variable.
22012         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22013         (y0_test_data): New variable.
22014         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22015         (y1_test_data): New variable.
22016         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22017         (significand_test_data): New variable.
22018         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22019
22020 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22021
22022         [BZ #12387]
22023         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22024
22025 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22026
22027         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22028
22029 2013-05-10  Andreas Jaeger  <aj@suse.de>
22030
22031         [BZ #15448]
22032         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22033         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22034
22035 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22036
22037         * math/gen-libm-test.pl (adjust_arg): New function.
22038         (special_functions): Handle generating output in both functions
22039         and arrays.
22040         (parse_args): Likewise.
22041         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22042         $in_func argument to parse_args.
22043         * math/libm-test.inc (struct test_f_f_data): New type.
22044         (IF_ROUND_INIT_): New macro.
22045         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22046         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22047         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22048         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22049         (ROUND_RESTORE_): Likewise.
22050         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22051         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22052         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22053         (ROUND_RESTORE_FE_UPWARD): Likewise.
22054         (RUN_TEST_LOOP_f_f): New macro.
22055         (acos_test_data): New variable.
22056         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22057         (acos_tonearest_test_data): New variable.
22058         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22059
22060 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22061
22062         * benchtests/bench-skeleton.c (startup): Fix coding style.
22063
22064 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22065
22066         [BZ #6809]
22067         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22068         negative infinity argument.
22069         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22070         negative infinity argument.
22071         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22072         negative infinity argument.
22073         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22074         domain errors.
22075
22076 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22077
22078         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22079         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22080         * iconv/iconv_prog.c (main): Likewise.
22081         * locale/programs/charmap-dir.c (charmap_readdir)
22082         (fopen_uncompressed): Likewise.
22083         * locale/programs/locfile.c (siblings_uncached)
22084         (write_locale_data): Use lstat64 instead of lstat.
22085         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22086         stat.
22087
22088 2013-05-10  Andreas Jaeger  <aj@suse.de>
22089
22090         [BZ #15395]
22091         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22092         localization.
22093         Include <locale.h>.
22094
22095 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22096
22097         * elf/dl-close.c (_dl_close_worker): Add comments.
22098
22099 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22100
22101         [BZ #15359]
22102         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22103         high part of pi/2.
22104         (__ieee754_rem_pio2l): Update comments.
22105
22106         [BZ #15429]
22107         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22108         high part of pi/2.
22109         (__ieee754_rem_pio2l): Update comments.
22110
22111         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22112         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22113
22114         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22115         M_PI_4l.
22116
22117         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22118         (M_PI_34_LOG10El): Likewise.
22119         (M_PI2_LOG10El): Likewise.
22120         (M_PI4_LOG10El): Likewise.
22121         (M_PI_LOG10El): Likewise.
22122
22123 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22124
22125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22126
22127 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22128
22129         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22130         (MINUS_ZERO_INIT): Likewise.
22131         (PLUS_INFTY_INIT): Likewise.
22132         (MINUS_INFTY_INIT): Likewise.
22133         (QNAN_VALUE_INIT): Likewise.
22134         (MAX_VALUE_INIT): Likewise.
22135         (MIN_VALUE_INIT): Likewise.
22136         (MIN_SUBNORM_VALUE_INIT): Likewise.
22137         (plus_zero): Initialize with PLUS_ZERO_INIT.
22138         (minus_zero): Initialize with MINUS_ZERO_INIT.
22139         (plus_infty): Initialize with PLUS_INFTY_INIT.
22140         (minus_infty): Initialize with MINUS_INFTY_INIT.
22141         (qnan_value): Initialize with QNAN_VALUE_INIT.
22142         (max_value): Initialize with MAX_VALUE_INIT.
22143         (min_value): Initialize with MIN_VALUE_INIT.
22144         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22145
22146         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22147         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22148         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22149         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22150
22151         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22152         (RUN_TEST_2_f): Likewise.
22153         (RUN_TEST_ff_f): Likewise.
22154         (RUN_TEST_fi_f): Likewise.
22155         (RUN_TEST_fl_f): Likewise.
22156         (RUN_TEST_fff_f): Likewise.
22157         (RUN_TEST_c_f): Likewise.
22158         (RUN_TEST_f_f1): Likewise.
22159         (RUN_TEST_fF_f1): Likewise.
22160         (RUN_TEST_fI_f1): Likewise.
22161         (RUN_TEST_ffI_f1): Likewise.
22162         (RUN_TEST_c_c): Likewise.
22163         (RUN_TEST_cc_c): Likewise.
22164         (RUN_TEST_f_i): Likewise.
22165         (RUN_TEST_f_i_tg): Likewise.
22166         (RUN_TEST_ff_i_tg): Likewise.
22167         (RUN_TEST_f_b): Likewise.
22168         (RUN_TEST_f_b_tg): Likewise.
22169         (RUN_TEST_f_l): Likewise.
22170         (RUN_TEST_f_L): Likewise.
22171         (RUN_TEST_sincos): Likewise.
22172         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22173         whether to show exceptions.  Do not include ");\n" in return
22174         value.
22175         (special_functions): Output call to RUN_TEST_sincos instead of
22176         check_float calls.  Update calls to new_test.
22177         (parse_args): Output call to single RUN_TEST_* macro instead of
22178         check_* calls and other assignments.  Update calls to new_test.
22179
22180         [BZ #2546]
22181         [BZ #2560]
22182         [BZ #5159]
22183         [BZ #15426]
22184         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22185         input to result for tgamma overflow.
22186         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22187         (gamma_coeff): New variable.
22188         (NCOEFF): New macro.
22189         (gamma_positive): New function.
22190         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22191         underflow here.  Use gamma_positive instead of exp (lgamma) for
22192         other arguments.
22193         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22194         (gamma_coeff): New variable.
22195         (NCOEFF): New macro.
22196         (gammaf_positive): New function.
22197         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22198         underflow here.  Use gamma_positive instead of exp (lgamma) for
22199         other arguments.
22200         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22201         (gamma_coeff): New variable.
22202         (NCOEFF): New macro.
22203         (gammal_positive): New function.
22204         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22205         underflow here.  Use gamma_positive instead of exp (lgamma) for
22206         other arguments.
22207         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22208         (gamma_coeff): New variable.
22209         (NCOEFF): New macro.
22210         (gammal_positive): New function.
22211         (__ieee754_gammal_r): Handle positive infinity, overflow and
22212         underflow here.  Handle NaN the same as positive infinity.  Remove
22213         check x < 0xffffffff for negative integers.  Use gamma_positive
22214         instead of exp (lgamma) for other arguments.
22215         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22216         (gamma_coeff): New variable.
22217         (NCOEFF): New macro.
22218         (gammal_positive): New function.
22219         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22220         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22221         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22222         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22223         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22224         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22225         * sysdeps/generic/math_private.h (__gamma_productf): New
22226         prototype.
22227         (__gamma_product): Likewise.
22228         (__gamma_productl): Likewise.
22229         * math/Makefile (libm-calls): Add gamma_product.
22230         * math/libm-test.inc (tgamma_test): Add more tests.
22231         * sysdeps/i386/fpu/libm-test-ulps: Update.
22232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22233
22234 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22235
22236         * benchtests/bench-skeleton.c (main): Preheat CPU.
22237
22238 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22239
22240         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22241
22242 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22243
22244         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22245         and _dl_skip_args_internal.
22246
22247 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22248
22249         * manual/message.texi (Message Translation): Talk about users.
22250         Message to key mapping impacts design.
22251
22252 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22253
22254         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22255
22256         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22257
22258         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22259         * sysdeps/wordsize-64/glob64.c: ... here.
22260
22261         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22262         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22263         New macros.
22264
22265         * debug/getlogin_r_chk.c: Moved to ...
22266         * login/getlogin_r_chk.c: ... here.
22267         * debug/Makefile (routines): Move getlogin_r_chk to ...
22268         * login/Makefile (routines): ... here.
22269         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22270         * login/Versions (libc: GLIBC_2.4): ... here.
22271
22272         * io/poll.c (__poll): Renamed from poll.
22273         Add libc_hidden_def.
22274         (poll): Define as weak alias.
22275
22276         * debug/ptsname_r_chk.c: Moved to ...
22277         * login/ptsname_r_chk.c: ... here.
22278         * debug/Makefile (routines): Move ptsname_r_chk to ...
22279         * login/Makefile (routines): ... here.
22280         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22281         * login/Versions (libc: GLIBC_2.4): ... here.
22282
22283         * posix/getlogin.c: Moved to ...
22284         * login/getlogin.c: ... here.
22285         * posix/getlogin_r.c: Moved to ...
22286         * login/getlogin_r.c: ... here.
22287         * posix/getlogin_r.c: Moved to ...
22288         * login/getlogin_r.c: ... here.
22289         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22290         * login/Makefile (routines): ... here.
22291         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22292         * login/Versions (libc: GLIBC_2.0): ... here.
22293
22294         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22295         (setrlimit): Define as weak alias.
22296
22297         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22298         Call __ names for open, ftruncate, and close.
22299         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22300         (truncate): Define as weak alias.
22301
22302 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22303
22304         * math/gen-libm-test.pl (parse_args): Initialize x before each
22305         test of frexp, modf and remquo.
22306
22307         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22308         test signgam value.
22309
22310 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22311
22312         [BZ #15418]
22313         [BZ #15419]
22314         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22315         internal tests.
22316         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22317
22318 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22319
22320         * elf/dl-writev.h: New file.
22321         * elf/dl-misc.c: Include it.
22322         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22323         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22324
22325 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22326
22327         * math/libm-test.inc (noXFails): Remove variable.
22328         (noXPasses): Likewise.
22329         (BUILD_COMPLEX_INT): Remove macro.
22330         (print_screen): Remove xfail argument.
22331         (print_screen_max_error): Likewise.
22332         (update_stats): Likewise.
22333         (print_max_error): Likewise.  Update calls to other affected
22334         functions.
22335         (print_complex_max_error): Likewise.
22336         (test_single_exception): Update calls to print_screen.
22337         (test_single_errno): Likewise.
22338         (check_float_internal): Remove xfail argument.  Update calls to
22339         other affected functions.
22340         (check_float): Likewise.
22341         (check_complex): Likewise.
22342         (check_int): Likewise.
22343         (check_long): Likewise.
22344         (check_bool): Likewise.
22345         (check_longlong): Likewise.
22346         (main): Don't print noXFails and noXPasses.
22347         * math/gen-libm-test.pl (top level): Don't mention expected
22348         failure handling in comment.
22349         (new_test): Don't handle expected failures.
22350         (parse_args): Don't mention expected failure handling in comment.
22351         (generate_testfile): Don't handle expected failures.
22352         (parse_ulps): Likewise.
22353         (print_ulps_file): Likewise.
22354         (get_failure): Remove function.
22355         (output_test): Don't handle expected failures.
22356         * make/README.libm-test: Don't mention expected failure handling.
22357
22358         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22359         (minus_zero): Likewise.
22360         (plus_infty): Likewise.
22361         (minus_infty): Likewise.
22362         (qnan_value): Likewise.
22363         (max_value): Likewise.
22364         (min_value): Likewise.
22365         (min_subnorm_value): Likewise.
22366         (initialize): Do not initialize those variables dynamically.
22367
22368 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22369
22370         * io/open.c (__open_2): Moved to ...
22371         * io/open_2.c: ... this new file.
22372         * io/open64.c (__open64_2): Moved to ...
22373         * io/open64_2.c: ... this new file.
22374         * io/openat.c (__openat_2): Moved to ...
22375         * io/openat_2.c: ... this new file.
22376         * io/openat64.c (__openat64_2): Moved to ...
22377         * io/openat64_2.c: ... this new file.
22378         * io/Makefile (routines): Add them.
22379         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22380         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22381         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22382         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22383         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22384         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22385         (__openat64): Add hidden_ver.
22386         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22387         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22388
22389         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22390         Separately conditionalize setting of GLRO(dl_sysinfo) so
22391         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22392         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22393
22394 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22395
22396         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22397         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22398         definition.
22399         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22400         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22401         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22402         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22403         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22404
22405 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22406
22407         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22408         test signgam value.
22409
22410         * math/libm-test.inc (hypot_test): Do not use
22411         IGNORE_ZERO_INF_SIGN.
22412
22413 2013-05-03  Andreas Jaeger  <aj@suse.de>
22414
22415         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22416         Linux 3.9.
22417         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22418         (PF_MAX): Adjust for VSOCK change.
22419
22420 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22421
22422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22423
22424 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22425
22426         [BZ #15264]
22427         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22428         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22429         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22430
22431 2013-05-02  David S. Miller  <davem@davemloft.net>
22432
22433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22434
22435 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22436
22437         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22438
22439 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22440
22441         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22442
22443 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22444
22445         [BZ #14952]
22446         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22447         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22448         Use __attribute__ ((__gnu_inline__)).
22449         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22450         Don't use __attribute__ ((__gnu_inline__)).
22451
22452 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22453
22454         [BZ #15423]
22455         * math/s_catan.c (__catan): Handle small real or imaginary part of
22456         input specially to avoid spurious underflow.
22457         * math/s_catanf.c (__catanf): Likewise.
22458         * math/s_catanh.c (__catanh): Likewise.
22459         * math/s_catanhf.c (__catanhf): Likewise.
22460         * math/s_catanhl.c (__catanhl): Likewise.
22461         * math/s_catanl.c (__catanl): Likewise.
22462         * math/libm-test.inc (catan_test): Add more tests.
22463         (catanh_test): Likewise.
22464         * sysdeps/i386/fpu/libm-test-ulps: Update.
22465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22466
22467 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22468
22469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22470
22471 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22472
22473         [BZ #15416]
22474         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22475         accurately for denominator in atan2.
22476         * math/s_catanf.c (__catanf): Likewise.
22477         * math/s_catanh.c (__catanh): Likewise.
22478         * math/s_catanhf.c (__catanhf): Likewise.
22479         * math/s_catanhl.c (__catanhl): Likewise.
22480         * math/s_catanl.c (__catanl): Likewise.
22481         * math/libm-test.inc (catan_test): Add more tests.
22482         (catanh_test): Likewise.
22483         * sysdeps/i386/fpu/libm-test-ulps: Update.
22484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22485
22486 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22487
22488         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22489
22490         * benchtests/Makefile (bench): Remove slow benchmarks.
22491         * benchtests/atan-inputs: Add slow benchmark inputs.
22492         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22493         (BENCH_FUNC): Accept variant offset.
22494         (VARIANT): Define.
22495         * benchtests/bench-skeleton.c (main): Run benchmark for each
22496         variant.
22497         * benchtests/cos-inputs: Add slow benchmark inputs.
22498         * benchtests/exp-inputs: Likewise.
22499         * benchtests/pow-inputs: Likewise.
22500         * benchtests/sin-inputs: Likewise.
22501         * benchtests/slowatan-inputs: Remove.
22502         * benchtests/slowatan.c: Remove.
22503         * benchtests/slowcos-inputs: Remove.
22504         * benchtests/slowcos.c: Remove.
22505         * benchtests/slowexp-inputs: Remove.
22506         * benchtests/slowexp.c: Remove.
22507         * benchtests/slowpow-inputs: Remove.
22508         * benchtests/slowpow.c: Remove.
22509         * benchtests/slowsin-inputs: Remove.
22510         * benchtests/slowsin.c: Remove.
22511         * benchtests/slowtan-inputs: Remove.
22512         * benchtests/slowtan.c: Remove.
22513         * benchtests/tan-inputs: Add slow benchmark inputs.
22514         * scripts/bench.pl: Parse comments and directives.
22515
22516         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22517         in CPPFLAGS.
22518         ($(objpfx)bench-%.c): Remove *-ITER.
22519         * benchtests/bench-modf.c: Remove definition of ITER.
22520         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22521         (main): Loop for DURATION seconds instead of fixed number of
22522         iterations.
22523         * scripts/bench.pl: Don't expect iterations in parameters.
22524
22525 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22526
22527         * io/fchdir.c (__fchdir): Renamed from fchdir.
22528         (fchdir): Define as weak alias.
22529
22530 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22531
22532         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22533         (ERRNO_EDOM): Likewise.
22534         (ERRNO_ERANGE): Likewise.
22535         (noErrnoTests): New variable.
22536         (init_max_error): Set errno to 0.
22537         (test_single_errno): New function.
22538         (test_errno): Likewise.
22539         (check_float_internal): Call test_errno.  Set errno to 0.
22540         (check_complex): Refer to errno tests in comment.
22541         (check_int): Call test_errno.  Set errno to 0.
22542         (check_long): Likewise.
22543         (check_bool): Likewise.
22544         (check_longlong): Likewise.
22545         (cos_test): Use ERRNO_* flags for errno tests instead of
22546         check_int.
22547         (expm1_test): Likewise.
22548         (fmod_test): Likewise.
22549         (ilogb_test): Likewise.
22550         (lgamma_test): Likewise.
22551         (pow_test): Likewise.
22552         (remainder_test): Likewise.
22553         (sin_test): Likewise.
22554         (tan_test): Likewise.
22555         (yn_test): Likewise.
22556         (initialize): Set errno to 0.
22557         (main): Print number of errno tests.
22558         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22559
22560 2013-04-29  Andreas Jaeger  <aj@suse.de>
22561
22562         [BZ #15084]
22563         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22564         and RES_USEVC.
22565
22566         [BZ #15085]
22567         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22568         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22569         unimplemented.
22570
22571         [BZ #15380]
22572         * stdlib/random.c (__initstate): Return NULL if
22573         __initstate fails.
22574
22575         [BZ #15086]
22576         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22577         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22578         RES_SNGLKUPREOP.
22579
22580 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22581
22582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22583
22584 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22585
22586         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22587         of individual tests.
22588         (casin_test): Likewise.
22589         (casinh_test): Likewise.
22590
22591 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22592
22593         [BZ #15409]
22594         * math/s_catan.c (__catan): Handle arguments with large real or
22595         imaginary part separately without squaring.
22596         * math/s_catanf.c (__catanf): Likewise.
22597         * math/s_catanh.c (__catanh): Likewise.
22598         * math/s_catanhf.c (__catanhf): Likewise.
22599         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22600         and redefine.
22601         (__catanhl): Handle arguments with large real or imaginary part
22602         separately without squaring.
22603         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22604         and redefine.
22605         (__catanl): Handle arguments with large real or imaginary part
22606         separately without squaring.
22607         * math/libm-test.inc (catan_test): Add more tests.
22608         (catanh_test): Likewise.
22609         * sysdeps/i386/fpu/libm-test-ulps: Update.
22610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22611
22612 2013-04-27  Andreas Jaeger  <aj@suse.de>
22613
22614         [BZ #15007]
22615         * stdlib/stdlib.h: Update guards for qecvt.
22616         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22617         <stdlib.h>.
22618
22619 2013-04-27  Allan McRae  <allan@archlinux.org>
22620
22621         * sysdeps/i386/fpu/libm-test-ulps: Update.
22622
22623 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22624
22625         [BZ #15406]
22626         * math/s_catan.c: Include <float.h>.
22627         (__catan): Ensure underflow exception occurs for underflowed
22628         result.
22629         * math/s_catanf.c: Include <float.h>.
22630         (__catanf): Ensure underflow exception occurs for underflowed
22631         result.
22632         * math/s_catanh.c: Include <float.h>.
22633         (__catanh): Ensure underflow exception occurs for underflowed
22634         result.
22635         * math/s_catanhf.c: Include <float.h>.
22636         (__catanhf): Ensure underflow exception occurs for underflowed
22637         result.
22638         * math/s_catanhl.c: Include <float.h>.
22639         (__catanhl): Ensure underflow exception occurs for underflowed
22640         result.
22641         * math/s_catanl.c: Include <float.h>.
22642         (__catanl): Ensure underflow exception occurs for underflowed
22643         result.
22644         * math/libm-test.inc (catan_test): Add more tests.
22645         (catanh_test): Likewise.
22646
22647         [BZ #15405]
22648         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22649         underflowed result.
22650         * math/s_ccoshf.c (__ccoshf): Likewise.
22651         * math/s_ccoshl.c (__ccoshl): Likewise.
22652         * math/s_csin.c (__csin): Likewise.
22653         * math/s_csinf.c (__csinf): Likewise.
22654         * math/s_csinh.c (__csinh): Likewise.
22655         * math/s_csinhf.c (__csinhf): Likewise.
22656         * math/s_csinhl.c (__csinhl): Likewise.
22657         * math/s_csinl.c (__csinl): Likewise.
22658         * math/libm-test.inc (ccos_test): Add more tests.
22659         (ccosh_test): Likewise.
22660         (csin_test): Likewise.
22661         (csinh_test): Likewise.
22662
22663 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22664
22665         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22666         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22667         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22668         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22669         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22670         powerpc/power5+/fpu folders.
22671         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22672
22673
22674 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22675
22676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22677
22678 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22679
22680         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22681         additions to variable.
22682         [$(config-machine) = x86_64] (modules-names): Likewise.
22683         ($(objpfx)tst-audit3): Remove dependency.
22684         ($(objpfx)tst-audit3.out): Likewise.
22685         ($(objpfx)tst-audit4): Likewise.
22686         ($(objpfx)tst-audit4.out): Likewise.
22687         ($(objpfx)tst-audit5): Likewise.
22688         ($(objpfx)tst-audit5.out): Likewise.
22689         ($(objpfx)tst-audit6): Likewise.
22690         ($(objpfx)tst-audit6.out): Likewise.
22691         ($(objpfx)tst-audit7): Likewise.
22692         ($(objpfx)tst-audit7.out): Likewise.
22693         (tst-audit3-ENV): Remove variable.
22694         (tst-audit4-ENV): Likewise.
22695         (tst-audit5-ENV): Likewise.
22696         (tst-audit6-ENV): Likewise.
22697         (tst-audit7-ENV): Likewise.
22698         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22699         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22700         addition to variable.
22701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22706         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22707         tst-audit3, tst-audit4 and tst-audit5.
22708         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22709         tst-audit6 and tst-audit7.
22710         [$(subdir) = elf] (modules-names): Add audit modules for those
22711         tests.
22712         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22713         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22714         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22715         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22716         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22717         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22718         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22719         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22720         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22721         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22722         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22723         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22724         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22725         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22726         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22727         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22728         Likewise.
22729         [$(subdir) = elf && $(config-cflags-avx) = yes]
22730         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22731         [$(subdir) = elf && $(config-cflags-avx) = yes]
22732         (CFLAGS-tst-auditmod4a.c): Likewise.
22733         [$(subdir) = elf && $(config-cflags-avx) = yes]
22734         (CFLAGS-tst-auditmod4b.c): Likewise.
22735         [$(subdir) = elf && $(config-cflags-avx) = yes]
22736         (CFLAGS-tst-auditmod6b.c): Likewise.
22737         [$(subdir) = elf && $(config-cflags-avx) = yes]
22738         (CFLAGS-tst-auditmod6c.c): Likewise.
22739         [$(subdir) = elf && $(config-cflags-avx) = yes]
22740         (CFLAGS-tst-auditmod7b.c): Likewise.
22741         * elf/tst-audit3.c: Move to ...
22742         * sysdeps/x86_64/tst-audit3.c: ... here.
22743         * elf/tst-audit4.c: Move to ...
22744         * sysdeps/x86_64/tst-audit4.c: ... here.
22745         * elf/tst-audit5.c: Move to ...
22746         * sysdeps/x86_64/tst-audit5.c: ... here.
22747         * elf/tst-audit6.c: Move to ...
22748         * sysdeps/x86_64/tst-audit6.c: ... here.
22749         * elf/tst-audit7.c: Move to ...
22750         * sysdeps/x86_64/tst-audit7.c: ... here.
22751         * elf/tst-auditmod3a.c: Move to ...
22752         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22753         * elf/tst-auditmod3b.c: Move to ...
22754         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22755         * elf/tst-auditmod4a.c: Move to ...
22756         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22757         * elf/tst-auditmod4b.c: Move to ...
22758         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22759         * elf/tst-auditmod5a.c: Move to ...
22760         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22761         * elf/tst-auditmod5b.c: Move to ...
22762         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22763         * elf/tst-auditmod6a.c: Move to ...
22764         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22765         * elf/tst-auditmod6b.c: Move to ...
22766         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22767         * elf/tst-auditmod6c.c: Move to ...
22768         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22769         * elf/tst-auditmod7a.c: Move to ...
22770         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22771         * elf/tst-auditmod7b.c: Move to ...
22772         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22773
22774 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22775
22776         [BZ #15366]
22777         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22778         define unconditionally.
22779         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22780         define unconditionally.
22781         (INT8_C, INT16_C, etc.): Likewise.
22782
22783 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22784
22785         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22786         __ehdr_start with hidden visibility.
22787
22788         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22789
22790 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22791
22792         * math/libm-test.inc (cos_test): Use accurate hex constants.
22793         (sincost_test): Likewise.
22794
22795 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22796
22797         * math/libm-test.inc (catan_test): Add more tests.
22798         (catanh_test): Likewise.
22799
22800         * math/s_catanf.c (__catanf): Use suffixed floating-point
22801         constants.
22802         * math/s_catanhf.c (__catanhf): Likewise.
22803         * math/s_catanhl.c (__catanhl): Likewise.
22804         * math/s_catanl.c (__catanl): Likewise.
22805
22806         [BZ #15394]
22807         * math/s_catan.c (__catan): Calculate imaginary part of result
22808         with log1p not log unless computing log of number close to 0.
22809         * math/s_catanf.c (__catanf): Likewise.
22810         * math/s_catanl.c (__catanl): Likewise.
22811         * math/s_catanh.c (__catanh): Calculate real part of result with
22812         log1p not log unless computing log of number close to 0.
22813         * math/s_catanhf.c (__catanhf): Likewise.
22814         * math/s_catanhl.c (__catanhl): Likewise.
22815         * math/libm-test.inc (catan_test): Add more tests.
22816         (catanh_test): Likewise.
22817         * sysdeps/i386/fpu/libm-test-ulps: Update.
22818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22819
22820 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22821
22822         * benchtests/Makefile: Mention files in which fast and slow
22823         paths of math functions are implemented.
22824
22825 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22826
22827         * sysdeps/posix/timespec_get.c: New file.
22828
22829 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22830
22831         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22832         POWER.
22833         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22834         for POWER.
22835         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22836         powerpc/power5/fpu folders.
22837         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22838         * benchtests/Makefile: Add modf testcase.
22839         * benchtests/bench-modf.c: New file: Benchmark test for mo
22840
22841 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22842
22843         [BZ #14888]
22844         * time/Makefile (tests): Add tst-strptime-whitespace.
22845         * time/strptime_l.c (get_number): Use ISSPACE.
22846         (__strptime_internal): Likewise.
22847         * time/tst-strptime-whitespace.c: New test case.
22848
22849 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22850
22851         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22852         member.
22853         (_nss_files_init): Set it here.
22854
22855 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22856
22857         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22858         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22859         unsigned.
22860
22861 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22862
22863         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22864
22865 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22866
22867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22868         size just once.
22869
22870 2013-04-21  David S. Miller  <davem@davemloft.net>
22871
22872         * po/ru.po: Update Russion translation from translation project.
22873
22874 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22875
22876         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22877         and setfsgid.
22878
22879 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22880
22881         * configure.in: Remove i386 configure warning. Remove i386 case.
22882         * configure: Regenerate.
22883         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22884         Add example to error message.
22885         * sysdeps/i386/configure: Regenerate.
22886
22887 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22888
22889         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22890         slowtan.
22891         * benchtests/cos-inputs: New file.
22892         * benchtests/slowcos-inputs: New file.
22893         * benchtests/slowcos.c: New file.
22894         * benchtests/slowtan-inputs: New file.
22895         * benchtests/slowtan.c: New file.
22896         * benchtests/tan-inputs: New file.
22897
22898 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22899
22900         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22901         considered kosher.
22902
22903 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22904
22905         * benchtests/Makefile: Include cppflags-iterator.mk to add
22906         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22907
22908         * Makefile.in (bench-clean): New target.
22909         * benchtests/Makefile (bench-clean): Likewise.
22910
22911 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22912
22913         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22914
22915 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22916
22917         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22918
22919 2013-04-15  Andreas Schwab  <schwab@suse.de>
22920
22921         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22923         * nscd/pwdcache.c (cache_addpw): Likewise.
22924         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22925         more than recsize.
22926
22927 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22928
22929         * benchtests/Makefile (bench): Write all output to
22930         bench-out.tmp together.
22931
22932 2013-04-15  Andreas Schwab  <schwab@suse.de>
22933
22934         * nscd/nscd.c (main): Don't fork again after closing files.
22935
22936 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22937
22938         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22939
22940         * benchtests/Rules (bench-deps): Collect dependencies into a
22941         single variable.  Add Makefile to dependencies.
22942         ($(objpfx)bench-%.c): Depend on bench-deps.
22943
22944 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22945             Xavier Roche  <roche+kml2@exalead.com>
22946
22947         [BZ #15361]
22948         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22949         just that it's a file descriptor.
22950         * manual/llio.texi (Synchronizing AIO Operations): Update description
22951         for EBADF error from aio_fsync.
22952
22953 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22954
22955         * Rules (bench): Move target definition...
22956         * benchtests/Makefile: ... here.
22957
22958 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22959
22960         * math/libm-test.inc (cos_test): Fix PI/2 test.
22961         (sincos_test): Likewise.
22962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22963         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22964
22965 2013-04-11  Andreas Schwab  <schwab@suse.de>
22966
22967         [BZ #13988]
22968         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22969         accept exponent character only when digits were seen.
22970         * stdio-common/Makefile (tests): Add bug26.
22971         * stdio-common/bug26.c: New file.
22972
22973         [BZ #14293]
22974         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22975         non-freeable.
22976
22977 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22978
22979         * Makeconfig (rtld-prefix): Define built linker prefix.
22980         * Rules (run-bench): Use it.
22981         * math/Makefile (run-regen-ulps): Likewise.
22982
22983         * Rules (bench): Remove eval.
22984
22985 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22986             Roland McGrath  <roland@hack.frob.com>
22987             Ondrej Bilka  <neleai@seznam.cz>
22988
22989         [BZ #15346]
22990         * time/getdate.c: Include ctype.h and alloca.h.
22991         (__getdate_r): Trim leading and trailing spaces of input.
22992         * time/tst-getdate.c (tests): Add tests with leading and
22993         trailing spaces.
22994
22995 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22996
22997         [BZ #14280]
22998         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22999         when computing value.
23000
23001 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23002
23003         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23004         Use testrun.sh to run libm tests.
23005
23006         [BZ #15309]
23007         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23008
23009 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23010
23011         [BZ #15264]
23012         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23013
23014 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23015
23016         * Makefile.in (regen-ulps): New target.
23017         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23018         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23019         [ifneq (no,$(PERL)] (regen-ulps): New target.
23020         [ifeq (no,$(PERL)] (regen-ulps): New target.
23021         * math/libm-test.inc (ulps_file_name): Define.
23022         (output_dir): New variable.
23023         (options): Add "output-dir" option.
23024         (parse_opt): Handle 'o' case.
23025         (main): If output_dir is non-NULL use it as a prefix
23026         otherwise use "".
23027         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23028
23029 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23030
23031         [BZ #10060, #10062]
23032         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23033         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23034         fail configure if __sync_val_compare_and_swap is not inlined.
23035         * sysdeps/i386/configure: Regenerate.
23036         * configure.in: Build for i686 when configured for i386.
23037         * configure: Regenerate.
23038         * README: Remove i386 reference.
23039
23040 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23041
23042         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23043         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23044
23045 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23046
23047         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23048         (lmsnanval): New variables.
23049         (F): Add conversion tests.
23050         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23051         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23052
23053         * stdio-common/tstdiomisc.c (F): Properly collect individual
23054         tests' results.
23055
23056         [BZ #14686, #15336]
23057         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23058         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23059         Instead, use input NaN values or generate a qNaN by arithmetic
23060         operation.  Also fix bugs to comply with the standard.
23061         * math/libm-test.inc (remainder_test): Add more tests.
23062
23063         [BZ #15335, #15342]
23064         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23066         input NaN values or generate a qNaN by arithmetic operation.
23067
23068         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23069         unreachable code.
23070
23071         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23072         definitions.
23073
23074 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23075
23076         [BZ #14478]
23077         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23078         underflowed result.
23079         * math/s_cexpf.c (__cexpf): Likewise.
23080         * math/s_cexpl.c (__cexpl): Likewise.
23081         * math/libm-test.inc (cexp_test): Add more tests.
23082
23083 2013-04-03  Andreas Schwab  <schwab@suse.de>
23084
23085         [BZ #15330]
23086         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23087         order arrays from heap if bigger than alloca cutoff.
23088
23089 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23090
23091         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23092         (SNAN_TESTS_double): Refer to GCC PR56831.
23093         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23094         GCC PR56828.
23095
23096 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23097
23098         * Rules (bench): Move bench.out after the run is complete.
23099
23100         * Rules (bench): Echo currently running benchmark.
23101
23102         * benchtests/Makefile (bench): Add atan and slowatan.
23103         * benchtests/atan-inputs: New file.
23104         * benchtests/slowatan-inputs: New file.
23105         * benchtests/slowatan.c: New file.
23106
23107         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23108         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23109         its value.
23110
23111         [BZ #15305]
23112         * sysdeps/unix/sysv/linux/kernel-features.h
23113         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23114         __ASSUME_XFS_RESTRICTED_CHOWN.
23115         * sysdeps/unix/sysv/linux/pathconf.c
23116         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23117         Save and restore errno.
23118
23119 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23120
23121         [BZ #15327]
23122         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23123         arguments using __kernel_casinh.
23124         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23125         arguments using __kernel_casinhf.
23126         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23127         arguments using __kernel_casinhl.
23128         * math/libm-test.inc (cacosh_test): Add more tests.
23129         * sysdeps/i386/fpu/libm-test-ulps: Update.
23130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131
23132 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23133
23134         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23136
23137         * bench/Makefile (bench): Add sin and slowsin.
23138         * benchtests/sin-inputs: New file.
23139         * benchtests/slowsin-inputs: New file.
23140         * benchtests/slowsin.c: New file.
23141
23142         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23143         (bench): Add slowexp and slowpow.
23144         (exp-ITER): Increase iterations.
23145         (pow-ITER): Likewise.
23146         * benchtests/exp-inputs: Change input.
23147         * benchtests/pow-inputs: Likewise.
23148         * benchtests/slowexp-inputs: New file.
23149         * benchtests/slowexp.c: New file.
23150         * benchtests/slowpow-inputs: New file.
23151         * benchtests/slowpow.c: New file.
23152
23153 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23154
23155         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23156         instructions.
23157         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23158         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23159         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23160         * benchtests/Makefile: Add rint benchtest.
23161         * benchtests/rint-inputs: Input for rint benchtest.
23162
23163 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23164
23165         * Versions.def (libm): Add GLIBC_2.18.
23166         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23167         hidden libm prototypes.
23168         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23169         * math/Makefile (libm-calls): Add s_issignaling.
23170         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23171         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23172         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23173         declaration.
23174         * math/math.h [__USE_GNU] (issignaling): New macro.
23175         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23176         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23177         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23178         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23179         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23181         * manual/arith.texi (issignaling): New section.
23182         * manual/libm-err-tab.pl (@all_functions): Update comment.
23183         * math/gen-libm-test.pl (parse_args): Apply special handling for
23184         issignaling.
23185         * math/libm-test.inc (print_float, issignaling_test): New
23186         functions.
23187         (check_float_internal): Add issignaling checks.
23188         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23189         default definition.
23190         * sysdeps/powerpc/math-tests.h: New file.
23191         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23192         tests.
23193         * math/test-snan.c (TEST_FUNC): Likewise.
23194
23195 2013-03-30  David S. Miller  <davem@davemloft.net>
23196
23197         * po/de.po: Update from translation team.
23198
23199 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23200
23201         [BZ #10357]
23202         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23203         imaginary part less than 1.0 and real part less than 0.5
23204         specially.
23205         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23206         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23207         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23208         (cacos_test): Add more tests.
23209         (casin_test): Likewise.
23210         (casinh_test): Likewise.
23211         * sysdeps/i386/fpu/libm-test-ulps: Update.
23212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23213
23214 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23215
23216         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23217         ONE with its value.
23218
23219         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23220         (__pow_mp): Replace ONE and MONE with their values.
23221         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23222         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23223         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23224         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23225         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23226         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23227
23228         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23229
23230         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23231         (__pow_mp): Replace ZERO and MZERO with their values.
23232         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23233         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23234         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23236         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23237         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23238         (__sqr): Likewise.
23239
23240         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23241
23242         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23243
23244 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23245
23246         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23247         Declare with __attribute__ ((weak)).
23248         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23249         Call __call_tls_dtors only if it's not NULL.
23250
23251 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23252
23253         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23254         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23255         magic __ehdr_start linker symbol if it's defined.
23256         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23257         them up here if it was already done.
23258
23259         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23260         (_dl_aux_init): Use const in cast when setting it.
23261         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23262         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23263         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23264
23265         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23266         Declare them here.
23267         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23268         * csu/libc-tls.c: Nor here.
23269         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23270
23271         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23272         (__libc_message): Never call vsyslog.
23273
23274 2013-03-28  Alan Modra  <amodra@gmail.com>
23275
23276         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23277         Define as empty.
23278         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23279         Likewise.
23280
23281 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23282
23283         [BZ #15214]
23284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23285         underflow.
23286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23287
23288 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23289
23290         [BZ #15304]
23291         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23292         Don't add gid passed as argument.
23293
23294         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23295
23296 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23297
23298         [BZ #15307]
23299         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23300         imaginary part between 1.0 and 1.5 and real part less than 0.5
23301         specially.
23302         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23303         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23304         * math/libm-test.inc (cacos_test): Add more tests.
23305         (casin_test): Likewise.
23306         (casinh_test): Likewise.
23307         * sysdeps/i386/fpu/libm-test-ulps: Update.
23308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23309
23310 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23311
23312         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23313         constants.
23314         (norm): Likewise.
23315         (denorm): Likewise.
23316         (__dbl_mp): Likewise.
23317         (add_magnitudes): Likewise.
23318         (sub_magnitudes): Likewise.
23319         (__add): Likewise.
23320         (__sub): Likewise.
23321         (__mul): Likewise.
23322         (__sqr): Likewise.
23323         (__inv): Likewise.
23324         (__dvd): Likewise.
23325
23326         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23327         commented code.
23328         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23329         (__dubcos): Likewise.
23330         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23331         (__ieee754_acos): Likewise.
23332         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23333         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23334         (__exp1): Likewise.
23335         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23337         (log1): Likewise.
23338         (my_log2): Likewise.
23339         (checkint): Likewise.
23340         * sysdeps/ieee754/dbl-64/e_remainder.c
23341         (__ieee754_remainder): Likewise.
23342         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23344         (bsloww): Likewise.
23345         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23346
23347         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23348         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23349         MANTISSA_STORE_T to store computations on mantissa.  Use
23350         macros for rounding and division.
23351         (denorm): Likewise.
23352         (__dbl_mp): Likewise.
23353         (add_magnitudes): Likewise.
23354         (sub_magnitudes): Likewise.
23355         (__mul): Likewise.
23356         (__sqr): Likewise.
23357         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23358         powers of two in terms of TWOPOW macro.
23359         (mp_no): Make type of mantissa as MANTISSA_T.
23360         [!RADIXI]: Define RADIXI.
23361         [!TWO52]: Define TWO52.
23362         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23363
23364 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23365
23366         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23367         llroundl symbol when building for PPC32.
23368
23369 2013-03-24  Mark H Weaver  <mhw@netris.org>
23370
23371         * manual/arith.texi (Normalization Functions): Fix prototypes for
23372         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23373
23374 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23375
23376         [BZ #13889]
23377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23378         high value to check if expl overflow.
23379         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23380         to check for underflow and overflow.
23381         * math/libm-test.inc: Add exp test.
23382
23383 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23384
23385         [BZ #11120]
23386         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23387         with NOT_IN_libc.
23388
23389 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23390
23391         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23392         symbol.
23393
23394 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23395
23396         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23397         wrap blocks consisting of several statements.
23398
23399         * sysdeps/generic/math-tests.h: New file.
23400         * sysdeps/i386/fpu/math-tests.h: Likewise.
23401         * math/test-snan.c: Include it.
23402         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23403
23404 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23405
23406         [BZ #15285]
23407         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23408         (__ieee754_j0l): Do not improve calculations using cos of twice
23409         input for inputs above LDBL_MAX / 2.0L.
23410         (__ieee754_y0l): Likewise.
23411         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23412         (__ieee754_j1l): Do not improve calculations using cos of twice
23413         input for inputs above LDBL_MAX / 2.0L.
23414         (__ieee754_y1l): Likewise.
23415         * math/libm-test.inc (j0_test): Add another test.
23416         (j1_test): Likewise.
23417         (y0_test): Likewise.
23418         (y1_test): Likewise.
23419         * sysdeps/i386/fpu/libm-test-ulps: Update.
23420
23421 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23422
23423         * Rules ($(objpfx)bench-%.c): Include code from a C source
23424         file.
23425
23426 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23427
23428         [BZ #15287]
23429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23430         imaginary part 1.0 and real part less than 0.5 specially.
23431         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23432         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23433         * math/libm-test.inc (cacos_test): Add more tests.
23434         (casin_test): Likewise.
23435         (casinh_test): Likewise.
23436         * sysdeps/i386/fpu/libm-test-ulps: Update.
23437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23438
23439 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23440
23441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23442         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23443
23444 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23445
23446         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23447         * config.make.in (config-cflags-sse4): Remove variable.
23448         (config-cflags-avx): Likewise.
23449         (config-cflags-sse2avx): Likewise.
23450         (config-cflags-novzeroupper): Likewise.
23451         (config-asflags-i686): Likewise.
23452         (have-mfma4): Likewise.
23453         (have-as-vis3): Likewise.
23454         (MIG): Likewise.
23455         * configure.in (MIG): Do not AC_SUBST.
23456         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23457         (libc_cv_cc_sse4): Do not AC_SUBST.
23458         (libc_cv_cc_avx): Likewise.
23459         (libc_cv_cc_sse2avx): Likewise.
23460         (libc_cv_cc_novzeroupper): Likewise.
23461         (libc_cv_cc_fma4): Likewise.
23462         (libc_cv_as_i686): Likewise.
23463         (libc_cv_sparc_as_vis3): Likewise.
23464         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23465         LIBC_CONFIG_VAR.
23466         (config-asflags-i686): Likewise.
23467         (config-cflags-avx): Likewise.
23468         (config-cflags-sse2avx): Likewise.
23469         (have-mfma4): Likewise.
23470         (config-cflags-novzeroupper): Likewise.
23471         * sysdeps/mach/configure.in (MIG): Likewise.
23472         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23473         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23474         LIBC_CONFIG_VAR.
23475         (config-cflags-avx): Likewise.
23476         (config-cflags-sse2avx): Likewise.
23477         (have-mfma4): Likewise.
23478         (config-cflags-novzeroupper): Likewise.
23479         * configure: Regenerated.
23480         * sysdeps/i386/configure: Likewise.
23481         * sysdeps/mach/configure: Likewise.
23482         * sysdeps/sparc/configure: Likewise.
23483         * sysdeps/x86_64/configure: Likewise.
23484
23485 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23486
23487         [BZ #14812]
23488         * locale/programs/localedef.c (options): Put N_ translation marker
23489         on argument names, not just descriptions.
23490
23491 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23492
23493         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23494
23495 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23496
23497         [BZ #14176]
23498         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23499
23500 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23501
23502         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23503         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23504         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23505         [!BEFORE_ABORT] (before_abort): New function.
23506         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23507         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23508         (writev_for_fatal): New function.
23509         (WRITEV_FOR_FATAL): New macro; call that.
23510         (backtrace_and_maps): New function.
23511         (BEFORE_ABORT): New macro; call that.
23512         (struct str_list): Type removed.
23513         (__libc_message, __libc_fatal): Functions removed.
23514         Include <sysdeps/posix/libc_fatal.c> instead.
23515
23516 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23517
23518         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23519         constants.
23520         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23521         double constants.
23522
23523 2013-03-19  Andreas Schwab  <schwab@suse.de>
23524
23525         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23526         * sysdeps/gnu/configure: Regenerate.
23527
23528         * configure.in: Substitute libc_cv_rtlddir.
23529         * configure: Regenerate.
23530         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23531         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23532         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23533         * elf/Makefile (install-others, CFLAGS-interp.c)
23534         (ldso_install, common-ldd-rewrite): Likewise.
23535         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23536         $(inst_slibdir)/$(rtld-installed-name).
23537         * scripts/rellns-sh: Add -p option.
23538         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23539         for source.
23540
23541 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23542
23543         * manual/nptl.texi: Renamed to ...
23544         * manual/threads.texi: ... this.
23545         * manual/Makefile (chapters): Update.
23546
23547 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23548
23549         [BZ #14812]
23550         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23551         on argument names, not just descriptions.
23552         * malloc/memusagestat.c (options): Likewise.
23553         * nss/getent.c (options): Likewise.
23554
23555 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23556
23557         [BZ #14812]
23558         * iconv/iconv_prog.c (options): Put N_ translation marker
23559         on argument names, not just descriptions.
23560         * iconv/iconvconfig.c (options): Likewise.
23561
23562 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23563
23564         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23565         implementation which is faster on all x86_64 architectures.
23566         Tested on AMD, Intel Nehalem, SNB, IVB.
23567         * sysdeps/x86_64/strnlen.S: Likewise.
23568
23569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23570         Remove all multiarch strlen and strnlen versions.
23571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23572         Remove strlen and strnlen related parts.
23573
23574         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23575         Inline strlen part.
23576         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23577
23578         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23579         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23580         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23581         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23582         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23583         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23584
23585 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23586
23587         * manual/memory.texi (Malloc Tunable Parameters):
23588         Sort parameters alphabetically. Add comments for missing entries.
23589
23590 2013-03-17  David S. Miller  <davem@davemloft.net>
23591
23592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23593
23594 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23595
23596         [BZ #15283]
23597         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23598         for arguments at most half maximum finite value.
23599         * math/libm-test.inc (j0_test): Add more tests.
23600         (j1_test): Likewise.
23601         (y0_test): Likewise.
23602         (y1_test): Likewise.
23603         * sysdeps/i386/fpu/libm-test-ulps: Update.
23604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23605
23606         [BZ #14155]
23607         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23608         1 / x and functions P and Q for arguments above 0x1p256L.
23609         (__ieee754_y0l): Likewise.
23610         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23611         (__ieee754_y1l): Likewise.
23612         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23613         (j1_test): Likewise.
23614         (y0_test): Likewise.
23615         (y1_test): Likewise.
23616
23617 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23618
23619         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23620         variable.
23621
23622 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23623
23624         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23625         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23626         zero since it's initialized to EXEC_PAGESIZE.
23627
23628         * sysdeps/unix/sysv/linux/ldsodefs.h
23629         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23630         * sysdeps/generic/ldsodefs.h: ... here.
23631
23632 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23633
23634         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23635
23636         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23637         math/test-snan.c.
23638         * math/test-snan.c: Renamed from
23639         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23640         * math/Makefile (tests): Add test-snan.
23641         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23642         test-powerpc-snan.
23643
23644         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23645         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23646         functions.
23647         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23648         __builtin_nan family of functions.
23649         * math/libm-test.inc (initialize): Initialize qnan_value with
23650         __builtin_nan family of functions.
23651         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23652         Remove variables.
23653         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23654         Remove functions.
23655         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23656         storage class.  Initialize qNaN_var and sNaN_var with
23657         __builtin_nan and __builtin_nans families of functions,
23658         respectively.
23659
23660         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23661         (sqrt_test): Remove duplicate test with qNaN input.
23662         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23663         (round_test, signbit_test, significand_test): Note missing +/-Inf
23664         as well as qNaN tests.
23665
23666         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23667         qNaN_var.  Fix a few strings, too.
23668         * math/libm-test.inc (nan_value): Rename to qnan_value.
23669         * math/gen-libm-test.pl (%beautify): Adjust to that.
23670         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23671         * math/test-misc.c (main): Likewise.
23672         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23673         to __qnan_bytes, and __qnan_union, respectively.
23674         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23675         Likewise.
23676         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23677         and lqnanval, respectively.
23678         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23679         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23680         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23681         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23682
23683         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23684         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23685         doubles.
23686
23687         * math/test-misc.c (main): Fix copy'n'pastos.
23688         * misc/tst-efgcvt.c (special): Likewise.
23689
23690         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23691         Remove declarations.
23692
23693 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23694
23695         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23696         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23697         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23698         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23699
23700 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23701
23702         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23703         macro to return vdso values correctly in IFUNC implementations.
23704         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23705         Optimization by using IFUNC.
23706
23707 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23708             Richard Henderson  <rth@redhat.com>
23709             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23710
23711         * Makefile.in (bench): New target.
23712         * NEWS: Mention the benchmark framework.
23713         * Rules (bench): Likewise.
23714         (binaries-bench): Generate binaries for functions to
23715         benchmark.
23716         * benchtests/Makefile: New makefile for benchmark tests.
23717         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23718         programs.
23719         * benchtests/exp-inputs: New input file for EXP function.
23720         * benchtests/pow-inputs: New input file for POW function.
23721         * scripts/bench.pl: New script to generate source files for
23722         benchmark programs.
23723
23724 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23725
23726         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23727         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23728         computations on mantissa.  Use macros for rounding and
23729         division.
23730         (denorm): Likewise.
23731         (__dbl_mp): Likewise.
23732         (add_magnitudes): Likewise.
23733         (sub_magnitudes): Likewise.
23734         (__mul): Likewise.
23735         (__sqr): Likewise.
23736         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23737         powers of two in terms of TWOPOW macro.
23738         (mp_no): Make type of mantissa as MANTISSA_T.
23739         [!RADIXI]: Define RADIXI.
23740         [!TWO52]: Define TWO52.
23741         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23742
23743         * manual/nptl.texi (cindex): Modify threads to pthreads.
23744
23745 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23746
23747         * sysdeps/x86_64/preconfigure: Regenerated.
23748
23749 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23750
23751         [BZ #14155]
23752         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23753         0x1p28 and above.
23754         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23755         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23756         0x1p28 and above.
23757         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23758         * math/libm-test.inc (j0_test): Do not allow one spurious
23759         underflow exception.
23760         (y1_test): Likewise.
23761
23762 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23763
23764         * manual/Makefile (chapters): Add nptl.
23765         * manual/debug.texi (Debugging Support): Add link to Threads
23766         chapter.
23767         * manual/nptl.texi: New file.
23768
23769         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23770
23771 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23772
23773         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23774         for non-NULL pointer before the memory validity test. Pointed
23775         out by Holger Brunck <holger.brunck@keymile.com>.
23776
23777 2013-03-13  Andreas Schwab  <schwab@suse.de>
23778
23779         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23780         instead of .os.
23781
23782 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23783
23784         * timezone/zic.c: Update from tzcode 2013b.
23785
23786 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23787
23788         * manual/install.texi (Configuring and compiling):
23789         Mention i686 and i586.
23790         * INSTALL: Regenerate.
23791
23792 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23793
23794         * sysdeps/init_array/elf-init.c: New file.
23795         * csu/elf-init.c
23796         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23797         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23798
23799         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23800         __gmon_start__ as global, but as static with a .preinit_array pointer.
23801         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23802         * sysdeps/init_array/crti.S: New file, empty except for comments.
23803         * sysdeps/init_array/crtn.S: Likewise.
23804
23805 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23806
23807         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23808         definining bcopy.
23809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23810         Remove Prefer_SSE_for_memop.
23811         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23812         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23813         HAS_PREFER_SSE_FOR_MEMOP.
23814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23815         memset-x86-64.
23816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23817         Remove bzero, memset ifunc support.
23818         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23819         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23820         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23821         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23822
23823 2013-03-11  Andreas Schwab  <schwab@suse.de>
23824
23825         [BZ #15234]
23826         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23827         by SHLIB_COMPAT.
23828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23829         (GLIBC_2.16): Remove pthread_atfork.
23830
23831 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23832
23833         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23834         (ptestcases.h): Likewise.
23835
23836 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23837
23838         * Makeconfig ($(common-objpfx)config.status): Depend on
23839         sysdeps/*/preconfigure{,.in} too.
23840
23841 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23842
23843         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23844         (__free_hook): Use void * instead of __malloc_ptr_t.
23845         (__malloc_hook): Likewise.
23846         (__realloc_hook): Likewise.
23847         (__memalign_hook): Likewise.
23848         (__after_morecore_hook): Likewise.
23849         * malloc/arena.c (save_malloc_hook): Likewise.
23850         (save_free_hook): Likewise.
23851         * malloc/hooks.c (malloc_hook_ini): Likewise.
23852         (realloc_hook_ini): Likewise.
23853         (memalign_hook_ini): Likewise.
23854         * malloc/malloc.c (malloc_hook_ini): Likewise.
23855         (realloc_hook_ini): Likewise.
23856         (memalign_hook_ini): Likewise.
23857         (__free_hook): Likewise.
23858         (__malloc_hook): Likewise.
23859         (__realloc_hook): Likewise.
23860         (__memalign_hook): Likewise.
23861         (__libc_malloc): Likewise.
23862         (__libc_free): Likewise.
23863         (__libc_realloc): Likewise.
23864         (__libc_memalign): Likewise.
23865         (__libc_valloc): Likewise.
23866         (__libc_pvalloc): Likewise.
23867         (__libc_calloc): Likewise.
23868         (__posix_memalign): Likewise.
23869         * malloc/morecore.c (__sbrk): Likewise.
23870         (__default_morecore): Likewise.
23871
23872         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23873
23874         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23875         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23876         __malloc_ptrdiff_t.
23877
23878         * malloc/malloc.h (__malloc_size_t): Remove macro.
23879         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23880         __malloc_size_t.
23881         (old_memalign_hook): Likewise.
23882         (old_realloc_hook): Likewise.
23883         (struct hdr): Likewise.
23884         (flood): Likewise.
23885         (mallochook): Likewise.
23886         (memalignhook): Likewise.
23887         (reallochook): Likewise.
23888         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23889         (tr_old_realloc_hook): Likewise.
23890         (tr_old_memalign_hook): Likewise.
23891         (tr_mallochook): Likewise.
23892         (tr_reallochook): Likewise.
23893         (tr_memalignhook): Likewise.
23894
23895 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23896
23897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23898         default_ldbl_pack and using as default implementation.
23899         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23900         implementation.
23901         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23902         redundant definition.
23903         (ldbl_insert_mantissa): Likewise.
23904         (ldbl_canonicalize): Likewise.
23905         (ldbl_nearbyint): Likewise.
23906         (ldbl_pack): Rename to ldbl_pack_ppc.
23907         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23908         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23909         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23910
23911 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23912
23913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23914         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23915         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23916         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23918         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23919         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23920         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23921
23922 2013-03-07  Andreas Jaeger  <aj@suse.de>
23923
23924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23925         bits/mman-linux.h.
23926
23927 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23928
23929         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23930         Include mpa.h and declare __MPEXP.
23931         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23932         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23933         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23934         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23935         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23936         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23937         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23938
23939         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23940         (__slowpow): Use long double EXPL and LOGL functions to
23941         compute POW.
23942         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23943         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23944         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23945         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23946         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23947         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23948
23949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23950         intermediate variable to calculate exponent.
23951         (__sqr): Likewise.
23952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23953         Likewise.
23954         (__sqr): Likewise.
23955
23956         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23957         [!NO__SQR]: Define __sqr.
23958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23959         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23960         sysdeps/ieee754/dbl-64/mpa.c.
23961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23962
23963         [BZ #12723]
23964         * posix/Makefile (tests): Add tst-pathconf.
23965         * posix/tst-pathconf.c: New test case.
23966         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23967         _PC_PIPE_BUF.
23968         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23969
23970 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23971
23972         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23973
23974 2013-03-06  Andreas Jaeger  <aj@suse.de>
23975
23976         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23977         definition via __MAP_ANONYMOUS.
23978
23979         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23980         it's not part of Linux headers.
23981
23982         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23983         (MAP_HUGE_MASK): Define.
23984
23985         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23986         Define.
23987         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23989         Define.
23990         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23991         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23992         Define.
23993         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23994         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23995         Define.
23996         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23997
23998         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23999         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24000         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24001         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24002         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24003         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24004
24005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24006         Handle f2fs.
24007
24008         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24009         Handle f2fs and efivarfs.
24010
24011         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24012         f2fs.
24013
24014         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24015         (EFIVARFS_MAGIC): Add.
24016         (F2FS_LINK_MAX): Add.
24017
24018 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24019
24020         * stdio-common/vfprintf.c: Replace __builtin_expect with
24021         __glibc_unlikely.
24022
24023 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24024
24025         [BZ #13550]
24026         * sysdeps/generic/bp-sym.h: Remove file.
24027         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24028         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24029         <bp-sym.h> and <bp-asm.h>.
24030         (__longjmp): Don't use BP_SYM.
24031         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24032         and <bp-asm.h>.
24033         (memcpy): Don't use BP_SYM.
24034         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24035         <bp-sym.h> and <bp-asm.h>.
24036         (memcpy): Don't use BP_SYM.
24037         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24038         <bp-asm.h>.
24039         (memcpy): Don't use BP_SYM.
24040         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24041         <bp-asm.h>.
24042         (memset): Don't use BP_SYM.
24043         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24044         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24045         (__bzero): Don't use BP_SYM.
24046         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24047         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24048         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24049         <bp-sym.h> and <bp-asm.h>.
24050         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24051         pointers.
24052         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24053         <bp-sym.h> and <bp-asm.h>.
24054         (memcpy): Don't use BP_SYM.
24055         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24056         <bp-sym.h> and <bp-asm.h>.
24057         (memset): Don't use BP_SYM.
24058         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24059         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24060         (__bzero): Don't use BP_SYM.
24061         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24062         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24063         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24064         <bp-sym.h> and <bp-asm.h>.
24065         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24066         pointers.
24067         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24068         <bp-sym.h> and <bp-asm.h>.
24069         (memcpy): Don't use BP_SYM.
24070         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24071         <bp-sym.h> and <bp-asm.h>.
24072         (memset): Don't use BP_SYM.
24073         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24074         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24075         (__bzero): Don't use BP_SYM.
24076         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24077         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24078         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24079         <bp-sym.h> and <bp-asm.h>.
24080         (__memchr): Don't use BP_SYM.
24081         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24082         <bp-sym.h> and <bp-asm.h>.
24083         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24084         pointers.
24085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24086         <bp-sym.h> and <bp-asm.h>.
24087         (memcpy): Don't use BP_SYM.
24088         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24089         <bp-sym.h> and <bp-asm.h>.
24090         (__mempcpy): Don't use BP_SYM.
24091         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24092         <bp-sym.h> and <bp-asm.h>.
24093         (__memrchr): Don't use BP_SYM.
24094         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24095         <bp-sym.h> and <bp-asm.h>.
24096         (memset): Don't use BP_SYM.
24097         (__bzero): Likewise.
24098         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24099         <bp-sym.h> and <bp-asm.h>.
24100         (__rawmemchr): Don't use BP_SYM.
24101         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24102         <bp-sym.h> and <bp-asm.h>.
24103         (__STRCMP): Don't use BP_SYM.
24104         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24105         <bp-sym.h> and <bp-asm.h>.
24106         (strchr): Don't use BP_SYM.
24107         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24108         <bp-sym.h> and <bp-asm.h>.
24109         (__strchrnul): Don't use BP_SYM.
24110         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24111         <bp-sym.h> and <bp-asm.h>.
24112         (strlen): Don't use BP_SYM.
24113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24114         <bp-sym.h> and <bp-asm.h>.
24115         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24116         pointers.
24117         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24118         <bp-sym.h> and <bp-asm.h>.
24119         (__strnlen): Don't use BP_SYM.
24120         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24121         <bp-sym.h> and <bp-asm.h>.
24122         (__GI__setjmp): Don't use BP_SYM.
24123         (_setjmp): Likewise.
24124         (__sigsetjmp): Likewise.
24125         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24126         (L(start_addresses)): Don't use BP_SYM.
24127         (_start): Likewise.
24128         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24129         <bp-asm.h>.
24130         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24131         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24132         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24133         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24134         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24135         <bp-asm.h>.
24136         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24137         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24138         about bounded pointers.
24139         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24140         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24141         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24142         <bp-asm.h>.
24143         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24144         about bounded pointers.  Remove GKM FIXME comments.
24145         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24146         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24147         <bp-asm.h>.
24148         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24149         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24150         Remove GKM FIXME comments.
24151         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24152         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24153         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24154         <bp-asm.h>.
24155         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24156         about bounded pointers.  Remove GKM FIXME comment.
24157         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24158         and <bp-asm.h>.
24159         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24160         pointers.
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24162         <bp-sym.h> and <bp-asm.h>.
24163         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24165         <bp-sym.h> and <bp-asm.h>.
24166         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24167         comment.
24168
24169 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24170
24171         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24172         call free(NULL).
24173
24174 2013-03-05  David S. Miller  <davem@davemloft.net>
24175
24176         * po/es.po: Update from translation team.
24177
24178 2013-03-05  Andreas Jaeger  <aj@suse.de>
24179
24180         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24181         <bits/mman-linux.h>.
24182         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24183         is fine.
24184         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24185         <bits/mman-linux.h> to end of file.
24186         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24187         is fine.
24188         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24189         <bits/mman-linux.h> to end of file.
24190         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24191         is fine.
24192         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24193         <bits/mman-linux.h> to end of file.
24194
24195         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24196         (MCL_CURRENT, MCL_FUTURE): Define here.
24197
24198 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24199
24200         [BZ #15232]
24201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24202         attribute_hidden.
24203         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24204
24205 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24206
24207         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24208         fourth parameter needed for rt_sigprocmask syscall.
24209         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24210         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24211         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24212         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24213         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24214         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24215
24216 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24217
24218         [BZ #13550]
24219         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24220         comment about bounded pointers.
24221         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24222         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24223
24224 2013-03-04  Andreas Jaeger  <aj@suse.de>
24225
24226         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24227         common definitions.
24228
24229         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24230         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24231         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24232         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24235
24236 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24237
24238         [BZ #15055]
24239         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24240         __ieee754_sqrl instead of __sqrl.
24241
24242 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24243
24244         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24245         * sysdeps/powerpc/fpu_control.h: ... here.
24246         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24247         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24248         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24249         * sysdeps/powerpc/bits/mathinline.h: ... here.
24250
24251 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24252
24253         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24254         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24255         to just [NEED_DL_SYSINFO_DSO].
24256         * elf/dl-support.c: Likewise.
24257         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24258         * elf/rtld.c (dl_main): Likewise.
24259         * elf/setup-vdso.h (setup_vdso): Likewise.
24260         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24261         * sysdeps/unix/sysv/linux/dl-sysdep.c
24262         (_dl_discover_osversion): Likewise.
24263
24264 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24265
24266         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24267         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24268
24269 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24270
24271         * NEWS: Mention libm performance improvements and non-x86 PI
24272         futex support.
24273
24274         * csu/libc-start.c (__pthread_initialize_minimal): Change
24275         function arguments.
24276         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24277
24278 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24279
24280         [BZ #13550]
24281         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24282         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24283         <bp-sym.h> and <bp-asm.h>.
24284         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24285         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24286         and <bp-asm.h>.
24287         (memcpy): Don't use BP_SYM.
24288         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24289         <bp-asm.h>.
24290         (__mpn_add_n): Don't use BP_SYM.
24291         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24292         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24293         and <bp-asm.h>.
24294         (__mpn_addmul_1): Don't use BP_SYM.
24295         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24296         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24297         <bp-sym.h>.
24298         (_setjmp): Don't use BP_SYM.
24299         (__novmx_setjmp): Likewise.
24300         (__GI__setjmp): Likewise.
24301         (__vmx_setjmp): Likewise.
24302         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24303         <bp-sym.h>.
24304         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24305         (__bzero): Don't use BP_SYM.
24306         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24307         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24308         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24309         <bp-sym.h> and <bp-asm.h>.
24310         (memcpy): Don't use BP_SYM.
24311         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24312         <bp-sym.h> and <bp-asm.h>.
24313         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24314         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24315         <bp-sym.h> and <bp-asm.h>.
24316         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24317         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24318         <bp-asm.h>.
24319         (__mpn_lshift): Don't use BP_SYM.
24320         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24321         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24322         <bp-asm.h>.
24323         (memset): Don't use BP_SYM.
24324         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24325         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24326         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24327         <bp-asm.h>.
24328         (__mpn_mul_1): Don't use BP_SYM.
24329         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24331         <bp-sym.h> and <bp-asm.h>.
24332         (memcmp): Don't use BP_SYM.
24333         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24334         <bp-sym.h> and <bp-asm.h>.
24335         (memcpy): Don't use BP_SYM.
24336         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24337         <bp-sym.h> and <bp-asm.h>.
24338         (memset): Don't use BP_SYM.
24339         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24340         <bp-sym.h> and <bp-asm.h>.
24341         (strncmp): Don't use BP_SYM.
24342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24343         <bp-sym.h> and <bp-asm.h>.
24344         (memcpy): Don't use BP_SYM.
24345         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24346         <bp-sym.h> and <bp-asm.h>.
24347         (memset): Don't use BP_SYM.
24348         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24349         <bp-sym.h> and <bp-asm.h>.
24350         (__memchr): Don't use BP_SYM.
24351         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24352         <bp-sym.h> and <bp-asm.h>.
24353         (memcmp): Don't use BP_SYM.
24354         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24355         <bp-sym.h> and <bp-asm.h>.
24356         (memcpy): Don't use BP_SYM.
24357         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24358         <bp-sym.h> and <bp-asm.h>.
24359         (__mempcpy): Don't use BP_SYM.
24360         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24361         <bp-sym.h> and <bp-asm.h>.
24362         (__memrchr): Don't use BP_SYM.
24363         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24364         <bp-sym.h> and <bp-asm.h>.
24365         (memset): Don't use BP_SYM.
24366         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24367         <bp-sym.h> and <bp-asm.h>.
24368         (__rawmemchr): Don't use BP_SYM.
24369         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24370         <bp-sym.h> and <bp-asm.h>.
24371         (__STRCMP): Don't use BP_SYM.
24372         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24373         <bp-sym.h> and <bp-asm.h>.
24374         (strchr): Don't use BP_SYM.
24375         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24376         <bp-sym.h> and <bp-asm.h>.
24377         (__strchrnul): Don't use BP_SYM.
24378         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24379         <bp-sym.h> and <bp-asm.h>.
24380         (strlen): Don't use BP_SYM.
24381         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24382         <bp-sym.h> and <bp-asm.h>.
24383         (strncmp): Don't use BP_SYM.
24384         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24385         <bp-sym.h> and <bp-asm.h>.
24386         (__strnlen): Don't use BP_SYM.
24387         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24388         <bp-asm.h>.
24389         (__mpn_rshift): Don't use BP_SYM.
24390         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24391         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24392         <bp-sym.h> and <bp-asm.h>.
24393         (__sigsetjmp): Don't use BP_SYM.
24394         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24395         (L(start_addresses)): Don't use BP_SYM.
24396         (_start): Likewise.
24397         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24398         <bp-asm.h>.
24399         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24402         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24403         <bp-asm.h>.
24404         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24405         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24406         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24407         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24408         <bp-asm.h>.
24409         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24410         comments.
24411         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24412         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24413         <bp-asm.h>.
24414         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24415         FIXME comments.
24416         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24417         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24418         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24419         <bp-asm.h>.
24420         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24421         comment.
24422         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24423         and <bp-asm.h>.
24424         (strncmp): Don't use BP_SYM,
24425         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24426         <bp-asm.h>.
24427         (__mpn_sub_n): Don't use BP_SYM.
24428         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24429         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24430         and <bp-asm.h>.
24431         (__mpn_submul_1): Don't use BP_SYM.
24432         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24434         <bp-sym.h> and <bp-asm.h>.
24435         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24437         <bp-sym.h> and <bp-asm.h>.
24438         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24439         comment.
24440
24441 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24442
24443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24444         Use ZK to minimize writes to Z.
24445         (sub_magnitudes): Simplify code a bit.
24446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24447         Use ZK to minimize writes to Z.
24448         (sub_magnitudes): Simplify code a bit.
24449
24450 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24451
24452         * csu/gmon-start.c: Add special exception to license text.
24453
24454 2013-02-27  Richard Henderson  <rth@redhat.com>
24455
24456         * scripts/config.guess: Update from config.git.
24457         * scripts/config.sub: Likewise.
24458
24459 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24460
24461         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24462
24463         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24464
24465         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24466
24467         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24468
24469         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24470
24471 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24472
24473         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24474         [$(build-shared = yes].
24475
24476 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24477
24478         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24479         (__mul): Reduce iterations for calculating mantissa.
24480
24481         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24482         MPTWO.
24483         (__mpranred): Likewise.
24484
24485         [BZ #15160]
24486         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24487         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24488
24489 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24490
24491         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24492         Define __attribute__.
24493
24494 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24495
24496         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24497         unused.
24498         * posix/regex_internal.h (__attribute): Remove.
24499         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24500         (re_string_context_at): Likewise.
24501         (bitset_not): Use __attribute__ and mark function as possibly
24502         unused.
24503         (bitset_merge): Likewise.
24504         (bitset_mask): Likewise.
24505         (re_string_char_size_at): Likewise.
24506         (re_string_wchar_at): Likewise.
24507         (re_string_elem_size_at): Likewise.
24508
24509 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24510
24511         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24512         code.
24513         (cc32): Likewise.
24514
24515         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24516         (__acr): Likewise.
24517         (__cpy): Likewise.
24518         (norm): Likewise.
24519         (denorm): Likewise.
24520         (__dbl_mp): Likewise.
24521         (add_magnitudes): Likewise.
24522         (sub_magnitudes): Likewise.
24523         (__mul): Likewise.
24524         (__inv): Likewise.
24525
24526         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24527         style.
24528
24529         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24530         style.
24531
24532         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24533         code.
24534
24535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24536         up changes with default code.
24537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24538         Likewise.
24539
24540 2013-02-24  Allan McRae  <allan@archlinux.org>
24541
24542         * manual/socket.texi (The Internet Namespace): Order menu items
24543         to match that in the file.
24544
24545         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24546         node listing of the info page menu.
24547
24548 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24549
24550         [BZ #13550]
24551         * sysdeps/i386/bp-asm.h: Remove file.
24552         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24553         (PARMS): Do not use macros from bp-asm.h.
24554         (S1): Likewise.
24555         (S2): Likewise.
24556         (SIZE): Likewise.
24557         (__mpn_add_n): Do not use BP_SYM
24558         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24559         "bp-asm.h".
24560         (PARMS): Do not use macros from bp-asm.h.
24561         (S1): Likewise.
24562         (SIZE): Likewise.
24563         (__mpn_addmul_1): Do not use BP_SYM
24564         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24565         "bp-asm.h".
24566         (PARMS): Do not use macros from bp-asm.h.
24567         (SIGMSK): Likewise.
24568         (_setjmp): Likewise.  Do not use BP_SYM.
24569         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24570         "bp-asm.h".
24571         (PARMS): Do not use macros from bp-asm.h.
24572         (SIGMSK): Likewise.
24573         (setjmp): Likewise.  Do not use BP_SYM.
24574         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24575         "bp-asm.h".
24576         (PARMS): Do not use macros from bp-asm.h.
24577         (__frexp): Do not use BP_SYM.
24578         (frexp): Likewise.
24579         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24580         "bp-asm.h".
24581         (PARMS): Do not use macros from bp-asm.h.
24582         (__frexpf): Do not use BP_SYM.
24583         (frexpf): Likewise.
24584         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24585         "bp-asm.h".
24586         (PARMS): Do not use macros from bp-asm.h.
24587         (__frexpl): Do not use BP_SYM.
24588         (frexpl): Likewise.
24589         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24590         "bp-asm.h".
24591         (PARMS): Do not use macros from bp-asm.h.
24592         (__remquo): Do not use BP_SYM.
24593         (remquo): Likewise.
24594         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24595         "bp-asm.h".
24596         (PARMS): Do not use macros from bp-asm.h.
24597         (__remquof): Do not use BP_SYM.
24598         (remquof): Likewise.
24599         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24600         "bp-asm.h".
24601         (PARMS): Do not use macros from bp-asm.h.
24602         (__remquol): Do not use BP_SYM.
24603         (remquol): Likewise.
24604         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24605         "bp-asm.h".
24606         (PARMS): Do not use macros from bp-asm.h.
24607         (DEST): Likewise.
24608         (SRC): Likewise.
24609         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24610         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24611         "bp-asm.h".
24612         (PARMS): Do not use macros from bp-asm.h.
24613         (strlen): Do not use BP_SYM.
24614         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24615         "bp-asm.h".
24616         (PARMS): Do not use macros from bp-asm.h.
24617         (S1): Likewise.
24618         (S2): Likewise.
24619         (SIZE): Likewise.
24620         (__mpn_add_n): Do not use BP_SYM.
24621         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24622         "bp-asm.h".
24623         (PARMS): Do not use macros from bp-asm.h.
24624         (S1): Likewise.
24625         (SIZE): Likewise.
24626         (__mpn_addmul_1): Do not use BP_SYM.
24627         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24628         weak_alias.
24629         (bzero): Likewise.
24630         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24631         "bp-asm.h".
24632         (PARMS): Do not use macros from bp-asm.h.
24633         (S): Likewise.
24634         (SIZE): Likewise.
24635         (__mpn_lshift): Do not use BP_SYM.
24636         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24637         "bp-asm.h".
24638         (PARMS): Do not use macros from bp-asm.h.
24639         (DEST): Likewise.
24640         (SRC): Likewise.
24641         (LEN): Likewise.
24642         (memcpy): Likewise.  Do not use BP_SYM.
24643         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24644         libc_hidden_def and weak_alias.
24645         (mempcpy): Do not use BP_SYM in weak_alias.
24646         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24647         "bp-asm.h".
24648         (PARMS): Do not use macros from bp-asm.h.
24649         (DEST): Likewise.
24650         (LEN): Likewise.
24651         [!BZERO_P] (CHR): Likewise.
24652         (memset): Likewise.  Do not use BP_SYM.
24653         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24654         "bp-asm.h".
24655         (PARMS): Do not use macros from bp-asm.h.
24656         (S1): Likewise.
24657         (SIZE): Likewise.
24658         (__mpn_mul_1): Do not use BP_SYM.
24659         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24660         "bp-asm.h".
24661         (PARMS): Do not use macros from bp-asm.h.
24662         (S): Likewise.
24663         (SIZE): Likewise.
24664         (__mpn_rshift): Do not use BP_SYM.
24665         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24666         "bp-asm.h".
24667         (PARMS): Do not use macros from bp-asm.h.
24668         (STR): Likewise.
24669         (CHR): Likewise.
24670         (strchr): Likewise.  Do not use BP_SYM.
24671         (index): Do not use BP_SYM in weak_alias.
24672         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24673         "bp-asm.h".
24674         (PARMS): Do not use macros from bp-asm.h.
24675         (DEST): Likewise.
24676         (SRC): Likewise.
24677         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24678         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24679         "bp-asm.h".
24680         (PARMS): Do not use macros from bp-asm.h.
24681         (strlen): Do not use BP_SYM.
24682         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24683         "bp-asm.h".
24684         (PARMS): Do not use macros from bp-asm.h.
24685         (S1): Likewise.
24686         (S2): Likewise.
24687         (SIZE): Likewise.
24688         (__mpn_sub_n): Do not use BP_SYM.
24689         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24690         "bp-asm.h".
24691         (PARMS): Do not use macros from bp-asm.h.
24692         (S1): Likewise.
24693         (SIZE): Likewise.
24694         (__mpn_submul_1): Do not use BP_SYM.
24695         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24696         "bp-asm.h".
24697         (PARMS): Do not use macros from bp-asm.h.
24698         (S1): Likewise.
24699         (S2): Likewise.
24700         (SIZE): Likewise.
24701         (__mpn_add_n): Do not use BP_SYM.
24702         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24703         weak_alias.
24704         (bzero): Likewise.
24705         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24706         "bp-asm.h".
24707         (PARMS): Do not use macros from bp-asm.h.
24708         (BLK2): Likewise.
24709         (LEN): Likewise.
24710         (memcmp): Do not use BP_SYM.
24711         (bcmp): Do not use BP_SYM in weak_alias.
24712         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24713         "bp-asm.h".
24714         (PARMS): Do not use macros from bp-asm.h.
24715         (DEST): Likewise.
24716         (SRC): Likewise.
24717         (LEN): Likewise.
24718         (memcpy): Likewise.  Do not use BP_SYM.
24719         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24720         "bp-asm.h".
24721         (PARMS): Do not use macros from bp-asm.h.
24722         (DEST): Likewise.
24723         (SRC): Likewise.
24724         (LEN): Likewise.
24725         (memmove): Likewise.  Do not use BP_SYM.
24726         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24727         "bp-asm.h".
24728         (PARMS): Do not use macros from bp-asm.h.
24729         (DEST): Likewise.
24730         (SRC): Likewise.
24731         (LEN): Likewise.
24732         (__mempcpy): Likewise.  Do not use BP_SYM.
24733         (mempcpy): Do not use BP_SYM in weak_alias.
24734         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24735         "bp-asm.h".
24736         (PARMS): Do not use macros from bp-asm.h.
24737         (DEST): Likewise.
24738         (LEN): Likewise.
24739         [!BZERO_P] (CHR): Likewise.
24740         (memset): Likewise.  Do not use BP_SYM.
24741         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24742         "bp-asm.h".
24743         (PARMS): Do not use macros from bp-asm.h.
24744         (STR2): Likewise.
24745         (strcmp): Do not use BP_SYM.
24746         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24747         "bp-asm.h".
24748         (PARMS): Do not use macros from bp-asm.h.
24749         (STR): Likewise.
24750         (DELIM): Likewise.
24751         [USE_AS_STRTOK_R] (SAVE): Likewise.
24752         (FUNCTION): Likewise.  Do not use BP_SYM.
24753         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24754         aliases.
24755         (strtok_r): Likewise.
24756         (__GI___strtok_r): Likewise.
24757         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24758         (PARMS): Do not use macros from bp-asm.h.
24759         (S): Likewise.
24760         (SIZE): Likewise.
24761         (__mpn_lshift): Do not use BP_SYM.
24762         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24763         (PARMS): Do not use macros from bp-asm.h.
24764         (STR): Likewise.
24765         (CHR): Likewise.
24766         (__memchr): Do not use BP_SYM.
24767         (memchr): Do not use BP_SYM in weak_alias.
24768         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24769         (PARMS): Do not use macros from bp-asm.h.
24770         (BLK2): Likewise.
24771         (LEN): Likewise.
24772         (memcmp): Do not use BP_SYM.
24773         (bcmp): Do not use BP_SYM in weak_alias.
24774         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24775         (PARMS): Do not use macros from bp-asm.h.
24776         (S1): Likewise.
24777         (SIZE): Likewise.
24778         (__mpn_mul_1): Do not use BP_SYM.
24779         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24780         "bp-asm.h".
24781         (PARMS): Do not use macros from bp-asm.h.
24782         (STR): Likewise.
24783         (CHR): Likewise.
24784         (__rawmemchr): Do not use BP_SYM.
24785         (rawmemchr): Do not use BP_SYM in weak_alias.
24786         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24787         (PARMS): Do not use macros from bp-asm.h.
24788         (S): Likewise.
24789         (SIZE): Likewise.
24790         (__mpn_rshift): Do not use BP_SYM.
24791         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24792         (PARMS): Do not use macros from bp-asm.h.
24793         (SIGMSK): Likewise.
24794         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24795         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24796         (_start): Do not use BP_SYM.
24797         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24798         (PARMS): Do not use macros from bp-asm.h.
24799         (DEST): Likewise.
24800         (SRC): Likewise.
24801         (__stpcpy): Likewise.  Do not use BP_SYM.
24802         (stpcpy): Do not use BP_SYM in weak_alias.
24803         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24804         "bp-asm.h".
24805         (PARMS): Do not use macros from bp-asm.h.
24806         (DEST): Likewise.
24807         (SRC): Likewise.
24808         (LEN): Likewise.
24809         (__stpncpy): Likewise.  Do not use BP_SYM.
24810         (stpncpy): Do not use BP_SYM in weak_alias.
24811         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24812         (PARMS): Do not use macros from bp-asm.h.
24813         (STR): Likewise.
24814         (CHR): Likewise.
24815         (strchr): Likewise.  Do not use BP_SYM.
24816         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24817         "bp-asm.h".
24818         (PARMS): Do not use macros from bp-asm.h.
24819         (STR): Likewise.
24820         (CHR): Likewise.
24821         (__strchrnul): Likewise.  Do not use BP_SYM.
24822         (strchrnul): Do not use BP_SYM in weak_alias.
24823         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24824         "bp-asm.h".
24825         (PARMS): Do not use macros from bp-asm.h.
24826         (STOP): Likewise.
24827         (strcspn): Do not use BP_SYM.
24828         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24829         "bp-asm.h".
24830         (PARMS): Do not use macros from bp-asm.h.
24831         (STR): Likewise.
24832         (STOP): Likewise.
24833         (strpbrk): Likewise.  Do not use BP_SYM.
24834         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24835         "bp-asm.h".
24836         (PARMS): Do not use macros from bp-asm.h.
24837         (STR): Likewise.
24838         (CHR): Likewise.
24839         (strrchr): Likewise.  Do not use BP_SYM.
24840         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24841         (PARMS): Do not use macros from bp-asm.h.
24842         (SKIP): Likewise.
24843         (strspn): Do not use BP_SYM.
24844         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24845         (PARMS): Do not use macros from bp-asm.h.
24846         (STR): Likewise.
24847         (DELIM): Likewise.
24848         (SAVE): Likewise.
24849         (FUNCTION): Likewise.  Do not use BP_SYM.
24850         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24851         aliases.
24852         (strtok_r): Likewise.
24853         (__GI___strtok_r): Likewise.
24854         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24855         (PARMS): Do not use macros from bp-asm.h.
24856         (S1): Likewise.
24857         (S2): Likewise.
24858         (SIZE): Likewise.
24859         (__mpn_sub_n): Do not use BP_SYM.
24860         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24861         "bp-asm.h".
24862         (PARMS): Do not use macros from bp-asm.h.
24863         (S1): Likewise.
24864         (SIZE): Likewise.
24865         (__mpn_submul_1): Do not use BP_SYM.
24866         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24867         <bp-sym.h>.
24868         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24869         and <bp-asm.h>.
24870         (PARMS): Do not use macros from bp-asm.h.
24871         (FLAGS): Likewise.
24872         (PTID): Likewise.
24873         (TLS): Likewise.
24874         (CTID): Likewise.
24875         (__clone): Do not use BP_SYM.
24876         (clone): Do not use BP_SYM in weak_alias.
24877         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24878         and <bp-asm.h>.
24879         (PARMS): Do not use macros from bp-asm.h.
24880         (LEN): Likewise.
24881         (__mmap64): Do not use BP_SYM.
24882         (mmap64): Do not use BP_SYM in weak_alias.
24883         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24884         <bp-sym.h> and <bp-asm.h>.
24885         (PARMS): Do not use macros from bp-asm.h.
24886         (__posix_fadvise64_l64): Do not use BP_SYM.
24887         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24888         (PARMS): Do not use macros from bp-asm.h.
24889         (NSOPS): Likewise.
24890         (semtimedop): Do not use BP_SYM.
24891         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24892         and <bp-asm.h>.
24893
24894 2013-02-21  Allan McRae  <allan@archlinux.org>
24895
24896         * manual/message.texi (Charset conversion in gettext):
24897         Move @end statement to beginning of line.
24898
24899 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24900
24901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24902         static.
24903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24904         Likewise.
24905
24906         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24907         (denorm): Likewise.
24908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24910
24911 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24912
24913         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24914         tail-call to the resolved function if pltexit isn't needed.
24915
24916 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24917
24918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24919         or Y being zero as being unlikely.
24920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24921         Likewise.
24922
24923 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24924
24925         * manual/nss.texi (System Databases and Name Service Switch):
24926         Remove frobnicate @pxref.
24927
24928 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24929
24930         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24931         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24932
24933 2013-02-20  Petr Machata  <pmachata@redhat.com>
24934
24935         * elf/elf.h (R_ARM_TARGET1): New macro.
24936         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24937         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24938         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24939         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24940         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24941         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24942         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24943         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24944         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24945         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24946         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24947         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24948         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24949         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24950         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24951         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24952         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24953         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24954         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24955         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24956         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24957         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24958         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24959         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24960         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24961         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24962         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24963         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24964         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24965         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24966         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24967         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24968         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24969         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24970         (R_ARM_THM_GOT_BREL12): Likewise.
24971         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24972         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24973         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24974         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24975         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24976         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24977         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24978         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24979         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24980
24981 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24982
24983         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24984         __attribute_used__ to __attribute__ ((unused)).
24985
24986 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24987
24988         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24989         powerpc mpa.c.
24990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24991         comment formatting.
24992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24993
24994 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24995
24996         [BZ #13550]
24997         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24998         Remove macro.
24999         (ENTER): Remove both macro definitions.
25000         (LEAVE): Likewise.
25001         (CHECK_BOUNDS_LOW): Likewise.
25002         (CHECK_BOUNDS_HIGH): Likewise.
25003         (CHECK_BOUNDS_BOTH): Likewise.
25004         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25005         (RETURN_BOUNDED_POINTER): Likewise.
25006         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25007         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25008         (POP_ERRNO_LOCATION_RETURN): Likewise.
25009         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25010         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25011         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25012         macros.
25013         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25014         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25015         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25016         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25017         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25018         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25019         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25020         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25021         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25022         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25023         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25024         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25025         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25026         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25027         removed macros.
25028         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25029         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25030         macros.
25031         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25032         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25033         * sysdeps/i386/i586/memset.S (memset): Likewise.
25034         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25035         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25036         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25037         macros.
25038         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25039         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25040         Change uses of L(2) to L(out).
25041         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25042         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25043         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25044         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25045         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25046         removed macros.
25047         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25048         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25049         macros.
25050         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25051         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25052         (RETURN): Do not use macro LEAVE.
25053         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25054         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25055         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25056         * sysdeps/i386/i686/memset.S (memset): Likewise.
25057         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25058         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25059         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25060         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25061         Likewise.
25062         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25063         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25064         L(1_2) and L(1_3) into L(1).
25065         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25066         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25067         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25068         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25069         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25070         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25071         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25072         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25073         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25074         macros.
25075         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25076         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25077         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25078         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25079         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25080         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25081         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25082         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25083         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25084         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25085         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25086         * sysdeps/i386/strspn.S (strspn): Likewise.
25087         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25088         conditional code.
25089         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25090         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25091         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25092         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25093         L(1_3) into L(1_1).
25094         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25095         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25096         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25097         macros.
25098         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25099
25100 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25101
25102         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25103         macro.
25104
25105 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25106
25107         * math/atest-exp.c (exp_mpn): Remove ROUND.
25108         * math/atest-exp2.c (exp_mpn): Likewise.
25109         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25110
25111         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25112         * stdlib/tst-tls-atexit-lib.c: Likewise.
25113         * stdlib/tst-tls-atexit.c: Likewise.
25114
25115 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25116
25117         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25118         and __attribute_alloc_size__.
25119
25120 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25121
25122         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25123         __attribute_alloc_size__.
25124         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25125         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25126
25127 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25128
25129         * include/programs/xmalloc.h: New file.
25130         * catgets/gencat.c: Include it.
25131         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25132         * elf/pldd.c: Likewise.
25133         * iconv/iconv_charmap.c: Likewise.
25134         * iconv/iconvconfig.c: Likewise.
25135         * iconv/strtab.c: Likewise.
25136         * locale/programs/locale.c: Likewise.
25137         * locale/programs/localedef.h: Likewise.
25138         * locale/programs/simple-hash.c: Likewise.
25139         * nscd/nscd.h: Likewise.
25140         * nss/makedb.c: Likewise.
25141         * sysdeps/generic/ldconfig.h: Likewise.
25142
25143 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25144
25145         * Versions.def: Add GLIBC_2.18.
25146         * include/link.h (struct link_map): New member l_tls_dtor_count.
25147         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25148         (__call_tls_dtors): Likewise.
25149         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25150         __cxa_thread_atexit_impl.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25152         Likewise.
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25154         Likewise.
25155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25156         Likewise.
25157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25158         Likewise.
25159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25161         Likewise.
25162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25163         Likewise.
25164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25166         Likewise.
25167         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25168         (tests): Add test case tst-tls-atexit.
25169         (modules-names): Add shared library for tst-tls-atexit.
25170         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25171         (GLIBC_PRIVATE): Add __call_tls_dtors.
25172         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25173         for libstdc++.
25174         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25175         * stdlib/tst-tls-atexit.c: New test case.
25176         * stdlib/tst-tls-atexit-lib.c: New test case.
25177
25178         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25179
25180         * elf/Versions (ld): Add _dl_find_dso_for_object.
25181         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25182         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25183         (dl_open_worker): Use _dl_find_dso_for_object.
25184         * elf/dl-sym.c (do_sym): Likewise.
25185         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25186
25187 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25188
25189         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25190         Syntactic changes only.
25191         (_dl_runtime_profile): Do a tail-call to the resolved function.
25192
25193 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25194
25195         [BZ #13550]
25196         * sysdeps/x86_64/bp-asm.h: Remove file.
25197         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25198         <bp-sym.h> and <bp-asm.h>.
25199         (__clone): Do not use BP_SYM.
25200         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25201         <bp-sym.h> and <bp-asm.h>.
25202         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25203         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25204         "bp-asm.h".
25205         (_setjmp): Do not use BP_SYM.
25206         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25207         "bp-asm.h".
25208         (setjmp): Do not use BP_SYM.
25209         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25210         libc_hidden_def.
25211         (mempcpy): Do not use BP_SYM in weak_alias.
25212         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25213         "bp-asm.h".
25214         (strchr): Do not use BP_SYM.
25215         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25216         "bp-asm.h".
25217         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25218         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25219         (_start): Do not use BP_SYM.
25220         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25221         "bp-asm.h".
25222         (strcat): Do not use BP_SYM.
25223         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25224         "bp-asm.h".
25225         (STRCMP): Do not use BP_SYM.
25226         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25227         "bp-asm.h".
25228         (STRCPY): Do not use BP_SYM.
25229         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25230         "bp-asm.h".
25231         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25232         "bp-asm.h".
25233         (FUNCTION): Do not use BP_SYM.
25234         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25235         weak_alias.
25236         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25237
25238 2013-02-17  Andreas Jaeger  <aj@suse.de>
25239
25240         * time/Versions: Sort entries.
25241         * string/Versions: Likewise.
25242         * resolv/Versions: Likewise.
25243         * posix/Versions: Likewise.
25244         * iconv/Versions: Likewise.
25245         * elf/Versions: Likewise.
25246         * wcsmbs/Versions: Likewise.
25247
25248 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25249
25250         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25251         loop termination condition.
25252
25253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25254         variable to calculate EZ.
25255         (__sqr): Likewise.
25256
25257         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25258         the lower precision input.
25259
25260 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25261
25262         [BZ #13550]
25263         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25264         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25265         (run-via-rtld-prefix): Do not handle %-bp tests.
25266         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25267         (all-object-suffixes): Remove .ob.
25268         (bppfx): Remove variable.
25269         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25270         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25271         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25272         [$(build-bounded) = yes] (libtype.ob): Likewise.
25273         * Makerules (elide-routines.ob): Remove variable.
25274         (do-tests-clean): Do not handle *-bp.out.
25275         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25276         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25277         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25278         (tests): Do not include $(tests-bp.out).
25279         (xtests): Do not include $(xtests-bp.out).
25280         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25281         [$(build-bounded) = yes] ($(addprefix
25282         $(objpfx),$(binaries-bounded))): Remove rule.
25283         ($(objpfx)%-bp.out): Remove rule.
25284         * config.make.in (build-bounded): Remove variable.
25285         * crypt/Makefile [$(build-bounded) = yes]
25286         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25287         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25288         append to variable.
25289         [$(build-bounded) = yes] (install-lib): Likewise.
25290         [$(build-bounded) = yes] (generated): Likewise.
25291         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25292         Remove rule.
25293         * intl/Makefile [$(build-bounded) = yes]
25294         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25295         * math/Makefile [$(build-bounded) = yes]
25296         ($(tests:%=$(objpfx)%-bp): Likewise.
25297         * misc/Makefile [$(build-bounded) = yes]
25298         ($(objpfx)tst-tsearch-bp): Likewise.
25299         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25300         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25301         Remove dependency.
25302         * string/Makefile (o-objects.ob): Remove variable.
25303         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25304         (CFLAGS-.ob): Remove variable.
25305         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25306         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25307         both definitions of variable.
25308         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25309         (ASFLAGS-.ob): Remove variable.
25310
25311 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25312
25313         [BZ #13550]
25314         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25315         Remove __BOUNDED_POINTERS__ from condition.
25316         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25317         * string/bits/string2.h [!__NO_STRING_INLINES &&
25318         !__BOUNDED_POINTERS__]: Likewise.
25319         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25320         Likewise.
25321         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25322         Remove conditional code.
25323         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25324         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25325         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25326         condition.
25327
25328         [BZ #13550]
25329         * csu/libc-start.c: Do not include <bp-sym.h>.
25330         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25331         * elf/dl-open.c: Do not include <bp-sym.h>.
25332         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25333         * math/fegetenv.c: Do not include <bp-sym.h>.
25334         (fegetenv): Do not use BP_SYM in versioned symbols.
25335         * nptl/sysdeps/pthread/bits/libc-lockP.h
25336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25337         <bp-sym.h>.
25338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25339         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25341         (__pthread_mutex_destroy): Likewise.
25342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25343         (__pthread_mutex_lock): Likewise.
25344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25345         (__pthread_mutex_trylock): Likewise.
25346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25347         (__pthread_mutex_unlock): Likewise.
25348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25349         (__pthread_mutexattr_init): Likewise.
25350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25351         (__pthread_mutexattr_destroy): Likewise.
25352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25353         (__pthread_mutexattr_settype): Likewise.
25354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25355         (__pthread_rwlock_init): Likewise.
25356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25357         (__pthread_rwlock_destroy): Likewise.
25358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25359         (__pthread_rwlock_rdlock): Likewise.
25360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25361         (__pthread_rwlock_tryrdlock): Likewise.
25362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25363         (__pthread_rwlock_wrlock): Likewise.
25364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25365         (__pthread_rwlock_trywrlock): Likewise.
25366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25367         (__pthread_rwlock_unlock): Likewise.
25368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25369         (__pthread_key_create): Likewise.
25370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25371         (__pthread_setspecific): Likewise.
25372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25373         (__pthread_getspecific): Likewise.
25374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25375         Likewise.
25376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25377         (_pthread_cleanup_push_defer): Likewise.
25378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25379         (_pthread_cleanup_pop_restore): Likewise.
25380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25381         (pthread_setcancelstate): Likewise.
25382         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25383         <bp-sym.h>.
25384         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25385         (memchr): Do not use BP_SYM in weak_alias.
25386         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25387         (fegetenv): Do not use BP_SYM in versioned symbols.
25388         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25389         (fesetenv): Do not use BP_SYM in versioned symbols.
25390         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25391         (feupdateenv): Do not use BP_SYM in versioned symbols.
25392         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25393         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25394         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25395         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25396         (open64): Do not use BP_SYM in weak_alias.
25397         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25398         (fegetenv): Do not use BP_SYM in versioned symbols.
25399         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25400         (fesetenv): Do not use BP_SYM in versioned symbols.
25401         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25402         (feupdateenv): Do not use BP_SYM in versioned symbols.
25403         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25404         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25405         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25406         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25407         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25408         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25409         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25410         <bp-sym.h>.
25411         (__libc_start_main): Do not use BP_SYM.
25412
25413 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25414
25415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25416         redundant return line.
25417         (norm): Likewise.
25418         (denorm): Likewise.
25419         (dbl_mp): Likewise.
25420         (sub_magnitudes): Likewise.
25421         (__add): Likewise.
25422         (__sub): Likewise.
25423         (__mul): Likewise.
25424         (__inv): Likewise.
25425         (__dvd): Likewise.
25426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25427         (norm): Likewise.
25428         (denorm): Likewise.
25429         (dbl_mp): Likewise.
25430         (sub_magnitudes): Likewise.
25431         (__add): Likewise.
25432         (__sub): Likewise.
25433         (__mul): Likewise.
25434         (__inv): Likewise.
25435         (__dvd): Likewise.
25436
25437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25438         instead of __mul.
25439         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25440         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25441         (cc32): Likewise.
25442
25443         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25444         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25446         of __mul for squares.
25447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25448         function
25449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25450         Likewise.
25451         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25452         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25453
25454 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25455
25456         [BZ #13550]
25457         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25458         code.
25459         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25460         prototype or function definition.  Rename ubp_* variables and
25461         parameters.  Remove argv definitions conditional on
25462         [__BOUNDED_POINTERS__].
25463         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25464         * elf/dl-runtime.c (_dl_fixup): Likewise.
25465         * include/set-hooks.h (RUN_HOOK): Likewise.
25466         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25467         definition.
25468         * string/strcpy.c (strcpy): Do not use __unbounded.
25469         * sysdeps/generic/frame.h (struct layout): Likewise.
25470         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25471         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25472         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25473         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25474         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25475         (__backtrace): Likewise.
25476         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25477         use __ptrvalue.
25478         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25480         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25481         Likewise.
25482         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25483         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25484         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25485         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25486         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25487         Do not use __unbounded.
25488         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25489         Rename __unboundedrlimits parameter to rlimits in prototype.
25490         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25491         Do not use __unbounded.
25492         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25493         not use __ptrvalue.
25494         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25495         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25496         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25497         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25498         __ptrvalue or __unbounded.
25499         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25500         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25501         use __unbounded.
25502         (__new_msgctl): Do not use __ptrvalue.
25503         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25504         __unbounded.
25505         (__libc_msgrcv): Do not use __ptrvalue.
25506         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25507         startup_info): Do not use __unbounded.
25508         (__libc_start_main): Likewise.  Rename ubp_* variables and
25509         parameters.  Remove argv definitions conditional on
25510         [__BOUNDED_POINTERS__].
25511         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25512         __ptrvalue.
25513         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25514         use __unbounded.
25515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25516         or __ptrvalue.
25517         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25518         use __unbounded.
25519         (__new_shmctl): Do not use __ptrvalue.
25520         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25521         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25522         Likewise.
25523         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25524         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25525         (__libc_sigaction): Likewise.
25526         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25527         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25528         Likewise.
25529         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25530
25531 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25532
25533         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25534
25535         * string/mempcpy.c: Implement by calling memcpy.
25536
25537 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25538
25539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25540
25541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25542         evaluation.
25543
25544         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25545         values in the mantissa.
25546
25547         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25548         minimize writes to Z.
25549         (sub_magnitudes): Simplify code a bit.
25550
25551 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25552
25553         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25554         from the message.  The linker prefixes all warnings with that already.
25555
25556 2013-02-12  Andreas Schwab  <schwab@suse.de>
25557
25558         [BZ #15078]
25559         * posix/regexec.c (extend_buffers): Add parameter min_len.
25560         (check_matching): Pass minimum needed length.
25561         (clean_state_log_if_needed): Likewise.
25562         (get_subexp): Likewise.
25563         * posix/Makefile (tests): Add bug-regex34.
25564         (bug-regex34-ENV): Define.
25565         * posix/bug-regex34.c: New file.
25566
25567         [BZ #11561]
25568         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25569         elements compare against the byte sequence of it, not its name.
25570         * posix/Makefile (tests): Add bug-regex35.
25571         (bug-regex35-ENV): Define.
25572         * posix/bug-regex35.c: New file.
25573
25574 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25575
25576         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25577         comment.
25578         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25579         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25580         (CHECK_EOL): Add undef.
25581
25582 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25583
25584         * bits/stdlib-bsearch.h: New file.
25585         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25586         * stdlib/stdlib.h: Likewise.
25587
25588 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25589
25590         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25591         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25592         declaration.
25593         * manual/search.texi (Array Search Function): Add missing const in
25594         lfind prototype.
25595         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25596         declaration to use rlim_t.
25597         (Basic Scheduling Functions): Remove erroneous const from
25598         sched_getparam prototype.  Remove erroneous * from
25599         sched_get_priority_max and sched_get_priority_min prototypes.
25600         (Resource Usage): Fix summary @comment on vtimes to refer to
25601         sys/vtimes.h rather than vtimes.h.
25602         Add missing *s in vtimes prototype.
25603         (Limits on Resources): Fix ulimit prototype to return long int.
25604         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25605         prototypes to use long int rather than double.
25606         (BSD Random): Fix initstate and setstate to use char *, not void *.
25607         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25608         prototype to make second argument 'struct aiocb64 *const[]'.
25609         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25610         (Status of AIO Operations): Remove erroneous const in aio_return and
25611         aio_return64 prototypes.
25612         (Synchronizing I/O): Fix sync prototype to return void.
25613         * manual/startup.texi (Suboptions): Remove an erroneous const in
25614         getsubopt prototype.
25615         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25616         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25617         use size_t rather than int.
25618         (Scanning All Users): Likewise for getpwent_r.
25619         (Setting Groups): Add missing const to setgroups prototype.
25620         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25621         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25622         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25623         'const void *' rather than 'const char *'.
25624         (Host Address Functions): Likewise for inet_ntop.
25625         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25626         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25627         ssize_t for return value.
25628         (Sending Data): Likewise for send, sendto, sendmsg.
25629         (Socket Option Functions): Add a missing const in setsockopt prototype.
25630         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25631         use wchar_t for the argument.
25632         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25633         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25634         take no arguments.
25635         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25636         double/float/long double for second argument.
25637         Fix return types of significand, significandf, significandl.
25638         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25639         argument in fchmod prototype.
25640         (File Owner): Use uid_t and gid_t in fchown prototype.
25641         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25642         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25643         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25644         use 'const struct dirent **' as argument types to CMP function pointer
25645         argument.
25646         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25647         (File Times): Fix summary magic @comment for struct utimbuf and utime
25648         to refer to utime.h, not time.h.
25649         * manual/string.texi (Argz Functions): Add missing const in
25650         argz_extract and argz_next prototypes.
25651         (Finding Tokens in a String): Likewise for basename.
25652         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25653         (Copying and Concatenation): Fix typo in wmemmove prototype.
25654         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25655         (Signal Stack): Remove erroneous const in sigstack prototype.
25656         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25657         prototype.
25658         (Simple Calendar Time): Likewise for stime.
25659         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25660         prototype.
25661         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25662         say sys/sysctl.h instead.
25663         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25664         and vsyslog prototypes.
25665
25666 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25667
25668         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25669         Remove.
25670
25671 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25672
25673         * misc/sys/mman.h: Fix typo in mremap comment.
25674
25675 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25676
25677         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25678         the '\0' terminator.
25679
25680 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25681
25682         [BZ #13550]
25683         * debug/segfault.c: Don't include <bp-checks.h>.
25684         * sysdeps/generic/bp-checks.h: Remove file.
25685         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25686         (__GETDENTS): Don't use CHECK_N.
25687         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25688         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25689         (__getgroups): Don't use CHECK_N.
25690         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25691         (setgroups): Don't use CHECK_N.
25692         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25693         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25694         (__libc_msgrcv): Don't use CHECK_N.
25695         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25696         (__libc_msgsnd): Don't use CHECK_N.
25697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25698         <bp-checks.h>.
25699         (__libc_pread): Don't use CHECK_N.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25701         include <bp-checks.h>.
25702         (__libc_pread64): Don't use CHECK_N.
25703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25704         include <bp-checks.h>.
25705         (__libc_pwrite): Don't use CHECK_N.
25706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25707         include <bp-checks.h>.
25708         (__libc_pwrite64): Don't use CHECK_N.
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25710         <bp-checks.h>.
25711         (__libc_pread): Don't use CHECK_N.
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25713         include <bp-checks.h>.
25714         (__libc_pread64): Don't use CHECK_N.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25716         include <bp-checks.h>.
25717         (__libc_pwrite): Don't use CHECK_N.
25718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25719         include <bp-checks.h>.
25720         (__libc_pwrite64): Don't use CHECK_N.
25721         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25722         (do_pread): Don't use CHECK_N.
25723         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25724         (do_pread64): Don't use CHECK_N.
25725         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25726         (do_pwrite): Don't use CHECK_N.
25727         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25728         (do_pwrite64): Don't use CHECK_N.
25729         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25730         (__libc_readv): Don't use CHECK_N.
25731         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25732         (semop): Don't use CHECK_N.
25733         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25734         <bp-checks.h>.
25735         (semtimedop): Don't use CHECK_N.
25736         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25737         (__libc_pread): Don't use CHECK_N.
25738         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25739         <bp-checks.h>.
25740         (__libc_pread64): Don't use CHECK_N.
25741         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25742         <bp-checks.h>.
25743         (__libc_pwrite): Don't use CHECK_N.
25744         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25745         <bp-checks.h>.
25746         (__libc_pwrite64): Don't use CHECK_N.
25747         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25748         <bp-checks.h>.
25749         (__libc_msgrcv): Don't use CHECK_N.
25750         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25751         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25752         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25753         (__libc_writev): Don't use CHECK_N.
25754
25755 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25756
25757         * string/strcpy.c: Removed unused variable.
25758
25759         * Makeconfig (+sysdep-includes): Define with := rather than =.
25760         Use an existing include/ subdir of each sysdeps dir before it.
25761
25762 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25763
25764         * nscd/connection.c (register_traced_file): Comment function.
25765         [HAVE_INOTIFY] (union __inev): Define.
25766         [HAVE_INOTIFY] (inotify_check_files): New function.
25767         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25768         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25769         clear_db_cache.
25770         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25771
25772 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25773
25774         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25775         loaded if not already and that a failure is permanent.
25776
25777 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25778
25779         [BZ #15006]
25780         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25781         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25782
25783 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25784
25785         [BZ #13550]
25786         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25787         (CHECK_1_NULL_OK): Likewise.
25788         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25789         (__fxstat): Do not use CHECK_1.
25790         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25791         <bp-checks.h>.
25792         (___fxstat64): Do not use CHECK_1.
25793         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25794         <bp-checks.h>.
25795         (__fxstatat): Do not use CHECK_1.
25796         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25797         <bp-checks.h>.
25798         (__fxstatat64): Do not use CHECK_1.
25799         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25800         <bp-checks.h>.
25801         (__fxstat): Do not use CHECK_1.
25802         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25803         <bp-checks.h>.
25804         (__fxstatat): Do not use CHECK_1.
25805         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25806         <bp-checks.h>.
25807         (__getresgid): Do not use CHECK_1.
25808         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25809         <bp-checks.h>.
25810         (__getresuid): Do not use CHECK_1.
25811         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25812         <bp-checks.h>.
25813         (__lxstat): Do not use CHECK_1.
25814         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25815         <bp-checks.h>.
25816         (__old_msgctl): Do not use CHECK_1.
25817         (__new_msgctl): Likewise.
25818         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25819         <bp-checks.h>.
25820         (__new_setrlimit): Do not use CHECK_1.
25821         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25822         <bp-checks.h>.
25823         (__old_shmctl): Do not use CHECK_1.
25824         (__new_shmctl): Likewise.
25825         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25826         <bp-checks.h>.
25827         (__xstat): Do not use CHECK_1.
25828         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25829         (__lxstat): Do not use CHECK_1.
25830         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25831         <bp-checks.h>.
25832         (___lxstat64): Do not use CHECK_1.
25833         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25834         (__old_msgctl): Do not use CHECK_1.
25835         (__new_msgctl): Likewise.
25836         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25837         <bp-checks.h>.
25838         (__gettimeofday): Do not use CHECK_1.
25839         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25840         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25841         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25842         <bp-checks.h>.
25843         (__gettimeofday): Do not use CHECK_1.
25844         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25845         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25846         (__new_shmctl): Do not use CHECK_1.
25847         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25848         <bp-checks.h>.
25849         (do_sigtimedwait): Do not use CHECK_1.
25850         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25851         <bp-checks.h>.
25852         (do_sigwaitinfo): Do not use CHECK_1.
25853         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25854         <bp-checks.h>.
25855         (msgctl): Do not use CHECK_1.
25856         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25857         <bp-checks.h>.
25858         (shmctl): Do not use CHECK_1.
25859         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25860         (ustat): Do not use CHECK_1.
25861         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25862         <bp-checks.h>.
25863         (__fxstat): Do not use CHECK_1.
25864         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25865         <bp-checks.h>.
25866         (__fxstatat): Do not use CHECK_1.
25867         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25868         <bp-checks.h>.
25869         (__lxstat): Do not use CHECK_1.
25870         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25871         <bp-checks.h>.
25872         (__xstat): Do not use CHECK_1.
25873         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25874         (__xstat): Do not use CHECK_1.
25875         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25876         (___xstat64): Do not use CHECK_1.
25877
25878         [BZ #13550]
25879         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25880         definitions.
25881         (CHECK_BOUNDS_HIGH): Likewise.
25882         * string/strcpy.c: Do not include <bp-checks.h>.
25883         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25884
25885 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25886
25887         * nscd/nscd-client.h (__nscd_drop_map_ref):
25888         Add __attribute__ ((unused)).
25889         * nis/nss-nisplus.h (niserr2nss): Likewise.
25890
25891         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25892         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25893
25894         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25895         Remove inline keyword.
25896         * include/rounding-mode.h (round_away): Likewise.
25897         * libio/wfileops.c (adjust_wide_data): Likewise.
25898         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25899         (__m128i_strloadu_tolower): Likewise.
25900         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25901         (__m128i_strloadu_tolower): Likewise.
25902         * time/mktime.c (ydhms_diff): Likewise.
25903         * locale/elem-hash.h (elem_hash): Likewise.
25904         * locale/setlocale.c (setdata): Likewise.
25905         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25906         (re_string_wchar_at): Likewise.
25907         (bitset_not, bitset_merge, bitset_mask): Likewise.
25908         [!(__GNUC__ > 3)] (inline): Remove macro.
25909         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25910         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25911         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25912         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25913         * string/memcmp.c (memcmp_bytes): Likewise.
25914         * locale/programs/locarchive.c (compute_hashval): Likewise.
25915         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25916         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25917         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25918         * nss/getent.c (print_rpc, print_protocols): Likewise.
25919         (print_passwd, print_group, print_aliases): Likewise.
25920         * nis/nss-nisplus.h (niserr2nss): Likewise.
25921         * nscd/connections.c (restart_p): Likewise.
25922         Change return type to bool.
25923
25924 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25925
25926         * Makeconfig (all-Depend-files): Add existing
25927         $(sorted-subdirs:=/Depend) files.
25928         (all-subdirs): Remove nss.
25929         * sysdeps/unix/inet/Subdirs: Add it here instead.
25930         * hesiod/Depend: New file.
25931
25932         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25933         instead of calling alloca.
25934
25935         * io/lseek.c (__lseek): Rename to __libc_lseek.
25936         Define __lseek as an alias.
25937
25938         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25939
25940 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25941
25942         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25943         else clause and remove check for non-standard endianness.
25944
25945 2013-02-04  David S. Miller  <davem@davemloft.net>
25946
25947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25948
25949 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25950
25951         [BZ #13550]
25952         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25953         (__ubp_memchr): Remove prototype.
25954         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25955         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25956         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25957         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25958         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25959         Remove alias.
25960         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25961         (__ubp_memchr): Likewise.
25962         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25963         (__ubp_memchr): Likewise.
25964         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25965         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25966         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25967         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25968         CHECK_STRING.
25969         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25970         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25971         (__getcwd): Do not use CHECK_STRING.
25972         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25973         <bp-checks.h>.
25974         (__real_chown): Do not use CHECK_STRING.
25975         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25976         <bp-checks.h>.
25977         (fchownat): Do not use CHECK_STRING.
25978         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25979         CHECK_STRING.
25980         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25981         <bp-checks.h>.
25982         (__lchown): Do not use CHECK_STRING.
25983         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25984         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25985         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25986         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25988         include <bp-checks.h>.
25989         (truncate64): Do not use CHECK_STRING.
25990         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25991         <bp-checks.h>.
25992         (__real_chown): Do not use CHECK_STRING.
25993         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25994         <bp-checks.h>.
25995         (__lchown): Do not use CHECK_STRING.
25996         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25997         <bp-checks.h>.
25998         (__chown): Do not use CHECK_STRING.
25999         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26000         <bp-checks.h>.
26001         (truncate64): Do not use CHECK_STRING.
26002         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26003         Likewise.
26004         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26005         (__xmknod): Do not use CHECK_STRING.
26006         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26007         <bp-checks.h>.
26008         (__xmknodat): Do not use CHECK_STRING.
26009         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26010         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26011
26012 2013-02-04  Andreas Schwab  <schwab@suse.de>
26013
26014         [BZ #14142]
26015         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26016         * include/netdb.h: Likewise for h_errno.
26017         * elf/tst-stackguard1.c: Include <tls.h>.
26018
26019 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26020
26021         * elf/link.h (struct link_map): Extend the l_addr comment.
26022         * include/link.h (struct link_map): Likewise.
26023
26024 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26025
26026         [BZ #13550]
26027         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26028         (BOUNDED_1): Remove macro.
26029         * debug/backtrace.c: Don't include <bp-checks.h>.
26030         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26031         (__backtrace): Likewise.
26032         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26033         <bp-checks.h>.
26034         (__backtrace): Don't use BOUNDED_1.
26035         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26036         <bp-checks.h>.
26037         (__backtrace): Don't use BOUNDED_1.
26038         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26039         (__backtrace): Don't use BOUNDED_1.
26040         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26041         (shmat): Don't use BOUNDED_N.
26042
26043 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26044
26045         [BZ #13550]
26046         * sysdeps/generic/bp-start.h: Remove file.
26047         * csu/libc-start.c: Don't include <bp-start.h>.
26048         (LIBC_START_MAIN): Set up __environ directly instead of using
26049         INIT_ARGV_and_ENVIRON.
26050         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26051         <bp-start.h>.
26052
26053         [BZ #13550]
26054         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26055         definitions.
26056         (CHECK_FCNTL): Likewise.
26057         (CHECK_N_PAGES): Likewise.
26058
26059         [BZ #13550]
26060         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26061         definitions.
26062         (CHECK_SIGSET_NULL_OK): Likewise.
26063         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26064         <bp-checks.h>.
26065         (sigpending): Don't use CHECK_SIGSET.
26066         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26067         <bp-checks.h>.
26068         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26069         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26070         <bp-checks.h>.
26071         (do_sigsuspend): Don't use CHECK_SIGSET.
26072         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26073         use CHECK_SIGSET.
26074         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26075         (do_sigwait): Don't use CHECK_SIGSET.
26076         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26077         use CHECK_SIGSET.
26078         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26079         include <bp-checks.h>.
26080         (sigpending): Don't use CHECK_SIGSET.
26081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26082         include <bp-checks.h>.
26083         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26084         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26085         <bp-checks.h>.
26086         (sigpending): Don't use CHECK_SIGSET.
26087         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26088         <bp-checks.h>.
26089         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26090
26091         [BZ #13550]
26092         * sysdeps/generic/bp-semctl.h: Remove file.
26093         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26094         <bp-checks.h> and <bp-semctl.h>.
26095         (__old_semctl): Don't use CHECK_SEMCTL.
26096         (__new_semctl): Likewise.
26097         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26098         and <bp-semctl.h>.
26099         (__old_semctl): Don't use CHECK_SEMCTL.
26100         (__new_semctl): Likewise.
26101         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26102         <bp-checks.h> and <bp-semctl.h>.
26103         (__old_semctl): Don't use CHECK_SEMCTL.
26104         (__new_semctl): Likewise.
26105         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26106         <bp-checks.h> and <bp-semctl.h>.
26107         (semctl): Don't use CHECK_SEMCTL.
26108
26109         [BZ #13550]
26110         * Makerules (elide-bp-thunks): Remove variable.
26111         (elide-routines.oS): Don't use $(elide-bp-thunks).
26112         (elide-routines.os): Likewise.
26113         (elide-routines.o): Likewise.
26114         (elide-routines.op): Likewise.
26115         (elide-routines.og): Likewise.
26116         (objects): Don't use $(bp-thunks).
26117         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26118         include.
26119         (common-generated): Do not add s-proto-bp.d.
26120         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26121         (int): Likewise.
26122         (typ): Likewise.
26123         Do not generate makefile rules for bounded-pointer thunks.
26124         * sysdeps/generic/bp-thunks.h: Remove file.
26125         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26126         * sysdeps/unix/s-proto-bp.S: Likewise.
26127
26128         [BZ #15062]
26129         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26130         parts of result separately when argument is not close to line from
26131         -i to i and one part of argument is small.
26132         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26133         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26134         * math/libm-test.inc (cacos_test): Add more tests.
26135         (casin_test): Likewise.
26136         (casinh_test): Likewise.
26137         * sysdeps/i386/fpu/libm-test-ulps: Update.
26138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26139
26140 2013-01-31  David S. Miller  <davem@davemloft.net>
26141
26142         * po/de.po: Update from translation team.
26143
26144 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26145
26146         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26147
26148 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26149
26150         * configure.in (_AC_PROG_CC_C89): New definition.
26151         * configure: Regenerate.
26152
26153         * configure.in (AC_PROG_CPP): New definition.
26154         * configure: Regenerate.
26155
26156 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26157
26158         * debug/tst-backtrace.h: New file.
26159         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26160         (ret): Remove variable.
26161         (x): Likewise.
26162         (FAIL): Remove macro.
26163         (NO_INLINE): Likewise.
26164         (fn1): Use match function instead of strstr.
26165         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26166         (ret): Remove variable.
26167         (x): Likewise.
26168         (FAIL): Remove macro.
26169         (NO_INLINE): Likewise.
26170         (fn): Use match function instead of strstr.
26171         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26172         (ret): Remove variable.
26173         (x): Likewise.
26174         (FAIL): Remove macro.
26175         (NO_INLINE): Likewise.
26176         (handle_signal): Use match function instead of strstr.
26177         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26178         (ret): Remove variable.
26179         (x): Likewise.
26180         (FAIL): Remove macro.
26181         (NO_INLINE): Likewise.
26182         (handle_signal): Use match function instead of strstr.
26183
26184 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26185
26186         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26187
26188 2013-01-23  David S. Miller  <davem@davemloft.net>
26189
26190         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26191         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26192         argument of CAS if possible.
26193         * sysdeps/sparc/sparc64/bits/atomic.h
26194         (__arch_compare_and_exchange_val_32_acq): Likewise.
26195         (__arch_compare_and_exchange_val_64_acq): Likewise.
26196
26197 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26198
26199         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26200         * sysdeps/posix/ulimit.c: ... this.
26201         Include <limits.h>.
26202         * sysdeps/unix/bsd/ulimit.c: Remove file.
26203
26204 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26205
26206         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26207         (LDFLAGS-tst-array5): Likewise.
26208
26209 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26210
26211         [BZ #15036]
26212         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26213         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26214         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26215         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26216
26217 2013-01-21  David S. Miller  <davem@davemloft.net>
26218
26219         * sysdeps/sparc/backtrace.c: New file.
26220         * sysdeps/sparc/sparc32/backtrace.h: New file.
26221         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26222         * sysdeps/sparc/sparc64/backtrace.h: New file.
26223         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26224         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26225         -funwind-tables.
26226
26227 2013-01-21  Andreas Schwab  <schwab@suse.de>
26228
26229         [BZ #15020]
26230         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26231         closed its stdout.
26232
26233 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26234
26235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26236         "mpa2.h".
26237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26238
26239 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26240             Mark Mitchell  <mark@codesourcery.com>
26241             Tom de Vries  <tom@codesourcery.com>
26242             Paul Pluzhnikov  <ppluzhnikov@google.com>
26243
26244         * debug/tst-backtrace2.c: New file.
26245         * debug/tst-backtrace3.c: Likewise.
26246         * debug/tst-backtrace4.c: Likewise.
26247         * debug/tst-backtrace5.c: Likewise.
26248         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26249         (CFLAGS-tst-backtrace3.c): Likewise.
26250         (CFLAGS-tst-backtrace4.c): Likewise.
26251         (CFLAGS-tst-backtrace5.c): Likewise.
26252         (LDFLAGS-tst-backtrace2): Likewise.
26253         (LDFLAGS-tst-backtrace3): Likewise.
26254         (LDFLAGS-tst-backtrace4): Likewise.
26255         (LDFLAGS-tst-backtrace5): Likewise.
26256         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26257         tst-backtrace4 and tst-backtrace5.
26258
26259 2013-01-18  Anton Blanchard  <anton@samba.org>
26260             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26261
26262         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26263         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26264         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26265         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26267         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26268         "+r" and remove output regs list as redundant.  Add explicit inline
26269         asm to specify register of return val to work around compiler codegen
26270         bug.  Remove (int) cast on return value.  Add return type parameter to
26271         use in macro so that this macro does not truncate return value for
26272         64-bit values.
26273         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26274         pass to INTERNAL_VSYSCALL_NCS.
26275         (INLINE_VSYSCALL): Add 'long int' as return type to
26276         INTERNAL_VSYSCALL_NCS macro invocation.
26277         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26278         INTERNAL_VSYSCALL_NCS macro invocation.
26279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26280
26281 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26282
26283         [BZ #14496]
26284         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26285         Fix application of SIMD FP exception mask.
26286
26287         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26288         mp_no from a power of two.
26289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26290         __mpexp_twomm1.  Use __pow_mp.
26291
26292         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26293         multiplication.
26294
26295 2013-01-17  David S. Miller  <davem@davemloft.net>
26296
26297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26298
26299 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26300
26301         [BZ #15023]
26302         * include/complex.h: Condition contents on [!_COMPLEX_H].
26303         (__kernel_casinhf): New prototype.
26304         (__kernel_casinh): Likewise.
26305         (__kernel_casinhl): Likewise.
26306         * math/Makefile (libm_calls): Add k_casinh.
26307         * math/k_casinh.c: New file.
26308         * math/k_casinhf.c: Likewise.
26309         * math/k_casinhl.c: Likewise.
26310         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26311         finite nonzero arguments.
26312         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26313         finite nonzero arguments.
26314         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26315         finite nonzero arguments.
26316         * math/s_casinh.c: Do not include <float.h>.
26317         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26318         * math/s_casinhf.c: Do not include <float.h>.
26319         (__casinhf): Move code for finite nonzero arguments to
26320         k_casinhf.c.
26321         * math/s_casinhl.c: Do not include <float.h>.
26322         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26323         redefine.
26324         (__casinhl): Move code for finite nonzero arguments to
26325         k_casinhl.c.
26326         * math/libm-test.inc (cacos_test): Add more tests.
26327         * sysdeps/i386/fpu/libm-test-ulps: Update.
26328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26329
26330 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26331
26332         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26333         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26334         [!HAVE_MREMAP]: Remove [defined linux] case.
26335         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26336
26337 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26338
26339         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26340
26341 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26342
26343         * elf/elf.h (R_386_SIZE32): New relocation.
26344         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26345         R_386_SIZE32.
26346         (elf_machine_rela): Likewise.
26347         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26348         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26349
26350 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26351
26352         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26353         (FP_FAST_FMA): Do not define.
26354         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26355         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26356         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26357         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26358         !_SOFT_FLOAT]: Likewise.
26359         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26360         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26361         value.
26362         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26363         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26366         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26367         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26368         file.
26369
26370 2013-01-16  Andreas Schwab  <schwab@suse.de>
26371
26372         [BZ #14327]
26373         * include/stdlib.h (__mktemp): Add declaration.
26374         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26375         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26376
26377 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26378
26379         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26380         definitions.
26381         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26382         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26383         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26384         definitions here.
26385         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26386         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26387         definitions.
26388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26389         and ONE.
26390         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26391         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26392         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26393         definitions.
26394         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26395         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26396         definitions.
26397         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26398
26399         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26400
26401 2013-01-15  David S. Miller  <davem@davemloft.net>
26402
26403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26404         trunc{,f} to libm-sysdep_routes.
26405         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26407         file.
26408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26410         file.
26411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26412         file.
26413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26415         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26416         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26417         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26418         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26419         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26420         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26421
26422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26423         nearbyint{,f} to libm-sysdep_routes.
26424         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26426         New file.
26427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26428         file.
26429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26430         New file.
26431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26432         file.
26433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26435         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26436         file.
26437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26438         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26439         file.
26440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26441         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26442         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26443
26444         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26445         libc_feholdexcept and libc_fesetenv.
26446
26447 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26448
26449         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26450
26451 2013-01-14  David S. Miller  <davem@davemloft.net>
26452
26453         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26454         (SPARC_ASM_VIS2_IFUNC): Likewise.
26455         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26457         use of 'siam' instruction.
26458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26459         Likewise.
26460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26461         Likewise.
26462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26463         Likewise.
26464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26469         file.
26470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26471         file.
26472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26473         file.
26474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26475         file.
26476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26481         new VIS2 routines.
26482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26485         Likewise.
26486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26491         routines to libm-sysdep_routines.
26492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26493
26494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26495         fdim/fdimf to libm-sysdep_routines.
26496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26497         file.
26498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26500         file.
26501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26504         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26505         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26506         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26507         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26508
26509 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26510
26511         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26512         to optimize copies.
26513
26514         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26517
26518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26519         local variable MPTWO.
26520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26521         Likewise.
26522
26523 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26524
26525         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26526         GLOB_NOESCAPE.
26527
26528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26529
26530         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26531
26532 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26533
26534         * manual/pattern.texi (glob_t): Document gl_flags.
26535         (glob64_t): Likewise.
26536
26537 2013-01-11  David S. Miller  <davem@davemloft.net>
26538
26539         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26540         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26541         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26542         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26543         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26544         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26545         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26546         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26547         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26548         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26549         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26550         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26551         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26552
26553         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26554         sparc V9 rather than using V8 code.
26555         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26556         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26557
26558         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26559         Move to...
26560         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26561         Here.
26562
26563 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26564
26565         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26566         not in the main loop.
26567         * configure: Regenerated.
26568
26569 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26570
26571         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26572         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26573         to just #else.
26574         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26575         [!__GLIBC_HAVE_LONG_LONG] case.
26576         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26577         condition to just #else.
26578         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26579         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26580         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26581         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26582         unconditional.
26583         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26584         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26585         #elif condition to just #else.
26586         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26587         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26588         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26589         #elif condition to just #else.
26590
26591 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26592
26593         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26594         (EF_MIPS_ARCH_64): Fix value.
26595         (EF_MIPS_ARCH_32R2): New.
26596         (EF_MIPS_ARCH_64R2): New.
26597
26598 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26599
26600         * Makeconfig (+link-pie-before-libc): New.
26601         (+link-pie-after-libc): Likewise.
26602         (+link-pie-tests): Likewise.
26603         (+link-pie): Rewritten.
26604         (link-before-libc): Remove $(config-LDFLAGS).
26605         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26606         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26607         (config-LDFLAGS): Renamed to ...
26608         (rtld-LDFLAGS): This.
26609         (rtld-tests-LDFLAGS): New macro.
26610         (link-libc-rpath-link): Likewise.
26611         (link-libc-tests-rpath-link): Likewise.
26612         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26613         (link-libc): Prepand $(link-libc-rpath-link).
26614         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26615         (test-program-prefix): New macro.
26616         (test-via-rtld-prefix): Likewise.
26617         (test-program-cmd): Likewise.
26618         (host-test-program-cmd): Likewise.
26619         * Makefile ($(common-objpfx)testrun.sh): Replace
26620         $(run-program-prefix) with $(test-program-prefix).
26621         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26622         $(rtld-LDFLAGS).
26623         ($(common-objpfx)shlib.lds): Likewise.
26624         (build-module-helper): Likewise.
26625         ($(common-objpfx)format.lds): Likewise.
26626         * Rules (binaries-pie-tests): New.
26627         (binaries-pie-notests): Likewise.
26628         (binaries-pie): Rewritten.
26629         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26630         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26631         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26632         (make-test-out): Replace $(host-built-program-cmd) with
26633         $(host-test-program-cmd).
26634         * config.make.in (build-hardcoded-path-in-tests): New variable.
26635         * configure.in (--enable-hardcoded-path-in-tests): New configure
26636         option.
26637         (hardcoded_path_in_tests): New AC_SUBST.
26638         * configure: Regenerated.
26639         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26640         $(built-program-cmd) with $(test-program-cmd).
26641         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26642         (test_program_cmd): This.
26643         * elf/Makefile ($(objpfx)order.out): Run test with
26644         $(test-program-prefix).
26645         ($(objpfx)order2.out): Likewise.
26646         ($(objpfx)tst-initorder.out): Likewise.
26647         ($(objpfx)tst-initorder2.out): Likewise.
26648         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26649         $(test-program-cmd).
26650         ($(objpfx)tst-array1-static.out): Likewise.
26651         ($(objpfx)tst-array2.out): Likewise.
26652         ($(objpfx)tst-array3.out): Likewise.
26653         ($(objpfx)tst-array4.out): Likewise.
26654         ($(objpfx)tst-array5.out): Likewise.
26655         ($(objpfx)tst-array5-static.out): Likewise.
26656         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26657         $(test-program-cmd).
26658         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26659         $(run-program-prefix) with $(test-program-prefix).
26660         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26661         (test_program_prefix): This.
26662         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26663         $(run-program-prefix) with $(test-program-prefix).
26664         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26665         (test_program_prefix): This.
26666         * iconvdata/tst-tables.sh: Likewise.
26667         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26668         $(run-program-prefix) with $(test-program-prefix).
26669         ($(objpfx)tst-translit.out): Likewise.
26670         ($(objpfx)tst-gettext2.out): Likewise.
26671         ($(objpfx)tst-gettext4.out): Likewise.
26672         ($(objpfx)tst-gettext6.out): Likewise.
26673         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26674         (test_program_prefix): This.
26675         * intl/tst-gettext2.sh: Likewise.
26676         * intl/tst-gettext4.sh  Likewise.
26677         * intl/tst-gettext6.sh: Likewise.
26678         * intl/tst-translit.sh: Likewise.
26679         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26680         with $(test-program-cmd).
26681         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26682         $(run-program-prefix) with $(test-program-prefix).
26683         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26684         (test_program_prefix): This.
26685         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26686         $(run-program-prefix) with $(test-program-prefix).
26687         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26688         (test_program_prefix): This.
26689         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26690         * posix/Makefile ($(objpfx)globtest.out): Replace
26691         $(run-via-rtld-prefix) and $(test-wrapper) with
26692         $(test-program-prefix) and $(test-via-rtld-prefix).
26693         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26694         $(test-program-prefix).
26695         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26696         $(host-test-program-cmd).
26697         (tst-spawn-ARGS): Likewise.
26698         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26699         $(test-program-prefix).
26700         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26701         (test_via_rtld_prefix): This.
26702         (test_wrapper): Renamed to ...
26703         (test_program_prefix): This.
26704         (run_program_prefix): Replaced by test_program_prefix.
26705         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26706         (test_program_prefix): This.
26707         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26708         with $(host-test-program-cmd).
26709         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26710         $(run-program-prefix) with $(test-program-prefix).
26711         ($(objpfx)tst-printf.out): Likewise.
26712         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26713         $(test-program-cmd).
26714         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26715         (test_program_prefix): This.
26716         * stdio-common/tst-unbputc.sh: Likewise.
26717         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26718         $(run-program-prefix) with $(test-program-prefix).
26719         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26720         (test_program_prefix): This.
26721         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26722         $(built-program-cmd) with $(test-program-cmd).
26723
26724 2013-01-11  Andreas Jaeger  <aj@suse.de>
26725
26726         [BZ #15003]
26727         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26728         value. Sync with Linux 3.7.
26729
26730 2013-01-10  David S. Miller  <davem@davemloft.net>
26731
26732         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26733         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26734         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26735
26736 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26737
26738         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26739         never set.
26740         * configure: Regenerated.
26741
26742 2013-01-10  David S. Miller  <davem@davemloft.net>
26743
26744         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26745         sparc V9 rather than using V8 code.
26746         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26747         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26748
26749 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26750
26751         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26752         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26753         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26754         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26755         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26756         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26757         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26758         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26759         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26760         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26761         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26762         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26763         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26764         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26765         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26766         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26767         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26768         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26769         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26770         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26771         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26772         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26773         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26774         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26775         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26776         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26777         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26778
26779 2013-01-10  David S. Miller  <davem@davemloft.net>
26780
26781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26782
26783 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26784
26785         * posix/Makefile (tests-static): New variable.
26786         (tests): Add $(tests-static).
26787         (tst-exec-static-ARGS): New variable.
26788         (tst-spawn-static-ARGS): Likewise.
26789         * posix/tst-exec-static.c: New file.
26790         * posix/tst-spawn-static.c: Likewise.
26791         * posix/tst-exec.c: Support run directly.
26792         * posix/tst-spawn.c: Likewise.
26793
26794 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26795
26796         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26797         long.
26798         * math/bits/mathcalls.h (llrint): Likewise.
26799         (llround): Likewise.
26800         * stdlib/stdlib.h (struct drand48_data): Likewise.
26801         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26802         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26803         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26804         Likewise.
26805         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26806         Likewise.
26807         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26808         (elf_greg_t): Likewise.
26809         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26810         (__jmp_buf): Likewise.
26811         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26812         definitions.
26813         (llrint): Likewise, for all definitions.
26814         (llrintl): Likewise.
26815
26816         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26817         Remove [__GNUC__] condition.
26818         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26819         condition to just [__USE_ISOC99].
26820         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26821
26822 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26823
26824         [BZ #14200]
26825         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26826         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26827         defined.
26828         (_POSIX_V6_ILP32_OFF32): Likewise.
26829         (_XBS5_ILP32_OFF32): Likewise.
26830         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26831         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26832
26833 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26834
26835         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26836
26837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26838         doubles __mpexp_twomm1.  Adjust usage.
26839         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26840         Remove.
26841
26842 2013-01-10  Andreas Schwab  <schwab@suse.de>
26843
26844         [BZ #14964]
26845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26846         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26847
26848 2013-01-09  David S. Miller  <davem@davemloft.net>
26849
26850         [BZ #15003]
26851         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26852         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26853         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26854         (TCP_FASTOPEN): Define.
26855         (tcp_repair_opt): New structure.
26856         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26857         enum values.
26858         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26859         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26860         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26861         (tcp_cookie_transactions): New structure.
26862
26863 2013-01-09  Anton Blanchard  <anton@samba.org>
26864
26865         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26866         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26867         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26868         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26869
26870 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26871
26872         * include/features.h (__USE_ANSI): Remove.
26873
26874 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26875
26876         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26877
26878         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26879
26880 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26881
26882         * sysdeps/s390/fpu/libm-test-ulps: Update.
26883
26884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26885
26886         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26887         (__acr): Likewise.
26888         (__cpy): Likewise.
26889         (norm): Likewise.
26890         (denorm): Likewise.
26891         (__mp_dbl): Likewise.
26892         (__dbl_mp): Likewise.
26893         (add_magnitudes): Likewise.
26894         (sub_magnitudes): Likewise.
26895         (__add): Likewise.
26896         (__sub): Likewise.
26897         (__mul): Likewise.
26898         (__inv): Likewise.
26899         (__dvd): Likewise.
26900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26901         (__acr): Likewise.
26902         (__cpy): Likewise.
26903         (norm): Likewise.
26904         (denorm): Likewise.
26905         (__mp_dbl): Likewise.
26906         (__dbl_mp): Likewise.
26907         (add_magnitudes): Likewise.
26908         (sub_magnitudes): Likewise.
26909         (__add): Likewise.
26910         (__sub): Likewise.
26911         (__mul): Likewise.
26912         (__inv): Likewise.
26913         (__dvd): Likewise.
26914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26915         (__acr): Likewise.
26916         (__cpy): Likewise.
26917         (norm): Likewise.
26918         (denorm): Likewise.
26919         (__mp_dbl): Likewise.
26920         (__dbl_mp): Likewise.
26921         (add_magnitudes): Likewise.
26922         (sub_magnitudes): Likewise.
26923         (__add): Likewise.
26924         (__sub): Likewise.
26925         (__mul): Likewise.
26926         (__inv): Likewise.
26927         (__dvd): Likewise.
26928
26929 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26930
26931         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26932         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26933         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26934         2 && __USE_EXTERN_INLINES]: Likewise.
26935
26936 2013-01-08  Andreas Jaeger  <aj@suse.de>
26937
26938         [BZ# 14985]
26939         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26940         Remove.
26941         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26942         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26943
26944 2013-01-07  Anton Blanchard  <anton@samba.org>
26945
26946         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26947         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26948         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26949         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26950         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26951         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26952         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26953         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26955         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26957         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26958         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26959         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26960         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26961         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26962         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26964         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26965         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26966         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26967         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26968         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26969         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26970         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26971         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26972         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26973         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26974         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26975         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26976         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26978         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26979         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26980         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26981         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26982         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26983         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26984         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26985         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26986         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26987         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26988         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26989
26990 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26991
26992         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26993         (__MALLOC_PMT): Likewise.
26994         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26995         [__GNUC__], only on [_LIBC].
26996         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26997         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26998         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26999         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27000         forward declaration.
27001         (realloc_hook_ini): Likewise.
27002         (memalign_hook_ini): Likewise.
27003         (__libc_memalign): Do not use __MALLOC_PMT in variable
27004         declaration.
27005         (__libc_valloc): Likewise.
27006         (__libc_pvalloc): Likewise.
27007         (__libc_calloc): Likewise.
27008         (__posix_memalign): Likewise.
27009
27010         [BZ #14996]
27011         * math/s_casinh.c: Include <float.h>.
27012         (__casinh): Do not do computation with squaring and square root
27013         for large arguments.
27014         * math/s_casinhf.c: Include <float.h>.
27015         (__casinhf): Do not do computation with squaring and square root
27016         for large arguments.
27017         * math/s_casinhl.c: Include <float.h>.
27018         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27019         (__casinhl): Do not do computation with squaring and square root
27020         for large arguments.
27021         * math/libm-test.inc (casin_test): Add more tests.
27022         (casinh_test): Likewise.
27023         * sysdeps/i386/fpu/libm-test-ulps: Update.
27024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27025
27026 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27027
27028         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27029         (__x86_64_raw_data_cache_size): Likewise.
27030         (__x86_64_data_cache_size_half): Likewise.
27031         (__x86_64_raw_data_cache_size_half): Likewise.
27032         (__x86_64_shared_cache_size): Likewise.
27033         (__x86_64_raw_shared_cache_size): Likewise.
27034         (__x86_64_shared_cache_size_half): Likewise.
27035         (__x86_64_raw_shared_cache_size_half): Likewise.
27036         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27037         to ...
27038         (__x86_data_cache_size): This.
27039         (__x86_64_raw_data_cache_size): Renamed to ...
27040         (__x86_raw_data_cache_size): This.
27041         (__x86_64_data_cache_size_half): Renamed to ...
27042         (__x86_data_cache_size_half): This.
27043         (__x86_64_raw_data_cache_size_half): Renamed to ...
27044         (__x86_raw_data_cache_size_half): This.
27045         (__x86_64_shared_cache_size): Renamed to ...
27046         (__x86_shared_cache_size): This.
27047         (__x86_64_raw_shared_cache_size): Renamed to ...
27048         (__x86_raw_shared_cache_size): This.
27049         (__x86_64_shared_cache_size_half): Renamed to ...
27050         (__x86_shared_cache_size_half): This.
27051         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27052         (__x86_raw_shared_cache_size_half): This.
27053         * sysdeps/x86_64/memcpy.S: Updated.
27054         * sysdeps/x86_64/memset.S: Likewise.
27055         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27056         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27057         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27058
27059 2013-01-04  David S. Miller  <davem@davemloft.net>
27060
27061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27062
27063 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27064
27065         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27066         1 to avoid redefinition warning.
27067         (__USE_GNU): Don't define.
27068         (init_signaling_nan): Protoize.
27069
27070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27071
27072 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27073
27074         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27076         (__cpymn): Likewise.
27077         (norm): Remove commented code.
27078         (denorm): Likewise.
27079         (__mp_dbl): Likewise.
27080         (__inv): Likewise.
27081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27082         (__cpymn): Likewise.
27083         (norm): Remove commented code.
27084         (denorm): Likewise.
27085         (__mp_dbl): Likewise.
27086         (__inv): Likewise.
27087
27088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27089         mp_no value for 1.0 and 2.0.
27090         (norm): Use RADIXI instead of radixi.d.
27091         (denorm): Likewise.
27092         (__mul): Use 0.0 instead of zero.d.
27093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27094         mp_no value for 1.0 and 2.0.
27095         (norm): Use RADIXI instead of radixi.d.
27096         (denorm): Likewise.
27097         (__mul): Use 0.0 instead of zero.d.
27098
27099 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #14994]
27102         * math/s_casinh.c (__casinh): Reduce finite argument to first
27103         quadrant then set signs of results at the end.
27104         * math/s_casinhf.c (__casinhf): Likewise.
27105         * math/s_casinhl.c (__casinhl): Likewise.
27106         * math/libm-test.inc (casin_test): Add more tests.
27107         (casinh_test): Likewise.
27108         * sysdeps/i386/fpu/libm-test-ulps: Update.
27109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27110
27111 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27112
27113         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27114
27115         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27116
27117         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27118         declarations.
27119         (denorm): Likewise.
27120         (__mp_dbl): Likewise.
27121         (__inv): Likewise.
27122
27123         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27124         and adjust the header comment.
27125
27126         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27127         variable name from declaration.
27128
27129 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27130
27131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27132         Initialize COMMON_CPUID_INDEX_7 element.
27133         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27134         (CPUID_RTM): Likewise.
27135         (HAS_RTM): Likewise.
27136         (COMMON_CPUID_INDEX_7): New enum.
27137
27138 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27139
27140         [BZ #14981]
27141         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27142         size is zero, record memory as freed.
27143
27144 2013-01-03  Andreas Jaeger  <aj@suse.de>
27145
27146         * po/ia.po: Add new Interlingua translation.
27147
27148 2012-01-03  Allan McRae  <allan@archlinux.org>
27149
27150         * locale/programs/localedef.c: Fix description of '--posix' flag.
27151
27152 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27153
27154         * NEWS: Update dates in second copyright notice.
27155         * README: Update copyright dates in example.
27156         * manual/libc.texinfo: Update copyright dates.
27157         * scripts/test-installation.pl: Update copyright date in --version
27158         output.
27159
27160         * hurd/ctty-input.c: Fix copyright notice formatting.
27161         * hurd/ctty-output.c: Likewise.
27162         * hurd/dtable.c: Likewise.
27163         * hurd/hurd-raise.c: Likewise.
27164         * hurd/hurdprio.c: Likewise.
27165         * hurd/msgportdemux.c: Likewise.
27166         * misc/sys/file.h: Likewise.
27167         * misc/sys/ioctl.h: Likewise.
27168         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27169         * sysdeps/mach/hurd/chdir.c: Likewise.
27170         * sysdeps/mach/hurd/fchdir.c: Likewise.
27171         * sysdeps/mach/hurd/rename.c: Likewise.
27172         * sysdeps/mach/hurd/rmdir.c: Likewise.
27173         * sysdeps/mach/hurd/seekdir.c: Likewise.
27174         * sysdeps/mach/hurd/setsid.c: Likewise.
27175         * sysdeps/posix/wait3.c: Likewise.
27176
27177         * All files with FSF copyright notices: Update copyright dates
27178         using scripts/update-copyrights.
27179         * intl/plural.c: Regenerated.
27180         * locale/programs/charmap-kw.h: Likewise.
27181         * locale/programs/locfile-kw.h: Likewise.
27182
27183 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27184
27185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27186         four values.
27187
27188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27189         calculation loop and add branch prediction.
27190
27191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27192         check access beyond bounds of m1np.
27193
27194         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27195         MPTWO.
27196         (__inv): Remove local variable MPTWO to use the global
27197         constant.
27198         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27199         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27200         variable MPTWO.
27201         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27202         MP3HALFS static const.
27203
27204 2013-01-01  David S. Miller  <davem@davemloft.net>
27205
27206         * po/ca.po: Update from translation team.
27207
27208 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27209
27210         * scripts/update-copyrights: New file.
27211         * Makeconfig: Reformat copyright notice.
27212         * ctype/ctype.h: Likewise.
27213         * debug/swprintf_chk.c: Likewise.
27214         * elf/dl-cache.c: Likewise.
27215         * elf/dl-debug.c: Likewise.
27216         * elf/dl-object.c: Likewise.
27217         * grp/initgroups.c: Likewise.
27218         * hurd/Makefile: Likewise.
27219         * hurd/hurd/signal.h: Likewise.
27220         * hurd/hurdfault.c: Likewise.
27221         * hurd/hurdioctl.c: Likewise.
27222         * hurd/hurdlookup.c: Likewise.
27223         * hurd/intr-msg.c: Likewise.
27224         * iconv/gconv_open.c: Likewise.
27225         * libio/swprintf.c: Likewise.
27226         * locale/lc-ctype.c: Likewise.
27227         * locale/nl_langinfo.c: Likewise.
27228         * mach/Machrules: Likewise.
27229         * mach/Makefile: Likewise.
27230         * malloc/obstack.h: Likewise.
27231         * manual/Makefile: Likewise.
27232         * manual/tsort.awk: Likewise.
27233         * misc/bits/stab.def: Likewise.
27234         * nis/nis_print_group_entry.c: Likewise.
27235         * nis/nis_table.c: Likewise.
27236         * nis/nss_compat/compat-pwd.c: Likewise.
27237         * nis/nss_compat/compat-spwd.c: Likewise.
27238         * po/Makefile: Likewise.
27239         * posix/fnmatch.c: Likewise.
27240         * posix/regex.h: Likewise.
27241         * resolv/Makefile: Likewise.
27242         * resolv/nss_dns/dns-network.c: Likewise.
27243         * resolv/res_hconf.c: Likewise.
27244         * scripts/gen-sorted.awk: Likewise.
27245         * soft-fp/soft-fp.h: Likewise.
27246         * stdio-common/printf.h: Likewise.
27247         * stdlib/monetary.h: Likewise.
27248         * stdlib/random.c: Likewise.
27249         * stdlib/random_r.c: Likewise.
27250         * sysdeps/generic/Makefile: Likewise.
27251         * sysdeps/gnu/Makefile: Likewise.
27252         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27253         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27254         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27255         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27256         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27258         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27260         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27261         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27262         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27263         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27264         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27265         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27266         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27267         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27268         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27269         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27270         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27271         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27272         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27273         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27274         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27275         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27276         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27278         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27279         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27280         * sysdeps/mach/hurd/errnos.awk: Likewise.
27281         * sysdeps/mach/hurd/fork.c: Likewise.
27282         * sysdeps/mach/hurd/getcwd.c: Likewise.
27283         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27284         * sysdeps/mach/hurd/mmap.c: Likewise.
27285         * sysdeps/mach/hurd/utimes.c: Likewise.
27286         * sysdeps/mach/hurd/xmknod.c: Likewise.
27287         * sysdeps/posix/profil.c: Likewise.
27288         * sysdeps/posix/readdir_r.c: Likewise.
27289         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27290         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27291         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27292         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27294         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27296         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27298         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27299         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27300         * sysdeps/pthread/lio_listio.c: Likewise.
27301         * sysdeps/sparc/dl-procinfo.h: Likewise.
27302         * sysdeps/unix/i386/sysdep.S: Likewise.
27303         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27304         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27305         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27306         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27308         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27309         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27310         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27311         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27312         * sysdeps/wordsize-32/divdi3.c: Likewise.
27313         * time/sys/time.h: Likewise.
27314         * wcsmbs/Makefile: Likewise.
27315
27316 2013-01-01  David S. Miller  <davem@davemloft.net>
27317
27318         * po/fr.po: Update from translation team.
27319
27320         * catgets/gencat.c: Update copyright year.
27321         * csu/version.c: Likewise.
27322         * debug/catchsegv.sh: Likewise.
27323         * debug/pcprofiledump.c: Likewise.
27324         * debug/xtrace.sh: Likewise.
27325         * elf/ldconfig.c: Likewise.
27326         * elf/ldd.bash.in: Likewise.
27327         * elf/pldd.c: Likewise.
27328         * elf/sotruss.ksh: Likewise.
27329         * elf/sprof.c: Likewise.
27330         * iconv/iconv_prog.c: Likewise.
27331         * iconv/iconvconfig.c: Likewise.
27332         * locale/programs/locale.c: Likewise.
27333         * locale/programs/localedef.c: Likewise.
27334         * login/programs/pt_chown.c: Likewise.
27335         * malloc/memusage.sh: Likewise.
27336         * malloc/memusagestat.c: Likewise.
27337         * malloc/mtrace.pl: Likewise.
27338         * nscd/nscd.c: Likewise.
27339         * nss/getent.c: Likewise.
27340         * nss/makedb.c: Likewise.
27341         * posix/getconf.c: Likewise.
27342
27343 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27344
27345         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27346         numbers.
27347
27348 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27349
27350         * math/bits/mathcalls.h (modf): Use __nonnull.
27351
27352 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27353
27354         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27355         (split): Use macro CN instead of the bare value.
27356         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27357         could be used.
27358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27359         instead of the bare value.
27360         (power1): Likewise.
27361
27362 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27363
27364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27365         __ATAN_TWOM.
27366         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27367
27368         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27369         their values.
27370         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27371         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27372         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27373         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27374
27375 2012-12-28  Andreas Jaeger  <aj@suse.de>
27376
27377         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27378         values are from Linux 3.7.
27379
27380         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27381         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27382
27383 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27384
27385         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27386         TRUE case.
27387
27388         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27389         (norm): Likewise.
27390         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27391         variables with preprocessor constants.
27392         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27393         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27395
27396 2012-12-27  Bruno Haible  <bruno@clisp.org>
27397
27398         [BZ #14317]
27399         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27400         only if needed.
27401
27402 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27403
27404         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27405         and use variable directly.
27406         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27407
27408         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27409         MPONE.
27410         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27411         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27412         variable MPONE.
27413         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27415         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27416         include directive.  Remove local variable MPONE.
27417         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27418         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27419         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27420
27421 2012-12-25  David S. Miller  <davem@davemloft.net>
27422
27423         * version.h (RELEASE): Set to "development".
27424         (VERSION): Set to "2.17.90".
27425         * NEWS: Add 2.18 section.
27426
27427 2012-12-21  David S. Miller  <davem@davemloft.net>
27428
27429         * po/hr.po: Update from translation team.
27430
27431 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27432
27433         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27434
27435 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27436
27437         * NEWS:  Mention new memcpy for MIPS.
27438
27439 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27440
27441         * manual/contrib.texi (Contributors): Spelling correction.
27442
27443 2012-12-15  David S. Miller  <davem@davemloft.net>
27444
27445         * po/ru.po: Update from translation team.
27446
27447 2012-12-13  David S. Miller  <davem@davemloft.net>
27448
27449         * NEWS: Mention IFUNC testsuite enhancements.
27450
27451         * po/pl.po: Update from translation team.
27452         * po/bg.po: Likewise.
27453
27454         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27455         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27456
27457 2012-12-11  David S. Miller  <davem@davemloft.net>
27458
27459         * po/sv.po: Update from translation team.
27460
27461         * po/vi.po: Update from translation team.
27462
27463         * po/cs.po: Update from translation team.
27464
27465         * po/de.po: Update from translation team.
27466         * po/eo.po: Likewise.
27467         * po/nl.po: Likewise.
27468
27469 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27470
27471         [BZ #14246]
27472         * manual/argp.texi (Argp Helper Functions): Move node to follow
27473         Argp Parsing State.
27474
27475         [BZ #14872]
27476         * manual/conf.texi (Limits on File System Capacity): Mention if
27477         terminating null is included in the max size.
27478
27479 2012-12-10  Andreas Jaeger  <aj@suse.de>
27480
27481         * po/cs.po: Update from translation team.
27482
27483 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27484
27485         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27486         void pointer and cast to uintptr_t.
27487         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27488         path.
27489         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27490         * sysdeps/s390/s390-64/memset.S: Likewise.
27491
27492 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27493
27494         [BZ #14833]
27495         * menual/message.texi (Message Translation): Fix typos.
27496         (Helper programs for gettext): Likewise.
27497
27498 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27499
27500         [BZ #14898]
27501         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27502         Change to -1.
27503
27504 2012-12-07  David S. Miller  <davem@davemloft.net>
27505
27506         * po/libc.pot: Update.
27507
27508 2012-12-07  Richard Henderson  <rth@redhat.com>
27509
27510         [BZ #10114]
27511         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27512         normal/normal case to before the switch.
27513         (_FP_DIV): Likewise.
27514
27515 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27516             Mike Frysinger  <vapier@gentoo.org>
27517
27518         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27519         check for __NR_fadvise64_64.
27520
27521 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27522
27523         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27524         0, not just to plain "0" as a statement.
27525         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27526         with cw.
27527
27528 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27529
27530         * NEWS: Use sourceware.org in Bugzilla URL.
27531
27532 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27533
27534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27535         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27536
27537         * stdio-common/tst-put-error.c (do_test): Add newline to the
27538         padded test to ensure flush.
27539
27540 2012-12-05  Jeff Law  <law@redhat.com>
27541
27542         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27543
27544 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27545
27546         * README: Don't refer to ports add-on as distributed separately.
27547         Mention AArch64 in list of systems supported in the ports add-on.
27548
27549         * LICENSES: Add more non-FSF copyright and license notices.
27550
27551         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27552         ((unused)).
27553
27554         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27555
27556         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27557         10000 as width of padded output.
27558
27559 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27560
27561         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27562
27563         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27564         variable LX with __attribute__ ((unused)).
27565         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27566         Likewise.
27567         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27570         with __attribute__ ((unused)).
27571
27572 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27573
27574         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27575
27576 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27577
27578         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27579         (CFLAGS-nldbl-acos.c): New variable.
27580         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27581         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27582         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27583         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27584         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27585         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27586         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27587         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27588         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27589         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27590         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27591         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27592         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27593         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27594         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27595         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27596         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27597         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27598         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27599         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27600         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27601         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27602         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27603         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27604         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27605         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27606         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27607         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27608         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27609         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27610         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27611         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27612         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27613         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27614         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27615         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27616         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27617         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27618         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27619         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27620         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27621         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27622         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27623         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27624         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27625         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27626         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27627         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27628         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27629         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27630         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27631         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27632         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27633         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27634         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27635         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27636         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27637         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27638         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27639         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27640         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27641         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27642         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27643         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27644         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27645         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27646         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27647         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27648         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27649         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27650         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27651         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27652         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27653         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27654         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27655         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27656         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27657         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27658         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27659         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27660         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27661         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27662         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27663         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27664         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27665         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27666         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27667         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27668         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27669         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27670         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27671         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27672         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27673         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27674         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27675         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27676         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27677
27678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27679         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27680
27681         [BZ #14914]
27682         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27683         whole low double instead of just low 47 bits when splitting values
27684         into two parts.
27685
27686 2012-12-03  Allan McRae  <allan@archlinux.org>
27687
27688         * manual/stdio.texi (Predefined Printf Handlers): Remove
27689         @hsep and @vsep usage.
27690
27691 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27692
27693         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27694         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27695
27696 2012-12-03  Jeff Law  <law@redhat.com>
27697
27698         * time/sys/time.h (settimeofday): Do not mark TV argument
27699         as __nonnull.
27700
27701 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27702
27703         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27704         when currently writing and seek to current position when not.
27705         * libio/Makefile (tests): Remove bug-fclose1.
27706         * libio/bug-fclose1.c: Delete.
27707
27708 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27709
27710         * manual/arith.texi (feenableexcept): Fix typo.
27711         (fedisableexcept): Likewise.
27712
27713 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27714
27715         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27716         second, differently-typed declaration, rather than a cast.
27717
27718 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27719
27720         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27721         * include/rpc/svc.h: ... here.
27722
27723 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27724
27725         [BZ #13013]
27726         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27727         depending n and resplen2 to catch cases where answer
27728         equals answerp2.
27729
27730 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27731
27732         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27733         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27734
27735 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27736
27737         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27738
27739 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27740
27741         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27742
27743 2012-11-28  Jeff Law  <law@redhat.com>
27744
27745         [BZ #13761]
27746         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27747         dataset_temporary.  Track alloca usage into alloca_used.
27748         If dataset is large allocate and release it via malloc/free.
27749
27750 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27751
27752         [BZ #14197]
27753         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27754
27755 2012-11-28  David S. Miller  <davem@davemloft.net>
27756
27757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27758
27759 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27760
27761         [BZ #14803]
27762         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27763         of pi/2 rounded to nearest to 64 bits.
27764         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27765         nearest to 64 bits.
27766         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27767         bits.
27768
27769 2012-11-28  Jeff Law <law@redhat.com>
27770             Martin Osvald <mosvald@redhat.com>
27771
27772         [BZ #14889]
27773         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27774         * sunrpc/svc.c: Include time.h.
27775         (__svc_accept_failed): New function.
27776         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27777         any reason other than EINTR, call __svc_accept_failed.
27778         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27779         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27780
27781 2012-11-28  Andreas Schwab  <schwab@suse.de>
27782
27783         * scripts/abilist.awk: Also handle indirect functions in .opd
27784         section.
27785
27786 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27787
27788         [BZ #13881]
27789         * sysdeps/x86/fpu/powl_helper.c: New file.
27790         * sysdeps/x86/fpu/Makefile: Likewise.
27791         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27792         (p3): New object.
27793         (__ieee754_powl): Use __powl_helper for finite arguments except
27794         integer exponents below 8.
27795         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27796         (p3): New object.
27797         (__ieee754_powl): Use __powl_helper for finite arguments except
27798         integer exponents below 8.
27799         * math/libm-test.inc (pow_test): Add more tests and enable some
27800         previously disabled tests.
27801         * sysdeps/i386/fpu/libm-test-ulps: Update.
27802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27803
27804 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27805             Carlos O'Donell  <carlos_odonell@mentor.com>
27806
27807         * nss/makedb.c (is_prime): Assert that input is odd and greater
27808         than 4.  Note that fact in a comment too.
27809         (next_prime): Add 4 to input.
27810
27811 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27812
27813         [BZ #11741]
27814         * libio/Makefile (tests): Add test case tst-fwrite-error.
27815         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27816         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27817         * libio/tst-fwrite-error.c: New test case.
27818
27819 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27820
27821         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27822         before casting to void *.
27823         * include/libc-internal.h (__pointer_type): New macro.
27824         (__integer_if_pointer_type_sub): Likewise.
27825         (__integer_if_pointer_type): Likewise.
27826         (cast_to_integer): Likewise.
27827         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27828         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27829         before casting to atomic64_t.
27830         (atomic_exchange_acq): Likewise.
27831         (__arch_exchange_and_add_body): Likewise.
27832         (__arch_add_body): Likewise.
27833         (atomic_add_negative): Likewise.
27834         (atomic_add_zero): Likewise.
27835
27836 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27837
27838         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27839         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27840         (add_fdes): Likewise.
27841         (linear_search_fdes): Likewise.
27842         (binary_search_unencoded_fdes): Likewise.
27843
27844 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27845
27846         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27847
27848 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27849
27850         * configure.in: Autodetect C++ header directories.
27851         * configure: Regenerated.
27852
27853 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27854
27855         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27856
27857 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27858
27859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27860
27861 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27862
27863         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27864         LDBL_MANT_DIG == 106]: Disable some tests.
27865         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27866         Likewise.
27867         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27868         Likewise.
27869
27870         [BZ #14871]
27871         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27872         input for small inputs.  Return +/- pi/2 for large inputs.
27873         * math/libm-test.inc (atan_test): Add more tests.
27874
27875         * sysdeps/generic/unwind-dw2-fde-glibc.c
27876         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27877         __attribute__ ((unused)).
27878
27879         [BZ #14645]
27880         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27881         x * y if x and y are nonzero and z is zero.
27882
27883         [BZ #14811]
27884         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27885         nonzero exponents with absolute value below 0x1p-117 to +/-
27886         0x1p-117.
27887
27888         [BZ #14869]
27889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27890         up arguments below 2**-450, not just those below 2**-500.
27891         * math/libm-test.inc (hypot_test): Add another test.
27892
27893         [BZ #14868]
27894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27895         Return a+b for ratio over 2**120, not 2**60.
27896         * math/libm-test.inc (hypot_test): Add another test.
27897
27898         * math/libm-test.inc (clog_test): Use
27899         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27900         (clog10_test): Likewise.
27901
27902         [BZ #6778]
27903         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27904
27905 2012-11-22  Andreas Schwab  <schwab@suse.de>
27906
27907         * sysdeps/i386/fpu/libm-test-ulps: Update.
27908
27909 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27910
27911         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27912         printf output with newline.
27913
27914 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27915
27916         [BZ #14865]
27917         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27918         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27919         -z nodlopen, -z initfirst and -z execstack support.
27920         * configure: Regenerated.
27921
27922         * elf/elf.h (DF_1_NODIRECT): New macro.
27923         (DF_1_IGNMULDEF): Likewise.
27924         (DF_1_NOKSYMS): Likewise.
27925         (DF_1_NOHDR): Likewise.
27926         (DF_1_EDITED): Likewise.
27927         (DF_1_NORELOC): Likewise.
27928         (DF_1_SYMINTPOSE): Likewise.
27929         (DF_1_GLOBAUDIT): Likewise.
27930         (DF_1_SINGLETON): Likewise.
27931         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27932         DT_1_SUPPORTED_MASK bits.
27933         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27934
27935 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27936
27937         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27938
27939 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27940
27941         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27942         macro.
27943
27944         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27945         (sendmmsg): Move declarations...
27946         * socket/sys/socket.h: ... here.
27947         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27948         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27949         include it from...
27950         * socket/recvmmsg.c: ... this new file.
27951         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27952         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27953         definition of __sendmmsg hidden.
27954         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27955         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27956         Move ENOSYS stub into and include it from...
27957         * socket/sendmmsg.c: ... this new file.
27958         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27959         (sysdep_routines): Move recvmmsg and sendmmsg...
27960         * socket/Makefile (routines): ... here.
27961         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27962         (GLIBC_PRIVATE): Add __sendmmsg.
27963         * include/sys/socket.h (__sendmmsg): Add declarations.
27964         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27965         sendmmsg.
27966
27967 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27968
27969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27970         variable I1 with __attribute__ ((unused)).
27971         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27972
27973 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27974
27975         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27976         DUMMY variables with __attribute__ ((unused)).
27977
27978         * bits/byteswap.h: Include <bits/types.h>.
27979         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27980
27981 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27982
27983         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27984         string_t.  Do not manually set errno.
27985         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27986         length with __strnlen.  Make sure to both set errno and return it on
27987         failure.
27988
27989 2012-11-19  David S. Miller  <davem@davemloft.net>
27990
27991         With help from Joseph Myers.
27992         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27993         very large arguments properly.
27994         * math/libm-test.inc (atan_test): New tests.
27995         (atan2_test): New tests.
27996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27998
27999 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28000
28001         [BZ #14856]
28002         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28003         Define to 3.
28004
28005         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28006         [POSIX] (EADDRNOTAVAIL): Likewise.
28007         [POSIX] (EAFNOSUPPORT): Likewise.
28008         [POSIX] (EALREADY): Likewise.
28009         [POSIX] (ECONNABORTED): Likewise.
28010         [POSIX] (ECONNREFUSED): Likewise.
28011         [POSIX] (ECONNRESET): Likewise.
28012         [POSIX] (EDESTADDRREQ): Likewise.
28013         [POSIX] (EDQUOT): Likewise.
28014         [POSIX] (EHOSTUNREACH): Likewise.
28015         [POSIX] (EIDRM): Likewise.
28016         [POSIX] (EISCONN): Likewise.
28017         [POSIX] (ELOOP): Likewise.
28018         [POSIX] (EMULTIHOP): Likewise.
28019         [POSIX] (ENETDOWN): Likewise.
28020         [POSIX] (ENETUNREACH): Likewise.
28021         [POSIX] (ENOBUFS): Likewise.
28022         [POSIX] (ENODATA): Likewise.
28023         [POSIX] (ENOLINK): Likewise.
28024         [POSIX] (ENOMSG): Likewise.
28025         [POSIX] (ENOPROTOOPT): Likewise.
28026         [POSIX] (ENOSR): Likewise.
28027         [POSIX] (ENOSTR): Likewise.
28028         [POSIX] (ENOTCONN): Likewise.
28029         [POSIX] (ENOTSOCK): Likewise.
28030         [POSIX] (EOPNOTSUPP): Likewise.
28031         [POSIX] (EOVERFLOW): Likewise.
28032         [POSIX] (EPROTO): Likewise.
28033         [POSIX] (EPROTONOSUPPORT): Likewise.
28034         [POSIX] (EPROTOTYPE): Likewise.
28035         [POSIX] (ESTALE): Likewise.
28036         [POSIX] (ETIME): Likewise.
28037         [POSIX] (ETXTBSY): Likewise.
28038         [POSIX] (EWOULDBLOCK): Likewise.
28039         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28040         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28041         [POSIX] (SEEK_CUR): Likewise.
28042         [POSIX] (SEEK_END): Likewise.
28043         [POSIX || UNIX98] (mode_t): Do not require.
28044         [POSIX] (off_t): Likewise.
28045         [POSIX] (pid_t): Likewise.
28046         [POSIX] (sys/stat.h): Do not allow header.
28047         [POSIX] (unistd.h): Likewise.
28048         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28049         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28050         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28051         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28052         require.
28053         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28054         sigevent): Specify elements.
28055         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28056         entry.
28057         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28058         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28059
28060         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28061         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28062         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28063         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28064         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28065         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28066         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28067         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28068         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28069         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28070         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28071         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28072         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28073         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28074         Likewise.
28075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28076         Likewise.
28077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28078         Likewise.
28079         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28080         Likewise.
28081         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28082         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28083         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28084         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28085         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28086         Specify lower bound on value.
28087         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28088         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28089         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28090         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28091         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28092         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28093         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28094         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28095         value.
28096         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28097         as optional.
28098         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28099         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28100         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28101         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28102         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28103         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28104         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28105         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28106         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28107         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28108         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28109         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28110         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28111         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28112         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28113         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28114         entry.
28115         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28116         optional.
28117         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28118         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28119         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28120         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28121         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28122         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28123         Likewise.
28124         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28125         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28126         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28127         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28128         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28129         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28130         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28131         as optional.
28132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28133         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28134         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28135         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28136         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28137         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28138         specify as optional.
28139         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28140         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28141         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28142         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28143         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28144         [XPG3] (NL_LANGMAX): Likewise.
28145         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28146         [POSIX || XPG3] (NL_NMAX): Likewise.
28147         [POSIX || XPG3] (NL_SETMAX): Likewise.
28148         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28149         [XPG3] (NZERO): Likewise.
28150         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28151         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28152         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28153         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28154         (REG_ERANGE): Expect.
28155         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28156         optional-constant.
28157         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28158         Use (void) in prototype.
28159         [POSIX] (*_t): Allow.
28160         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28161         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28162         (WRDE_BADVAL): Expect.
28163
28164         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28165         expect.
28166         [XPG3 || XPG4] (O_RSYNC): Likewise.
28167         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28168         Likewise.
28169         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28170         [XPG3 || XPG4] (sigqueue): Likewise.
28171         [XPG3 || XPG4] (sigtimedwait): Likewise.
28172         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28173         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28174         [XPG3 || XPG4] (vsnprintf): Likewise.
28175         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28176         Likewise.
28177         [XPG3 || XPG4] (blksize_t): Likewise.
28178         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28179         Likewise.
28180         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28181         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28182         [XPG3 || XPG4] (struct itimerspec): Likewise.
28183         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28184         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28185         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28186         [XPG3 || XPG4] (clockid_t): Likewise.
28187         [XPG3 || XPG4] (timer_t): Likewise.
28188         [XPG3 || XPG4] (clock_getres): Likewise.
28189         [XPG3 || XPG4] (clock_gettime): Likewise.
28190         [XPG3 || XPG4] (clock_settime): Likewise.
28191         [XPG3 || XPG4] (nanosleep): Likewise.
28192         [XPG3 || XPG4] (timer_create): Likewise.
28193         [XPG3 || XPG4] (timer_delete): Likewise.
28194         [XPG3 || XPG4] (timer_gettime): Likewise.
28195         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28196         [XPG3 || XPG4] (timer_settime): Likewise.
28197         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28198         [XPG3 || XPG4] (getlogin_r): Likewise.
28199         [XPG3 || XPG4] (pread): Likewise.
28200         [XPG3 || XPG4] (pthread_atfork): Likewise.
28201         [XPG3 || XPG4] (pwrite): Likewise.
28202
28203         [BZ #14835]
28204         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28205         <bits/siginfo.h>.
28206
28207 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28208
28209         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28210         finalizing MALLSTREAM.
28211
28212         * sysdeps/mach/hurd/syncfs.c: New file.
28213
28214 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28215
28216         [BZ #14719]
28217         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28218         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28219         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28220         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28221         (_nss_dns_gethostbyname4_r): Likewise.
28222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28223         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28224
28225 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28226
28227         [BZ #13763]
28228         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28229
28230 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28231
28232         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28233         * elf/cache.c (print_entry): Print ",AArch64" for
28234         FLAG_AARCH64_LIB64
28235
28236         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28237         * elf/cache.c (print_entry): Print ",hard-float" for
28238         FLAG_ARM_LIBHF.
28239
28240 2012-11-18  David S. Miller  <davem@davemloft.net>
28241
28242         With help from Joseph Myers.
28243         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28244         cutoff to 2**-13.
28245         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28246         cutoff to 2**-25.
28247         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28248         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28249         small.
28250         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28251         * math/libm-test.inc (y0_test): New tests.
28252         (y1_test): New tests.
28253         * sysdeps/i386/fpu/libm-test-ulps: Update.
28254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28256
28257 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28258
28259         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28260         64-bit targets.
28261         * configure: Regenerated.
28262
28263 2012-11-17  David S. Miller  <davem@davemloft.net>
28264
28265         [BZ #14811]
28266         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28267         nonzero exponents with absolute value below 0x1p-128 to +/-
28268         0x1p-128.
28269
28270 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28271
28272         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28273
28274         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28275
28276         * posix/getconf-speclist.c: New file.
28277         * posix/posix-envs.def: Likewise.
28278         * posix/confstr.c (START_ENV_GROUP): New macro.
28279         (END_ENV_GROUP): Likewise.
28280         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28281         (KNOWN_PRESENT_ENV_STRING): Likewise.
28282         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28283         (UNKNOWN_ENVIRONMENT): Likewise.
28284         (confstr): Include posix-envs.def instead of handling
28285         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28286         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28287         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28288         (END_ENV_GROUP): Likewise.
28289         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28290         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28291         (UNKNOWN_ENVIRONMENT): Likewise.
28292         (__sysconf): Include posix-envs.def instead of handling associated
28293         cases directly here.
28294         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28295         preprocessing getconf-speclist.c rather than running getconf or
28296         generating empty file.
28297
28298 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28299
28300         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28301
28302 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28303
28304         [BZ #14672]
28305         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28306
28307 2012-11-16  David S. Miller  <davem@davemloft.net>
28308
28309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28310         smaller than LDBL_EPSILON/2.0L, just return xm1.
28311
28312 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28313
28314         * elf/tst-array1.c (init): Set constructor priority to 1000.
28315         (fini): Set destructor priority to 1000.
28316         * elf/tst-array2dep.c: Likewise.
28317
28318 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28319
28320         [BZ #11741]
28321         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28322         (_IO_new_file_xsputn): Also return EOF if none of the input
28323         data was written when overflow failed.
28324         * libio/iopadn.c (_IO_padn): Likewise.
28325         * libio/iowpadn.c (_IO_wpadn): Likewise.
28326         * stdio-common/tst-put-error.c: Add copyright notice.
28327         (do_test): Add case for printing padded string.
28328         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28329         _IO_padn returned error.
28330         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28331         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28332         return EOF.
28333
28334 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28335
28336         * libio/libioP.h: Add comment note that the references to C++
28337         bits are now obsolete.
28338
28339 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28340
28341         * math/libm-test.inc (check_complex): Use asprintf.
28342
28343 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28344
28345         * debug/pcprofiledump.c (print_version): Update copyright year.
28346         * malloc/memusagestat.c (print_version): Likewise.
28347
28348 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28349
28350         [BZ #14831]
28351         * elf/Makefile (tests): Add tst-audit8.
28352         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28353         ($(objpfx)tst-audit8.out): New target.
28354         (tst-audit8-ENV): New variable.
28355         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28356         audit if l_reloc_result is NULL.
28357         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28358         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28359         * elf/tst-audit8.c: New file.
28360
28361 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28362
28363         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28364         * misc/Makefile (CFLAGS-select.c): Define.
28365         * posix/Makefile (CFLAGS-pause.c): Define.
28366
28367 2012-11-13  David S. Miller  <davem@davemloft.net>
28368
28369         * crypt/Makefile: Move test targets after toplevel Rules
28370         inclusion.  Grab any necessary sysdep routines when linking.
28371         * crypt/md5.c (md5_process_block): Remove define, we will always
28372         name it __md5_process_block.
28373         (md5_finish_ctx): Update md5_process_block call.
28374         (md5_stream): Likewise.
28375         (md5_process_bytes): Likewise.
28376         (md5_process_block): Rename to __md5_process_block and move to ...
28377         * crypt/md5-block.c: ... here.
28378         * crypt/sha256.c (sha256_process_block): Move to ...
28379         * crypt/sha256-block.c: ... here.
28380         * crypt/sha512.c (sha512_process_block): Move to ...
28381         * crypt/sha512-block.c: ... here.
28382         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28383         path.
28384         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28385         * sysdeps/sparc/sparc64/multiarch/Makefile
28386         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28387         crypt subdir.
28388         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28389         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28390         multiarch changes.
28391         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28392         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28393         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28394         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28395         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28396         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28397         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28398         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28399         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28400         file.
28401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28402         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28403         file.
28404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28405
28406 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28407
28408         * timezone/tzselect.ksh: Update from tzcode git revision
28409         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28410         * timezone/zdump.c: Likewise.
28411         * timezone/zic.c: Likewise.
28412         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28413         in TZVERSION setting, not $(PKGVERSION).
28414         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28415         REPORT_BUGS_TO settings.
28416
28417         [BZ #14838]
28418         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28419         macro.
28420
28421 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28422
28423         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28424         detection to immediately after _FP_ROUND().
28425         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28426         bits are 0.
28427
28428 2012-11-11  David S. Miller  <davem@davemloft.net>
28429
28430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28431         inttypes.h
28432         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28433         __close rather than their public counterparts.
28434
28435 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28436
28437         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28438         file.
28439         [UNIX98] (sem_timedwait): Do not expect.
28440         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28441         [XPG4 || UNIX98] (sockatmark): Do not expect.
28442         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28443         (clock_getcpuclockid): Do not expect.
28444         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28445         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28446         Do not expect.
28447         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28448         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28449         [UNIX98] (vwscanf): Likewise.
28450         [UNIX98] (vswscanf): Likewise.
28451
28452 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28453
28454         * timezone/version.h: Remove file.
28455         * timezone/README: Do not refer to version.h.
28456         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28457         $(objpfx)version.h.
28458         ($(objpfx)zdump.o): Likewise.
28459         ($(objpfx)version.h): New target.
28460
28461         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28462         2012i.
28463         * timezone/README: Don't mention modification to tzselect.ksh.
28464         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28465         work on unmodified tzselect.ksh.  Substitute version numbers in
28466         tzselect.ksh.
28467
28468         * Makefile (format-me): Remove.
28469         (INSTALL): Adjust indentation.  Use commands directly instead of
28470         using $(format-me).
28471
28472         * aclocal.m4 (ACX_PKGVERSION): New macro.
28473         (ACX_BUGURL): Likewise.
28474         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28475         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28476         (REPORT_BUGS_TO): Likewise.
28477         * configure: Regenerated.
28478         * config.h.in (PKGVERSION): New macro.
28479         (REPORT_BUGS_TO): Likewise.
28480         * config.make.in (PKGVERSION): New variable.
28481         (PKGVERSION_TEXI): Likewise.
28482         (REPORT_BUGS_TO): Likewise.
28483         (REPORT_BUGS_TEXI): Likewise.
28484         * Makefile (format-me): Use -I$(common-objpfx)manual.
28485         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28486         ($(common-objpfx)manual/%): New target.
28487         (manual/%): Remove target.
28488         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28489         (print_version): Use PKGVERSION.
28490         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28491         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28492         and REPORT_BUGS_TO.
28493         ($(objpfx)xtrace): Likewise.
28494         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28495         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28496         (print_version): Use PKGVERSION.
28497         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28498         (do_version): Use PKGVERSION.
28499         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28500         REPORT_BUGS_TO.
28501         (common-ldd-rewrite): Likewise.
28502         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28503         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28504         (print_version): Use PKGVERSION.
28505         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28506         * elf/pldd.c (argp_program_bug_address): Remove variable.
28507         (more_help): New function.
28508         (argp): Use more_help.
28509         (print_version): Use PKGVERSION.
28510         * elf/sln.c (main): Use PKGVERSION.
28511         (usage): Use REPORT_BUGS_TO.
28512         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28513         (top level): Use PKGVERSION.
28514         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28515         (print_version): Use PKGVERSION.
28516         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28517         (print_version): Use PKGVERSION.
28518         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28519         (print_version): Use PKGVERSION.
28520         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28521         (print_version): Use PKGVERSION.
28522         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28523         (print_version): Use PKGVERSION.
28524         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28525         (print_version): Use PKGVERSION.
28526         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28527         and BUGURL.
28528         ($(objpfx)memusage): Likewise.
28529         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28530         (do_version): Use PKGVERSION.
28531         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28532         (print_version): Use PKGVERSION.
28533         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28534         ($PKGVERSION): New variable.
28535         ($REPORT_BUGS_TO): Likewise.
28536         (usage): Use $REPORT_BUGS_TO.
28537         (top level): Use $PKGVERSION.
28538         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28539         ($(objpfx)pkgvers.texi): New rule.
28540         ($(objpfx)stamp-pkgvers): Likewise.
28541         * manual/install.texi: Include pkgvers.texi.
28542         (--with-pkgversion): Document new configure option.
28543         (--with-bugurl): Likewise.
28544         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28545         than necessarily for this particular distribution.  Use
28546         REPORT_BUGS_TO for where to report bugs.
28547         * INSTALL: Regenerated.
28548         * manual/libc.texinfo: Include pkgvers.texi.
28549         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28550         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28551         (print_version): Use PKGVERSION.
28552         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28553         (print_version): Use PKGVERSION.
28554         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28555         (print_version): Use PKGVERSION.
28556         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28557         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28558         macro.
28559         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28560         (print_version): Use PKGVERSION.
28561         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28562         (print_version): Use PKGVERSION.
28563         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28564         and PKGVERSION.
28565
28566         * timezone/checktab.awk: Update from tzcode 2012i.
28567         * timezone/ialloc.c: Likewise.
28568         * timezone/private.h: Likewise.
28569         * timezone/scheck.c: Likewise.
28570         * timezone/tzfile.h: Likewise.
28571         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28572         (TZVERSION): Hardcode tzcode version number.
28573         * timezone/zdump.c: Update from tzcode 2012i.
28574         * timezone/zic.c: Likewise.
28575         * timezone/version.h: New file.
28576         * timezone/README: Describe version.h.  Update upstream location.
28577
28578         [BZ #14824]
28579         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28580         (mktemp): Enable declaration.
28581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28585         Likewise.
28586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28587         Likewise.
28588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28589         Likewise.
28590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28591         Likewise.
28592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28593         Likewise.
28594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28595         Likewise.
28596
28597         [BZ #14821]
28598         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28599         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28600         for copies of such integer values.
28601         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28602         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28603
28604 2012-11-09  Andreas Jaeger  <aj@suse.de>
28605
28606         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28607         definitions and declarations that are provided by
28608         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28609
28610 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28611
28612         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28613         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28614         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28615         definition.
28616
28617 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28618
28619         * elf/elf.h: Update comment before AArch64 relocations.
28620
28621 2012-11-07  David S. Miller  <davem@davemloft.net>
28622
28623         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28624         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28625         (__start_context): Declare.
28626         (__makecontext_ret): Delete.
28627         (__makecontext): Hook up __start_context instead of
28628         __makecontext_ret.
28629         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28630         (sysdep_routines): Add __start_context when in stdlib.
28631
28632 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28633
28634         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28635         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28636         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28637         hardcoded "nm".
28638         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28639         (READELF): New variable.  Use it instead of hardcoded "readelf".
28640
28641 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28642
28643         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28644         * sysdeps/x86/Makefile: Here.
28645         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28646         * sysdeps/x86/tst-xmmymm.sh: This.
28647
28648 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28649
28650         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28651         expectations.
28652         [UNIX98] (pthread_barrier_t): Do not expect.
28653         [UNIX98] (pthread_barrierattr_t): Likewise.
28654         [UNIX98] (pthread_spinlock_t): Likewise.
28655         [UNIX98] (pthread_barrier_destroy): Likewise.
28656         [UNIX98] (pthread_barrier_init): Likewise.
28657         [UNIX98] (pthread_barrier_wait): Likewise.
28658         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28659         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28660         [UNIX98] (pthread_barrierattr_init): Likewise.
28661         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28662         [UNIX98] (pthread_getcpuclockid): Likewise.
28663         [UNIX98] (pthread_mutex_timedlock): Likewise.
28664         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28665         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28666         [UNIX98] (pthread_sigmask): Likewise.
28667         [UNIX98] (pthread_spin_destroy): Likewise.
28668         [UNIX98] (pthread_spin_init): Likewise.
28669         [UNIX98] (pthread_spin_lock): Likewise.
28670         [UNIX98] (pthread_spin_trylock): Likewise.
28671         [UNIX98] (pthread_spin_unlock): Likewise.
28672         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28673         Do not expect.
28674         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28675         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28676         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28677         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28678         [XPG3 || XPG4] (pthread_key_t): Likewise.
28679         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28680         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28681         [XPG3 || XPG4] (pthread_once_t): Likewise.
28682         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28683         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28684         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28685         [XPG3 || XPG4] (pthread_t): Likewise.
28686
28687         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28688         not expect.
28689         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28690
28691         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28692         Change function return type to int.
28693
28694         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28695         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28696         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28697         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28698         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28699         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28700         [!POSIX] (posix_madvise): Likewise.
28701         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28702         && !UNIX98].
28703         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28704         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28705         (mode_t): Likewise.
28706         (posix_mem_offset): Likewise.
28707         (posix_typed_mem_get_info): Likewise.
28708         (posix_typed_mem_open): Likewise.
28709
28710         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28711         Change condition to [XOPEN2K8].
28712
28713         * conform/conformtest.pl: Preprocess allow-header data with -x c
28714         instead of from stdin.
28715         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28716         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28717         [C99-based standards] (cerfc): Likewise.
28718         [C99-based standards] (cexp2): Likewise.
28719         [C99-based standards] (cexpm1): Likewise.
28720         [C99-based standards] (clog10): Likewise.
28721         [C99-based standards] (clog1p): Likewise.
28722         [C99-based standards] (clog2): Likewise.
28723         [C99-based standards] (clgamma): Likewise.
28724         [C99-based standards] (ctgamma): Likewise.
28725         [C99-based standards] (cerff): Likewise.
28726         [C99-based standards] (cerfcf): Likewise.
28727         [C99-based standards] (cexp2f): Likewise.
28728         [C99-based standards] (cexpm1f): Likewise.
28729         [C99-based standards] (clog10f): Likewise.
28730         [C99-based standards] (clog1pf): Likewise.
28731         [C99-based standards] (clog2f): Likewise.
28732         [C99-based standards] (clgammaf): Likewise.
28733         [C99-based standards] (ctgammaf): Likewise.
28734         [C99-based standards] (cerfl): Likewise.
28735         [C99-based standards] (cerfcl): Likewise.
28736         [C99-based standards] (cexp2l): Likewise.
28737         [C99-based standards] (cexpm1l): Likewise.
28738         [C99-based standards] (clog10l): Likewise.
28739         [C99-based standards] (clog1pl): Likewise.
28740         [C99-based standards] (clog2l): Likewise.
28741         [C99-based standards] (clgammal): Likewise.
28742         [C99-based standards] (ctgammal): Likewise.
28743         * conform/data/inttypes.h-data [C99-based standards]: Include
28744         stdint.h-data.  Remove all expectations for stdint.h contents.
28745         [C99-based standards] (PRI*): Do not allow.
28746         [C99-based standards] (SCN*): Likewise.
28747         [C99-based standards] (*_t): Likewise.
28748         [C99-based-standards] (PRId8): Expect macro.
28749         [C99-based-standards] (PRIi8): Likewise.
28750         [C99-based-standards] (PRIo8): Likewise.
28751         [C99-based-standards] (PRIu8): Likewise.
28752         [C99-based-standards] (PRIx8): Likewise.
28753         [C99-based-standards] (PRIX8): Likewise.
28754         [C99-based-standards] (SCNd8): Likewise.
28755         [C99-based-standards] (SCNi8): Likewise.
28756         [C99-based-standards] (SCNo8): Likewise.
28757         [C99-based-standards] (SCNu8): Likewise.
28758         [C99-based-standards] (SCNx8): Likewise.
28759         [C99-based-standards] (PRIdLEAST8): Likewise.
28760         [C99-based-standards] (PRIiLEAST8): Likewise.
28761         [C99-based-standards] (PRIoLEAST8): Likewise.
28762         [C99-based-standards] (PRIuLEAST8): Likewise.
28763         [C99-based-standards] (PRIxLEAST8): Likewise.
28764         [C99-based-standards] (PRIXLEAST8): Likewise.
28765         [C99-based-standards] (SCNdLEAST8): Likewise.
28766         [C99-based-standards] (SCNiLEAST8): Likewise.
28767         [C99-based-standards] (SCNoLEAST8): Likewise.
28768         [C99-based-standards] (SCNuLEAST8): Likewise.
28769         [C99-based-standards] (SCNxLEAST8): Likewise.
28770         [C99-based-standards] (PRIdFAST8): Likewise.
28771         [C99-based-standards] (PRIiFAST8): Likewise.
28772         [C99-based-standards] (PRIoFAST8): Likewise.
28773         [C99-based-standards] (PRIuFAST8): Likewise.
28774         [C99-based-standards] (PRIxFAST8): Likewise.
28775         [C99-based-standards] (PRIXFAST8): Likewise.
28776         [C99-based-standards] (SCNdFAST8): Likewise.
28777         [C99-based-standards] (SCNiFAST8): Likewise.
28778         [C99-based-standards] (SCNoFAST8): Likewise.
28779         [C99-based-standards] (SCNuFAST8): Likewise.
28780         [C99-based-standards] (SCNxFAST8): Likewise.
28781         [C99-based-standards] (PRId16): Likewise.
28782         [C99-based-standards] (PRIi16): Likewise.
28783         [C99-based-standards] (PRIo16): Likewise.
28784         [C99-based-standards] (PRIu16): Likewise.
28785         [C99-based-standards] (PRIx16): Likewise.
28786         [C99-based-standards] (PRIX16): Likewise.
28787         [C99-based-standards] (SCNd16): Likewise.
28788         [C99-based-standards] (SCNi16): Likewise.
28789         [C99-based-standards] (SCNo16): Likewise.
28790         [C99-based-standards] (SCNu16): Likewise.
28791         [C99-based-standards] (SCNx16): Likewise.
28792         [C99-based-standards] (PRIdLEAST16): Likewise.
28793         [C99-based-standards] (PRIiLEAST16): Likewise.
28794         [C99-based-standards] (PRIoLEAST16): Likewise.
28795         [C99-based-standards] (PRIuLEAST16): Likewise.
28796         [C99-based-standards] (PRIxLEAST16): Likewise.
28797         [C99-based-standards] (PRIXLEAST16): Likewise.
28798         [C99-based-standards] (SCNdLEAST16): Likewise.
28799         [C99-based-standards] (SCNiLEAST16): Likewise.
28800         [C99-based-standards] (SCNoLEAST16): Likewise.
28801         [C99-based-standards] (SCNuLEAST16): Likewise.
28802         [C99-based-standards] (SCNxLEAST16): Likewise.
28803         [C99-based-standards] (PRIdFAST16): Likewise.
28804         [C99-based-standards] (PRIiFAST16): Likewise.
28805         [C99-based-standards] (PRIoFAST16): Likewise.
28806         [C99-based-standards] (PRIuFAST16): Likewise.
28807         [C99-based-standards] (PRIxFAST16): Likewise.
28808         [C99-based-standards] (PRIXFAST16): Likewise.
28809         [C99-based-standards] (SCNdFAST16): Likewise.
28810         [C99-based-standards] (SCNiFAST16): Likewise.
28811         [C99-based-standards] (SCNoFAST16): Likewise.
28812         [C99-based-standards] (SCNuFAST16): Likewise.
28813         [C99-based-standards] (SCNxFAST16): Likewise.
28814         [C99-based-standards] (PRId32): Likewise.
28815         [C99-based-standards] (PRIi32): Likewise.
28816         [C99-based-standards] (PRIo32): Likewise.
28817         [C99-based-standards] (PRIu32): Likewise.
28818         [C99-based-standards] (PRIx32): Likewise.
28819         [C99-based-standards] (PRIX32): Likewise.
28820         [C99-based-standards] (SCNd32): Likewise.
28821         [C99-based-standards] (SCNi32): Likewise.
28822         [C99-based-standards] (SCNo32): Likewise.
28823         [C99-based-standards] (SCNu32): Likewise.
28824         [C99-based-standards] (SCNx32): Likewise.
28825         [C99-based-standards] (PRIdLEAST32): Likewise.
28826         [C99-based-standards] (PRIiLEAST32): Likewise.
28827         [C99-based-standards] (PRIoLEAST32): Likewise.
28828         [C99-based-standards] (PRIuLEAST32): Likewise.
28829         [C99-based-standards] (PRIxLEAST32): Likewise.
28830         [C99-based-standards] (PRIXLEAST32): Likewise.
28831         [C99-based-standards] (SCNdLEAST32): Likewise.
28832         [C99-based-standards] (SCNiLEAST32): Likewise.
28833         [C99-based-standards] (SCNoLEAST32): Likewise.
28834         [C99-based-standards] (SCNuLEAST32): Likewise.
28835         [C99-based-standards] (SCNxLEAST32): Likewise.
28836         [C99-based-standards] (PRIdFAST32): Likewise.
28837         [C99-based-standards] (PRIiFAST32): Likewise.
28838         [C99-based-standards] (PRIoFAST32): Likewise.
28839         [C99-based-standards] (PRIuFAST32): Likewise.
28840         [C99-based-standards] (PRIxFAST32): Likewise.
28841         [C99-based-standards] (PRIXFAST32): Likewise.
28842         [C99-based-standards] (SCNdFAST32): Likewise.
28843         [C99-based-standards] (SCNiFAST32): Likewise.
28844         [C99-based-standards] (SCNoFAST32): Likewise.
28845         [C99-based-standards] (SCNuFAST32): Likewise.
28846         [C99-based-standards] (SCNxFAST32): Likewise.
28847         [C99-based-standards] (PRId64): Likewise.
28848         [C99-based-standards] (PRIi64): Likewise.
28849         [C99-based-standards] (PRIo64): Likewise.
28850         [C99-based-standards] (PRIu64): Likewise.
28851         [C99-based-standards] (PRIx64): Likewise.
28852         [C99-based-standards] (PRIX64): Likewise.
28853         [C99-based-standards] (SCNd64): Likewise.
28854         [C99-based-standards] (SCNi64): Likewise.
28855         [C99-based-standards] (SCNo64): Likewise.
28856         [C99-based-standards] (SCNu64): Likewise.
28857         [C99-based-standards] (SCNx64): Likewise.
28858         [C99-based-standards] (PRIdLEAST64): Likewise.
28859         [C99-based-standards] (PRIiLEAST64): Likewise.
28860         [C99-based-standards] (PRIoLEAST64): Likewise.
28861         [C99-based-standards] (PRIuLEAST64): Likewise.
28862         [C99-based-standards] (PRIxLEAST64): Likewise.
28863         [C99-based-standards] (PRIXLEAST64): Likewise.
28864         [C99-based-standards] (SCNdLEAST64): Likewise.
28865         [C99-based-standards] (SCNiLEAST64): Likewise.
28866         [C99-based-standards] (SCNoLEAST64): Likewise.
28867         [C99-based-standards] (SCNuLEAST64): Likewise.
28868         [C99-based-standards] (SCNxLEAST64): Likewise.
28869         [C99-based-standards] (PRIdFAST64): Likewise.
28870         [C99-based-standards] (PRIiFAST64): Likewise.
28871         [C99-based-standards] (PRIoFAST64): Likewise.
28872         [C99-based-standards] (PRIuFAST64): Likewise.
28873         [C99-based-standards] (PRIxFAST64): Likewise.
28874         [C99-based-standards] (PRIXFAST64): Likewise.
28875         [C99-based-standards] (SCNdFAST64): Likewise.
28876         [C99-based-standards] (SCNiFAST64): Likewise.
28877         [C99-based-standards] (SCNoFAST64): Likewise.
28878         [C99-based-standards] (SCNuFAST64): Likewise.
28879         [C99-based-standards] (SCNxFAST64): Likewise.
28880         [C99-based-standards] (PRIdMAX): Likewise.
28881         [C99-based-standards] (PRIiMAX): Likewise.
28882         [C99-based-standards] (PRIoMAX): Likewise.
28883         [C99-based-standards] (PRIuMAX): Likewise.
28884         [C99-based-standards] (PRIxMAX): Likewise.
28885         [C99-based-standards] (PRIXMAX): Likewise.
28886         [C99-based-standards] (SCNdMAX): Likewise.
28887         [C99-based-standards] (SCNiMAX): Likewise.
28888         [C99-based-standards] (SCNoMAX): Likewise.
28889         [C99-based-standards] (SCNuMAX): Likewise.
28890         [C99-based-standards] (SCNxMAX): Likewise.
28891         [C99-based-standards] (PRIdPTR): Likewise.
28892         [C99-based-standards] (PRIiPTR): Likewise.
28893         [C99-based-standards] (PRIoPTR): Likewise.
28894         [C99-based-standards] (PRIuPTR): Likewise.
28895         [C99-based-standards] (PRIxPTR): Likewise.
28896         [C99-based-standards] (PRIXPTR): Likewise.
28897         [C99-based-standards] (SCNdPTR): Likewise.
28898         [C99-based-standards] (SCNiPTR): Likewise.
28899         [C99-based-standards] (SCNoPTR): Likewise.
28900         [C99-based-standards] (SCNuPTR): Likewise.
28901         [C99-based-standards] (SCNxPTR): Likewise.
28902         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28903         allow.
28904         * conform/data/stdint.h-data: Update comments to clarify
28905         requirements.
28906         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28907         type.
28908         [C99-based standards] (INT8_MAX): Likewise.
28909         [C99-based standards] (INT16_MIN): Likewise.
28910         [C99-based standards] (INT16_MAX): Likewise.
28911         [C99-based standards] (INT32_MIN): Likewise.
28912         [C99-based standards] (INT32_MAX): Likewise.
28913         [C99-based standards] (INT64_MIN): Likewise.
28914         [C99-based standards] (INT64_MAX): Likewise.
28915         [C99-based standards] (UINT8_MAX): Likewise.
28916         [C99-based standards] (UINT16_MAX): Likewise.
28917         [C99-based standards] (UINT32_MAX): Likewise.
28918         [C99-based standards] (UINT64_MAX): Likewise.
28919         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28920         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28921         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28922         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28923         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28924         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28925         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28926         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28927         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28928         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28929         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28930         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28931         [C99-based standards] (INT_FAST8_MIN): Likewise.
28932         [C99-based standards] (INT_FAST8_MAX): Likewise.
28933         [C99-based standards] (INT_FAST16_MIN): Likewise.
28934         [C99-based standards] (INT_FAST16_MAX): Likewise.
28935         [C99-based standards] (INT_FAST32_MIN): Likewise.
28936         [C99-based standards] (INT_FAST32_MAX): Likewise.
28937         [C99-based standards] (INT_FAST64_MIN): Likewise.
28938         [C99-based standards] (INT_FAST64_MAX): Likewise.
28939         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28940         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28941         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28942         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28943         [C99-based standards] (INTPTR_MIN): Likewise.
28944         [C99-based standards] (INTPTR_MAX): Likewise.
28945         [C99-based standards] (UINTPTR_MAX): Likewise.
28946         [C99-based standards] (INTMAX_MIN): Likewise.
28947         [C99-based standards] (INTMAX_MAX): Likewise.
28948         [C99-based standards] (UINTMAX_MAX): Likewise.
28949         [C99-based standards] (PTRDIFF_MIN): Likewise.
28950         [C99-based standards] (PTRDIFF_MAX): Likewise.
28951         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28952         [C99-based standards] (SIZE_MAX): Likewise.
28953         [C99-based standards] (WCHAR_MAX): Likewise.
28954         [C99-based standards] (WINT_MAX): Likewise.
28955         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28956         constraint on value.
28957         [C99-based standards] (WCHAR_MIN): Likewise.
28958         [C99-based standards] (WINT_MIN): Likewise.
28959         [C99-based standards] (*_t): Allow.
28960         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28961         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28962         Include math.h-data and complex.h-data.  Remove all expectations
28963         of math.h and complex.h contents.
28964         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28965         at end of line.
28966         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28967         (struct tm): Expect tag.
28968         [C99-based-standards] (wcstof): Expect function.
28969         [C99-based-standards] (wcstold): Likewise.
28970         [C99-based-standards] (wcstoll): Likewise.
28971         [C99-based-standards] (wcstoull): Likewise.
28972         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28973         macro-int-constant.  Specify type.
28974         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28975         constraint on value.
28976         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28977         Specify type.
28978         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28979         Specify value.
28980         [ISO C standards]: Do not allow headers.
28981         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28982         wcs[abcdefghijklmnopqrstuvwxyz]*.
28983         [ISO C standards] (*_t): Do not allow.
28984         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28985         Expect function.
28986         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28987         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28988         Specify type.
28989         [ISO C standards]: Do not allow headers.
28990         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28991         is[abcdefghijklmnopqrstuvwxyz]*.
28992         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28993         to[abcdefghijklmnopqrstuvwxyz]*.
28994         [ISO C standards] (*_t): Do not allow.
28995         * conform/data/stdalign.h-data: New file.
28996         * conform/data/stdbool.h-data: Likewise.
28997         * conform/data/stdnoreturn.h-data: Likewise.
28998
28999 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29000
29001         [BZ #14815]
29002         * manual/filesys.texi (Directory Entries): Typo fix.
29003         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29004
29005 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29006
29007         * elf/elf.h (EM_AARCH64): New macro.
29008         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29009         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29010         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29011         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29012         (R_AARCH64_TLSDESC): Likewise.
29013         (NT_ARM_TLS): Likewise.
29014         (NT_ARM_HW_BREAK): Likewise.
29015         (NT_ARM_HW_WATCH): Likewise.
29016
29017 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29018
29019         [BZ #14811]
29020         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29021         (__ieee754_powl): Saturate nonzero exponents with absolute value
29022         below 0x1p-79 to +/- 0x1p-79.
29023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29024         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29025         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29026         nonzero exponents with absolute value below 0x1p-32 to +/-
29027         0x1p-32.
29028         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29029         (__ieee754_powl): Saturate nonzero exponents with absolute value
29030         below 0x1p-79 to +/- 0x1p-79.
29031         * math/libm-test.inc (pow_test): Add more tests.
29032
29033 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29034
29035         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29036         _dl_s390_cap_flags with kernel. Increase string length.
29037         (_dl_s390_platforms): Add z196 and zEC12.
29038
29039 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29040
29041         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29042         Change XOPEN21K to XOPEN2K.
29043
29044 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29045
29046         * string/memmove.c: Use memcpy when possible.
29047
29048 2012-11-06  Andreas Jaeger  <aj@suse.de>
29049
29050         * po/eo.po: Update from translation team.
29051
29052 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29053
29054         [BZ #14793]
29055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29056         exponent and small x and y exponents, scale x or y up.  Increase
29057         by 2 the exponent used in scaling up.
29058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29060         * math/libm-test.inc (fma_test): Add more tests.
29061         (fma_test_towardzero): Likewise.
29062         (fma_test_downward): Likewise.
29063         (fma_test_upward): Likewise.
29064
29065 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29066
29067         [BZ #14805]
29068         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29069         fenv_t *.
29070
29071         [BZ #14801]
29072         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29073         namespace for names of struct fields.
29074         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29075         fenv_t fields.
29076         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29077         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29078
29079 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29080
29081         [BZ #3665]
29082         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29083
29084 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29085
29086         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29087         PTR_DEMANGLE.
29088
29089         [BZ #5246]
29090         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29091         PTR_DEMANGLE.
29092
29093 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29094
29095         [BZ #14797]
29096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29097         definitely overflow as x * y not x * y + z.
29098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29099         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29100         * math/libm-test.inc (fma_test): Add more tests.
29101         (fma_test_towardzero): Likewise.
29102         (fma_test_downward): Likewise.
29103         (fma_test_upward): Likewise.
29104
29105 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29106
29107         [BZ #157]
29108
29109         * include/stub-tag.h: Remove file.
29110         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29111         '#include' of it.
29112         * manual/maint.texi (Porting): Don't reference it.
29113         * Makerules ($(objpfx)stubs): Likewise.
29114         * dirent/closedir.c: Don't include <stub-tag.h>.
29115         * dirent/dirfd.c: Likewise.
29116         * dirent/fdopendir.c: Likewise.
29117         * dirent/getdents.c: Likewise.
29118         * dirent/getdents64.c: Likewise.
29119         * dirent/opendir.c: Likewise.
29120         * dirent/readdir.c: Likewise.
29121         * dirent/readdir64.c: Likewise.
29122         * dirent/readdir64_r.c: Likewise.
29123         * dirent/readdir_r.c: Likewise.
29124         * dirent/rewinddir.c: Likewise.
29125         * dirent/seekdir.c: Likewise.
29126         * dirent/telldir.c: Likewise.
29127         * gmon/profil.c: Likewise.
29128         * grp/setgroups.c: Likewise.
29129         * inet/if_index.c: Likewise.
29130         * io/access.c: Likewise.
29131         * io/chdir.c: Likewise.
29132         * io/chmod.c: Likewise.
29133         * io/chown.c: Likewise.
29134         * io/close.c: Likewise.
29135         * io/dup.c: Likewise.
29136         * io/dup2.c: Likewise.
29137         * io/dup3.c: Likewise.
29138         * io/euidaccess.c: Likewise.
29139         * io/faccessat.c: Likewise.
29140         * io/fchdir.c: Likewise.
29141         * io/fchmod.c: Likewise.
29142         * io/fchmodat.c: Likewise.
29143         * io/fchown.c: Likewise.
29144         * io/fchownat.c: Likewise.
29145         * io/fcntl.c: Likewise.
29146         * io/flock.c: Likewise.
29147         * io/fstatfs.c: Likewise.
29148         * io/fstatfs64.c: Likewise.
29149         * io/fstatvfs.c: Likewise.
29150         * io/fstatvfs64.c: Likewise.
29151         * io/futimens.c: Likewise.
29152         * io/fxstat.c: Likewise.
29153         * io/fxstat64.c: Likewise.
29154         * io/fxstatat.c: Likewise.
29155         * io/fxstatat64.c: Likewise.
29156         * io/getcwd.c: Likewise.
29157         * io/isatty.c: Likewise.
29158         * io/lchmod.c: Likewise.
29159         * io/lchown.c: Likewise.
29160         * io/link.c: Likewise.
29161         * io/linkat.c: Likewise.
29162         * io/lseek.c: Likewise.
29163         * io/lseek64.c: Likewise.
29164         * io/lxstat64.c: Likewise.
29165         * io/mkdir.c: Likewise.
29166         * io/mkdirat.c: Likewise.
29167         * io/mkfifo.c: Likewise.
29168         * io/mkfifoat.c: Likewise.
29169         * io/open.c: Likewise.
29170         * io/open64.c: Likewise.
29171         * io/openat.c: Likewise.
29172         * io/openat64.c: Likewise.
29173         * io/pipe.c: Likewise.
29174         * io/pipe2.c: Likewise.
29175         * io/poll.c: Likewise.
29176         * io/posix_fadvise.c: Likewise.
29177         * io/posix_fadvise64.c: Likewise.
29178         * io/posix_fallocate.c: Likewise.
29179         * io/posix_fallocate64.c: Likewise.
29180         * io/read.c: Likewise.
29181         * io/readlink.c: Likewise.
29182         * io/readlinkat.c: Likewise.
29183         * io/rmdir.c: Likewise.
29184         * io/sendfile.c: Likewise.
29185         * io/sendfile64.c: Likewise.
29186         * io/statfs.c: Likewise.
29187         * io/statfs64.c: Likewise.
29188         * io/statvfs.c: Likewise.
29189         * io/statvfs64.c: Likewise.
29190         * io/symlink.c: Likewise.
29191         * io/symlinkat.c: Likewise.
29192         * io/ttyname.c: Likewise.
29193         * io/ttyname_r.c: Likewise.
29194         * io/umask.c: Likewise.
29195         * io/unlink.c: Likewise.
29196         * io/unlinkat.c: Likewise.
29197         * io/utime.c: Likewise.
29198         * io/utimensat.c: Likewise.
29199         * io/write.c: Likewise.
29200         * io/xmknod.c: Likewise.
29201         * io/xmknodat.c: Likewise.
29202         * io/xstat.c: Likewise.
29203         * io/xstat64.c: Likewise.
29204         * login/getpt.c: Likewise.
29205         * login/grantpt.c: Likewise.
29206         * login/unlockpt.c: Likewise.
29207         * math/e_acoshl.c: Likewise.
29208         * math/e_acosl.c: Likewise.
29209         * math/e_asinl.c: Likewise.
29210         * math/e_atan2l.c: Likewise.
29211         * math/e_atanhl.c: Likewise.
29212         * math/e_coshl.c: Likewise.
29213         * math/e_expl.c: Likewise.
29214         * math/e_fmodl.c: Likewise.
29215         * math/e_gammal_r.c: Likewise.
29216         * math/e_hypotl.c: Likewise.
29217         * math/e_j0l.c: Likewise.
29218         * math/e_j1l.c: Likewise.
29219         * math/e_jnl.c: Likewise.
29220         * math/e_lgammal_r.c: Likewise.
29221         * math/e_log10l.c: Likewise.
29222         * math/e_log2l.c: Likewise.
29223         * math/e_logl.c: Likewise.
29224         * math/e_powl.c: Likewise.
29225         * math/e_rem_pio2l.c: Likewise.
29226         * math/e_sinhl.c: Likewise.
29227         * math/e_sqrtl.c: Likewise.
29228         * math/fclrexcpt.c: Likewise.
29229         * math/fedisblxcpt.c: Likewise.
29230         * math/feenablxcpt.c: Likewise.
29231         * math/fegetenv.c: Likewise.
29232         * math/fegetexcept.c: Likewise.
29233         * math/fegetround.c: Likewise.
29234         * math/feholdexcpt.c: Likewise.
29235         * math/fesetenv.c: Likewise.
29236         * math/fesetround.c: Likewise.
29237         * math/feupdateenv.c: Likewise.
29238         * math/fgetexcptflg.c: Likewise.
29239         * math/fraiseexcpt.c: Likewise.
29240         * math/fsetexcptflg.c: Likewise.
29241         * math/ftestexcept.c: Likewise.
29242         * math/k_cosl.c: Likewise.
29243         * math/k_rem_pio2l.c: Likewise.
29244         * math/k_sinl.c: Likewise.
29245         * math/k_tanl.c: Likewise.
29246         * math/s_asinhl.c: Likewise.
29247         * math/s_atanl.c: Likewise.
29248         * math/s_cbrtl.c: Likewise.
29249         * math/s_erfl.c: Likewise.
29250         * math/s_expm1l.c: Likewise.
29251         * math/s_log1pl.c: Likewise.
29252         * math/s_tanhl.c: Likewise.
29253         * misc/acct.c: Likewise.
29254         * misc/brk.c: Likewise.
29255         * misc/chflags.c: Likewise.
29256         * misc/chroot.c: Likewise.
29257         * misc/fchflags.c: Likewise.
29258         * misc/fgetxattr.c: Likewise.
29259         * misc/flistxattr.c: Likewise.
29260         * misc/fremovexattr.c: Likewise.
29261         * misc/fsetxattr.c: Likewise.
29262         * misc/fsync.c: Likewise.
29263         * misc/ftruncate.c: Likewise.
29264         * misc/futimes.c: Likewise.
29265         * misc/futimesat.c: Likewise.
29266         * misc/getdomain.c: Likewise.
29267         * misc/getdtsz.c: Likewise.
29268         * misc/gethostid.c: Likewise.
29269         * misc/gethostname.c: Likewise.
29270         * misc/getloadavg.c: Likewise.
29271         * misc/getpagesize.c: Likewise.
29272         * misc/getsysstats.c: Likewise.
29273         * misc/getxattr.c: Likewise.
29274         * misc/gtty.c: Likewise.
29275         * misc/ioctl.c: Likewise.
29276         * misc/lgetxattr.c: Likewise.
29277         * misc/listxattr.c: Likewise.
29278         * misc/llistxattr.c: Likewise.
29279         * misc/lremovexattr.c: Likewise.
29280         * misc/lsetxattr.c: Likewise.
29281         * misc/lutimes.c: Likewise.
29282         * misc/madvise.c: Likewise.
29283         * misc/mincore.c: Likewise.
29284         * misc/mlock.c: Likewise.
29285         * misc/mlockall.c: Likewise.
29286         * misc/mmap.c: Likewise.
29287         * misc/mprotect.c: Likewise.
29288         * misc/msync.c: Likewise.
29289         * misc/munlock.c: Likewise.
29290         * misc/munlockall.c: Likewise.
29291         * misc/munmap.c: Likewise.
29292         * misc/preadv.c: Likewise.
29293         * misc/preadv64.c: Likewise.
29294         * misc/ptrace.c: Likewise.
29295         * misc/pwritev.c: Likewise.
29296         * misc/pwritev64.c: Likewise.
29297         * misc/readv.c: Likewise.
29298         * misc/reboot.c: Likewise.
29299         * misc/remap_file_pages.c: Likewise.
29300         * misc/removexattr.c: Likewise.
29301         * misc/revoke.c: Likewise.
29302         * misc/select.c: Likewise.
29303         * misc/setdomain.c: Likewise.
29304         * misc/setegid.c: Likewise.
29305         * misc/seteuid.c: Likewise.
29306         * misc/sethostid.c: Likewise.
29307         * misc/sethostname.c: Likewise.
29308         * misc/setregid.c: Likewise.
29309         * misc/setreuid.c: Likewise.
29310         * misc/setxattr.c: Likewise.
29311         * misc/sstk.c: Likewise.
29312         * misc/stty.c: Likewise.
29313         * misc/swapoff.c: Likewise.
29314         * misc/swapon.c: Likewise.
29315         * misc/sync.c: Likewise.
29316         * misc/syncfs.c: Likewise.
29317         * misc/syscall.c: Likewise.
29318         * misc/truncate.c: Likewise.
29319         * misc/ualarm.c: Likewise.
29320         * misc/usleep.c: Likewise.
29321         * misc/ustat.c: Likewise.
29322         * misc/utimes.c: Likewise.
29323         * misc/vhangup.c: Likewise.
29324         * misc/writev.c: Likewise.
29325         * posix/_exit.c: Likewise.
29326         * posix/alarm.c: Likewise.
29327         * posix/execve.c: Likewise.
29328         * posix/fexecve.c: Likewise.
29329         * posix/fork.c: Likewise.
29330         * posix/fpathconf.c: Likewise.
29331         * posix/getaddrinfo.c: Likewise.
29332         * posix/getegid.c: Likewise.
29333         * posix/geteuid.c: Likewise.
29334         * posix/getgid.c: Likewise.
29335         * posix/getgroups.c: Likewise.
29336         * posix/getlogin.c: Likewise.
29337         * posix/getlogin_r.c: Likewise.
29338         * posix/getpgid.c: Likewise.
29339         * posix/getpid.c: Likewise.
29340         * posix/getppid.c: Likewise.
29341         * posix/getresgid.c: Likewise.
29342         * posix/getresuid.c: Likewise.
29343         * posix/getsid.c: Likewise.
29344         * posix/getuid.c: Likewise.
29345         * posix/glob64.c: Likewise.
29346         * posix/nanosleep.c: Likewise.
29347         * posix/pathconf.c: Likewise.
29348         * posix/pause.c: Likewise.
29349         * posix/posix_madvise.c: Likewise.
29350         * posix/pread.c: Likewise.
29351         * posix/pread64.c: Likewise.
29352         * posix/pwrite.c: Likewise.
29353         * posix/pwrite64.c: Likewise.
29354         * posix/sched_getaffinity.c: Likewise.
29355         * posix/sched_getp.c: Likewise.
29356         * posix/sched_gets.c: Likewise.
29357         * posix/sched_primax.c: Likewise.
29358         * posix/sched_primin.c: Likewise.
29359         * posix/sched_rr_gi.c: Likewise.
29360         * posix/sched_setaffinity.c: Likewise.
29361         * posix/sched_setp.c: Likewise.
29362         * posix/sched_sets.c: Likewise.
29363         * posix/sched_yield.c: Likewise.
29364         * posix/setgid.c: Likewise.
29365         * posix/setlogin.c: Likewise.
29366         * posix/setpgid.c: Likewise.
29367         * posix/setresgid.c: Likewise.
29368         * posix/setresuid.c: Likewise.
29369         * posix/setsid.c: Likewise.
29370         * posix/setuid.c: Likewise.
29371         * posix/sleep.c: Likewise.
29372         * posix/spawni.c: Likewise.
29373         * posix/sysconf.c: Likewise.
29374         * posix/times.c: Likewise.
29375         * posix/wait.c: Likewise.
29376         * posix/wait3.c: Likewise.
29377         * posix/wait4.c: Likewise.
29378         * posix/waitpid.c: Likewise.
29379         * resolv/gai_sigqueue.c: Likewise.
29380         * resource/getpriority.c: Likewise.
29381         * resource/getrlimit.c: Likewise.
29382         * resource/getrusage.c: Likewise.
29383         * resource/nice.c: Likewise.
29384         * resource/setpriority.c: Likewise.
29385         * resource/setrlimit.c: Likewise.
29386         * resource/ulimit.c: Likewise.
29387         * rt/aio_cancel.c: Likewise.
29388         * rt/aio_fsync.c: Likewise.
29389         * rt/aio_read.c: Likewise.
29390         * rt/aio_sigqueue.c: Likewise.
29391         * rt/aio_suspend.c: Likewise.
29392         * rt/aio_write.c: Likewise.
29393         * rt/clock_getres.c: Likewise.
29394         * rt/clock_gettime.c: Likewise.
29395         * rt/clock_nanosleep.c: Likewise.
29396         * rt/clock_settime.c: Likewise.
29397         * rt/lio_listio.c: Likewise.
29398         * rt/mq_close.c: Likewise.
29399         * rt/mq_getattr.c: Likewise.
29400         * rt/mq_notify.c: Likewise.
29401         * rt/mq_open.c: Likewise.
29402         * rt/mq_receive.c: Likewise.
29403         * rt/mq_send.c: Likewise.
29404         * rt/mq_setattr.c: Likewise.
29405         * rt/mq_timedreceive.c: Likewise.
29406         * rt/mq_timedsend.c: Likewise.
29407         * rt/mq_unlink.c: Likewise.
29408         * rt/shm_open.c: Likewise.
29409         * rt/shm_unlink.c: Likewise.
29410         * rt/timer_create.c: Likewise.
29411         * rt/timer_delete.c: Likewise.
29412         * rt/timer_getoverr.c: Likewise.
29413         * rt/timer_gettime.c: Likewise.
29414         * rt/timer_settime.c: Likewise.
29415         * setjmp/__longjmp.c: Likewise.
29416         * setjmp/setjmp.c: Likewise.
29417         * signal/kill.c: Likewise.
29418         * signal/killpg.c: Likewise.
29419         * signal/raise.c: Likewise.
29420         * signal/sigaction.c: Likewise.
29421         * signal/sigaltstack.c: Likewise.
29422         * signal/sigblock.c: Likewise.
29423         * signal/sigignore.c: Likewise.
29424         * signal/sigintr.c: Likewise.
29425         * signal/signal.c: Likewise.
29426         * signal/sigpause.c: Likewise.
29427         * signal/sigpending.c: Likewise.
29428         * signal/sigqueue.c: Likewise.
29429         * signal/sigreturn.c: Likewise.
29430         * signal/sigset.c: Likewise.
29431         * signal/sigsetmask.c: Likewise.
29432         * signal/sigstack.c: Likewise.
29433         * signal/sigsuspend.c: Likewise.
29434         * signal/sigtimedwait.c: Likewise.
29435         * signal/sigvec.c: Likewise.
29436         * signal/sigwait.c: Likewise.
29437         * signal/sigwaitinfo.c: Likewise.
29438         * signal/sysv_signal.c: Likewise.
29439         * socket/accept.c: Likewise.
29440         * socket/accept4.c: Likewise.
29441         * socket/bind.c: Likewise.
29442         * socket/connect.c: Likewise.
29443         * socket/getpeername.c: Likewise.
29444         * socket/getsockname.c: Likewise.
29445         * socket/getsockopt.c: Likewise.
29446         * socket/isfdtype.c: Likewise.
29447         * socket/listen.c: Likewise.
29448         * socket/recv.c: Likewise.
29449         * socket/recvfrom.c: Likewise.
29450         * socket/recvmsg.c: Likewise.
29451         * socket/send.c: Likewise.
29452         * socket/sendmsg.c: Likewise.
29453         * socket/sendto.c: Likewise.
29454         * socket/setsockopt.c: Likewise.
29455         * socket/shutdown.c: Likewise.
29456         * socket/sockatmark.c: Likewise.
29457         * socket/socket.c: Likewise.
29458         * socket/socketpair.c: Likewise.
29459         * stdio-common/ctermid.c: Likewise.
29460         * stdio-common/cuserid.c: Likewise.
29461         * stdio-common/remove.c: Likewise.
29462         * stdio-common/rename.c: Likewise.
29463         * stdio-common/renameat.c: Likewise.
29464         * stdio-common/tempname.c: Likewise.
29465         * stdlib/getcontext.c: Likewise.
29466         * stdlib/makecontext.c: Likewise.
29467         * stdlib/setcontext.c: Likewise.
29468         * stdlib/swapcontext.c: Likewise.
29469         * stdlib/system.c: Likewise.
29470         * streams/fattach.c: Likewise.
29471         * streams/fdetach.c: Likewise.
29472         * streams/getmsg.c: Likewise.
29473         * streams/getpmsg.c: Likewise.
29474         * streams/putmsg.c: Likewise.
29475         * streams/putpmsg.c: Likewise.
29476         * sysdeps/unix/bsd/getpt.c: Likewise.
29477         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29478         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29479         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29481         Likewise.
29482         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29483         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29484         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29485         * sysvipc/msgctl.c: Likewise.
29486         * sysvipc/msgget.c: Likewise.
29487         * sysvipc/msgrcv.c: Likewise.
29488         * sysvipc/msgsnd.c: Likewise.
29489         * sysvipc/semctl.c: Likewise.
29490         * sysvipc/semget.c: Likewise.
29491         * sysvipc/semop.c: Likewise.
29492         * sysvipc/semtimedop.c: Likewise.
29493         * sysvipc/shmat.c: Likewise.
29494         * sysvipc/shmctl.c: Likewise.
29495         * sysvipc/shmdt.c: Likewise.
29496         * sysvipc/shmget.c: Likewise.
29497         * termios/tcdrain.c: Likewise.
29498         * termios/tcflow.c: Likewise.
29499         * termios/tcflush.c: Likewise.
29500         * termios/tcgetattr.c: Likewise.
29501         * termios/tcgetpgrp.c: Likewise.
29502         * termios/tcsendbrk.c: Likewise.
29503         * termios/tcsetattr.c: Likewise.
29504         * termios/tcsetpgrp.c: Likewise.
29505         * time/adjtime.c: Likewise.
29506         * time/clock.c: Likewise.
29507         * time/getitimer.c: Likewise.
29508         * time/gettimeofday.c: Likewise.
29509         * time/setitimer.c: Likewise.
29510         * time/settimeofday.c: Likewise.
29511         * time/stime.c: Likewise.
29512         * time/time.c: Likewise.
29513
29514 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29515
29516         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29517         /usr/old/bin.
29518
29519         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29520         instead of spaces.
29521         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29522
29523 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29524
29525         [BZ #14796]
29526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29527         FE_TONEAREST before applying Dekker multiplication and Knuth
29528         addition.  Clear inexact exceptions and check for exact zero
29529         results afterwards.
29530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29531         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29533         * math/libm-test.inc (fma_test): Add more tests.
29534         (fma_test_towardzero): Likewise.
29535         (fma_test_downward): Likewise.
29536         (fma_test_upward): Likewise.
29537         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29538         function.
29539         (libc_fesetround): New macro.
29540         (libc_fesetroundf): Likewise.
29541         (libc_fesetroundl): Likewise.
29542         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29543         function.
29544         (libc_fesetround_387): Likewise.
29545         (libc_fesetroundf): New macro.
29546         (libc_fesetround): Likewise.
29547         (libc_fesetroundl): Likewise.
29548         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29549         function.
29550         (libc_fesetroundf): New macro.
29551         (libc_fesetround): Likewise.
29552         (libc_fesetroundl): Likewise.
29553         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29554         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29555         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29556         libm_hidden_ver.
29557         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29558         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29559         libm_hidden_def.
29560         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29561         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29562         libm_hidden_ver.
29563         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29564         libm_hidden_def.
29565
29566         [BZ #3439]
29567         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29568         integer constant usable in #if and use that to give value to enum
29569         constant.
29570         (FE_DIVBYZERO): Likewise.
29571         (FE_UNDERFLOW): Likewise.
29572         (FE_OVERFLOW): Likewise.
29573         (FE_INVALID): Likewise.
29574         (FE_INVALID_SNAN): Likewise.
29575         (FE_INVALID_ISI): Likewise.
29576         (FE_INVALID_IDI): Likewise.
29577         (FE_INVALID_ZDZ): Likewise.
29578         (FE_INVALID_IMZ): Likewise.
29579         (FE_INVALID_COMPARE): Likewise.
29580         (FE_INVALID_SOFTWARE): Likewise.
29581         (FE_INVALID_SQRT): Likewise.
29582         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29583         (FE_TONEAREST): Likewise.
29584         (FE_TOWARDZERO): Likewise.
29585         (FE_UPWARD): Likewise.
29586         (FE_DOWNWARD): Likewise.
29587         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29588         (FE_DIVBYZERO): Likewise.
29589         (FE_OVERFLOW): Likewise.
29590         (FE_UNDERFLOW): Likewise.
29591         (FE_INEXACT): Likewise.
29592         (FE_TONEAREST): Likewise.
29593         (FE_DOWNWARD): Likewise.
29594         (FE_UPWARD): Likewise.
29595         (FE_TOWARDZERO): Likewise.
29596         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29597         (FE_UNDERFLOW): Likewise.
29598         (FE_OVERFLOW): Likewise.
29599         (FE_DIVBYZERO): Likewise.
29600         (FE_INVALID): Likewise.
29601         (FE_TONEAREST): Likewise.
29602         (FE_TOWARDZERO): Likewise.
29603         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29604         (FE_OVERFLOW): Likewise.
29605         (FE_UNDERFLOW): Likewise.
29606         (FE_DIVBYZERO): Likewise.
29607         (FE_INEXACT): Likewise.
29608         (FE_TONEAREST): Likewise.
29609         (FE_TOWARDZERO): Likewise.
29610         (FE_UPWARD): Likewise.
29611         (FE_DOWNWARD): Likewise.
29612         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29613         (FE_DIVBYZERO): Likewise.
29614         (FE_OVERFLOW): Likewise.
29615         (FE_UNDERFLOW): Likewise.
29616         (FE_INEXACT): Likewise.
29617         (FE_TONEAREST): Likewise.
29618         (FE_DOWNWARD): Likewise.
29619         (FE_UPWARD): Likewise.
29620         (FE_TOWARDZERO): Likewise.
29621
29622 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29623
29624         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29625
29626 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29627
29628         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29629         commands.  Quote $PWD.
29630         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29631         -x" by "export".
29632         (remove_newlines): Remove.
29633
29634 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29635
29636         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29637         * stdlib/stdlib.h (atof): Moved to ...
29638         * include/bits/stdlib-float.h: Here.  New file.
29639         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29640         * stdlib/bits/stdlib-float.h: New file.
29641         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29642         -mno-sse -mno-mmx.
29643         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29644         <xmmintrin.h>.
29645
29646 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29647
29648         * conform/conformtest.pl (@headers): Add fenv.h.
29649         * conform/data/fenv.h-data: New file.
29650         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29651         include of <math/fenv.h>.
29652
29653         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29654         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29655         && !UNIX98].  Enables tests for XOPEN2K8.
29656         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29657         POSIX2008]: Likewise.
29658
29659         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29660         (struct rusage): Do not expect type or its members.
29661
29662         [BZ #3439]
29663         * math/math.h (FP_NAN): Define macro to integer constant usable in
29664         #if and use that to give value to enum constant.
29665         (FP_INFINITE): Likewise.
29666         (FP_ZERO): Likewise.
29667         (FP_SUBNORMAL): Likewise.
29668         (FP_NORMAL): Likewise.
29669
29670 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29671
29672         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29673         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29674         arguments.
29675
29676 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29677
29678         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29679         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29680         autoconf-time if not.
29681         * configure.in: Remove AC_PREREQ.
29682
29683 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29684
29685         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29686         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29687         of the internal implementation.
29688
29689 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29690
29691         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29692         except include of <misc/sys/syslog.h>.
29693
29694 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29695
29696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29697         function returns with a NULL context exit with zero.
29698
29699 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29700
29701         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29702
29703 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29704
29705         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29706         (run_program_cmd): This.
29707         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29708         (tst_langinfo): New variable.  Use it.
29709
29710 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29711
29712         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29713         floating point opcodes.
29714
29715 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29716
29717         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29718         variable.
29719
29720         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29721
29722         * sysdeps/mach/hurd/powerpc: Remove directory.
29723         * sysdeps/mach/powerpc: Likewise.
29724
29725 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29726
29727         * scripts/check-local-headers.sh: Ignore c++ headers.
29728
29729 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29730
29731         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29732         __libc_cleanup_region_start argument.
29733
29734 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29735
29736         [BZ #14784]
29737         [BZ #14785]
29738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29739         x * y using scaling, not as x * y + z.
29740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29742         * math/libm-test.inc (fma_test): Add more tests.
29743         (fma_test_towardzero): Likewise.
29744         (fma_test_downward): Likewise.
29745         (fma_test_upward): Likewise.
29746
29747 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29748
29749         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29750
29751 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29752
29753         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29754         New variable.
29755
29756 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29757
29758         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29759
29760 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29761
29762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29763         Fix sort order.
29764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29765         Likewise.
29766
29767 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29768
29769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29770         Fix the order of the list for glibc 2.17.
29771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29772         Likewise.
29773
29774 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29775
29776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29777
29778 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29779
29780         [BZ #14610]
29781         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29782         for low part of x being zero before using __atanl (y).
29783         * math/libm-test.inc (atan2_test): Add another test.
29784
29785         * manual/install.texi (Configuring and compiling): Document
29786         general use of test-wrapper and test-wrapper-env.
29787         * INSTALL: Regenerated.
29788
29789         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29790         (__fma): Do not extract and scale down low bits on after-rounding
29791         systems when result rounded to normal precision would have normal
29792         exponent.
29793         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29794         (__fmal): Do not extract and scale down low bits on after-rounding
29795         systems when result rounded to normal precision would have normal
29796         exponent.
29797         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29798         (__fmal): Do not extract and scale down low bits on after-rounding
29799         systems when result rounded to normal precision would have normal
29800         exponent.
29801         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29802         macro.
29803         (fma_test): Add more tests.
29804         (fma_test_towardzero): Likewise.
29805         (fma_test_downward): Likewise.
29806         (fma_test_upward): Likewise.
29807
29808 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29809
29810         * sysdeps/i386/tininess.h: Renamed to ...
29811         * sysdeps/x86/tininess.h: This.
29812         * sysdeps/x86_64/tininess.h: Removed.
29813
29814 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29815
29816         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29817         input.  Use $(build-program-cmd).
29818         ($(objpfx)tst-array1-static.out): Likewise.
29819         ($(objpfx)tst-array2.out): Likewise.
29820         ($(objpfx)tst-array3.out): Likewise.
29821         ($(objpfx)tst-array4.out): Likewise.
29822         ($(objpfx)tst-array5.out): Likewise.
29823         ($(objpfx)tst-array5-static.out): Likewise.
29824
29825 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29826
29827         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29828         if defined.
29829
29830         * nss/nsswitch.h (nss_interface_function): Provide new
29831         macro for use with NSS functions.
29832         * grp/initgroups.c: Use new macro.
29833         * nss/getXXbyYY.c: Likewise.
29834         * nss/getXXbyYY_r.c: Likewise.
29835         * nss/getXXent.c: Likewise.
29836         * nss/getXXent_r.c: Likewise.
29837         * sysdeps/posix/getaddrinfo.c: Likewise.
29838
29839 2012-10-30  Andreas Jaeger  <aj@suse.de>
29840
29841         * po/ru.po: Update Russion translation from translation project.
29842
29843 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29844
29845         [BZ #14152]
29846         [BZ #14783]
29847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29848         result and shift together with sticky bit instead of replicating
29849         round-to-nearest rounding.
29850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29851         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29852         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29853         missing underflow exceptions.
29854         (fma_test_towardzero): Add more tests.
29855         (fma_test_downward): Likewise.
29856         (fma_test_upward): Likewise.
29857
29858         [BZ #14047]
29859         * sysdeps/generic/tininess.h: New file.
29860         * sysdeps/i386/tininess.h: Likewise.
29861         * sysdeps/sh/tininess.h: Likewise.
29862         * sysdeps/x86_64/tininess.h: Likewise.
29863         * stdlib/tst-strtod-underflow.c: Likewise.
29864         * stdlib/tst-tininess.c: Likewise.
29865         * stdlib/strtod_l.c: Include <tininess.h>.
29866         (round_and_return): Do not set errno for exact underflow cases.
29867         Force an underflow exception when setting errno for underflow.
29868         Determine underflow based on rounding to normal precision if
29869         TININESS_AFTER_ROUNDING.
29870         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29871         ERANGE for exact underflow cases.
29872         * stdlib/Makefile (tests): Add tst-tininess and
29873         tst-strtod-underflow.
29874         ($(objpfx)tst-tininess): Use $(link-libm).
29875         ($(objpfx)tst-strtod-underflow): Likewise.
29876
29877 2012-10-30  Andreas Jaeger  <aj@suse.de>
29878
29879         [BZ#14767]
29880         * elf/Makefile (tests): Remove conditional for have-initfini-array
29881         since this is now always required and the variable does not exist
29882         anymore.
29883         (tests-static): Likewise.
29884         (modules-names): Likewise.
29885
29886         * po/eo.po: Add Esperanto translation from translation project.
29887
29888         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29889         merged with constructor/destructor.
29890         (init_array): Likewise.
29891         * elf/tst-array2dep.c (fini_array): Likewise.
29892         (init_array): Likewise.
29893
29894 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29895
29896         * manual/message.texi: Delete @cartouche tags.
29897
29898 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29899
29900         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29901         EOPNOTSUPP.
29902         * sysdeps/mach/hurd/fsync.c: Likewise.
29903
29904         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29905         [_POSIX_REALTIME_SIGNALS]: Change condition to
29906         [_POSIX_REALTIME_SIGNALS > 0].
29907
29908 2012-10-27  Andreas Jaeger  <aj@suse.de>
29909
29910         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29911         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29913         [__WORDSIZE != 64]: Likewise.
29914
29915 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29916
29917         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29918         *  iconvdata/tst-tables.sh: Likewise.
29919
29920 2012-10-25  David S. Miller  <davem@davemloft.net>
29921
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29923         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29924         of strtoull.
29925
29926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29927         ifunc-impl-list.c
29928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29929         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29930         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29931         file.
29932
29933 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29934
29935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29936         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29937         __getdirentries.
29938
29939 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29940             Jim Blandy  <jimb@codesourcery.com>
29941
29942         * scripts/cross-test-ssh.sh: New file.
29943         * manual/install.texi (Configuring and compiling): Document use of
29944         cross-test-ssh.sh.
29945         * INSTALL: Regenerated.
29946
29947 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29948
29949         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29950         EOPNOTSUPP.
29951
29952 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29953
29954         * Makeconfig (run-program-prefix): Fix comment.
29955
29956 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29957             Jim Blandy  <jimb@codesourcery.com>
29958
29959         * Makeconfig (test-wrapper): New variable,
29960         (test-wrapper-env): Likewise.
29961         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29962         (run-built-tests): Define to yes.
29963         (run-program-prefix): Use $(test-wrapper).
29964         (built-program-cmd): Likewise.
29965         * Rules (make-test-out): Use $(test-wrapper-env) and
29966         $(host-built-program-cmd).
29967         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29968         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29969         tst-pathopt.sh.
29970         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29971         $(test-wrapper-env) to tst-rtld-load-self.sh.
29972         ($(objpfx)order2.out): Use $(test-wrapper).
29973         ($(objpfx)tst-initorder.out): Likewise.
29974         ($(objpfx)tst-initorder2.out): Likewise.
29975         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29976         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29977         (test_wrapper_env): New variable.  Use it to run ld.so.
29978         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29979         Use it to run ld.so.
29980         (test_wrapper_env): Likewise.
29981         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29982         $(test-wrapper) to run-iconv-test.sh.
29983         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29984         (ICONV): Use $test_wrapper.
29985         * posix/Makefile ($(objpfx)globtest.out): Pass
29986         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29987         globtest.sh, not $(run-program-prefix).
29988         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29989         (test_wrapper): Likewise.
29990         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29991         set together with run_via_rtld_prefix.
29992         (run_program_prefix): Define in terms of test_wrapper and
29993         run_via_rtld_prefix.
29994
29995 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29996
29997         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29998         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29999         Targets removed.
30000
30001         [BZ #14743]
30002         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30003         Declare __clock_getres, __clock_gettime, __clock_settime,
30004         __clock_nanosleep, and __clock_getcpuclockid.
30005         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30006         Remove librt_hidden_def (clock_gettime).
30007         * sysdeps/unix/clock_gettime.c: Likewise.
30008         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30009         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30010         * rt/clock_getres.c: Define __clock_getres as an alias.
30011         * sysdeps/posix/clock_getres.c: Likewise.
30012         * rt/clock_settime.c: Define __clock_settime as an alias.
30013         * sysdeps/unix/clock_settime.c: Likewise.
30014         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30015         * sysdeps/unix/clock_nanosleep.c: Likewise.
30016         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30017         * rt/clock-compat.c: New file.
30018         * rt/Makefile (librt-routines): Add clock-compat and move
30019         $(clock-routines) to ...
30020         (routines): ... here, new variable.
30021         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30022         Don't add get_clockfreq here.
30023         * rt/Versions (libc: GLIBC_2.17): New version set.
30024         Add clock_* symbols here.
30025         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30026         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30027         (GLIBC_2.17): Add clock_* symbols.
30028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30030         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30032         Likewise.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30034         Likewise.
30035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30039         * NEWS: Mention the move.
30040
30041         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30042         Use __open, __read, __close rather than their public counterparts.
30043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30044         (__get_clockfreq_via_cpuinfo): Likewise.
30045         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30046         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30047
30048         * config.h.in (HAVE_IFUNC): New #undef.
30049         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30050         was successful.
30051         * configure: Regenerated.
30052
30053 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30054
30055         * configure.in: Move READELF check to start of file.
30056         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30057         libc_cv_asm_gnu_indirect_function in the process.
30058         * configure: Regenerated.
30059
30060 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30061
30062         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30063         send the output to /dev/null.
30064         (libc_cv_cc_with_libunwind): Likewise.
30065         (libc_cv_as_noexecstack): Likewise.
30066         * configure: Regenerate.
30067
30068 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30069
30070         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30071
30072         * posix/globtest.sh (TMPDIR): Do not set.
30073         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30074         (testout): Likewise.
30075
30076 2012-10-24  Andreas Jaeger  <aj@suse.de>
30077
30078         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30079         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30080         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30081         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30082         posix_fadvise64, posix_fallocate64.
30083
30084         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30085         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30086         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30087         Likewise.
30088         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30089         Likewise.
30090         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30091
30092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30093         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30094         <bits/fcntl-linux.h>.
30095         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30096
30097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30098         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30099         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30100         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30101         [__WORDSIZE != 64]: Likewise.
30102
30103 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30104
30105         * Makeconfig (run-built-tests): New variable.
30106         * Rules [$(cross-compiling) = yes]: Change condition to
30107         [$(run-built-tests) = no].
30108         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30109         to [$(run-built-tests) = yes].
30110         * elf/Makefile [$(cross-compiling) = no]: Likewise
30111         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30112         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30113         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30114         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30115         * io/Makefile [$(cross-compiling) = no]: Likewise.
30116         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30117         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30118         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30119         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30120         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30121         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30122         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30123         * string/Makefile [$(cross-compiling) = no]: Likewise.
30124
30125         * posix/Makefile ($(objpfx)globtest.out): Pass
30126         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30127         $(rtld-installed-name).
30128         * posix/globtest.sh (elf_objpfx): Remove variable.
30129         (rtld_installed_name): Likewise.
30130         (library_path): Likewise.
30131         (run_program_prefix): New variable.  Use for running globtest
30132         binary.
30133
30134 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30135             Joseph Myers  <joseph@codesourcery.com>
30136
30137         * Makeconfig (host-built-program-cmd): New variable.
30138         * elf/Makefile (tst-stackguard1-ARGS): Use
30139         $(host-built-program-cmd).
30140         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30141         (tst-spawn-ARGS): Likewise.
30142         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30143
30144 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30145             Jim Blandy  <jimb@codesourcery.com>
30146
30147         * Makeconfig (run-via-rtld-prefix): New variable.
30148         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30149         (built-program-cmd): Likewise.
30150
30151 2012-10-22  Andreas Jaeger  <aj@suse.de>
30152
30153         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30154         __O_RSYNC if it exists, otherwise to O_SYNC.
30155
30156 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30157             Joseph Myers  <joseph@codesourcery.com>
30158
30159         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30160         /dev/null.
30161         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30162         from /dev/null
30163         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30164         /dev/null.
30165
30166 2012-10-22  Andreas Jaeger  <aj@suse.de>
30167
30168         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30169         Define always.
30170         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30171
30172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30173         bits/fcntl-linux.h.
30174
30175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30176         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30177
30178         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30179         to __O_LARGEFILE.
30180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30181         to __O_LARGEFILE.
30182
30183 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30184             Joseph Myers  <joseph@codesourcery.com>
30185
30186         * config.make.in (NM): New variable.
30187
30188 2012-10-21  Andreas Jaeger  <aj@suse.de>
30189
30190         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30191         definitions and declarations that are provided by
30192         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30193
30194 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30195
30196         [BZ #14683]
30197         * elf/Makefile (tests-static): Add tst-leaks1-static.
30198         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30199         ($(objpfx)tst-leaks1-static): New rule.
30200         ($(objpfx)tst-leaks1-static-mem): Likewise.
30201         (tst-leaks1-static-ENV): New macro.
30202         * elf/dl-open.c (dl_open_worker): Check the main application
30203         only if SHARED is defined.
30204         * elf/tst-leaks1-static.c: New file.
30205
30206 2012-10-20  Andreas Jaeger  <aj@suse.de>
30207
30208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30209         generic values for Linux.
30210         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30211         and declarations that are provided by <bits/fcntl-linux.h> and
30212         include <bits/fcntl-linux.h>.
30213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30215
30216 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30217
30218         * io/fcntl.h: Move include of <bits/types.h> to the top and
30219         include it unconditionally.
30220
30221 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30222
30223         * wcsmbs/Makefile (tests-ifunc): New variable.
30224         (tests): Add $(tests-ifunc).
30225         * wcsmbs/test-wcschr-ifunc.c: New file.
30226         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30227         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30228         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30229         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30230         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30231
30232         * string/Makefile (tests-ifunc): New variable.
30233         (tests): Add $(tests-ifunc).
30234         * string/test-memccpy.c (TEST_NAME): New macro.
30235         * string/test-memchr.c (TEST_NAME): Likewise.
30236         * string/test-memcmp.c (TEST_NAME): Likewise.
30237         * string/test-memcpy.c (TEST_NAME): Likewise.
30238         * string/test-memmem.c (TEST_NAME): Likewise.
30239         * string/test-memmove.c (TEST_NAME): Likewise.
30240         * string/test-memset.c (TEST_NAME): Likewise.
30241         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30242         * string/test-stpcpy.c (TEST_NAME): Likewise.
30243         * string/test-stpncpy.c (TEST_NAME): Likewise.
30244         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30245         * string/test-strcasestr.c (TEST_NAME): Likewise.
30246         * string/test-strcat.c (TEST_NAME): Likewise.
30247         * string/test-strchr.c (TEST_NAME): Likewise.
30248         * string/test-strcmp.c(TEST_NAME): Likewise.
30249         * string/test-strcpy.c (TEST_NAME): Likewise.
30250         * string/test-strcspn.c (TEST_NAME): Likewise.
30251         * string/test-strlen.c (TEST_NAME): Likewise.
30252         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30253         * string/test-strncmp.c (TEST_NAME): Likewise.
30254         * string/test-strncpy.c (TEST_NAME): Likewise.
30255         * string/test-strnlen.c (TEST_NAME): Likewise.
30256         * string/test-strpbrk.c (TEST_NAME): Likewise.
30257         * string/test-strrchr.c (TEST_NAME): Likewise.
30258         * string/test-strspn.c (TEST_NAME): Likewise.
30259         * string/test-strstr.c (TEST_NAME): Likewise.
30260         * string/test-bcopy-ifunc.c: New file.
30261         * string/test-bzero-ifunc.c: Likewise.
30262         * string/test-memccpy-ifunc.c: Likewise.
30263         * string/test-memchr-ifunc.c: Likewise.
30264         * string/test-memcmp-ifunc.c: Likewise.
30265         * string/test-memcpy-ifunc.c: Likewise.
30266         * string/test-memmem-ifunc.c: Likewise.
30267         * string/test-memmove-ifunc.c: Likewise.
30268         * string/test-mempcpy-ifunc.c: Likewise.
30269         * string/test-memset-ifunc.c: Likewise.
30270         * string/test-rawmemchr-ifunc.c: Likewise.
30271         * string/test-stpcpy-ifunc.c: Likewise.
30272         * string/test-stpncpy-ifunc.c: Likewise.
30273         * string/test-strcasecmp-ifunc.c: Likewise.
30274         * string/test-strcasestr-ifunc.c: Likewise.
30275         * string/test-strcat-ifunc.c: Likewise.
30276         * string/test-strchr-ifunc.c: Likewise.
30277         * string/test-strchrnul-ifunc.c: Likewise.
30278         * string/test-strcmp-ifunc.c: Likewise.
30279         * string/test-strcpy-ifunc.c: Likewise.
30280         * string/test-strcspn-ifunc.c: Likewise.
30281         * string/test-strlen-ifunc.c: Likewise.
30282         * string/test-strncasecmp-ifunc.c: Likewise.
30283         * string/test-strncat-ifunc.c: Likewise.
30284         * string/test-strncmp-ifunc.c: Likewise.
30285         * string/test-strncpy-ifunc.c: Likewise.
30286         * string/test-strnlen-ifunc.c: Likewise.
30287         * string/test-strpbrk-ifunc.c: Likewise.
30288         * string/test-strrchr-ifunc.c: Likewise.
30289         * string/test-strspn-ifunc.c: Likewise.
30290         * string/test-strstr-ifunc.c: Likewise.
30291
30292         * debug/Makefile (tests-ifunc): New variable.
30293         (tests): Add $(tests-ifunc).
30294         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30295         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30296         * debug/test-stpcpy_chk-ifunc.c: New file.
30297         * debug/test-strcpy_chk-ifunc.c: Likewise.
30298
30299 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30300
30301         [BZ #13601]
30302         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30303         header is not read in.
30304
30305 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30306
30307         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30308         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30309         directly.  Pass built executable to script as
30310         $(built-program-cmd).
30311         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30312         $testprogram without using LD_LIBRARY_PATH and $ldso.
30313
30314         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30315         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30316         $(rtld-installed-name).
30317         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30318         (rtld_installed_name): Likewise.
30319         (library_path): Likewise.
30320         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30321         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30322         $(run-program-prefix) to tst-tables.sh.
30323         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30324         it to run tst-table-from and tst-table-to.
30325         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30326         Pass it to tst-table.sh.
30327         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30328         $(run-program-prefix) to tst-gettext.sh.
30329         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30330         tst-translit.sh.
30331         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30332         tst-gettext2.sh.
30333         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30334         to run tst-gettext.
30335         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30336         to run tst-gettext2.
30337         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30338         to run tst-translit.
30339         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30340         $(run-program-prefix) to tst-mtrace.sh.
30341         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30342         to run tst-mtrace.
30343         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30344         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30345         $(rtld-installed-name).
30346         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30347         (rtld_installed_name): Likewise.
30348         (run_program_prefix): New variable.  Use it to run wordexp-test.
30349
30350         * Makeconfig (ARCH): Remove all definitions.
30351         (machine): Likewise.
30352         [ARCH]: Remove conditional code.
30353         [!objdir]: Give error.
30354         [!objdir] (objpfx): Remove.
30355         [!objdir] (common-objpfx): Likewise.
30356         [!objdir] (common-objdir): Likewise.
30357         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30358         AC_CONFIG_FILES call.
30359         * configure: Regenerated.
30360
30361         [BZ #13888]
30362         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30363         or TMPDIR.
30364         (testout): Likewise.
30365
30366         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30367         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30368         $(rtld-installed-name).
30369         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30370         (rtld_installed_name): Likwise.
30371         (runit): Remove function.
30372         (run_getconf): New variable,  Use it for running getconf binary.
30373
30374 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30375
30376         [BZ #14716]
30377         * string/test-memmem.c (check_result): New function.
30378         (do_one_test): Use it.
30379         (check1): New function.
30380         (test_main): Use it.
30381
30382 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30383
30384         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30385
30386 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30387
30388         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30389         (_G_LSEEK64): Likewise.
30390         (_G_MMAP64): Likewise.
30391         (_G_FSTAT64): Likewise.
30392         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30393         (_G_LSEEK64): Likewise.
30394         (_G_MMAP64): Likewise.
30395         (_G_FSTAT64): Likewise.
30396         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30397         unconditional.  Call __mmap64 directly.
30398         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30399         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30400         __lseek64 directly.
30401         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30402         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30403         __mmap64 directly.
30404         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30405         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30406         __lseek64 directly.
30407         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30408         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30409         __lseek64 directly.
30410         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30411         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30412         __lseek64 directly.
30413         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30414         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30415         __fxstat64 directly.
30416         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30417         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30418         unconditional.
30419         (freopen64) [!_G_OPEN64]: Remove conditional code.
30420         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30421         unconditional.
30422         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30423         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30424         unconditional.
30425         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30426         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30427         unconditional.
30428         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30429         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30430         unconditional.
30431         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30432         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30433         unconditional.
30434         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30435         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30436         unconditional.
30437         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30438         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30439         unconditional.
30440         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30441
30442 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30443
30444         [BZ #12140]
30445         * manual/memory.texi (Malloc Tunable Parameters): Add note
30446         about free list pointers overwriting some perturb bytes.
30447         Wording suggested by Roland McGrath.
30448
30449 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30450
30451         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30452         (lgamma_test): Likewise.
30453         (tgamma_test): Likewise.
30454
30455 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30456
30457         [BZ #14700]
30458         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30459         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30460
30461 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30462
30463         * NEWS: Mention BZ #14716.
30464         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30465         when removing AVAILABLE1_USES_J macro.
30466
30467 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30468
30469         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30470         (__bswap_64): __uint64_t for unsigned 64-bit int.
30471
30472 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30473
30474         * include/string.h (memmem): Declare libc hidden alias.
30475         * string/memmem.c (memmem): Define libc hidden alias.
30476         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30477         __read, __close instead of open, read, close.
30478
30479 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30480
30481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30482         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30483         global and hidden.
30484         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30485         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30486         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30487         Likewise.
30488         (__rawmemchr_sse2): Likewise.
30489         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30490         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30491         (__strchr_sse2): Likewise.
30492         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30493         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30494         (__strcasecmp_sse2): Likewise.
30495         (__strncasecmp_sse2): Likewise.
30496         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30497         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30498         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30499         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30500         (__strrchr_sse2): Likewise.
30501         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30502         ifunc-impl-list.c.
30503         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30504         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30505         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30506         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30507         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30508         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30509         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30510         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30511         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30512         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30513         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30514         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30515         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30516         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30517         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30518         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30519         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30520         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30521         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30522         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30523         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30524         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30525         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30526         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30527         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30528         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30529         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30530         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30531         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30532         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30533
30534         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30535         global and hidden.
30536         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30537         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30538         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30539         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30540         Likewise.
30541         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30542         Likewise.
30543         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30544         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30545         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30546         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30547         ifunc-impl-list.c.
30548         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30549         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30550         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30551         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30552         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30553         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30554         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30555         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30556         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30557         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30558         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30559         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30560         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30561         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30562         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30563         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30564         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30565         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30566         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30567         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30568         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30569         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30570         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30571         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30572         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30573         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30574         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30575         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30576         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30577         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30578         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30579         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30580         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30581         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30583         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30584         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30585         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30586         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30587         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30588         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30589
30590         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30591         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30592         * include/ifunc-impl-list.h: New file.
30593         * misc/ifunc-impl-list.c: Likewise.
30594         * misc/Makefile (routines): Add ifunc-impl-list.
30595         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30596         * string/test-string.h: Include <ifunc-impl-list.h>.
30597         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30598         TEST_NAME]: New variables.
30599         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30600         are defined.
30601         (test_init): Call __libc_ifunc_impl_list to initialize
30602         func_list if TEST_IFUNC and TEST_NAME are defined.
30603
30604         * string/Makefile (strop-tests): Add bcopy and bzero.
30605         * string/test-bcopy.c: New file.
30606         * string/test-bzero.c: Likewise.
30607         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30608         defined.
30609         * string/test-memset.c: Support bzero test if TEST_BZERO is
30610         defined.
30611         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30612         __libc_memmove.
30613         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30614         __libc_memset.
30615         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30616         of memset.
30617
30618 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30619
30620         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30621         * configure: Regenerated.
30622
30623         * Makeconfig (+link-static-before-libc): Don't include
30624         $(link-static-libc).
30625
30626         * libio/libio.h (_IO_pos_t): Remove.
30627
30628 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30629
30630         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30631         McGrath.
30632
30633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30634
30635         * crypt/crypt-entry.c: Include fips-private.h.
30636         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30637         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30638         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30639         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30640
30641 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30642
30643         * crypt/crypt-private.h: Include stdbool.h.
30644         (_ufc_setup_salt_r): Return bool.
30645         * crypt/crypt-entry.c: Include errno.h.
30646         (__crypt_r): Return NULL with EINVAL for bad salt.
30647         * crypt/crypt_util.c (bad_for_salt): New.
30648         (_ufc_setup_salt_r): Check that salt is long enough and within
30649         the specified alphabet.
30650         * crypt/badsalttest.c: New file.
30651         * crypt/Makefile (tests): Add it.
30652         ($(objpfx)badsalttest): New.
30653
30654 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30655
30656         * NEWS: Add entry for BZ #14602.
30657
30658 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30659
30660         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30661         type-generic.
30662         * math/libm-test.inc: Update comment listing what functions and
30663         macros are tested.
30664         (isgreater_test): New function.
30665         (isgreaterequal_test): Likewise.
30666         (isless_test): Likewise.
30667         (islessequal_test): Likewise.
30668         (islessgreater_test): Likewise.
30669         (isunordered_test): Likewise.
30670         (main): Call the new functions.
30671
30672 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30673
30674         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30675         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30676         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30677         * sysdeps/i386/configure: Regenerated.
30678         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30679         * sysdeps/mach/configure: Regenerated.
30680         * sysdeps/mach/hurd/configure: Regenerated.
30681         * sysdeps/powerpc/configure: Regenerated.
30682         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30683         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30684         * sysdeps/s390/s390-32/configure: Regenerated.
30685         * sysdeps/s390/s390-64/configure: Regenerated.
30686         * sysdeps/sh/configure: Regenerated.
30687         * sysdeps/sparc/configure: Regenerated.
30688         * sysdeps/unix/sysv/linux/configure: Regenerated.
30689         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30690         * sysdeps/x86_64/configure: Regenerated.
30691
30692         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30693         defined.  Don't check if MAP is NULL.
30694
30695 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30696
30697         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30698         (_G_stat64): Likewise.
30699         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30700         (_G_stat64): Likewise.
30701         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30702         instead of struct _G_stat64.
30703         * libio/fileops.c (mmap_remap_check): Likewise.
30704         (decide_maybe_mmap): Likewise.
30705         (_IO_new_file_seekoff): Likewise.
30706         (_IO_file_stat): Likewise.
30707         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30708         _G_off64_t.
30709         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30710         instead of struct _G_stat64.
30711         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30712
30713 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30714
30715         [BZ #14602]
30716         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30717         Replace with ...
30718         (CHECK_EOL): New macro.
30719         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30720         CHECK_EOL.
30721         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30722         Replace with CHECK_EOL.
30723         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30724         Replace with CHECK_EOL.
30725
30726 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30727
30728         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30729         type-generic.
30730         * math/libm-test.inc: Update comment listing what functions and
30731         macros are tested.
30732         (finite_test): New function.
30733         (isinf_test): Likewise.
30734         (isnan_test): Likewise.
30735         (fpclassify_test): Test subnormal input.
30736         (isfinite_test): Likewise.
30737         (isnormal_test): Likewise.
30738         (main): Call the new functions.
30739
30740 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30741
30742         [BZ #14660]
30743         * Makerules (%.dynsym): Force C locale when running
30744         $(OBJDUMP) --dynamic-syms.
30745
30746 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30747
30748         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30749         <stdint.h>.
30750
30751 2012-10-06  David S. Miller  <davem@davemloft.net>
30752
30753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30754         upper 32-bits of the length value in %o2 since we use branch-on-register
30755         tests which consider the entire 64-bit register.
30756
30757 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30758
30759         * string/test-strstr.c (check2): Add a test for page boundary.
30760
30761 2012-10-05  David S. Miller  <davem@davemloft.net>
30762
30763         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30764         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30765         file.
30766         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30767         sysdep_routines.
30768         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30769         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30770         and bzero when HWCAP_SPARC_CRYPTO is present.
30771
30772 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30773
30774         [BZ #14602]
30775         * string/test-strstr.c (check2): New function.
30776         (test_main): Call check2.
30777
30778         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30779         and bug-strchr1.
30780         * string/bug-strcasestr1.c (do_test): Moved to ...
30781         * string/test-strcasestr.c (check1): Here.  New function.
30782         (do_one_test): Break out result checking code into ...
30783         (check_result): This.  New function.
30784         (do_one_test): Call check_result.
30785         (test_main): Call check1.
30786         * string/bug-strchr1.c (do_test): Moved to ...
30787         * string/test-strchr.c (check1): Here.  New function.
30788         (do_one_test): Break out result checking code into ...
30789         (check_result): This.  New function.
30790         (do_one_test): Call check_result.
30791         (test_main): Call check1.
30792         * string/bug-strstr1.c (main): Moved to ...
30793         * string/test-strstr.c (check1): Here.  New function.
30794         (do_one_test): Break out result checking code into ...
30795         (check_result): This.  New function.
30796         (do_one_test): Call check_result.
30797         (test_main): Call check1.
30798         * string/bug-strcasestr1.c: Removed.
30799         * string/bug-strchr1.c: Likewise.
30800         * string/bug-strstr1.c: Likewise.
30801
30802         * elf/Makefile (dl-routines): Add hwcaps.
30803         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30804         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30805         (_dl_important_hwcaps): Moved to ...
30806         * elf/dl-hwcaps.c: Here.  New file.
30807         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30808
30809         [BZ #14557]
30810         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30811         if IS_IN_rtld isn't defined.
30812
30813         * elf/dl-support.c (_dl_sysinfo_map): New.
30814         Include "get-dynamic-info.h" and "setup-vdso.h".
30815         (_dl_non_dynamic_init): Call setup_vdso.
30816         * elf/dynamic-link.h: Don't include <assert.h>.
30817         (elf_get_dynamic_info): Moved to ...
30818         * elf/get-dynamic-info.h: Here.  New file.
30819         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30820         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30821         * elf/setup-vdso.h: Here.  New file.
30822         * elf/rtld.c: Include "setup-vdso.h".
30823         (dl_main): Call setup_vdso.
30824
30825 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30826
30827         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30828         creal in comment listing functions tested.  List finite, isinf,
30829         isnan, isless, islessequal, isgreater, isgreaterequal,
30830         islessgreater, isunordered, lgamma_r and pow10 as functions and
30831         macros not tested.  Mention which functions not tested are aliases
30832         for other functions.  Fix typo.  Note that signs of NaNs are not
30833         tested.
30834
30835         * scripts/config.guess: Update from config.git.
30836         * scripts/config.sub: Likewise.
30837
30838 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30839
30840         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30841         * misc/madvise.c (madvise): Renamed to __madvise.
30842         Make madvise a weak alias.
30843         * include/sys/mman.h: Declare __madvise.
30844         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30845         * sysdeps/unix/syscalls.list
30846         (madvise): Make __madvise the strong name, and madvise a weak alias.
30847         * sysdeps/unix/sysv/linux/syscalls.list
30848         (madvise, mmap): Remove redundant entries.
30849         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30850         * malloc/malloc.c (mtrim): Likewise.
30851         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30852
30853 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30854
30855         * sysdeps/mach/hurd/dl-cache.c: File removed.
30856         * config.h.in (USE_LDCONFIG): New #undef.
30857         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30858         * configure: Regenerated.
30859         * elf/Makefile (dl-routines): Add dl-cache only under
30860         [$(use-ldconfig) = yes].
30861         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30862         cache on [USE_LDCONFIG].
30863         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30864         [USE_LDCONFIG].
30865         * elf/rtld.c (dl_main): Likewise.
30866
30867 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30868
30869         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30870         _SC_LEVEL4_CACHE_LINESIZE.
30871
30872 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30873
30874         * sysdeps/unix/bsd/confstr.h: File removed.
30875
30876 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30877
30878         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30879         sys/sdt-config.h.
30880
30881 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30882
30883         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30884         Make 'mapoff' field ElfW(Off) rather than off_t.
30885
30886 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30887
30888         * nscd/Makefile: Remove nscd-cflags and all its users.
30889         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30890         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30891
30892         [BZ #10631]
30893         * malloc.c (malloc_printerr): Clarify error message.
30894
30895 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30896
30897         [BZ #14648]
30898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30899         Set bit_FMA_Usable if FMA is supported.
30900         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30901         macro.
30902         (bit_FMA4_Usable): Updated.
30903         (index_FMA_Usable): New macro.
30904         (CPUID_FMA): Likewise
30905         (HAS_FMA): Defined with bit_FMA_Usable.
30906
30907 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30908
30909         * bits/types.h (__swblk_t): Type removed.
30910         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30911         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30912         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30913         (__SWBLK_T_TYPE): Likewise.
30914         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30915         (__SWBLK_T_TYPE): Likewise.
30916         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30917         (__SWBLK_T_TYPE): Likewise.
30918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30919         (__SWBLK_T_TYPE): Likewise.
30920
30921 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30922             Honza Horak <hhorak@redhat.com>
30923
30924         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30925         (xdr_mapname): Use YPMAXMAP as maxsize.
30926         (xdr_peername): Use YPMAXPEER as maxsize.
30927         (xdr_keydat): Use YPAXRECORD as maxsize.
30928         (xdr_valdat): Use YPMAXRECORD as maxsize.
30929
30930 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30931
30932         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30933
30934         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30935         * csu/init-first.c: ... here.
30936         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30937         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30938         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30939         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30940         * sysdeps/i386/init-first.c: File removed.
30941         * sysdeps/sh/init-first.c: File removed.
30942
30943 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30944
30945         [BZ #14645]
30946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30947         if x * y might underflow to zero and z is zero.
30948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30950         * math/libm-test.inc (min_subnorm_value): New variable.
30951         (fma_test): Add more tests.
30952         (fma_test_towardzero): Likewise.
30953         (fma_test_downward): Likewise
30954         (fma_test_upward): Likewise.
30955         (initialize): Set min_subnorm_value.
30956
30957 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30958
30959         [BZ #14638]
30960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30961         0 + 0.
30962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30963         mode for addition resulting in exact zero.
30964         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30966         exact 0 + 0.
30967         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30969         * math/libm-test.inc (fma_test): Add more tests.
30970         (fma_test_towardzero): New function.
30971         (fma_test_downward): Likewise.
30972         (fma_test_upward): Likewise.
30973         (main): Call the new functions.
30974
30975 2012-09-28  David S. Miller  <davem@davemloft.net>
30976
30977         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30978
30979 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30980
30981         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30982         instead of SIGALRM.
30983
30984         * sysdeps/gnu/_G_config.h: Moved to ...
30985         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30986         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30987         * sysdeps/generic/_G_config.h: ... here.
30988
30989         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30990
30991         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30992
30993         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30994         Conditionalize target on [libnss_test1.so-version].
30995
30996         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30997
30998         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30999         (elfobjdir): Move out of conditionals.
31000
31001         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31002         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31003         (__nss_lookup_function): Conditionalize label remove_from_tree on
31004         [!DO_STATIC_NSS || SHARED], matching its only use.
31005
31006 2012-09-28  David S. Miller  <davem@davemloft.net>
31007
31008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31009         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31010         file.
31011         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31012         sysdep_routines.
31013         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31014         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31015         when HWCAP_SPARC_CRYPTO is present.
31016
31017 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31018
31019         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31020
31021 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31022
31023         [BZ #6530]
31024         * stdio-common/vfprintf.c (process_string_arg): Revert
31025         2000-07-22 change.
31026
31027 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31028
31029         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31030         for testcase.
31031         * stdio-common/tst-sprintf.c: Include <locale.h>
31032         (main): Test sprintf's handling of incomplete multibyte
31033         characters.
31034
31035 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31036
31037         * elf/dl-runtime.c (VERSYMIDX): Removed.
31038         * elf/dl-version.c (VERSYMIDX): Likewise.
31039         * elf/do-rel.h (VERSYMIDX): Likewise.
31040         (VALIDX): Likewise.
31041         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31042         * elf/rtld.c (VALIDX): Likewise.
31043         (ADDRIDX): Likewise.
31044         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31045         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31046         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31047         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31048         (VALIDX): Likewise.
31049         (ADDRIDX): Likewise.
31050
31051 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31052
31053         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31054
31055 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31056
31057         [BZ #11438]
31058         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31059         to global scope.
31060         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31061         addresses are in the same scope as 192.0.2/24.
31062         * posix/gai.conf: Document new scope table defaults.
31063
31064 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31065
31066         [BZ #5298]
31067         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31068         for ftell.  Compute offsets from write pointers instead.
31069         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31070
31071 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072
31073         [BZ #14543]
31074         * libio/Makefile (tests): New test case tst-fseek.
31075         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31076         combination works in wide mode.
31077         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31078         state when the external buffer state changes.
31079
31080 2012-09-27  David S. Miller  <davem@davemloft.net>
31081
31082         [BZ #14376]
31083         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31084         pass reloc->r_addend in as the 'high' argument to
31085         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31086
31087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31088
31089 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31090
31091         * rt/tst-aio2.c: Include <pthread.h>.
31092         * rt/tst-aio3.c: Likewise.
31093
31094 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31095
31096         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31097
31098 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31099
31100         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31101         contents on [SHARED].
31102
31103 2012-09-26  Marek Polacek  <polacek@redhat.com>
31104
31105         [BZ #14530]
31106         [BZ #13741]
31107         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31108         for C++ and GCC <4.3 as well as for non GCC compilers.
31109
31110 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31111
31112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31113
31114 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31115
31116         * Makefile.in (all, install): Declare with .PHONY.
31117         Reported by Michael Hope <michael.hope@linaro.org>.
31118
31119 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31120
31121         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31122         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31123         system header.
31124         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31125         Likewise.
31126         (sydep_routines): Add the new and the internal functions.
31127         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31128         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31130         (GLIBC_2.17): Add the new function.
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31132         (GLIBC_2.17): Likewise.
31133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31134         (GLIBC_2.17): Likewise.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31136         (GLIBC_2.17): Likewise.
31137         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31138
31139 2012-09-25  Alan Modra  <amodra@gmail.com>
31140
31141         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31142         Add release barrier before setting once_control to say
31143         initialisation is done.  Add hints on lwarx.  Use macro in
31144         place of isync.
31145         (clear_once_control): Add release barrier.
31146
31147 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31148
31149         [BZ #13629]
31150         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31151         specially.
31152         * math/s_clog10.c (__clog10): Likewise.
31153         * math/s_clog10f.c (__clog10f): Likewise.
31154         * math/s_clog10l.c (__clog10l): Likewise.
31155         * math/s_clogf.c (__clogf): Likewise.
31156         * math/s_clogl.c (__clogl): Likewise.
31157         * math/Makefile (libm-calls): Add x2y2m1.
31158         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31159         (__x2y2m1): Likewise.
31160         (__x2y2m1l): Likewise.
31161         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31162         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31163         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31164         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31165         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31166         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31167         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31168         * sysdeps/i386/fpu/libm-test-ulps: Update.
31169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31170
31171         [BZ #14621]
31172         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31173         int as type of variable DEPTH.
31174         (glob): Use size_t instead of int as type of variables NEWCOUNT
31175         and OLD_PATHC.
31176
31177 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31178
31179         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31180         Add s_sincosf-sse2.
31181         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31182         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31183         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31184         macros for using routine as __sincosf_ia32.
31185         Use macro for function declaration and weak_alias.
31186         * sysdeps/i386/fpu/libm-test-ulps: Update.
31187
31188         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31190
31191         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31192         subnormal argument.
31193         * math/s_cexpf.c (__cexpf): Likewise.
31194         * math/s_csinf.c (__csinf): Likewise.
31195         * math/s_csinhf.c (__csinhf): Likewise.
31196         * math/s_ctanf.c (__ctanf): Likewise.
31197         * math/s_ctanhf.c (__ctanhf): Likewise.
31198         * math/s_ccosh.c (__ccoshf): Likewise.
31199         * math/s_cexp.c (__cexpl): Likewise.
31200         * math/s_csin.c (__csin): Likewise.
31201         * math/s_csinh.c (__csinh): Likewise.
31202         * math/s_ctan.c (__ctan): Likewise.
31203         * math/s_ctanh.c (ctanh): Likewise.
31204         * math/s_ccoshl.c (__ccoshl): Likewise.
31205         * math/s_cexpl.c (__cexpl): Likewise.
31206         * math/s_csinl.c (__csinl): Likewise.
31207         * math/s_csinhl.c (__csinhl): Likewise.
31208         * math/s_ctanl.c (__ctanl): Likewise.
31209         * math/s_ctanhl.c (__ctanhl): Likewise.
31210
31211 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31212
31213         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31214         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31215         (_IO_off_t): Define to __off_t, not _G_off_t.
31216         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31217         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31218         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31219         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31220         type of __dummy and __dummy2 fields.
31221         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31222         (_G_ssize_t): Likewise.
31223         (_G_off_t): Likewise.
31224         (_G_pid_t): Likewise.
31225         (_G_uid_t): Likewise.
31226         (_G_wchar_t): Likewise.
31227         (_G_wint_t): Likewise.
31228         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31229         (_G_ssize_t): Likewise.
31230         (_G_off_t): Likewise.
31231         (_G_pid_t): Likewise.
31232         (_G_uid_t): Likewise.
31233         (_G_wchar_t): Likewise.
31234         (_G_wint_t): Likewise.
31235         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31236         (_G_ssize_t): Likewise.
31237         (_G_off_t): Likewise.
31238         (_G_pid_t): Likewise.
31239         (_G_uid_t): Likewise.
31240         (_G_wchar_t): Likewise.
31241         (_G_wint_t): Likewise.
31242
31243 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31244
31245         * malloc/arena.c: Include malloc-sysdep.h.
31246         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31247         is sufficient to shrink the heap or an unmap is needed.
31248         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31249         new function check_may_shrink_heap.
31250         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31251         new function check_may_shrink_heap.
31252
31253 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31254
31255         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31256         comments.
31257
31258 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31259
31260         * catgets/test-gencat.sh: Add "set -e".
31261         * elf/tst-pathopt.sh: Likewise.
31262         * grp/tst_fgetgrent.sh: Likewise.
31263         * iconvdata/run-iconv-test.sh: Likewise.
31264         * intl/tst-gettext.sh: Likewise.
31265         * intl/tst-gettext2.sh: Likewise.
31266         * intl/tst-gettext4.sh: Likewise.
31267         * intl/tst-gettext6.sh: Likewise.
31268         * intl/tst-translit.sh: Likewise.
31269         * io/ftwtest-sh: Likewise.
31270         * libio/test-freopen.sh: Likewise.
31271         * malloc/tst-mtrace.sh: Likewise.
31272         * posix/globtest.sh: Likewise.
31273         * posix/tst-getconf.sh: Likewise.
31274         * posix/wordexp-tst.sh: Likewise.
31275         * stdio-common/tst-printf.sh: Likewise.
31276         * stdio-common/tst-unbputc.sh: Likewise.
31277         * stdlib/tst-fmtmsg.sh: Likewise.
31278         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31279         * catgets/Makefile: Do not specify -e option when running
31280         testsuite shell scripts.
31281         * elf/Makefile: Likewise.
31282         * grp/Makefile: Likewise.
31283         * iconvdata/Makefile: Likewise.
31284         * intl/Makefile: Likewise.
31285         * io/Makefile: Likewise.
31286         * libio/Makefile: Likewise.
31287         * malloc/Makefile: Likewise.
31288         * posix/Makefile: Likewise.
31289         * stdio-common/Makefile: Likewise.
31290         * stdlib/Makefile: Likewise.
31291         * sysdeps/x86_64/Makefile: Likewise.
31292
31293         * io/ftwtest-sh: Add copyright header.
31294         * posix/globtest.sh: Likewise.
31295         * posix/tst-getconf.sh: Likewise.
31296         * posix/wordexp-tst.sh: Likewise.
31297         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31298
31299 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31300
31301         [BZ #13679]
31302         * Makeconfig (+link): Defined as $(+link-static) if
31303         $(build-shared) isn't yes.
31304         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31305         isn't yes.
31306         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31307
31308         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31309
31310         [BZ #14562]
31311         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31312         new chunk size with MALLOC_ALIGN_MASK.
31313
31314 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31315
31316         [BZ #5044]
31317         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31318         <rounding-mode.h>.
31319         (__printf_fphex): Determine rounding using get_rounding_mode and
31320         round_away.
31321         * stdio-common/tst-printf-round.c (struct hex_test): New
31322         structure.
31323         (hex_tests): New variable.
31324         (test_hex_in_one_mode): New function.
31325         (do_test): Also run tests for hex float output.
31326
31327 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31328
31329         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31330         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31331         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31332         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31333         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31334         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31335         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31336         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31337
31338 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31339
31340         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31341         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31342         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31343         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31344
31345 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31346
31347         [BZ #14579]
31348         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31349         mode only.
31350         * elf/tst-rtld-load-self.sh: New test.
31351         * elf/Makefile: Run it.
31352
31353 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31354
31355         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31356         (tst-writev-ENV): Remove.
31357         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31358
31359 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31360
31361         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31362
31363 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31364
31365         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31366         unconditional.
31367         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31368         Likewise.
31369         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31370         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31371         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31372         Likewise.
31373
31374 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31375
31376         [BZ #14587]
31377         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31378         * config.make.in (have-cpp-asm-debuginfo): Removed.
31379         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31380         * configure: Regenerated.
31381
31382 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31383
31384         [BZ #5044]
31385         * stdio-common/printf_fp.c: Include <stdbool.h> and
31386         <rounding-mode.h>.
31387         (___printf_fp): Determine rounding using get_rounding_mode and
31388         round_away.
31389         * stdio-common/tst-printf-round.c: New file.
31390         * stdio-common/Makefile (tests): Add tst-printf-round.
31391         (link-libm): New variable.
31392         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31393
31394 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31395
31396         [BZ #14576]
31397         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31398         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31399         Likewise.
31400         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31401         Likewise.
31402
31403 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31404
31405         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31406         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31407         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31408         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31409
31410 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31411
31412         [BZ #14518]
31413         * include/rounding-mode.h: New file.
31414         * sysdeps/generic/get-rounding-mode.h: Likewise.
31415         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31416         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31417         (MAX_VALUE): New macro.
31418         (MIN_VALUE): Likewise.
31419         (overflow_value): New function.
31420         (underflow_value): Likewise.
31421         (round_and_return): Use overflow_value and underflow_value to
31422         determine return values in overflow and underflow cases.  Use
31423         round_away to determine rounding depending on rounding mode.
31424         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31425         determine return values in overflow and underflow cases.
31426         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31427         (struct test_results): New structure.
31428         (struct test): Use struct test_results to store expected results
31429         for all rounding modes.
31430         (TEST): Include expected results for all rounding modes.
31431         (test_in_one_mode): New function.
31432         (do_test): Use test_in_one_mode to compute and check results.
31433         Check results for all rounding modes.
31434         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31435         $(link-libm).
31436
31437 2012-12-09  Allan McRae  <allan@archlinux.org>
31438
31439         * sysdeps/i386/fpu/libm-test-ulps: Update
31440
31441 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31442
31443         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31444         (_G_int32_t): Likewise.
31445         (_G_uint16_t): Likewise.
31446         (_G_uint32_t): Likewise.
31447         (_G_HAVE_BOOL): Likewise.
31448         (_G_HAVE_ATEXIT): Likewise.
31449         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31450         (_G_HAVE_IO_FILE_OPEN): Likewise.
31451         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31452         (_G_int32_t): Likewise.
31453         (_G_uint16_t): Likewise.
31454         (_G_uint32_t): Likewise.
31455         (_G_HAVE_BOOL): Likewise.
31456         (_G_HAVE_ATEXIT): Likewise.
31457         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31458         (_G_HAVE_IO_FILE_OPEN): Likewise.
31459         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31460         (_G_int32_t): Likewise.
31461         (_G_uint16_t): Likewise.
31462         (_G_uint32_t): Likewise.
31463         (_G_HAVE_BOOL): Likewise.
31464         (_G_HAVE_ATEXIT): Likewise.
31465         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31466         (_G_HAVE_IO_FILE_OPEN): Likewise.
31467
31468 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31469
31470         * csu/libc-tls.c: Update copyright years.
31471
31472 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31473
31474         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31475         [!_G_USING_THUNKS]: Remove conditional code.
31476         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31477         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31478
31479         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31480         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31481         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31482         (_G_VTABLE_LABEL_PREFIX): Likewise.
31483         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31484         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31485         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31486         (_G_VTABLE_LABEL_PREFIX): Likewise.
31487         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31488         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31489         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31490         (_G_VTABLE_LABEL_PREFIX): Likewise.
31491         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31492
31493 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31494
31495         * libio/Makefile: Include ../Makeconfig before tests.
31496         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31497         only if $(build-shared) is yes.
31498
31499         * iconv/gconv_db.c: Update copyright years.
31500
31501 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31502
31503         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31504         unwind info if defined PIC. Fix special cases description.
31505         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31506
31507         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31508         DP_HI_MASK entry.
31509         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31510
31511 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31512
31513         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31514
31515         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31516         is NULL.
31517
31518         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31519         (LDLIBS-tst-chk4): This.
31520         (LDFLAGS-tst-chk5): Renamed to ...
31521         (LDLIBS-tst-chk5): This.
31522         (LDFLAGS-tst-chk6): Renamed to ...
31523         (LDLIBS-tst-chk6): This.
31524         (LDFLAGS-tst-lfschk4): Renamed to ...
31525         (LDLIBS-tst-lfschk4): This.
31526         (LDFLAGS-tst-lfschk5): Renamed to ...
31527         (LDLIBS-tst-lfschk5): This.
31528         (LDFLAGS-tst-lfschk6): Renamed to ...
31529         (LDLIBS-tst-lfschk6): This.
31530
31531         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31532         on $(common-objpfx)soversions.mk.
31533
31534 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31535
31536         [BZ #10014]
31537         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31538         example host name.
31539
31540 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31541
31542         * malloc/arena.c (arena_get_retry): New function that gets
31543         another arena for the caller to try its request on.
31544         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31545         current arena cannot fulfill the request.
31546         (__libc_memalign): Likewise.
31547         (__libc_memalign): Likewise.
31548         (__libc_pvalloc): Likewise.
31549         (__libc_calloc): Likewise.
31550
31551 2012-09-05  John Tobey  <john.tobey@gmail.com>
31552
31553         [BZ #13542]
31554         * manual/arith.texi (Operations on Complex): Fix description
31555         of carg branch cut.
31556
31557 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31558
31559         [BZ #10014]
31560         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31561         host name.
31562
31563         [BZ #10038]
31564         * manual/memory.texi (Memory): Make order of menu items match
31565         order of sections.
31566
31567 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31568
31569         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31570         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31571         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31572
31573 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31574
31575         * csu/libc-tls.c (static_dtv): Renamed to ...
31576         (_dl_static_dtv): This.  Make it global.
31577         (_dl_initial_dtv): Removed.
31578         (__libc_setup_tls): Updated.
31579         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31580         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31581         DL_INITIAL_DTV.
31582
31583 2012-09-06  Petr Machata  <pmachata@redhat.com>
31584
31585         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31586         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31587         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31588         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31589
31590 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31591
31592         [BZ #14545]
31593         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31594         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31595         freeing dtv[-1].
31596
31597 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31598
31599         [BZ #14544]
31600         * Makeconfig (link-static-before-libc): Replace $(+prector)
31601         with $(+prectorT).
31602         (link-static-after-libc): Replace $(+postctor) with
31603         $(+postctorT).
31604         (link-bounded): Replace $(+prector)/$(+postctor) with
31605         $(+prectorT)/$(+postctorT).
31606         (+prectorT): New macro.
31607         (+postctorT): Likewise.
31608
31609 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31610
31611         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31612         (round_str): Handle values above the maximum for IBM long double
31613         as inexact.
31614         * stdlib/tst-strtod-round.c (tests): Regenerated.
31615
31616 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31617
31618         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31619         assembler flag.
31620         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31621         zarch_nohighgprs around the zarch optimized routines.
31622         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31623         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31624         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31625         for zarch.
31626
31627 2012-09-05  David S. Miller  <davem@davemloft.net>
31628
31629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31630
31631         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31632         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31633         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31634         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31635         entries.
31636
31637 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31638
31639         * malloc/arena.c: Fold copyright years.
31640         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31641
31642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31643
31644         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31645
31646 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31647
31648         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31649
31650 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31651
31652         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31653         change internal state upon failure.
31654
31655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31656
31657         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31658         * malloc/memusage.c (mmap): Likewise.
31659         (mmap64, mremap): Likewise.  Adjust name in comment.
31660
31661 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31662
31663         * libio/fileops.c: Fix typos in comments.
31664         * libio/oldfileops.c: Likewise.
31665         * libio/wfileops.c: Likewise.
31666
31667 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31668
31669         [BZ #1349]
31670         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31671         (tst-malloc-usable-ENV): Set environment for test case.
31672         * malloc/hooks.c (malloc_check_get_size): New function to get
31673         requested size.
31674         * malloc/malloc.c (musable): Use malloc_check_get_size.
31675         * malloc/tst-malloc-usable.c: New test case.
31676
31677 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31678
31679         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31680
31681 2012-09-05  Allan McRae  <allan@archlinux.org>
31682
31683         [BZ #13966]
31684         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31685         determine header location.
31686         * configure: Regenerated.
31687
31688 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31689
31690         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31691         float format.
31692         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31693         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31694         format.
31695         (test): Regenerate.
31696
31697 2012-09-04  David S. Miller  <davem@davemloft.net>
31698
31699         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31700         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31701         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31702
31703 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31704
31705         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31706         failures.
31707
31708         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31709
31710 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31711
31712         [BZ #9914]
31713         * libio/iogetdelim.c: Include <limits.h>.
31714         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31715         + len + 1 would overflow.
31716
31717 2012-09-03  Andreas Jaeger  <aj@suse.de>
31718
31719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31720         * sysdeps/i386/fpu/libm-test-ulps: Update.
31721
31722 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31723
31724         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31725         Add s_sinf-sse2, s_conf-sse2.
31726
31727         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31728         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31729         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31730         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31731
31732         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31733         for using routine as __sinf_ia32.
31734         Use macro for function declaration and weak_alias.
31735         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31736         for using routine as __cosf_ia32.
31737         Use macro for function declaration and weak_alias.
31738
31739         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31740         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31741
31742         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31743         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31745
31746         * math/libm-test.inc (cos_test): Add more test cases.
31747         (sin_test): Likewise.
31748         (sincos_test): Likewise.
31749
31750 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31751
31752         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31753         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31754         hidden.
31755         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31756
31757 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31758
31759         [BZ #14538]
31760         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31761         first element of the GOT.
31762         (elf_machine_load_address): Return the difference between
31763         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31764
31765 2012-09-01  Allan McRae  <allan@archlinux.org>
31766
31767         [BZ #13412]
31768         * configure.in (AWK): Require gawk version 3.0 or later.
31769         * configure: Regenerated.
31770
31771 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31772
31773         * sysdeps/unix/sysv/linux/kernel-features.h
31774         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31775         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31776         [__NR_clock_getres]: Make code unconditional.
31777         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31778         (clock_getcpuclockid): Remove code left unreachable by removal of
31779         conditionals.
31780         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31781         code unconditional.
31782         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31783         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31784         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31785         Make code unconditional.
31786         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31787         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31788         * sysdeps/unix/sysv/linux/clock_settime.c
31789         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31790         conditional code.
31791         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31792         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31793
31794 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31795
31796         [BZ #14476]
31797         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31798         scripts/test-installation.pl.
31799
31800         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31801         and $ld_so_version if it is set.
31802
31803 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31804
31805         [BZ #14516]
31806         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31807         failure if reading from procfs failed.
31808         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31809
31810 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31811
31812         * sysdeps/unix/sysv/linux/kernel-features.h
31813         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31814         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31815         Remove conditional code.
31816         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31817         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31818         Remove conditional code.
31819         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31820         * sysdeps/unix/sysv/linux/i386/fxstat.c
31821         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31822         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31823         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31824         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31825         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31826         * sysdeps/unix/sysv/linux/i386/lxstat.c
31827         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31828         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31829         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31830         Remove conditional code.
31831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31832         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31833         Remove conditional code.
31834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31835         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31836         <kernel-features.h>.
31837         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31838         Remove.
31839         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31840         Remove conditional code.
31841         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31842         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31843         Remove conditional.
31844
31845 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31846
31847         [BZ #5400]
31848         * NEWS: Add fixed bug number.
31849
31850 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31851
31852         [BZ #14519]
31853         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31854         underflowing exponent in case of negative sign.
31855         * stdlib/tst-strtod-round-data: Add more tests.
31856         * stdlib/tst-strtod-round.c (tests): Regenerated.
31857
31858         [BZ #3479]
31859         * stdlib/strtod_l.c (NDIG): Remove.
31860         (HEXNDIG): Likewise.
31861         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31862         smallest representable value.
31863         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31864         lie within an exact representation of 1/2 ulp of the result.
31865         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31866         unconditionally.
31867         (TENS_P9_IDX): Define unconditionally.
31868         (TENS_P9_SIZE): Likewise.
31869         (TENS_P10_IDX): Likewise.
31870         (TENS_P10_SIZE): Likewise.
31871         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31872         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31873         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31874         entries for 10^2^13 and 10^2^14.
31875         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31876         (TENS_P13_IDX): Define.
31877         (TENS_P13_SIZE): Likewise.
31878         (TENS_P14_IDX): Likewise.
31879         (TENS_P14_SIZE): Likewise.
31880         (_fpioconst_pow10): Change array size to
31881         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31882         unconditional.
31883         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31884         1024]: Add entries for 10^2^13 and 10^2^14.
31885         [LAST_POW10 > _LAST_POW10]: Remove #error.
31886         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31887         (_fpioconst_pow10): Change array size to
31888         FPIOCONST_POW10_ARRAY_SIZE.
31889         * stdlib/gen-fpioconst.c: New file.
31890         * stdlib/gen-tst-strtod-round.c: Likewise.
31891         * stdlib/tst-strtod-round-data: Likewise.
31892         * stdlib/tst-strtod-round.c: Likewise.
31893         * stdlib/Makefile (tests): Add tst-strtod-round.
31894
31895         [BZ #14459]
31896         * stdlib/strtod_l.c: Include <stdint.h>.
31897         (NDEBUG): Do not define.
31898         (round_and_return): Change EXPONENT parameter to type intmax_t.
31899         Rearrange calculations to avoid internal overflow possibilities.
31900         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31901         Rearrange calculations to avoid internal overflow possibilities.
31902         Assert that number fits inside MPNSIZE limbs.
31903         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31904         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31905         calculations and add assertions to avoid internal overflow
31906         possibilities.  Add casts to avoid signed/unsigned operations.
31907         * stdlib/tst-strtod-overflow.c: New file.
31908         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31909
31910 2012-08-25  Marek Polacek  <polacek@redhat.com>
31911
31912         * time/time.h: Fix some typos in comments.
31913
31914 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31915
31916         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31917         * posix/tst-rfc3484-2.c: Likewise.
31918         * posix/tst-rfc3484-3.c: Likewise.
31919
31920 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31921
31922         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31923         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31924
31925 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31926
31927         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31928         #include of fxstatat64.c.
31929
31930 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31931
31932         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31933         * shadow/getspent_r.c: Likewise.
31934         * shadow/getspnam.c: Likewise.
31935         * shadow/getspnam_r.c: Likewise.
31936         * gshadow/getsgent.c: Likewise.
31937         * gshadow/getsgent_r.c: Likewise.
31938         * gshadow/getsgnam.c: Likewise.
31939         * gshadow/getsgnam_r.c: Likewise.
31940         * inet/getnetbyad.c: Likewise.
31941         * inet/getnetbyad_r.c: Likewise.
31942         * inet/getnetbynm.c: Likewise.
31943         * inet/getnetbynm_r.c: Likewise.
31944         * inet/getnetent.c: Likewise.
31945         * inet/getnetent_r.c: Likewise.
31946         * inet/getproto.c: Likewise.
31947         * inet/getproto_r.c: Likewise.
31948         * inet/getprtent.c: Likewise.
31949         * inet/getprtent_r.c: Likewise.
31950         * inet/getprtname.c: Likewise.
31951         * inet/getprtname_r.c: Likewise.
31952         * inet/getrpcbyname.c: Likewise.
31953         * inet/getrpcbyname_r.c: Likewise.
31954         * inet/getrpcbynumber.c: Likewise.
31955         * inet/getrpcbynumber_r.c: Likewise.
31956         * inet/getrpcent.c: Likewise.
31957         * inet/getrpcent_r.c: Likewise.
31958         * inet/getaliasent.c: Likewise.
31959         * inet/getaliasent_r.c: Likewise.
31960         * inet/getaliasname.c: Likewise.
31961         * inet/getaliasname_r.c: Likewise.
31962         * nscd/getgrgid_r.c: Likewise.
31963         * nscd/getgrnam_r.c: Likewise.
31964         * nscd/gethstbyad_r.c: Likewise.
31965         * nscd/gethstbynm3_r.c: Likewise.
31966         * nscd/getpwnam_r.c: Likewise.
31967         * nscd/getpwuid_r.c: Likewise.
31968         * nscd/getsrvbynm_r.c: Likewise.
31969         * nscd/getsrvbypt_r.c: Likewise.
31970         * nscd/gai.c: Likewise.
31971
31972         * configure.in (build_nscd): New substituted variable, set
31973         by --disable-build-nscd and defaults to $use_nscd.
31974         * configure: Regenerated.
31975         * config.make.in (build-nscd): New substituted variable.
31976         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31977         Change conditional to require [$(build-nscd) = yes] as well.
31978         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31979
31980         [BZ# 13696]
31981         * configure.in (use_nscd): New substituted variable, set by
31982         --disable-nscd.  If enabled, define USE_NSCD.
31983         * configure: Regenerated.
31984         * config.h.in: Add USE_NSCD.
31985         * config.make.in (use-nscd): New substituted variable.
31986         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31987         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31988         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31989         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31990         (CFLAGS-getgrnam_r.c): Likewise.
31991         (CFLAGS-initgroups.c): Likewise.
31992         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31993         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31994         Variables removed.
31995         * inet/getnetgrent_r.c
31996         (nscd_setnetgrent): New function, broken out of ...
31997         (setnetgrent): ... here.  Call it.
31998         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31999         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32000         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32001         * nscd/Makefile (routines, aux): Move definitions after include of
32002         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32003         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32004         Conditionalize on [USE_NSCD].
32005         (is_nscd, nscd_init_cb): Likewise.
32006         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32007         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32008         * nss/nss_db/db-init.c: Likewise.
32009         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32010         [USE_NSCD].
32011         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32012         (make_request): Use it.
32013         (cache_valid_p): New function.
32014         (__check_pf): Use it.
32015         * NEWS: Add item for --disable-nscd.
32016
32017 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32018
32019         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32020         to support sed >= 4.2.1-20-ga9bf076.
32021         * configure: Regenerated.
32022
32023 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32024
32025         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32026         Conditionalize whole body on [IREL].
32027
32028 2012-08-22  Jeff Law <law@redhat.com>
32029
32030         [BZ #14505]
32031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32032         if the family is PF_UNSPEC.
32033
32034 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32035
32036         * Makerules (lib-version): Rename from V.
32037         (install-lib-nosubdir): Change V to lib-version.
32038
32039 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32040
32041         [BZ #14252]
32042         * powerpc32/power6/wcschr.c: New file.
32043         * powerpc32/power6/wcscpy.c: New file.
32044         * powerpc32/power6/wcsrchr.c: New file.
32045         * powerpc64/power6/wcschr.c: New file.
32046         * powerpc64/power6/wcscpy.c: New file.
32047         * powerpc64/power6/wcsrchr.c: New file.
32048
32049 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32050
32051         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32052         (two_way_short_needle): Use it.
32053         * string/strstr.c (AVAILABLE1_USES_J): Define.
32054         * string/strcasestr.c: Likewise.
32055
32056         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32057         array references.
32058         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32059
32060         [BZ #11607]
32061         * NEWS: Add an entry.
32062         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32063         define their defaults.
32064         (two_way_short_needle): Detect end-of-string on-the-fly.
32065         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32066         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32067         * string/bug-strcasestr1.c: New test.
32068         * string/Makefile: Run it.
32069
32070 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32071
32072         [BZ #11607]
32073         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32074         the first character.
32075
32076 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32077
32078         * csu/elf-init.c (__libc_csu_irel): Function removed.
32079         * csu/libc-start.c (apply_irel): New function.
32080         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32081
32082 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32083
32084         * sysdeps/unix/sysv/linux/kernel-features.h
32085         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32086         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32087         <kernel-features.h>.
32088         [__NR_fadvise64_64]: Make code unconditional.
32089         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32090         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32091         !__NR_fadvise64_64)]: Likewise.
32092         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32093         !__NR_fadvise64_64))]: Likewise.
32094         [__NR_fadvise64]: Make code unconditional.
32095         [!__NR_fadvise64]: Remove conditional code.
32096         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32097         <kernel-features.h>.
32098         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32099         unconditional.
32100         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32101         conditional code.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32103         not include <kernel-features.h>.
32104         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32105         unconditional.
32106         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32107         conditional code.
32108         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32109         include <kernel-features.h>.
32110         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32111         unconditional.
32112         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32113         conditional code.
32114
32115 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32116
32117         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32118         slight instruction rearrangements per scrollpipe analysis.
32119         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32120
32121 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32122
32123         * manual/syslog.texi (syslog; vsyslog, closelog):
32124         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32125         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32126
32127         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32128         DSOCAPS to match condition on defining it.
32129
32130 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32131
32132         * sysdeps/unix/sysv/linux/kernel-features.h
32133         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32135         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32136         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32138         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32139         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32141         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32142         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32143
32144         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32145         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32146
32147         * sysdeps/unix/sysv/linux/kernel-features.h
32148         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32149         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32150         unconditional.
32151         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32152         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32153         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32154         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32155         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32156         Make code unconditional.
32157         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32158         (__mmap64) [!__NR_mmap2]: Likewise.
32159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32160         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32161         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32162         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32163         [__NR_mmap2]: Make code unconditional.
32164         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32165         (__mmap64) [!__NR_mmap2]: Likewise.
32166
32167 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32168
32169         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32170
32171 2012-08-18  Andreas Jaeger  <aj@suse.de>
32172
32173         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32174
32175 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32176
32177         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32178         * include/unistd.h (__have_sock_cloexec): Likewise.
32179         (__have_pipe2): Likewise.
32180         (__have_dup3): Likewise.
32181
32182 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32183
32184         [BZ #9685]
32185         * include/unistd.h (__have_pipe2): Change define into an extern int.
32186         (__have_dup3): Likewise.
32187         * socket/have_sock_cloexec.c: Include fcntl.h.
32188         (__have_pipe2): New variable.
32189         (__have_dup3): Likewise.
32190
32191 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32192
32193         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32194
32195 2012-08-17  Marek Polacek  <polacek@redhat.com>
32196
32197         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32198         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32199
32200 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32201
32202         * configure.in: Add AC_SUBST for sysheaders.
32203         * configure: Regenerated.
32204         * config.make.in (sysheaders): New substituted variable.
32205
32206         * sysdeps/unix/mkfifo.c: Moved ...
32207         * sysdeps/posix/mkfifo.c: ... here.
32208         * sysdeps/unix/mkfifoat.c: Moved ...
32209         * sysdeps/posix/mkfifoat.c: ... here.
32210
32211         * sysdeps/unix/utime.c: Moved ...
32212         * sysdeps/posix/utime.c: ... here.
32213
32214         * sysdeps/unix/time.c: Moved ...
32215         * sysdeps/posix/time.c: ... here.
32216         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32217         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32218
32219         * sysdeps/unix/nice.c: Moved ...
32220         * sysdeps/posix/nice.c: ... here.
32221
32222         * sysdeps/unix/alarm.c: Moved ...
32223         * sysdeps/posix/alarm.c: ... here.
32224
32225         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32226
32227 2012-08-17  Jeff Law <law@redhat.com>
32228
32229         * intl/Makefile (codeset_mo): New variable.
32230         ($(codeset_mo)): New target.
32231         (tst-codeset.out): Depend on that.  Remove explicit rule.
32232         (tst-gettext3.out, tst-gettext5.out): Likewise.
32233         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32234         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32235         * intl/tst-codeset.sh: Remove.
32236         * intl/tst-gettext3.sh: Likewise.
32237         * intl/tst-gettext5.sh: Likewise.
32238
32239 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32240
32241         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32242         * sysdeps/unix/syscalls.list: ... here.
32243
32244         * sysdeps/posix/getaddrinfo.c
32245         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32246         (gaiconf_init, gaiconf_reload): Use them.
32247         [!_STATBUF_ST_NSEC]
32248         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32249         Define using time_t rather than struct timespec.
32250
32251         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32252         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32253         Macros removed.
32254         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32255         [!NO_THREADS].
32256         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32257         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32258         Likewise.
32259
32260         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32261         __libc_cleanup_push argument.
32262
32263         * bits/param.h: New file.
32264         * misc/sys/param.h: New file.
32265         * include/sys/param.h: New file.
32266         * misc/Makefile (headers): Add bits/param.h.
32267         * sysdeps/generic/sys/param.h: File removed.
32268         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32269         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32270         * sysdeps/mach/hurd/bits/param.h: New file.
32271         * sysdeps/mach/hurd/sys/param.h: File removed.
32272
32273         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32274         last change.
32275
32276         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32277         [_IO_MTSAFE_IO].
32278         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32279         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32280         New macros.
32281
32282         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32283         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32284         rather than -D_IO_MTSAFE_IO conditionally.
32285         * stdio-common/Makefile (CPPFLAGS): Likewise.
32286         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32287         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32288         Use $(libio-mtsafe).
32289         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32290         of -D_IO_MTSAFE_IO.
32291         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32292         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32293         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32294         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32295         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32296         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32297         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32298         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32299         (CFLAGS-fread_u_chk.c): Likewise.
32300         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32301         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32302         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32303         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32304         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32305         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32306         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32307         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32308         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32309
32310         * libio/Makefile: Test [$(libc-reentrant) = yes]
32311         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32312
32313         * Makeconfig
32314         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32315         * sysdeps/pthread/configure: File removed.
32316         * sysdeps/pthread/Makeconfig: New file.
32317         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32318         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32319
32320 2012-08-16  Gary Benson  <gbenson@redhat.com>
32321
32322         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32323         unmapping the first object in a namespace.
32324
32325 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32326
32327         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32328         (__internal_setnetgrent): ... this.  Add internal_function to
32329         definition.  Add libc_hidden_def.
32330         (setnetgrent): Update caller.
32331         (internal_endnetgrent): Renamed to ...
32332         (__internal_endnetgrent): ... this.  Add internal_function to
32333         definition.  Add libc_hidden_def.
32334         (endnetgrent): Update caller.
32335         (internal_getnetgrent_r): Renamed to ...
32336         (__internal_getnetgrent_r): ... this.  Add internal_function to
32337         definition.  Add libc_hidden_def.
32338         (__getnetgrent_r): Update caller.
32339         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32340
32341 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32342
32343         * stdlib/longlong.h: Update from GCC.
32344
32345 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32346
32347         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32348         on _QL, which is set by umul_ppmm but never used.
32349         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32350         variables, which are set by GMP macros but never used.
32351         * stdio-common/_itowa.c (_itowa): Likewise.
32352         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32353         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32354
32355 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32356
32357         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32358         struct La_sh_regs is not constant.
32359         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32360         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32361         and struct La_sparc64_regs are not constant.
32362
32363 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32364
32365         * sysdeps/unix/sysv/linux/kernel-features.h
32366         (__ASSUME_POSIX_TIMERS): Remove.
32367         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32368         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32369         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32370         Make code unconditional.
32371         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32372         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32373         Make code unconditional.
32374         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32375         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32376         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32377         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32378         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32379         Make code unconditional.
32380         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32381         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32382         (__libc_missing_posix_timers): Remove.
32383
32384 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32385
32386         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32387         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32388
32389         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32390
32391         * elf/dl-sym.c: Include <stdlib.h>.
32392
32393         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32394         constants, which avoids warnings in 32-bit builds.
32395
32396         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32397         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32398
32399         * misc/lseek.c: File moved to ...
32400         * io/lseek.c: ... here.
32401
32402         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32403
32404         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32405         shifting LEN more than 31 bits at once.
32406
32407 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32408
32409         [BZ #14195]
32410         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32411         segmentation fault for a case of two empty input strings.
32412         * string/test-strncasecmp.c (check1): Renamed to...
32413         (bz12205): ...this.
32414         (bz14195): Add new testcase for two empty input strings and N > 0.
32415         (test_main): Call new testcase, adapt for renamed function.
32416
32417 2012-08-15  Andreas Jaeger  <aj@suse.de>
32418
32419         [BZ #14090]
32420         * crypt/md5test2.c: New test, based on test supplied by Serge
32421         Belyshev <belyshev@depni.sinp.msu.ru>.
32422         * crypt/Makefile (xtests): Add md5test-giant..
32423         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32424
32425 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32426
32427         [BZ #14090]
32428         * crypt/md5.c (md5_process_block): Don't assume the buffer
32429         length is less than 2**32.
32430         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32431         length is less than 2**64.
32432
32433 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32434
32435         * string/str-two-way.h: Include <sys/param.h>.
32436         (MAX): Macro removed.
32437
32438         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32439         Move #define and #undef of memmove to just before and after
32440         including <string.h>.
32441
32442         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32443         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32444         and after including <string.h>.  Move declarations of
32445         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32446         to before #include "string/memmove.c".
32447
32448         * include/dirent.h: Declare __getdirentries.
32449
32450         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32451         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32452
32453 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32454
32455         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32456         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32457         * sysdeps/i386/configure: Regenerated.
32458         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32459         STABS_CURRENT_FILE, and STABS_FUN.
32460         (END): Remove call to STABS_FUN_END.
32461         (STABS_CURRENT_FILE1): Delete.
32462         (STABS_CURRENT_FILE): Likewise.
32463         (STABS_FUN): Likewise.
32464         (STABS_FUN_END): Likewise.
32465         (STABS_FUN2): Likewise.
32466         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32467         * sysdeps/x86_64/configure: Regenerated.
32468
32469 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32470
32471         * elf/dl-open.c: Include <atomic.h>.
32472         * elf/dl-lookup.c: Likewise.
32473
32474 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32475
32476         * sysdeps/unix/sysv/linux/kernel-features.h
32477         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32478         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32479         unconditionally.
32480         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32481         unconditionally.
32482         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32483         condition on __ASSUME_CLONE_THREAD_FLAGS.
32484
32485 2012-08-14  Andreas Jaeger  <aj@suse.de>
32486
32487         * sysdeps/i386/fpu/libm-test-ulps: Update.
32488
32489 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32490
32491         * include/atomic.h (atomic_exchange_and_add): Split into ...
32492         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32493         New atomic macros.
32494
32495 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32496
32497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32498
32499 2012-08-13  Jeff Law <law@redhat.com>
32500
32501         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32502         null byte in the output string.
32503
32504 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32505
32506         * sysdeps/unix/sysv/linux/kernel-features.h
32507         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32508         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32509         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32510         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32511         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32512         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32513         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32514
32515 2012-08-09  Jeff Law <law@redhat.com>
32516
32517         [BZ #13939]
32518         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32519         When avoid_arena is set, don't retry in the that arena.  Pick the
32520         next one, whatever it might be.
32521         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32522         (arena_lock): Pass in new parameter to arena_get2.
32523         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32524         arena_get2.
32525         (__libc_malloc): Unify retrying after main arena failure with
32526         __libc_memalign version.
32527         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32528
32529 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32530
32531         [BZ #14166]
32532         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32533         to __redirect_strstr.
32534         (__strstr_sse42): Use typeof __redirect_strstr.
32535         (__strstr_ia32): Likewise.
32536         (__libc_strstr): New prototype.
32537         (strstr): Renamed to ...
32538         (__libc_strstr): This.
32539         (strstr): New strong alias of __libc_strstr.
32540         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32541         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32542         __redirect_time.
32543         Include <time.h>.
32544         (__libc_time): New prototype.
32545         (time_ifunc): Replace time with __libc_time.
32546         (time): New strong alias and hidden definition of __libc_time.
32547         (__GI_time): Remove strong alias.
32548         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32549         Include <stddef.h>.
32550         (memmove): Redefined to __redirect_memmove.
32551         (__memmove_sse2): Use typeof __redirect_memmove.
32552         (__memmove_ssse3): Likewise.
32553         (__memmove_ssse3_back): Likewise.
32554         (__libc_memmove): New prototype.
32555         (memmove): Renamed to ...
32556         (__libc_memmove): This.
32557         (memmove): New strong alias of __libc_memmove.
32558
32559 2012-08-08  Mark Salter  <msalter@redhat.com>
32560
32561         * elf/elf.h
32562         (R_MN10300_TLS_GD): Define.
32563         (R_MN10300_TLS_LD): Likewise.
32564         (R_MN10300_TLS_LDO): Likewise.
32565         (R_MN10300_TLS_GOTIE): Likewise.
32566         (R_MN10300_TLS_IE): Likewise.
32567         (R_MN10300_TLS_LE): Likewise.
32568         (R_MN10300_TLS_DTPMOD): Likewise.
32569         (R_MN10300_TLS_DTPOFF): Likewise.
32570         (R_MN10300_TLS_TPOFF): Likewise.
32571         (R_MN10300_SYM_DIFF): Likewise.
32572         (R_MN10300_ALIGN): Likewise.
32573         (R_MN10300_NUM): Update.
32574
32575 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32576
32577         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32578         Remove.
32579
32580 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32581
32582         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32583
32584         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32585         sysdeps/unix -> sysdeps/posix move.
32586         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32587
32588 2012-08-07      Allan McRae     <allan@archlinux.org>
32589
32590         [BZ #14303]
32591         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32592         (SUNOS_CPP): Likewise.
32593         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32594         not found.
32595         (open_input): Call CPP using execvp.
32596
32597 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32598
32599         * sysdeps/unix/sysv/linux/kernel-features.h
32600         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32601         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32602         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32603         (__ASSUME_WAITID_SYSCALL): Likewise.
32604         * sysdeps/unix/sysv/linux/dl-execstack.c
32605         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32606         code unconditional.
32607         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32608         conditional code.
32609         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32610         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32611         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32612         code.
32613         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32614         unconditional.
32615         [__ASSUME_WAITID_SYSCALL]: Likewise.
32616         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32617
32618 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32619
32620         * sysdeps/unix/closedir.c: Renamed to ...
32621         * sysdeps/posix/closedir.c: ... here.
32622         * sysdeps/unix/dirfd.c: Renamed to ...
32623         * sysdeps/posix/dirfd.c: ... here.
32624         * sysdeps/unix/dirstream.h: Renamed to ...
32625         * sysdeps/posix/dirstream.h: ... here.
32626         * sysdeps/unix/fdopendir.c: Renamed to ...
32627         * sysdeps/posix/fdopendir.c: ... here.
32628         * sysdeps/unix/opendir.c: Renamed to ...
32629         * sysdeps/posix/opendir.c: ... here.
32630         * sysdeps/unix/readdir.c: Renamed to ...
32631         * sysdeps/posix/readdir.c: ... here.
32632         * sysdeps/unix/readdir_r.c: Renamed to ...
32633         * sysdeps/posix/readdir_r.c: ... here.
32634         * sysdeps/unix/rewinddir.c: Renamed to ...
32635         * sysdeps/posix/rewinddir.c: ... here.
32636         * sysdeps/unix/seekdir.c: Renamed to ...
32637         * sysdeps/posix/seekdir.c: ... here.
32638         * sysdeps/unix/telldir.c: Renamed to ...
32639         * sysdeps/posix/telldir.c: ... here.
32640         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32641         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32642         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32643         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32644
32645         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32646         * bits/fcntl.h: ... here.
32647
32648         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32649         not 0.
32650         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32651         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32652         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32653         (struct flock): Move l_start, l_len to the beginning.
32654         Use __pid_t for l_pid.
32655         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32656         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32657         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32658         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32659         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32660         [__USE_LARGEFILE64] (struct flock64): New type.
32661         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32662
32663         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32664         * bits/dirent.h: ... here.
32665
32666         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32667         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32668
32669 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32670
32671         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32672         Change from 2.6.0 to 2.6.16.
32673         * sysdeps/unix/sysv/linux/configure: Regenerated.
32674         * sysdeps/unix/sysv/linux/kernel-features.h
32675         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32676         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32677         version.
32678         (__ASSUME_UTIMES): Likewise.
32679         (__ASSUME_CLONE_STOPPED): Remove.
32680         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32681         architectures, not kernel version.
32682         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32683         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32684         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32685         (__ASSUME_WAITID_SYSCALL): Likewise.
32686         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32687         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32688         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32689         refer to older versions.
32690
32691 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32692
32693         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32694         Define alphasort64 as an alias.
32695         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32696         Define versionsort64 as an alias.
32697         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32698         Define scandir64 as an alias.
32699         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32700         Define scandirat64 as an alias.
32701         * dirent/alphasort64.c (alphasort64):
32702         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32703         * dirent/versionsort64.c: Likewise.
32704         * dirent/scandir64.c: Likewise.
32705         * dirent/scandirat64.c: Likewise.
32706         * sysdeps/wordsize-64/alphasort.c: File removed.
32707         * sysdeps/wordsize-64/alphasort64.c: File removed.
32708         * sysdeps/wordsize-64/scandir.c: File removed.
32709         * sysdeps/wordsize-64/scandir64.c: File removed.
32710         * sysdeps/wordsize-64/scandirat.c: File removed.
32711         * sysdeps/wordsize-64/scandirat64.c: File removed.
32712         * sysdeps/wordsize-64/versionsort.c: File removed.
32713         * sysdeps/wordsize-64/versionsort64.c: File removed.
32714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32715         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32716         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32717         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32718         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32719         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32720         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32721         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32722
32723         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32725         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32727         [defined __arch64__ || defined __sparcv9]
32728         (__INO_T_MATCHES_INO64_T): New macro.
32729         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32730         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32731         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32732         * sysdeps/unix/sysv/linux/bits/dirent.h
32733         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32734         (_DIRENT_MATCHES_DIRENT64): New macro.
32735
32736         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32737         Define lockf64 as an alias.
32738         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32739         Define fseeko64 as an alias.
32740         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32741         Define ftello64 as an alias.
32742         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32743         Define _IO_fgetpos64 and fgetpos64 as aliases.
32744         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32745         Define _IO_fsetpos64 and fsetpos64 as aliases.
32746         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32747         Conditionalize body on this.
32748         * libio/fseeko64.c: Likewise.
32749         * libio/ftello64.c: Likewise.
32750         * libio/iofgetpos64.c: Likewise.
32751         * libio/iofsetpos64.c: Likewise.
32752         * sysdeps/wordsize-64/lockf.c: File removed.
32753         * sysdeps/wordsize-64/lockf64.c: File removed.
32754         * sysdeps/wordsize-64/fseeko.c: File removed.
32755         * sysdeps/wordsize-64/fseeko64.c: File removed.
32756         * sysdeps/wordsize-64/ftello.c: File removed.
32757         * sysdeps/wordsize-64/ftello64.c: File removed.
32758         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32759         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32760         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32761         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32762         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32763         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32764         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32765         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32766         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32767         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32768         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32769         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32770         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32771         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32772
32773         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32775         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32777         [defined __arch64__ || defined __sparcv9]
32778         (__OFF_T_MATCHES_OFF64_T): New macro.
32779         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32780         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32782         (__OFF_T_MATCHES_OFF64_T): New macro.
32783
32784 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32785
32786         * stdlib/secure-getenv.c (__secure_getenv): Replace
32787         GLIBC_2_16 with GLIBC_2_17.
32788
32789 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32790
32791         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32792         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32793
32794 2012-08-03  David S. Miller  <davem@davemloft.net>
32795
32796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32797
32798 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32799
32800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32801         Remove.
32802         (__ASSUME_CORRECT_SI_PID): Likewise.
32803         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32804         (__ASSUME_TMPFS_NAME): Likewise.
32805         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32806         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32807         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32808         (HAVE_AUX_SECURE): Make definition unconditional.
32809         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32810         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32811
32812 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32813
32814         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32815         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32816         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32817         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32818         __eloop_threshold instead of SYMLOOP_MAX.
32819
32820         * sysdeps/generic/eloop-threshold.h: New file.
32821         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32822         of MAXSYMLINKS.
32823         * elf/chroot_canon.c (chroot_canon): Likewise.
32824
32825 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32826
32827         [BZ #13717]
32828         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32829         Change to 2.6.0 everywhere.
32830         * sysdeps/unix/sysv/linux/configure: Regenerated.
32831         * sysdeps/unix/sysv/linux/kernel-features.h
32832         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32833         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32834         kernel versions.
32835         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32836         (__ASSUME_FUTEX_REQUEUE): Remove.
32837         (__ASSUME_STATFS64): Define unconditionally.
32838         (__ASSUME_AT_SECURE): Likewise.
32839         (__ASSUME_CORRECT_SI_PID): Likewise.
32840         (__ASSUME_TGKILL): Define without depending on kernel version for
32841         i386.
32842         (__ASSUME_UTIMES): Likewise.
32843         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32844         kernel version.
32845         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32846         (__ASSUME_TMPFS_NAME): Likewise.
32847         * README: Update reference to Linux kernel versions.
32848
32849 2012-08-02  Marek Polacek  <polacek@redhat.com>
32850
32851         [BZ# 14150]
32852         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32853         libc_cv_asm_type_prefix with %.
32854         * configure: Regenerated.
32855         * include/libc-symbols.h: Remove comment about
32856         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32857         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32858         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32859         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32860         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32861         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32862         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32863         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32864         * elf/tst-unique2mod1.c: Likewise.
32865         * elf/tst-unique1mod2.c: Likewise.
32866         * elf/tst-unique1mod1.c: Likewise.
32867         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32868         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32869         Replace ASM_TYPE_DIRECTIVE with .type.
32870         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32871         * sysdeps/i386/sysdep.h: Likewise.
32872         * sysdeps/x86_64/sysdep.h: Likewise.
32873         * sysdeps/sh/sysdep.h: Likewise.
32874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32875         Do not define ASM_TYPE_DIRECTIVE.
32876         * sysdeps/powerpc/sysdep.h: Likewise.
32877         * sysdeps/powerpc/powerpc32/sysdep.h:
32878         Replace ASM_TYPE_DIRECTIVE with .type.
32879         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32880         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32881         * sysdeps/i386/fpu/e_powf.S: Likewise.
32882         * sysdeps/i386/fpu/e_expl.S: Likewise.
32883         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32884         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32885         * sysdeps/i386/fpu/e_pow.S: Likewise.
32886         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32887         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32888         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32889         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32890         * sysdeps/i386/fpu/e_log2.S: Likewise.
32891         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32892         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32893         * sysdeps/i386/fpu/e_powl.S: Likewise.
32894         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32895         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32896         * sysdeps/i386/fpu/e_logl.S: Likewise.
32897         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32898         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32899         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32900         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32901         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32902         * sysdeps/i386/fpu/e_log.S: Likewise.
32903         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32904         * sysdeps/i386/fpu/e_logf.S: Likewise.
32905         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32906         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32907         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32908         * sysdeps/i386/fpu/e_log10.S: Likewise.
32909         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32910         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32911         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32912         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32913         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32914         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32915         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32916         * sysdeps/i386/i686/strtok.S: Likewise.
32917         * sysdeps/i386/i386-mcount.S: Likewise.
32918         * sysdeps/i386/strtok.S: Likewise.
32919         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32920         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32921         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32922         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32923         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32924         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32925         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32926         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32927         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32928         * sysdeps/x86_64/_mcount.S: Likewise.
32929         * sysdeps/x86_64/strtok.S: Likewise.
32930         * sysdeps/sh/_mcount.S: Likewise.
32931
32932 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32933
32934         * libio/iofopen.c: Include <fcntl.h>.
32935         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32936         (_IO_fopen64, fopen64): Define as aliases.
32937         * libio/iofopen64.c: Include <fcntl.h>.
32938         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32939         Conditionalize body on this.
32940         * sysdeps/wordsize-64/iofopen.c: File removed.
32941         * sysdeps/wordsize-64/iofopen64.c: File removed.
32942
32943 2012-08-01  Marek Polacek  <polacek@redhat.com>
32944
32945         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32946         Use dlfcn directly instead of a variable.
32947         (binfmt-subdir): Do not define.
32948         (dlfcn): Likewise.
32949
32950 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32951
32952         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32953         Remove all definitions.
32954         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32955         <kernel-features.h>.
32956         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32957         (miss_F_GETOWN_EX): Remove all definitions.
32958         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32959         macro definition.
32960         [!__ASSUME_FCNTL64]: Remove conditional code.
32961         [__ASSUME_FCNTL64]: Make code unconditional.
32962         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32963         <kernel-features.h>.
32964         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32965         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32966         (lockf64) [__NR_fcntl64]: Make code unconditional.
32967         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32968
32969         * sysdeps/unix/sysv/linux/kernel-features.h
32970         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32971         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32972         Make code unconditional.
32973         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32974         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32976         [__NR_vfork]: Make code unconditional.
32977         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32978         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32980         [__NR_vfork]: Make code unconditional.
32981         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32982         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32983
32984 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32985
32986         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32987         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32988
32989         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32990         Define mkstemp64 as an alias.
32991         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32992         Define mkstemps64 as an alias.
32993         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32994         Define mkostemp64 as an alias.
32995         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32996         Define mkostemps64 as an alias.
32997         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32998         Conditionalize body on this.
32999         * misc/mkostemp64.c: Likewise.
33000         * misc/mkostemps64.c: Likewise.
33001         * misc/mkstemps64.c: Likewise.
33002         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33003         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33004         * sysdeps/wordsize-64/mkostemp.c: File removed.
33005         * sysdeps/wordsize-64/mkstemp.c: File removed.
33006         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33007         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33008         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33009         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33010
33011         [BZ #14138]
33012         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33013         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33014         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33015         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33016
33017         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33018         compat_symbol macros from <shlib-compat.h> rather than the underlying
33019         default_symbol_version and symbol_version macros, so that DEFAULT
33020         lines in shlib-versions are respected.
33021         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33022
33023 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33024
33025         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33026         Declare with warn_unused_result.
33027         (setgid, setregid, setegid, setresgid): Likewise.
33028         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33029         Likewise.
33030         * WUR-REPORT: Remove set*id functions.
33031
33032 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33033
33034         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33035
33036 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33037
33038         [BZ #10191]
33039         * include/sys/socket.h (__libc_accept, __libc_accept4):
33040         Add attribute_hidden.
33041         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33042
33043         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33044         use of PTR_MANGLE.
33045         * inet/getnetgrent_r.c (setup): Likewise.
33046
33047         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33048
33049 2012-07-31  David S. Miller  <davem@davemloft.net>
33050
33051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33052
33053 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33054
33055         [BZ #13629]
33056         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33057         value between 1.0 and 2.0 and smaller part has absolute value less
33058         than 1.0.
33059         * math/s_clog10.c (__clog10): Likewise.
33060         * math/s_clog10f.c (__clog10f): Likewise.
33061         * math/s_clog10l.c (__clog10l): Likewise.
33062         * math/s_clogf.c (__clogf): Likewise.
33063         * math/s_clogl.c (__clogl): Likewise.
33064         * math/libm-test.inc (clog_test): Add more tests.
33065         (clog10_test): Likewise.
33066         * sysdeps/i386/fpu/libm-test-ulps: Update.
33067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33068
33069 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33070
33071         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33072         Exit with zero in case no suitable GID is found, and write a
33073         message to standard error.
33074
33075 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33076
33077         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33078         rather than to 1.
33079         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33080         (MAXPATHLEN): Removed.
33081         (NOGROUP, NODEV): New macros.
33082         (setbit, clrbit, isset, isclr): New macros.
33083         (howmany, roundup, powerof2): New macros.
33084         (DEV_BSIZE): New macro.
33085
33086         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33087         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33088
33089         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33090         definition on [!__NO_LONG_DOUBLE_MATH].
33091
33092         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33093         PTR_MANGLE and PTR_DEMANGLE.
33094
33095         * socket/accept4.c (accept4): Rename to __libc_accept4.
33096         Define accept4 as a weak alias.
33097
33098         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33099         on [_DIRENT_HAVE_D_TYPE].
33100         * io/ftw.c (ftw_dir): Likewise.
33101
33102         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33103
33104         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33105
33106         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33107         Use the BSD numbers rather than the arbitrary ones we had.
33108         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33109         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33110         (SIGXCPU, SIGXFSZ): New macros.
33111         (_NSIG): Now 32.
33112
33113         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33114         initializer on [_LIBC_REENTRANT].
33115
33116         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33117         definitions inside [_POSIX_MAPPED_FILES].
33118
33119         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33120
33121         * dirent/opendir.c: Include <fcntl.h>.
33122
33123         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33124         (__libc_getspecific): Likewise.
33125         (__libc_key_create): Likewise.
33126
33127         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33128         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33129         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33130         (tmpfile64): Define as alias.
33131         * sysdeps/wordsize-64/tmpfile.c: File removed.
33132         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33133         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33134         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33135
33136         * stdio-common/vfscanf.c: Include <stdbool.h>.
33137         * nss/makedb.c: Likewise.
33138         * stdio-common/_i18n_number.h: Likewise.
33139         * argp/argp-help.c: Likewise.
33140         * posix/wordexp.c: Likewise.
33141         * sysdeps/posix/spawni.c: Likewise.
33142         * nss/nss_files/files-initgroups.c: Likewise.
33143         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33144         * nss/nss_files/files-initgroups.c: Likewise.
33145         * nss/nss_db/db-netgrp.c: Likewise.
33146         * nss/nss_db/db-initgroups.c: Likewise.
33147         * io/fchmodat.c: Include <sys/stat.h>.
33148
33149         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33150         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33151
33152         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33153         [HAVE_MMAP].
33154
33155         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33156         Add multiple inclusion protection.
33157
33158 2012-07-27  David S. Miller  <davem@davemloft.net>
33159
33160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33161
33162 2012-07-27  Gary Benson  <gbenson@redhat.com>
33163
33164         [BZ #14298]
33165         * elf/rtld.c: Include <stap-probe.h>.
33166         (dl_main): Added static probes "init_start" and "init_complete".
33167         * elf/dl-load.c: Include <stap-probe.h>.
33168         (lose): Take new parameter "nsid".
33169         Added static probe "map_failed".
33170         (_dl_map_object_from_fd): Pass namespace id to lose.
33171         Added static probe "map_start".
33172         (open_verify): Pass namespace id to lose.
33173         * elf/dl-open.c: Include <stap-probe.h>.
33174         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33175         and "reloc_complete".
33176         * elf/dl-close.c: Include <stap-probe.h>.
33177         (_dl_close_worker): Added static probes "unmap_start" and
33178         "unmap_complete".
33179         * elf/rtld-debugger-interface.txt: New file documenting the above.
33180
33181 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33182
33183         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33184         rather than a string variable.
33185         * sunrpc/rpc_main.c (h_output): Likewise.
33186         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33187
33188 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33189
33190         * inet/check_native.c: New file.
33191
33192 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33193
33194         [BZ #13629]
33195         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33196         if larger part has absolute value 1.0.
33197         * math/s_clog10.c (__clog10): Likewise.
33198         * math/s_clog10f.c (__clog10f): Likewise.
33199         * math/s_clog10l.c (__clog10l): Likewise.
33200         * math/s_clogf.c (__clogf): Likewise.
33201         * math/s_clogl.c (__clogl): Likewise.
33202         * math/libm-test.inc (clog_test): Add more tests.
33203         (clog10_test): Likewise.
33204         * sysdeps/i386/fpu/libm-test-ulps: Update.
33205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33206
33207         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33208         (pltexit): Likewise.
33209         (La_regs): Likewise.
33210         (La_retval): Likewise.
33211         (int_retval): Likewise.
33212         Update #error for removed macros to refer only to definitions in
33213         tst-audit.h.
33214         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33215         macro.
33216         (pltexit): Likewise.
33217         (La_regs): Likewise.
33218         (La_retval): Likewise.
33219         (int_retval): Likewise.
33220         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33221         macro.
33222         (pltexit): Likewise.
33223         (La_regs): Likewise.
33224         (La_retval): Likewise.
33225         (int_retval): Likewise.
33226         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33227         macro.
33228         (pltexit): Likewise.
33229         (La_regs): Likewise.
33230         (La_retval): Likewise.
33231         (int_retval): Likewise.
33232         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33233         macro.
33234         (pltexit): Likewise.
33235         (La_regs): Likewise.
33236         (La_retval): Likewise.
33237         (int_retval): Likewise.
33238         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33239         macro.
33240         (pltexit): Likewise.
33241         (La_regs): Likewise.
33242         (La_retval): Likewise.
33243         (int_retval): Likewise.
33244         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33245         macro.
33246         (pltexit): Likewise.
33247         (La_regs): Likewise.
33248         (La_retval): Likewise.
33249         (int_retval): Likewise.
33250         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33251         macro definitions in tst-audit.h.
33252         * sysdeps/i386/tst-audit.h: New file.
33253         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33254         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33255         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33256         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33257         * sysdeps/sh/tst-audit.h: Likewise.
33258         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33259         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33260         * sysdeps/x86_64/tst-audit.h: Likewise.
33261
33262 2012-07-26  Andreas Jaeger  <aj@suse.de>
33263
33264         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33265         ptrace.
33266
33267         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33268         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33269         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33270         PTRACE_O_MASK.
33271         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33272         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33273         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33274
33275         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33276         value.
33277
33278         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33279         _sigsys.
33280         (si_call_addr, si_syscall, si_arch): Define new macro.
33281         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33282         _sigsys.
33283         (si_call_addr, si_syscall, si_arch): Define new marcro.
33284         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33285         _sigsys.
33286         (si_call_addr, si_syscall, si_arch): Define new macro.
33287         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33288         _sigsys.
33289         (si_call_addr, si_syscall, si_arch): Define new macro.
33290
33291 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33292
33293         [BZ #13717]
33294         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33295         Change to 2.4.21 where previously 2.4.1.
33296         * sysdeps/unix/sysv/linux/configure: Regenerated.
33297         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33298         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33299         Linux kernel version.
33300         (__ASSUME_STD_AUXV): Remove.
33301         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33302         kernel version.
33303         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33304         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33305         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33306         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33307         (__ASSUME_NETLINK_SUPPORT): Likewise.
33308         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33309         (__no_netlink_support): Remove conditional definition.
33310         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33311         Remove.
33312         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33313         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33314         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33315         (if_nameindex_ioctl): Remove.
33316         (if_nameindex_netlink): Do not handle __no_netlink_support.
33317         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33318         code.
33319         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33320         Remove conditional code.
33321         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33322         code.
33323         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33324         unconditional.
33325         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33326         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33327         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33328         Remove.
33329         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33330         [!__ASSUME_STD_AUXV]: Remove conditional code.
33331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33332         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33333         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33335         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33336         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33337         code.
33338         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33340         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33341         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33342         conditional code.
33343         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33345         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33346         code.
33347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33348         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33349         conditional code.
33350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33351         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33352         code unconditional.
33353         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33354         conditional code.
33355         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33356         unconditional.
33357         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33358         conditional code.
33359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33360         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33361         unconditional.
33362         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33363         conditional code.
33364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33365         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33366         code unconditional.
33367         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33368         conditional code.
33369         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33370         unconditional.
33371         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33372         conditional code.
33373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33374         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33375         code unconditional.
33376         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33377         conditional code.
33378         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33379         unconditional.
33380         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33381         conditional code.
33382
33383 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33384
33385         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33386         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33387         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33388         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33389         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33390         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33391         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33392         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33393         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33394         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33395         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33396         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33397         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33398         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33399         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33400         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33401         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33402         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33403         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33405         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33406         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33407         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33408
33409 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33410
33411         * Versions.def: Add GLIBC_2.17.
33412         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33413         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33414         Introduce __libc_secure_getenv.
33415         * stdlib/Versions (2.17): Add secure_getenv
33416         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33417         * stdlib/secure-getenv.c: Rename __secure_getenv to
33418         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33419         symbol __secure_getenv for GLIBC_2.0.
33420         * stdlib/tst-secure-getenv.c: New.
33421         * stdlib/Makefile (tests): Add testcase.
33422         * manual/startup.texi (Environment Access): Document
33423         secure_getenv.
33424         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33425         __libc_secure_getenv.
33426         * inet/ruserpass.c (ruserpass): Likewise.
33427         * malloc/mtrace.c (mtrace): Likewise.
33428         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33429         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33430         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33431         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33432         HAVE_SECURE_GETENV.
33433         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33434         __secure_getenv to __libc_secure_getenv.
33435         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33437         Likewise.
33438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33439         Likewise.
33440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33442         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33447
33448 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33449
33450         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33451         (struct La_i86_retval): Likewise.
33452         (struct La_x86_64_regs): Likewise.
33453         (struct La_x86_64_retval): Likewise.
33454         (struct La_x32_regs): Likewise.
33455         (struct La_x32_retval): Likewise.
33456         (struct La_ppc32_regs): Likewise.
33457         (struct La_ppc32_retval): Likewise.
33458         (struct La_ppc64_regs): Likewise.
33459         (struct La_ppc64_retval): Likewise.
33460         (struct La_sh_regs): Likewise.
33461         (struct La_sh_retval): Likewise.
33462         (struct La_s390_32_regs): Likewise.
33463         (struct La_s390_32_retval): Likewise.
33464         (struct La_s390_64_regs): Likewise.
33465         (struct La_s390_64_retval): Likewise.
33466         (struct La_sparc32_regs): Likewise.
33467         (struct La_sparc32_retval): Likewise.
33468         (struct La_sparc64_regs): Likewise.
33469         (struct La_sparc64_retval): Likewise.
33470         (struct audit_ifaces): Remove architecture-specific pltenter and
33471         pltexit members.
33472         * sysdeps/i386/ldsodefs.h: New file.
33473         * sysdeps/powerpc/ldsodefs.h: Likewise.
33474         * sysdeps/s390/ldsodefs.h: Likewise.
33475         * sysdeps/sh/ldsodefs.h: Likewise.
33476         * sysdeps/sparc/ldsodefs.h: Likewise.
33477         * sysdeps/x86_64/ldsodefs.h: Likewise.
33478
33479 2012-07-25  Marek Polacek  <polacek@redhat.com>
33480
33481         [BZ #6808]
33482         * math/libm-test.inc (yn_test): Add another test.
33483         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33484         to ERANGE when the result is +-Inf.
33485         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33486         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33487         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33488         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33489
33490 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33491
33492         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33493         equal to 0.
33494         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33495         clock_t.
33496         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33497
33498 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33499
33500         * configure.in <sysdeps resolving>: Correct printing
33501         Implies_before.
33502         * configure: Regenerate.
33503
33504 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33505
33506         * math/w_ilogb.c: Include <limits.h>.
33507         * math/w_ilogbl.c: Likewise.
33508
33509 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33510
33511         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33512         va_copy.  Document allowing for unavailable va_copy only as
33513         pre-C99 compatibility.
33514         * manual/string.texi (Copying and Concatenation): Use va_copy
33515         instead of __va_copy in concat example.
33516
33517 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33518
33519         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33520         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33521         it if not null.
33522
33523         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33524         with O_NOLINK passed to __file_name_lookup.
33525
33526         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33527         with O_NOLINK passed to __file_name_lookup.
33528
33529         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33530         negative N or less than NGIDS.
33531
33532         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33533         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33534         enough.  Use memcpy instead of strncpy.
33535
33536 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33537
33538         * elf/Makefile (check-data): Remove.
33539         (localplt.data): New vpath directive.
33540         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33541         instead of $(check-data).
33542         * scripts/data/localplt-generic.data: Move to ...
33543         * sysdeps/generic/localplt.data: ... here.
33544         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33545         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33546         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33548         ... here.
33549         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33551         ... here.
33552         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33554         ... here.
33555         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33557         ... here.
33558         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33560         ... here.
33561         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33563         ... here.
33564
33565 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33566
33567         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33568         PPC32 and PPC64 files.
33569         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33570         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33571
33572 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33573
33574         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33575         __makecontext_ret to ...
33576         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33577         ... here and call exit if uc_link is NULL.  New file.
33578         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33579         __makecontext_ret.S.
33580         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33581         __makecontext_ret to ...
33582         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33583         ... here and call exit if uc_link is NULL.  New file.
33584         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33585         __makecontext_ret.S.
33586
33587 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33588
33589         * elf/elf.h (R_390_IRELATIVE): New definition.
33590         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33591         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33592         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33594         (elf_machine_lazy_rel): Likewise.
33595         * sysdeps/s390/dl-irel.h: New file.
33596         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33597         * sysdeps/s390/s390-64/memset.S: New asm code.
33598         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33599         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33600         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33601         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33602         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33603         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33604         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33605         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33606         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33607         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33608         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33609         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33610         * sysdeps/s390/s390-32/memset.S: New asm code.
33611         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33612
33613 2012-07-17  Marek Polacek  <polacek@redhat.com>
33614
33615         [BZ #14349]
33616         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33617         * sysdeps/s390/s390-64/configure.in: Likewise.
33618         * sysdeps/sparc/configure.in: Likewise.
33619         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33620         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33621         * sysdeps/i386/configure.in: Likewise.
33622         * sysdeps/x86_64/configure.in: Likewise.
33623         * sysdeps/sh/configure.in: Likewise.
33624         * sysdeps/s390/s390-32/configure: Regenerated.
33625         * sysdeps/s390/s390-64/configure: Likewise.
33626         * sysdeps/x86_64/configure: Likewise.
33627         * sysdeps/sh/configure: Likewise.
33628         * sysdeps/powerpc/powerpc64/configure: Likewise.
33629         * sysdeps/powerpc/powerpc32/configure: Likewise.
33630         * sysdeps/sparc/configure: Likwise.
33631         * sysdeps/i386/configure: Likewise.
33632
33633         * elf/dl-open.c: Comment fixes.
33634
33635 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33636
33637         * Makefile [CXX] (check-data): Remove.
33638         [CXX] (c++-types.data): New vpath directive.
33639         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33640         vpath.  Do not allow for C++ type data being missing.
33641         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33642         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33643         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33644         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33645         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33646         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33647         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33649         ... here.
33650         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33652         ... here.
33653         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33655         ... here.
33656         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33658         ... here.
33659         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33661         ... here.
33662         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33664         ... here.
33665         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33667         ... here.
33668         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33670
33671         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33672         definitions to architecture-specific files.
33673         (TLS_IE): Likewise.
33674         (TLS_LD): Likewise.
33675         (TLS_GD): Likewise.
33676         * sysdeps/i386/tls-macros.h: New file.
33677         * sysdeps/powerpc/tls-macros.h: Likewise.
33678         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33679         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33680         * sysdeps/sh/tls-macros.h: Likewise.
33681         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33682         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33683         * sysdeps/x86_64/tls-macros.h: Likewise.
33684
33685 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33686
33687         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33688         zero value for regular exit case.
33689
33690         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33691         (__start_context): Preserve zero value for regular exit case.
33692
33693 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33694             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33695
33696         * manual/setjmp.texi (setcontext): Clarify normal process
33697         termination when uc_link is the null pointer.
33698         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33699         exit call.
33700
33701 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33702
33703         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33704         preprocessor.  Test for each exception mask separately.
33705
33706 2012-07-16  Andreas Jaeger  <aj@suse.de>
33707
33708         * po/ru.po: Update from translation team.
33709
33710 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33711
33712         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33713         equal to 0.
33714         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33715         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33716         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33717         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33718         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33719
33720 2012-07-13  Andreas Jaeger  <aj@suse.de>
33721
33722         * po/fr.po: Update from translation team.
33723
33724 2012-07-12  Marek Polacek  <polacek@redhat.com>
33725
33726         [BZ #14173]
33727         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33728         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33729         loop condition.
33730
33731 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33732
33733         [BZ #13717]
33734         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33735         Change to 2.4.1 where previously 2.4.0.
33736         * sysdeps/unix/sysv/linux/configure: Regenerated.
33737         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33738         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33739         version.
33740         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33741         (__ASSUME_AT_CLKTCK): Remove.
33742         (__ASSUME_AT_PAGESIZE): Likewise.
33743         (__ASSUME_AT_XID): Likewise.
33744         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33745         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33746         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33747         unconditionally.
33748         (HAVE_AUX_PAGESIZE): Likewise.
33749         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33750         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33751         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33752
33753 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33754
33755         [BZ #14307]
33756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33757         the temporary buffer used to invoke __gethostbyname2_r,
33758         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33759         host_data / struct gaih_addrtuple.
33760         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33761         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33762         header file nss/nsswitch.h.
33763         * nss/nsswitch.h (global scope): Add definition of implementation
33764         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33765         resolv/nss_dns/dns-host.c).
33766
33767 2012-07-11  Andreas Jaeger  <aj@suse.de>
33768
33769         * po/fr.po: Update from translation team.
33770
33771         * po/sv.po: Update from translation team
33772         * po/fr.po: Another update from translation team.
33773
33774 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33775
33776         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33777         for subnormals or multiply small sinh result by itself.
33778         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33780
33781 2012-07-11  David S. Miller  <davem@davemloft.net>
33782
33783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33784
33785 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33786
33787         [BZ #14347]
33788         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33789         (INTERNAL_MARK): Shift it here.
33790
33791 2012-07-10  Marek Polacek  <polacek@redhat.com>
33792
33793         [BZ #14151]
33794         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33795         libc_cv_asm_global_directive with .globl.
33796         * configure: Regenerated.
33797         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33798         with .globl.
33799         * sysdeps/i386/configure: Regenerated.
33800         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33801         with .globl.
33802         * sysdeps/x86_64/configure: Regenerated.
33803         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33804         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33805         * elf/tst-unique2mod2.c: Likewise.
33806         * elf/tst-unique2mod1.c: Likewise.
33807         * elf/tst-unique1mod2.c: Likewise.
33808         * elf/tst-unique1mod1.c: Likewise.
33809         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33810         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33811         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33812         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33813         * sysdeps/mach/sysdep.h: Likewise.
33814         * sysdeps/i386/sysdep.h: Likewise.
33815         * sysdeps/i386/i386-mcount.S: Likewise.
33816         * sysdeps/x86_64/_mcount.S: Likewise.
33817         * sysdeps/x86_64/sysdep.h: Likewise.
33818         * sysdeps/sh/_mcount.S: Likewise.
33819         * sysdeps/sh/sysdep.h: Likewise.
33820         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33821         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33822         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33823         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33824         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33825         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33826         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33827         * locale/localeinfo.h: Likewise.
33828         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33829         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33830
33831 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33832
33833         [BZ #14336]
33834         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33835         system".
33836         * manual/message.texi (The Uniforum approach): Likewise.
33837         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33838         (glibc iconv Implementation): Likewise.
33839
33840 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33841
33842         [BZ #14337]
33843         * math/s_clog.c (__clog): Avoid scaling a value down where that
33844         could result in underflow.
33845         * math/s_clog10.c (__clog10): Likewise.
33846         * math/s_clog10f.c (__clog10f): Likewise.
33847         * math/s_clog10l.c (__clog10l): Likewise.
33848         * math/s_clogf.c (__clogf): Likewise.
33849         * math/s_clogl.c (__clogl): Likewise.
33850         * math/libm-test.inc (clog_test): Add more tests.
33851         (clog10_test): Likewise.
33852         * sysdeps/i386/fpu/libm-test-ulps: Update.
33853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33854
33855 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33856
33857         [BZ #14283]
33858         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33859         by 7 not 8 to examine high bit of fractional part.
33860
33861         [BZ #14042]
33862         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33863         for call to __mcount_internal.
33864         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33865         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33866         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33867
33868 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33869
33870         [BZ #14154]
33871         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33872         approximation for values within 0x1p-13f of an odd multiple of
33873         pi/4.
33874         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33875         exception.  Add more tests.
33876         * sysdeps/i386/fpu/libm-test-ulps: Update.
33877
33878         [BZ #6778]
33879         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33880         inputs and return -1 for them.  Do not check for +Inf in case not
33881         reachable for +Inf.
33882         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33883         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33884         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33885         and return -1 for them.  Do not check for +Inf in case not
33886         reachable for +Inf.
33887         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33888         define.
33889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33890         and return -1 for them.  Do not check for +Inf in case not
33891         reachable for +Inf.
33892         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33893         spurious underflow.
33894         * sysdeps/i386/fpu/libm-test-ulps: Update.
33895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33896
33897 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33898
33899         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33900
33901 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33902
33903         [BZ #14157]
33904         [BZ #14331]
33905         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33906         could result in spurious underflow.  Scale down values above
33907         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33908         * math/s_csqrtf.c (__csqrtf): Likewise.
33909         * math/s_csqrtl.c (__csqrtl): Likewise.
33910         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33911         spurious underflow.
33912         * sysdeps/i386/fpu/libm-test-ulps: Update.
33913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33914
33915 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33916
33917         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33918         xopen-msg.sed.
33919         * catgets/xopen-msg.awk: New file.
33920         * catgets/xopen-msg.sed: Removed.
33921
33922         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33923         po2text.sed.
33924         * intl/po2test.awk: New file.
33925         * intl/po2test.sed: Removed.
33926
33927 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33928
33929         [BZ #14328]
33930         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33931         or multiply small sinh result by itself.
33932         * math/s_ctanf.c (__ctanf): Likewise.
33933         * math/s_ctanh.c (__ctanh): Likewise.
33934         * math/s_ctanhf.c (__ctanhf): Likewise.
33935         * math/s_ctanhl.c (__ctanhl): Likewise.
33936         * math/s_ctanl.c (__ctanl): Likewise.
33937         * math/libm-test.inc (ctan_test_tonearest): New function.
33938         (ctan_test_towardzero): Likewise.
33939         (ctan_test_downward): Likewise.
33940         (ctan_test_upward): Likewise.
33941         (ctanh_test_tonearest): Likewise.
33942         (ctanh_test_towardzero): Likewise.
33943         (ctanh_test_downward): Likewise.
33944         (ctanh_test_upward): Likewise.
33945         (main): Call these new functions.
33946         * sysdeps/i386/fpu/libm-test-ulps: Update.
33947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33948
33949 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33950
33951         * .gitignore: Delete /ports entry.
33952
33953 2012-07-03  Andreas Jaeger  <aj@suse.de>
33954
33955         * po/bg.po: Update from translation team.
33956         * po/cs.po: Likewise.
33957         * po/de.po: Likewise.
33958         * po/hr.po: Likewise.
33959         * po/nl.pl: Likewise.
33960         * po/pl.po: Likewise.
33961         * po/vi.po: Likewise.
33962
33963 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33964
33965         * Makeconfig [!+link] (+link-before-libc): New variable.
33966         [!+link] (+link-after-libc): Likewise.
33967         [!+link] (+link-tests): Likewise.
33968         [!+link] (+link): Define in terms of $(+link-before-libc) and
33969         $(+link-after-libc).
33970         [!+link-static] (+link-static-before-libc): New variable.
33971         [!+link-static] (+link-static-after-libc): Likewise.
33972         [!+link-static] (+link-static-tests): Likewise.
33973         [!+link-static] (+link-static): Define in terms of
33974         $(+link-static-before-libc) and $(+link-static-after-libc).
33975         [build-shared] (link-libc-before-gnulib): New variable.
33976         [build-shared] (link-libc-tests): Likewise.
33977         [build-shared] (link-libc): Define in terms of
33978         $(link-libc-before-gnulib).
33979         [!build-shared] (link-libc-tests): New variable.
33980         (link-libc-static-tests): New variable.
33981         [!gnulib] (gnulib-arch): New variable.
33982         [!gnulib] (gnulib-tests): Likewise.
33983         [!gnulib] (static-gnulib-arch): Likewise.
33984         [!gnulib] (static-gnulib-tests): Likewise.
33985         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33986         Define with "=" instead of ":=".
33987         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33988         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33989         * Rules (binaries-all-notests): New variable.
33990         (binaries-all-tests): Likewise.
33991         (binaries-static-notests): Likewise.
33992         (binaries-static-tests): Likewise.
33993         (binaries-all): Define using $(binaries-all-notests) and
33994         $(binaries-all-tests).
33995         (binaries-static): Define using $(binaries-static-notests) and
33996         $(binaries-static-tests).
33997         (binaries-shared-tests): New variable.
33998         (binaries-shared-notests): Likewise.
33999         (binaries-shared): Remove variable.
34000         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34001         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34002         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34003         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34004         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34005         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34006         * elf/Makefile (sln-modules): New variable.
34007         (extra-objs): Add $(sln-modules:=.o).
34008         (ldconfig-modules): Add static-stubs.
34009         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34010         * elf/static-stubs.c: New file.
34011
34012         [BZ #14283]
34013         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34014         by 7 not 8 to examine high bit of fractional part.  Use volatile
34015         variables when splitting into final array of floats if
34016         __FLT_EVAL_METHOD__ != 0.
34017         * math/libm-test.inc (cos_test): Add another test.
34018         (sin_test): Likewise.
34019         * sysdeps/i386/fpu/libm-test-ulps: Update.
34020
34021         [BZ #14273]
34022         * math/libm-test.inc (cosh_test): Add more tests.
34023
34024         * version.h (RELEASE): Set to "development".
34025         (VERSION): Set to "2.16.90".
34026
34027 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34028
34029         * NEWS: Update copyright. Remove last-updated date.
34030         Mention math library bug fixes and timezone data changes.
34031         * README: Mention GNU/Hurd, x32, and HPPA support status.
34032
34033 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34034
34035         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34036
34037 2012-06-27  Andreas Jaeger  <aj@suse.de>
34038
34039         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34040
34041 2012-06-25  Andreas Jaeger  <aj@suse.de>
34042
34043         * sysdeps/s390/fpu/libm-test-ulps: Update.
34044
34045 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34046             Thomas Schwinge  <thomas@codesourcery.com>
34047
34048         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34049         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34050         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34051         fanotify_mark.
34052
34053 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34054
34055         * sysdeps/mach/start.c: Remove file.
34056         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34057         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34058         * sysdeps/sh/init-first.c: Likewise.
34059
34060         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34061         registers for frame unwinding purposes, add CFI directives.
34062         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34063         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34064         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34065         Likewise.
34066
34067         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34068         __fortify_fail returning.
34069         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34070
34071         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34072         sysdeps/sh/____longjmp_chk.S.
34073         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34074         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34075         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34076         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34077
34078         * sysdeps/sh/abort-instr.h: New file.
34079         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34080         process in case exit returns.
34081
34082         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34083         initialize the GOT register before use.
34084
34085         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34086         calculation of ARGC > 4.
34087
34088         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34089         meaningful names to some local labels.
34090
34091 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34092             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34093
34094         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34095         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34096         (__arch_compare_and_exchange_val_16_acq): Likewise.
34097         (__arch_compare_and_exchange_val_32_acq): Likewise.
34098         (atomic_exchange_and_add): Fix gUSA sequence.
34099         (atomic_add): Likewise.
34100         (atomic_add_negative): Likewise.
34101         (atomic_add_zero): Likewise.
34102         (atomic_bit_test_set): Likewise.
34103
34104 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34105
34106         [BZ #13579]
34107         * include/link.h (struct link_map): Add l_free_initfini.
34108         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34109         l_initfini.
34110         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34111         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34112         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34113         set.
34114
34115 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34116
34117         * configure.in: Use AC_LANG_SOURCE.
34118         * configure: Regenerate.
34119
34120 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34121
34122         * configure.in (libc_cv_localstatedir): New substituted variable.
34123         * configure: Regenerated.
34124         * config.make.in (localstatedir): New variable, substituted from
34125         libc_cv_localstatedir.
34126         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34127         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34128         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34129         * sysdeps/gnu/configure: Regenerated.
34130
34131 2012-06-21  Jeff Law  <law@redhat.com>
34132
34133         [BZ #14277]
34134         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34135         free.  Simplify list management for _LIBC case.
34136
34137 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34138
34139         [BZ #14273]
34140         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34141         Clear sign bit of 64-bit integer value before comparing against
34142         overflow value.
34143
34144         * sysdeps/mach/configure: Regenerated.
34145
34146 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34147
34148         [BZ #14278]
34149         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34150
34151 2012-06-21  Jeff Law  <law@redhat.com>
34152
34153         [BZ #13882]
34154         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34155         uint16_t for elements in the "seen" array to avoid char overflows.
34156         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34157         * elf/dl-open.c (dl_open_worker): Likewise.
34158
34159 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34160
34161         * scripts/list-sources.sh: Scan PORTS for translations.
34162         * po/libc.pot: Regenerated.
34163
34164 2012-06-21  Andreas Jaeger  <aj@suse.de>
34165
34166         [BZ #12194]
34167         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34168         warning.
34169         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34170         * bits/byteswap-16.h (__bswap_16): Likewise.
34171         * bits/byteswap.h (__bswap_constant_16): Likewise.
34172
34173 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34174
34175         [BZ #14117]
34176         * sysdeps/i386/fpu_control.h: Removed.
34177         * sysdeps/x86_64/fpu_control.h: Moved to ...
34178         * sysdeps/x86/fpu_control.h: Here.
34179
34180         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34181         (_FPU_SETCW): Likewise.
34182
34183 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34184
34185         [BZ #14117]
34186         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34187         * sysdeps/x86/fpu/bits/mathinline.h: This.
34188         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34189
34190         [BZ #14050]
34191         [BZ #14117]
34192         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34193         functions if __x86_64__ is defined.
34194
34195 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34196
34197         * string/endian.h: Add !__ASSEMBLER__ condition for including
34198         conversion interfaces.
34199
34200 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34201
34202         [BZ #14241]
34203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34204         of ABS(x) in calculating zero to negative powers other than odd
34205         integers.
34206         * math/libm-test.inc (pow_test): Add more tests.
34207
34208 2012-06-15  Andreas Jaeger  <aj@suse.de>
34209
34210         * manual/contrib.texi (Contributors): Update entry of Liubov
34211         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34212         Machado Filho.
34213
34214 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34215
34216         * string/string.h: Add __wur to GNU version of strerror_r.
34217
34218 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34219
34220         [BZ #14229]
34221         * string/Makefile (tests): Add tst-strtok_r.
34222         * string/tst-strtok_r.c: New file.
34223         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34224         RAX_LP/RDX_LP on SAVE_PTR.
34225
34226 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34227
34228         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34229
34230 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34231
34232         * libm_test.inc (csqrt_test): Allow more spurious underflow
34233         exceptions.
34234         (j0_test): Likewise.
34235         (j1_test): Likewise.
34236         (y0_test): Likewise.
34237         (y1_test): Likewise.
34238
34239 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34240
34241         * po/Makefile (libc.pot): Use UTF-8 charset.
34242
34243 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34244
34245         [BZ #14210]
34246         Suppress sign-conversion warning from FD_SET.
34247         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34248         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34249         not unsigned long int.
34250         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34251
34252 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34253
34254         [BZ #14050]
34255         [BZ #14117]
34256         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34257         __extern_always_inline instead of __extern_inline.
34258         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34259         (__signbit): Likewise.
34260         (__signbitl): Support C++ namespace.
34261         (lrintf): New inline function.
34262         (lrint): Likewise.
34263         (llrintf): Likewise.
34264         (llrint): Likewise.
34265         (fmaxf): Likewise.
34266         (fmax): Likewise.
34267         (fminf): Likewise.
34268         (fmin): Likewise.
34269         (rint): Likewise.
34270         (rintf): Likewise.
34271         (ceil): Likewise.
34272         (ceilf): Likewise.
34273         (floor): Likewise.
34274         (floorf): Likewise.
34275         (nearbyint): Likewise.
34276         (nearbyintf): Likewise.
34277
34278 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34279
34280         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34281         non-default versions.
34282
34283 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34284
34285         [BZ #14218]
34286         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34287
34288 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34289
34290         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34291         (FE_UPWARD, FE_DOWNWARD): Don't define.
34292         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34294
34295         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34296         reading it.
34297         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34298         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34299
34300 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34301
34302         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34303         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34304         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34305         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34306
34307 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34308
34309         [BZ #14117]
34310         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34311         * sysdeps/i386/fpu/Implies: New file.
34312         * sysdeps/x86_64/fpu/Implies: Likewise.
34313         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34314         * sysdeps/x86/fpu/bits/fenv.h: This.
34315
34316         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34317         __SSE_MATH__.
34318
34319 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34320
34321         [BZ #14134]
34322         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34323         character 0xffff that matches the last element of the
34324         conversion table.
34325
34326 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34327
34328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34329         fmodl commit.
34330
34331 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34332
34333         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34334         values higher than 25.6283.
34335
34336 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34337
34338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34339         subnormal exponent extraction and add some __builtin_expect.
34340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34341         Fix for subnormal mantissa calculation.
34342
34343 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34344
34345         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34346         cpu2 is -1 and errno is not ENOSYS.
34347
34348 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34349
34350         [BZ #14117]
34351         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34352         * sysdeps/x86/bits/string.h: This.
34353         * sysdeps/x86_64/bits/string.h: Removed.
34354
34355         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34356         if not compiling for x86-64, but compiling for >= i486.
34357
34358         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34359         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34360
34361         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34362         New macro from Linux kernel 3.4.0.
34363         (FP_XSTATE_MAGIC2): Likewise.
34364         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34365         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34366         (struct _fpx_sw_bytes): New struct.
34367         (struct _xsave_hdr): Likewise.
34368         (struct _ymmh_state): Likewise.
34369         (struct _xstate): Likewise.
34370
34371         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34372         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34373         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34374         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34375         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34376         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34377
34378         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34379         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34380         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34381         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34382         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34383         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34384
34385 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34386
34387         [BZ #13743]
34388         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34389         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34390         (sysdep_headers): Include sys/platform/ppc.h.
34391         * sysdeps/powerpc/test-gettimebase.c: Test for
34392         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34393         * manual/Makefile (appendices): Include platform.texi.
34394         * manual/contrib.texi (Contributors): Update @node pointers.
34395         * manual/maint.texi (Maintenance): Likewise.
34396         (Platform): New node.
34397         * manual/platform.texi: New file.  Document the new features.
34398
34399 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34400             Jakub Jelinek  <jakub@redhat.com>
34401
34402         [BZ #14188]
34403         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34404         where __builtin_expect is unavailable.
34405
34406 2012-06-03  David S. Miller  <davem@davemloft.net>
34407
34408         * stdlib/longlong.h: Updated from GCC.
34409
34410 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34411
34412         [BZ #14042]
34413         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34414         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34415         __mcount_internal.
34416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34417         (GLIBC_2.16): Likewise.
34418
34419 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34420
34421         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34422
34423 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34424
34425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34426         (default-abi): New variable.
34427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34428         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34429         variable.
34430         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34431         Likewise.
34432         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34433         Likewise.
34434         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34435         Likewise.
34436
34437         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34438         definition.  Document in comment.
34439
34440 2012-06-01  David S. Miller  <davem@davemloft.net>
34441
34442         * stdlib/longlong.h: Updated from GCC.
34443
34444 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34445
34446         [BZ #14117]
34447         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34448         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34449         sys/debugreg.h sys/io.h here.
34450         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34451         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34452         sys/io.h.
34453         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34454         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34455         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34456         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34457         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34458         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34459
34460         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34461         Define only if __x86_64__ is defined.
34462
34463 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34464
34465         [BZ #14048]
34466         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34467         Use int64_t for variable i.
34468         * math/libm-test.inc (fmod_test): Add more tests.
34469
34470         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34471         z computation is not scheduled after fetestexcept.
34472         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34473         Use math_force_eval instead of asm to ensure calculation scheduled
34474         before exception test.
34475         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34476         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34477
34478 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34479
34480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34481         computation is not scheduled after fetestexcept.
34482
34483 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34484
34485         [BZ #14117]
34486         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34487         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34488
34489 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34490
34491         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34492         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34493
34494 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34495
34496         [BZ #14117]
34497         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34498         <bits/wordsize.h>.
34499         (__WCHAR_MIN): Support __WORDSIZE == 64.
34500         (__WCHAR_MAX): Likewise.
34501
34502         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34503         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34504
34505         [BZ #14183]
34506         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34507         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34508
34509         [BZ #14117]
34510         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34511         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34512
34513         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34514         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34515
34516         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34517         Defined to 1 if __x86_64__ isn't defined.
34518         (_STAT_VER_LINUX_OLD): New.
34519         (st_atime): Remove duplicate.
34520         (st_mtime): Likewise.
34521         (st_ctime): Likewise.
34522
34523 2012-05-31  David S. Miller  <davem@davemloft.net>
34524
34525         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34526         entries.
34527
34528 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34529
34530         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34531         gen-libm-test.pl.
34532
34533         [BZ #14132]
34534         * elf/dl-reloc.c: Include <_itoa.h>.
34535         (_dl_reloc_bad_type): Remove use of INTUSE.
34536         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34537         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34538         * stdio-common/psiginfo.c (psiginfo): Likewise.
34539         * stdio-common/psignal.c (psignal): Likewise.
34540         * string/strsignal.c (strsignal): Likewise.
34541         * include/signal.h (_sys_siglist): Declare hidden proto.
34542         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34543         INTVARDEF with libc_hidden_data_def.
34544         * stdio-common/itoa-udigits.c: Likewise.
34545         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34546         (_itoa_lower_digits_internal): Remove declaration.
34547         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34548         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34549         (_sys_sigabbrev_internal): Remove aliases.
34550         (_sys_siglist): Define hidden alias.
34551
34552 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34553
34554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34555         bits/sysctl.h.
34556
34557 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34558
34559         [BZ #14117]
34560         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34561         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34562
34563         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34564         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34565         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34566         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34567         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34568         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34569
34570         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34571         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34572         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34573
34574         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34575         with __addr.
34576         (insw): Likewise.
34577         (insl): Likewise.
34578         (outsb): Likewise.
34579         (outsw): Likewise.
34580         (outsl): Likewise.
34581
34582         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34583         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34584         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34585
34586         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34587         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34588         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34589         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34590         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34591         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34592
34593         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34594         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34595
34596         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34597         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34598
34599         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34600         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34601         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34602
34603         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34604         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34605         to ...
34606         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34607
34608         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34609         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34610         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34611
34612         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34613         for x86-64.
34614         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34615
34616 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34617
34618         * math/math.h (M_El): Use two more decimal places.
34619         (M_LOG2El): Likewise.
34620         (M_LOG10El): Likewise.
34621         (M_LN2l): Likewise.
34622         (M_LN10l): Likewise.
34623         (M_PIl): Likewise.
34624         (M_PI_2l): Likewise.
34625         (M_PI_4l): Likewise.
34626         (M_1_PIl): Likewise.
34627         (M_2_PIl): Likewise.
34628         (M_2_SQRTPIl): Likewise.
34629         (M_SQRT2l): Likewise.
34630         (M_SQRT1_2l): Likewise.
34631
34632 2012-05-31  David S. Miller  <davem@davemloft.net>
34633
34634         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34635         values between float registers.
34636         * sysdeps/sparc/sparc64/memset.S: Likewise.
34637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34638
34639 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34640
34641         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34642         -D_FORTIFY_SOURCE=1.
34643         (CPPFLAGS-tst-longjmp_chk.c): Define.
34644         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34645         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34646         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34647         CFLAGS-tst-wchar-h.c.
34648
34649 2012-05-31  Marek Polacek  <polacek@redhat.com>
34650
34651         [BZ #14132]
34652         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34653         __endmntent_internal): Remove declaration.
34654         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34655         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34656         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34657
34658 2012-05-30  David S. Miller  <davem@davemloft.net>
34659
34660         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34661         (___Q_simulate_exceptions): Use real FP ops rather than writing
34662         into the %fsr.
34663         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34664         Likewise.
34665
34666 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34667
34668         [BZ #14117]
34669         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34670         * sysdeps/x86/bits/xtitypes.h: This.
34671
34672         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34673         * sysdeps/x86/bits/wordsize.h: This.
34674
34675         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34676         * sysdeps/x86/bits/huge_vall.h: This.
34677
34678         * sysdeps/i386/bits/select.h: Removed.
34679         * sysdeps/x86_64/bits/select.h: Renamed to ...
34680         * sysdeps/x86/bits/select.h: This.
34681
34682         * sysdeps/i386/bits/setjmp.h: Removed.
34683         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34684         * sysdeps/x86/bits/setjmp.h: This.
34685
34686         * sysdeps/i386/bits/mathdef.h: Removed.
34687         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34688         * sysdeps/x86/bits/mathdef.h: This.
34689
34690 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34691
34692         [BZ #14132]
34693         * include/sys/socket.h (__connect_internal)
34694         (__libc_sa_len_internal): Remove declaration.
34695         (__connect, __libc_sa_len): Declare hidden_proto.
34696         (SA_LEN): Remove use of INTUSE.
34697         * socket/connect.c: Add libc_hidden_def.
34698         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34699         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34700         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34701         alias.
34702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34703         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34704         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34705         of adding _internal alias.
34706
34707 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34708
34709         [BZ #14117]
34710         * sysdeps/i386/bits/link.h: Removed.
34711         * sysdeps/i386/bits/linkmap.h: Likewise.
34712         * sysdeps/x86_64/bits/link.h: Renamed to ...
34713         * sysdeps/x86/bits/link.h: This.
34714         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34715         * sysdeps/x86/bits/linkmap.h: This.
34716
34717         * sysdeps/i386/bits/endian.h: Removed.
34718         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34719         * sysdeps/x86/bits/endian.h: This.
34720
34721         * sysdeps/i386/bits/byteswap.h: Removed.
34722         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34723         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34724         * sysdeps/x86/bits/byteswap.h: This.
34725         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34726         * sysdeps/x86/bits/byteswap-16.h: This.
34727         * sysdeps/i386/Implies: Add x86.
34728         * sysdeps/x86_64/Implies: Likewise.
34729
34730 2012-05-30  David S. Miller  <davem@davemloft.net>
34731
34732         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34733         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34734         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34735         (FP_TRAPPING_EXCEPTIONS): Define.
34736         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34737         (FP_TRAPPING_EXCEPTIONS): Define.
34738         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34739         subnormals only when inexact has been signalled or underflow
34740         exceptions are enabled.
34741         (_FP_PACK_CANONICAL): Likewise.
34742
34743 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34744
34745         [BZ #14183]
34746         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34747         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34748
34749 2012-05-30  Richard Henderson  <rth@twiddle.net>
34750
34751         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34752         with #ifndef NOT_IN_libc.
34753
34754         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34755         marked to avoid plt entry.
34756
34757 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34758
34759         [BZ #14112]
34760         * Makeconfig (default-abi): New macro.
34761         (abi-includes): Likewise.
34762         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34763         $(abi-$(default-abi)-lib-soname) for soname if defined.
34764         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34765         abi-variants.
34766         * Makefile (installed-stubs): Likewise.
34767         * include/stubs-biarch.h: Removed.
34768         * scripts/lib-names.awk: Only handle one library at a time.
34769         * scripts/soversions.awk: Remove WORDSIZE support.
34770         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34771         entries.
34772         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34773         Removed.
34774         (syscall-list-default-condition): Likewise.
34775         (syscall-list-default-condition): Likewise.
34776         (syscall-list-includes): Likewise.
34777         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34778         syscall-list-* with abi-*.  Handle undefined abi-variants.
34779         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34780         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34781         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34782         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34783         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34784         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34785         Removed.
34786         (syscall-list-32-options): Likewise.
34787         (syscall-list-32-condition): Likewise.
34788         (syscall-list-64-options): Likewise.
34789         (syscall-list-64-condition): Likewise.
34790         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34791         macro.
34792         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34793         Renamed to ...
34794         (abi-*): This.
34795         (abi-64-ld-soname): New macro.
34796         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34797         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34798         Renamed to ...
34799         (abi-*): This.
34800         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34801         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34802
34803 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34804
34805         * sysdeps/unix/sysv/linux/kernel-features.h
34806         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34807         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34808         include <kernel-features.h>.
34809         [!__NR_ftruncate64]: Remove conditional code.
34810         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34811         [__NR_ftruncate64]: Make code unconditional.
34812         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34813         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34814         include <kernel-features.h>.
34815         [!__NR_ftruncate64]: Remove conditional code.
34816         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34817         [__NR_ftruncate64]: Make code unconditional.
34818         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34820         include <kernel-features.h>.
34821         [!__NR_ftruncate64]: Remove conditional code.
34822         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34823         [__NR_ftruncate64]: Make code unconditional.
34824         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34826         include <kernel-features.h>.
34827         [!__NR_ftruncate64]: Remove conditional code.
34828         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34829         [__NR_ftruncate64]: Make code unconditional.
34830         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34831
34832         * configure.in (libc_cv_fpie): Weaken to a compile test using
34833         LIBC_TRY_CC_OPTION.
34834         * configure: Regenerated.
34835
34836 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34837
34838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34842         Refreshed.
34843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34849         Refreshed.
34850
34851 2012-05-27  David S. Miller  <davem@davemloft.net>
34852
34853         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34854         (___Q_zero): New.
34855         (__Q_simulate_exceptions): Return void.  Change to simulate
34856         exceptions by writing into the %fsr.
34857         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34858         (__Qp_handle_exceptions): Likewise.
34859         (numbers): Delete.
34860         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34861         __Qp_handle_exceptions.
34862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34863         __Qp_handle_exceptions.
34864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34865         as unused and give dummy FP_RND_NEAREST initializer.
34866         (FP_INHIBIT_RESULTS): Define.
34867         (___Q_simulate_exceptions): Update declaration.
34868         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34869         formatting.
34870         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34871         as unused and give dummy FP_RND_NEAREST initializer.
34872         (__Qp_handle_exceptions): Update declaration.
34873         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34874         formatting.
34875
34876 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34877
34878         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34879         the temporary FPU control word.
34880         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34881         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34882         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34883         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34884         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34885         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34886         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34887         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34888         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34889         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34890         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34891
34892 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34893
34894         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34895         fields.
34896
34897 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34898
34899         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34900         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34901         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34902         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34903         Likewise.
34904         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34905         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34906         Likewise.
34907
34908 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34909
34910         * po/h.po: Update from translation team.
34911
34912 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34913
34914         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34915
34916         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34917         handling of denormals.
34918         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34919         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34920         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34921         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34924         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34925         Likewise.
34926
34927 2012-05-26  Marek Polacek  <polacek@redhat.com>
34928
34929         [BZ #14152]
34930         * math/libm-test.inc (fma_test): Don't always expect underflow
34931         exception.
34932
34933 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34934
34935         [BZ #12416]
34936         * elf/tst-execstack.c: Include stackinfo.h.
34937         (do_test): Adjust test case to ensure that pthread_getattr_np
34938         behaviour remains the same after marking stack executable.
34939
34940 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34941
34942         * sysdeps/unix/sysv/linux/kernel-features.h
34943         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34944         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34945         kernel-features.h.
34946         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34947         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34948         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34949         kernel-features.h.
34950         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34951         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34952
34953 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34954
34955         * configure.in: Define the default includes to being none.
34956         * configure: Regenerated.
34957
34958 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34959
34960         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34961         * sysdeps/x86_64/setjmp.S: Likewise.
34962         * sysdeps/i386/bsd-setjmp.S: Likewise.
34963         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34964         * sysdeps/i386/setjmp.S: Likewise.
34965         * sysdeps/i386/__longjmp.S: Likewise.
34966         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34967         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34968
34969         * include/stap-probe.h: New file.
34970         * configure.in: Handle --enable-systemtap.
34971         * configure: Regenerated.
34972         * config.h.in (USE_STAP_PROBE): New #undef.
34973         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34974         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34975         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34976
34977 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34978
34979         [BZ #13717]
34980         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34981         to 2.4.0 where earlier.
34982         * sysdeps/unix/sysv/linux/configure: Regenerated.
34983         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34984         <kernel-features.h>.
34985         [__ASSUME_32BITUIDS]: Make code unconditional.
34986         [!__ASSUME_32BITUIDS]: Remove conditional code.
34987         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34988         <kernel-features.h>.
34989         [__ASSUME_32BITUIDS]: Make code unconditional.
34990         [!__ASSUME_32BITUIDS]: Remove conditional code.
34991         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34992         [__ASSUME_32BITUIDS]: Make code unconditional.
34993         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34994         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34995         <kernel-features.h>.
34996         [__ASSUME_32BITUIDS]: Make code unconditional.
34997         [!__ASSUME_32BITUIDS]: Remove conditional code.
34998         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34999         <kernel-features.h>.
35000         [__ASSUME_32BITUIDS]: Make code unconditional.
35001         [!__ASSUME_32BITUIDS]: Remove conditional code.
35002         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35003         <kernel-features.h>.
35004         [__ASSUME_32BITUIDS]: Make code unconditional.
35005         [!__ASSUME_32BITUIDS]: Remove conditional code.
35006         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35007         <kernel-features.h>.
35008         [__ASSUME_32BITUIDS]: Make code unconditional.
35009         [!__ASSUME_32BITUIDS]: Remove conditional code.
35010         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
35019         <kernel-features.h>.
35020         [__ASSUME_32BITUIDS]: Make code unconditional.
35021         [!__ASSUME_32BITUIDS]: Remove conditional code.
35022         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35023         <kernel-features.h>.
35024         [__ASSUME_32BITUIDS]: Make code unconditional.
35025         [!__ASSUME_32BITUIDS]: Remove conditional code.
35026         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35027         <kernel-features.h>.
35028         [__ASSUME_32BITUIDS]: Make code unconditional.
35029         [!__ASSUME_32BITUIDS]: Remove conditional code.
35030         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35031         <kernel-features.h>.
35032         [__ASSUME_32BITUIDS]: Make code unconditional.
35033         [!__ASSUME_32BITUIDS]: Remove conditional code.
35034         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35035         <kernel-features.h>.
35036         [__NR_setresgid] (__setresgid): Do not declare.
35037         [__ASSUME_32BITUIDS]: Make code unconditional.
35038         [!__ASSUME_32BITUIDS]: Remove conditional code.
35039         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35040         <kernel-features.h>.
35041         [__NR_setresuid] (__setresuid): Do not declare.
35042         [__ASSUME_32BITUIDS]: Make code unconditional.
35043         [!__ASSUME_32BITUIDS]: Remove conditional code.
35044         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35045         <kernel-features.h>.
35046         [__ASSUME_32BITUIDS]: Make code unconditional.
35047         [!__ASSUME_32BITUIDS]: Remove conditional code.
35048         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35049         <kernel-features.h>.
35050         [__ASSUME_32BITUIDS]: Make code unconditional.
35051         [!__ASSUME_32BITUIDS]: Remove conditional code.
35052         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35053         <kernel-features.h>.
35054         [__ASSUME_32BITUIDS]: Make code unconditional.
35055         [!__ASSUME_32BITUIDS]: Remove conditional code.
35056         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35057         <kernel-features.h>.
35058         [__ASSUME_32BITUIDS]: Make code unconditional.
35059         [!__ASSUME_32BITUIDS]: Remove conditional code.
35060         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35061         <kernel-features.h>.
35062         [__ASSUME_32BITUIDS]: Make code unconditional.
35063         [!__ASSUME_32BITUIDS]: Remove conditional code.
35064         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35065         <kernel-features.h>.
35066         [__ASSUME_32BITUIDS]: Make code unconditional.
35067         [!__ASSUME_32BITUIDS]: Remove conditional code.
35068         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35069         <kernel-features.h>.
35070         [__ASSUME_32BITUIDS]: Make code unconditional.
35071         [!__ASSUME_32BITUIDS]: Remove conditional code.
35072         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35073         <kernel-features.h>.
35074         [__ASSUME_32BITUIDS]: Make code unconditional.
35075         [!__ASSUME_32BITUIDS]: Remove conditional code.
35076         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35077         <kernel-features.h>.
35078         [__ASSUME_32BITUIDS]: Make code unconditional.
35079         [!__ASSUME_32BITUIDS]: Remove conditional code.
35080         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35081         <kernel-features.h>.
35082         [__ASSUME_32BITUIDS]: Make code unconditional.
35083         [!__ASSUME_32BITUIDS]: Remove conditional code.
35084         * sysdeps/unix/sysv/linux/kernel-features.h
35085         (__ASSUME_SETRESUID_SYSCALL): Remove.
35086         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35087         (__ASSUME_32BITUIDS): Likewise.
35088         (__ASSUME_LDT_WORKS): Likewise.
35089         (__ASSUME_O_DIRECTORY): Likewise.
35090         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35091         architecture but not kernel version.
35092         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35093         (__ASSUME_MMAP2_SYSCALL): Likewise.
35094         (__ASSUME_STAT64_SYSCALL): Likewise.
35095         (__ASSUME_IPC64): Likewise.
35096         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35097         <kernel-features.h>.
35098         [__ASSUME_32BITUIDS]: Make code unconditional.
35099         [!__ASSUME_32BITUIDS]: Remove conditional code.
35100         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35101         <kernel-features.h>.
35102         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35103         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35104         132096]: Remove conditional code.
35105         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35106         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35107         <kernel-features.h>.
35108         [__ASSUME_32BITUIDS]: Make code unconditional.
35109         [!__ASSUME_32BITUIDS]: Remove conditional code.
35110         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35111         <kernel-features.h>.
35112         [__ASSUME_32BITUIDS]: Make code unconditional.
35113         [!__ASSUME_32BITUIDS]: Remove conditional code.
35114         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35115         <kernel-features.h>.
35116         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35117         unconditional.
35118         (__setresgid): Do not declare.
35119         [__ASSUME_32BITUIDS]: Make code unconditional.
35120         [!__ASSUME_32BITUIDS]: Remove conditional code.
35121         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35122         <kernel-features.h>.
35123         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35124         unconditional.
35125         (__setresuid): Do not declare.
35126         [__ASSUME_32BITUIDS]: Make code unconditional.
35127         [!__ASSUME_32BITUIDS]: Remove conditional code.
35128         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35129         <kernel-features.h>.
35130         [__ASSUME_32BITUIDS]: Make code unconditional.
35131         [!__ASSUME_32BITUIDS]: Remove conditional code.
35132         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35133         <kernel-features.h>.
35134         [__ASSUME_32BITUIDS]: Make code unconditional.
35135         [!__ASSUME_32BITUIDS]: Remove conditional code.
35136
35137 2012-05-25  Richard Henderson  <rth@twiddle.net>
35138
35139         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35140         dl_hwcap to ifunc resolver.
35141         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35142         elf_ifunc_invoke.
35143         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35144         dl_hwcap to ifunc resolver.
35145         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35146
35147 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35148
35149         [BZ #14153]
35150         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35151         for |x| <= 2**-26, not 2**-57.
35152         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35153         exception.
35154
35155 2012-05-24  Jeff Law  <law@redhat.com>
35156
35157         * stdio-common/Makefile (tests): Add bug25.
35158         * stdio-common/bug25.c: New test.
35159
35160 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35161
35162         [BZ #13576]
35163         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35164         multiple of MALLOC_ALIGNMENT in size.
35165         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35166
35167 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35168
35169         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35170         Require >= 256.
35171         (FILENAME_MAX): Use macro-int-constant.
35172         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35173         (_IOFBF): Use macro-int-constant.
35174         (_IOLBF): Likewise.
35175         (_IONBF): Likewise.
35176         (SEEK_CUR): Likewise.
35177         (SEEK_END): Likewise.
35178         (SEEK_SET): Likewise.
35179         (TMP_MAX): Likewise.
35180         (EOF): Use macro-int-constant.  Require < 0.
35181         (NULL): Use macro-constant.  Require == 0.
35182         (stdin): Require type to be FILE *.
35183         (stdout): Likewise.
35184         (stderr): Likewise.
35185         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35186         macro-int-constant.
35187         (EXIT_SUCCESS): Likewise.
35188         (NULL): Use macro-constant.  Require == 0.
35189         (RAND_MAX): Use macro-int-constant.
35190         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35191         [C99-based standards] (strtof): Require function.
35192         [C99-based standards] (strtold): Likewise.
35193         [C99-based standards] (strtoll): Likewise.
35194         [C99-based standards] (strtoull): Likewise.
35195         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35196         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35197         [ISO || ISO99 || ISO11] (math.h): Likewise.
35198         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35199         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35200         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35201
35202 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35203
35204         [BZ #14132]
35205         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35206         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35207         * intl/dgettext.c (DCGETTEXT): Likewise.
35208         * intl/gettext.c (DCGETTEXT): Likewise.
35209         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35210         * posix/regex_internal.h (gettext): Likewise.
35211         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35212         Remove declaration.
35213         * include/argz.h (__argz_count_internal)
35214         (__argz_stringify_internal): Remove declaration.
35215         (__argz_count, __argz_stringify): Declare hidden proto.
35216         * intl/dcgettext.c: Remove use of INTDEF.
35217         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35218         * string/argz-stringify.c: Likewise.
35219         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35220         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35221         Declare hidden proto.
35222         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35223         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35224         Declare hidden proto.
35225         * include/stdio.h (__asprintf_internal): Don't declare.
35226         (__asprintf): Don't define as macro.  Declare hidden proto.
35227         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35228         (__fsetlocking): Declare hidden proto.
35229         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35230         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35231         hidden proto.
35232         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35233         (_IO_setlinebuf): Remove use of INTUSE.
35234         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35235         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35236         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35237         Remove declaration.
35238         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35239         (_IO_do_flush): Remove use of INTUSE.
35240         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35241         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35242         (_IO_adjust_column, _IO_least_wmarker)
35243         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35244         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35245         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35246         (_IO_default_doallocate, _IO_wdefault_doallocate)
35247         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35248         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35249         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35250         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35251         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35252         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35253         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35254         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35255         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35256         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35257         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35258         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35259         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35260         proto.
35261         (_IO_flush_all_internal, _IO_adjust_column_internal)
35262         (_IO_default_uflow_internal, _IO_default_finish_internal)
35263         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35264         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35265         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35266         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35267         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35268         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35269         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35270         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35271         (_IO_file_close_internal, _IO_file_close_it_internal)
35272         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35273         (_IO_file_init_internal, _IO_file_attach_internal)
35274         (_IO_file_fopen_internal, _IO_file_read_internal)
35275         (_IO_file_sync_internal, _IO_file_seek_internal)
35276         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35277         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35278         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35279         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35280         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35281         (_IO_list_all_internal, _IO_link_in_internal)
35282         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35283         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35284         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35285         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35286         (_IO_do_write_internal, _IO_padn_internal)
35287         (_IO_getline_info_internal, _IO_getline_internal)
35288         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35289         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35290         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35291         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35292         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35293         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35294         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35295         with libc_hidden_ver, remove use of INTUSE.
35296         * libio/genops.c: Likewise.
35297         * libio/freopen.c: Likewise.
35298         * libio/freopen64.c: Likewise.
35299         * libio/iofclose.c: Likewise.
35300         * libio/iofdopen.c: Likewise.
35301         * libio/iofflush.c: Likewise.
35302         * libio/iofflush_u.c: Likewise.
35303         * libio/iofgets.c: Likewise.
35304         * libio/iofgets_u.c: Likewise.
35305         * libio/iofopen.c: Likewise.
35306         * libio/iofopncook.c: Likewise.
35307         * libio/iofread.c: Likewise.
35308         * libio/iofread_u.c: Likewise.
35309         * libio/ioftell.c: Likewise.
35310         * libio/iofwrite.c: Likewise.
35311         * libio/iogetline.c: Likewise.
35312         * libio/iogets.c: Likewise.
35313         * libio/iogetwline.c: Likewise.
35314         * libio/iopadn.c: Likewise.
35315         * libio/iopopen.c: Likewise.
35316         * libio/ioseekoff.c: Likewise.
35317         * libio/ioseekpos.c: Likewise.
35318         * libio/iosetbuffer.c: Likewise.
35319         * libio/iosetvbuf.c: Likewise.
35320         * libio/ioungetc.c: Likewise.
35321         * libio/ioungetwc.c: Likewise.
35322         * libio/iovdprintf.c: Likewise.
35323         * libio/iovsprintf.c: Likewise.
35324         * libio/iovsscanf.c: Likewise.
35325         * libio/memstream.c: Likewise.
35326         * libio/obprintf.c: Likewise.
35327         * libio/oldfileops.c: Likewise.
35328         * libio/oldiofclose.c: Likewise.
35329         * libio/oldiofdopen.c: Likewise.
35330         * libio/oldiofopen.c: Likewise.
35331         * libio/oldiopopen.c: Likewise.
35332         * libio/oldstdfiles.c: Likewise.
35333         * libio/putc.c: Likewise.
35334         * libio/setbuf.c: Likewise.
35335         * libio/setlinebuf.c: Likewise.
35336         * libio/stdfiles.c: Likewise.
35337         * libio/strops.c: Likewise.
35338         * libio/vasprintf.c: Likewise.
35339         * libio/vscanf.c: Likewise.
35340         * libio/vsnprintf.c: Likewise.
35341         * libio/vswprintf.c: Likewise.
35342         * libio/wfiledoalloc.c: Likewise.
35343         * libio/wfileops.c: Likewise.
35344         * libio/wgenops.c: Likewise.
35345         * libio/wmemstream.c: Likewise.
35346         * libio/wstrops.c: Likewise.
35347         * libio/__fpurge.c: Likewise.
35348         * libio/__fsetlocking.c: Likewise.
35349         * assert/assert.c: Likewise.
35350         * debug/fgets_chk.c: Likewise.
35351         * debug/fgets_u_chk.c: Likewise.
35352         * debug/fread_chk.c: Likewise.
35353         * debug/fread_u_chk.c: Likewise.
35354         * debug/gets_chk.c: Likewise.
35355         * debug/obprintf_chk.c: Likewise.
35356         * debug/vasprintf_chk.c: Likewise.
35357         * debug/vdprintf_chk.c: Likewise.
35358         * debug/vsnprintf_chk.c: Likewise.
35359         * debug/vsprintf_chk.c: Likewise.
35360         * malloc/mtrace.c: Likewise.
35361         * misc/error.c: Likewise.
35362         * misc/syslog.c: Likewise.
35363         * stdio-common/asprintf.c: Likewise.
35364         * stdio-common/fxprintf.c: Likewise.
35365         * stdio-common/getw.c: Likewise.
35366         * stdio-common/isoc99_fscanf.c: Likewise.
35367         * stdio-common/isoc99_scanf.c: Likewise.
35368         * stdio-common/isoc99_vfscanf.c: Likewise.
35369         * stdio-common/isoc99_vscanf.c: Likewise.
35370         * stdio-common/isoc99_vsscanf.c: Likewise.
35371         * stdio-common/printf-prs.c: Likewise.
35372         * stdio-common/printf_fp.c: Likewise.
35373         * stdio-common/printf_fphex.c: Likewise.
35374         * stdio-common/printf_size.c: Likewise.
35375         * stdio-common/putw.c: Likewise.
35376         * stdio-common/scanf.c: Likewise.
35377         * stdio-common/sprintf.c: Likewise.
35378         * stdio-common/tmpfile.c: Likewise.
35379         * stdio-common/vfprintf.c: Likewise.
35380         * stdio-common/vfscanf.c: Likewise.
35381         * stdlib/strfmon_l.c: Likewise.
35382         * sunrpc/openchild.c: Likewise.
35383         * sunrpc/xdr_stdio.c: Likewise.
35384         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35385         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35386
35387 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35388
35389         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35390
35391         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35392         in the third column, to generate for the shared library an IFUNC
35393         that uses _dl_vdso_vsym.
35394         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35395         * Makeconfig (object-suffixes-noshared): New variable.
35396
35397         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35398         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35399         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35400         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35401
35402         [BZ #14132]
35403         * include/sys/time.h (__gettimeofday): Remove macro.
35404         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35405         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35406         Remove INTDEF.
35407         (__gettimeofday): Add libc_hidden_def.
35408         (gettimeofday): Add libc_hidden_weak.
35409         * sysdeps/mach/gettimeofday.c: Likewise.
35410         * sysdeps/posix/gettimeofday.c: Likewise.
35411         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35412         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35414         (__gettimeofday_internal): Remove strong_alias.
35415         (__gettimeofday): Add libc_hidden_def.
35416         (gettimeofday): Add libc_hidden_weak.
35417         * sysdeps/unix/syscalls.list (gettimeofday):
35418         Remove __gettimeofday_internal alias.
35419
35420 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35421             H.J. Lu  <hongjiu.lu@intel.com>
35422
35423         [BZ #12495]
35424         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35425         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35426         (largebin_index_32_big): New.
35427         (largebin_index): Use it for 16-byte alignment.
35428         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35429         correction with front_misalign.
35430
35431 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35432
35433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35435         Likewise.
35436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35437         Likewise.
35438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35439         Likewise.
35440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35441         Likewise.
35442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35443         Likewise.
35444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35445         Likewise.
35446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35447         Likewise.
35448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35449         Likewise.
35450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35451         Likewise.
35452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35453         Likewise.
35454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35455         Likewise.
35456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35457         Likewise.
35458
35459         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35460         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35461
35462 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35463
35464         [BZ #10846]
35465         [BZ #14036]
35466         * math/libm-test.inc (exp_test): Add test from bug 14036.
35467         (pow_test): Add test from bug 10846.
35468
35469         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35470         and other flags.
35471         (special_function): Do not include flags in test name.
35472         (parse_args): Likewise.
35473         * sysdeps/i386/fpu/libm-test-ulps: Update.
35474         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35475         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35476         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35478
35479         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35480         exceptions.
35481         * math/libm-test.inc ("Philosophy"): Update comment about
35482         exception testing.
35483         (UNDERFLOW_EXCEPTION): New macro.
35484         (UNDERFLOW_EXCEPTION_OK): Likewise.
35485         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35486         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35487         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35488         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35489         (INVALID_EXCEPTION_OK): Update value.
35490         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35491         (OVERFLOW_EXCEPTION_OK): Likewise.
35492         (IGNORE_ZERO_INF_SIGN): Likewise.
35493         (test_exceptions): Handle underflow exceptions.
35494         (acos_test): Update for underflow exception expectations.
35495         (cexp_test): Likewise.
35496         (clog_test): Likewise.
35497         (clog10_test): Likewise.
35498         (csqrt_test): Likewise.
35499         (ctan_test): Likewise.
35500         (ctanh_test): Likewise.
35501         (exp_test): Likewise.
35502         (exp10_test): Likewise.
35503         (exp2_test): Likewise.
35504         (expm1_test): Likewise.
35505         (fma_test): Likewise.
35506         (j0_test): Likewise.
35507         (jn_test): Likewise.
35508         (nexttoward_test): Likewise.
35509         (pow_test): Likewise.
35510         (scalbn_test): Likewise.
35511         (scalbln_test): Likewise.
35512         (tan_test): Likewise.
35513         (y1_test): Likewise.
35514         * sysdeps/i386/fpu/libm-test-ulps: Update.
35515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35516
35517 2012-05-23  David S. Miller  <davem@davemloft.net>
35518
35519         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35520         (__libc_sigaction): Remove unused local variables.
35521
35522 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35523
35524         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35525
35526 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35527
35528         mktime: avoid signed integer overflow
35529         * time/mktime.c (__mktime_internal): Do not mishandle the case
35530         where diff == INT_MIN.
35531
35532         mktime: simplify computation of average
35533         * time/mktime.c (ranged_convert): Use new time_t_avg function
35534         instead of rolling our own (probably-slower) code.
35535
35536         mktime: do not assume signed right shift propagates sign bit
35537         * time/mktime.c (isdst_differ): New static function.
35538         (__mktime_internal): No need to normalize tm_isdst now.
35539         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35540         tm_isdst values.
35541
35542         mktime: merge another wrapv change from gnulib
35543         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35544         from some compilers.
35545
35546         mktime: remove incorrect attempt at unusual arithmetics
35547         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35548         The code didn't really work on such machines anyway.
35549         (TYPE_MINIMUM): Assume two's complement.
35550         (twos_complement_arithmetic): Verify that long_int and time_t
35551         are two's complement (or unsigned, in the latter case).
35552
35553         mktime: check signed shifts on long_int and time_t, too
35554         * time/mktime.c (SHR): Check that shifts work as desired
35555         on the types long_int and time_t too, as SHR is used on
35556         such types.
35557
35558         mktime: do not assume 'long' is wide enough
35559         * time/mktime.c (verify): Move decl up.
35560         (long_int): New type.
35561         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35562         to remove assumption in the code that 'long' is wide enough to
35563         store year values.  This assumption is not true on x32 and on
35564         some non-glibc platforms.
35565
35566         mktime: merge wrapv change from gnulib
35567         * time/mktime.c (WRAPV): New macro.
35568         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35569         (guess_time_tm, __mktime_internal): Do not assume that signed
35570         integer overflow wraps around; modern compilers generate code
35571         where this assumption is no longer valid.
35572
35573 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35574
35575         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35576         Replace "jmp L(pseudo_end)" with "ret".
35577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35578         Likewise.
35579
35580 2012-05-23  Andreas Jaeger  <aj@suse.de>
35581
35582         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35583         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35584
35585 2012-05-23  Andreas Jaeger  <aj@suse.de>
35586             Maximilian Attems  <max@stro.at>
35587
35588         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35589         New macros.
35590
35591 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35592
35593         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35594         code so that pseudo_end is just ret and the stack pointer is
35595         correct also for static library in error case.
35596
35597 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35598
35599         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35600         move to syscalls.list.
35601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35605
35606         * manual/install.texi (Running make install): Do not mention Linux
35607         kernel version for which pt_chown is not needed.
35608         (Linux): Do not mention problems with nscd with 2.0 kernels.
35609         * INSTALL: Regenerated.
35610
35611 2012-05-23  Andreas Jaeger  <aj@suse.de>
35612
35613         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35614         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35615         macro.
35616         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35617         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35618         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35620         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35622         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35624         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35626         * sysdeps/unix/sysv/linux/bits/in.h
35627         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35628
35629 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35630
35631         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35632         (PREPARE_VERSION): Just use assert instead, it will be elided
35633         under [NDEBUG] anyway.
35634
35635 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35636
35637         * sysdeps/unix/sysv/linux/Makefile: Include
35638         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35639         (sysdep_routines): Remove sysctl.
35640         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35641         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35642         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35643         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35644         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35645
35646 2012-05-22  Andreas Jaeger  <aj@suse.de>
35647
35648         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35649         that pseudo_end is just ret and the stack pointer is correct also
35650         for static library in error case.
35651
35652 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35653
35654         [BZ #14122]
35655         * nss/nsswitch.c (defconfig_entries): New variable.
35656         (__nss_database_lookup): Don't leak defconfig entries.
35657         (nss_parse_service_list): Don't leak on error paths.
35658         (free_database_entries): New function.
35659         (free_defconfig): New function.
35660         (free_mem): Move common code to free_database_entries.
35661
35662 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35663
35664         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35665         Add arch_prctl.
35666         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35667
35668         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35669         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35670         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35671         New macro.
35672         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35673         (INTERNAL_SYSCALL_TYPES): Likewise.
35674         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35675         (LOAD_REGS_TYPES_[1-6]): Likewise.
35676         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35677         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35678
35679 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35680
35681         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35682         copysignl for GLIBC_2_0.
35683         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35684         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35686         logbl for GLIBC_2_0.
35687         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35688         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35689
35690 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35691
35692         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35693         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35694
35695         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35696         Use "neg %eax".
35697
35698         * time/mktime.c: Update copyright years.
35699
35700 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35701
35702         mktime: merge comment-quoting-style change from gnulib
35703         * time/mktime.c: Quote 'like this' in comments.
35704         The GNU coding standards suggest that we no longer quote `like this',
35705         as "`" and "'" are typically rendered asymmetrically nowadays.
35706         The typical gnulib style is to quote 'like this' when quoting
35707         code, and "like this" when quoting English.
35708
35709         * time/mktime.c (compile-command): Add "-I.".
35710
35711         mktime: merge mktime-internal.h change from gnulib
35712         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35713
35714         mktime: merge time_r change from gnulib
35715         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35716
35717         mktime: merge DEBUG change from gnulib
35718         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35719         case system <time.h> has a #define.
35720
35721         mktime: merge <sys/types.h> change from gnulib
35722         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35723         since <time.t> is now guaranteed to define time_t.
35724
35725         mktime: merge HAVE_CONFIG_H change from gnulib
35726         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35727
35728 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35729
35730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35731         Use "neg %eax".
35732
35733         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35734         __rlim_t cast.
35735         (struct rusage): Use anonymous union to pad each field to
35736         __syscall_slong_t.
35737
35738 2012-05-21  David S. Miller  <davem@davemloft.net>
35739
35740         * Makefules (o-iterator): Remove .s cases.
35741         (compile-command.s): Delete.
35742         (COMPILE.s): Delete.
35743         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35744
35745 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35746
35747         * configure.in (libc_cv_predef_stack_protector): Only consider
35748         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35749         * configure: Regenerated.
35750
35751 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35752
35753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35754         New macro.  Use R*LP on int and pointer.
35755         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35756         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35757         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35758         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35759
35760         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35761         [__WORDSIZE_TIME64_COMPAT32] instead of
35762         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35763         (struct utmp): Likewise.
35764         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35765         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35766         Renamed to ...
35767         (__WORDSIZE_TIME64_COMPAT32): This.
35768         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35769         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35770         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35771         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35772         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35773         (__WORDSIZE_TIME64_COMPAT32): New macro.
35774
35775 2012-05-21  Andreas Jaeger  <aj@suse.de>
35776
35777         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35778         only if [SHARED]. Add prototype for __wcschr_ia32.
35779
35780 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35781
35782         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35783         of %rbp unmolested in the jmp_buf while mangling the low bits.
35784         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35785         unmolested high bits of %rbp while demangling the low bits.
35786         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35787
35788 2012-05-21  Andreas Jaeger  <aj@suse.de>
35789
35790         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35791         * sunrpc/svc_simple.c: Use it for registerrpc.
35792         * sunrpc/xcrypt.c: Use it for passwd2des.
35793
35794         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35795
35796 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35797
35798         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35799         Don't define if [__SYSCALL_WORDSIZE != 32].
35800         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35801         New macro.
35802
35803 2012-05-21  Bruno Haible  <bruno@clisp.org>
35804             Andreas Jaeger  <aj@suse.de>
35805
35806         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35807         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35808         inptr and inend for must_buffer_ch.
35809         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35810         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35811         * stdio-common/Makefile (tests): Remove bug15.
35812         (bug15-ENV): Remove macro.
35813         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35814         anymore.
35815
35816 2012-05-19  Andreas Jaeger  <aj@suse.de>
35817             Roland McGrath  <roland@hack.frob.com>
35818
35819         * manual/contrib.texi: Completely rewritten. It contains now an
35820         alphabetical list of contributors and their contributions.
35821
35822 2012-05-21  Richard Henderson  <rth@twiddle.net>
35823
35824         * misc/getauxval.c (__getauxval): Use unsigned long int.
35825         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35826         (getauxval): Use unsigned long int.
35827
35828 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35829
35830         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35831
35832 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35833
35834         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35835         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35836         __alignof__ (long double).
35837
35838 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35839
35840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35841
35842 2012-05-20  Richard Henderson  <rth@twiddle.net>
35843
35844         * misc/getauxval.c: New file.
35845         * misc/sys/auxv.h: New file.
35846         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35847         (routines): Add getauxval.
35848         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35849         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35850         * elf/dl-sysdep.c (_dl_auxv): Remove.
35851         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35852         * elf/dl-support.c (_dl_auxv): New variable.
35853         (_dl_aux_init): Initialize it.
35854         * manual/startup.texi (Auxiliary Vector): New node.
35855         * sysdeps/generic/bits/hwcap.h: New file.
35856         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35857         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35858         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35859         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35860         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35861         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35863         Update.
35864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35867         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35872
35873 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35874
35875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35876
35877 2012-05-19  David S. Miller  <davem@davemloft.net>
35878
35879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35880
35881 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35882
35883         [BZ #14123]
35884         * math/s_ccosh.c: Include <float.h>
35885         (__ccosh): Avoid internal overflow calculating sinh and cosh
35886         values before multiplying by sin and cos values.
35887         * math/s_ccoshf.c: Likewise.
35888         * math/s_ccoshl.c: Likewise.
35889         * math/s_csin.c: Likewise.
35890         * math/s_csinf.c: Likewise.
35891         * math/s_csinl.c: Likewise.
35892         * math/s_csinh.c: Likewise.
35893         * math/s_csinhf.c: Likewise.
35894         * math/s_csinhl.c: Likewise.
35895         * math/libm-test.inc (ccos_test): Add more tests.
35896         (ccosh_test): Likewise.
35897         (csin_test): Likewise.
35898         (csinh_test): Likewise.
35899         * sysdeps/i386/fpu/libm-test-ulps: Update.
35900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35901
35902 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35903
35904         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35905         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35906
35907         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35908
35909 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35910
35911         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35912         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35913         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35914         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35915         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35916         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35917         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35918         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35919         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35920         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35921         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35922         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35923         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35924         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35925         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35926         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35927         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35928         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35929         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35930         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35931         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35932         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35933         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35934         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35935         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35936         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35937         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35938         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35939         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35940         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35941         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35942
35943 2012-05-18  Andreas Jaeger  <aj@suse.de>
35944
35945         * csu/.gitignore: Delete.
35946
35947 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35948
35949         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35950         (timex): Use __syscall_slong_t.
35951
35952 2012-05-18  Andreas Jaeger  <aj@suse.de>
35953             Carlos O'Donell  <carlos_odonell@mentor.com>
35954
35955         * manual/install.texi (Configuring and compiling): Update
35956         description about files modified in the source directory.
35957         * INSTALL: Regenerated.
35958
35959 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35960
35961         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35962         value.  Use "or" to set return value to -1.
35963         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35964         negate return value.
35965
35966 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35967
35968         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35969         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35970         failure if the compiler has Graphite support disabled.
35971         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35972         Likewise.
35973         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35974         (CFLAGS-memmove.c): Likewise.
35975         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35976         Likewise.
35977
35978 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35979
35980         * sysdeps/x86_64/x32/_itoa.h: New file.
35981
35982         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35983         getdents system call only if kernel and user dirents have the
35984         same d_ino and d_off.
35985
35986         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35987         LLONG_MAX != LONG_MAX.
35988         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35989         (_fitoa_word): Likewise.
35990
35991         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35992         years.
35993         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35994         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35995         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35996
35997         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35998         include <bits/wordsize.h>.  Check __x86_64__ instead of
35999         __WORDSIZE.
36000         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36001         if __x86_64__ is defined.  Use anonymous union on fpstate.
36002
36003         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36004         anonymous union.
36005
36006 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36007
36008         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36009         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36010         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36011         Refer to _rtld_local_ro instead of _rtld_global_ro.
36012         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36013         Likewise.
36014         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36015         Likewise.
36016         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36017         Likewise.
36018         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36019         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36020         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36021
36022         * sysdeps/powerpc/powerpc32/dl-machine.c
36023         (__elf_machine_runtime_setup) [PROF]: Don't reference
36024         _dl_prof_resolve.
36025
36026 2012-05-18  Andreas Jaeger  <aj@suse.de>
36027
36028         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36029         function only available for GCCs before 3.4 since GCC 3.4
36030         introduced a builtin.
36031         (lrint): Likewise.
36032         (llrintf): Likewise.
36033         (llrint): Likewise.
36034         (fmaxf): Likewise.
36035         (fmax): Likewise.
36036         (fminf): Likewise.
36037         (fmin): Likewise.
36038         (rint): Likewise.
36039         (rintf): Likewise.
36040         (nearbyint): Likewise.
36041         (nearbyintf): Likewise.
36042         (ceil): Likewise.
36043         (ceilf): Likewise.
36044         (floor): Likewise.
36045         (floorf): Likewise.
36046
36047 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36048
36049         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36050         on both fields and cast pointer to __syscall_ulong_t.
36051
36052         * bits/types.h (__fsword_t): New type.
36053         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36054         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36055         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36056         (__FSWORD_T_TYPE): Likewise.
36057         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36058         (__FSWORD_T_TYPE): Likewise.
36059         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36060         (__FSWORD_T_TYPE): Likewise.
36061         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36062         (__FSWORD_T_TYPE): Likewise.
36063         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36064         __SWORD_TYPE with __fsword_t.
36065         (statfs64): Likewise.
36066
36067 2012-05-17  David S. Miller  <davem@davemloft.net>
36068
36069         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36070
36071 2012-05-17  Andreas Jaeger  <aj@suse.de>
36072
36073         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36074         warning.
36075
36076 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36077
36078         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36079
36080 2012-05-17  Andreas Jaeger  <aj@suse.de>
36081
36082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36083         when it is used.
36084
36085 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36086
36087         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36088
36089 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36090
36091         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36092         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36093
36094 2012-05-17  Andreas Jaeger  <aj@suse.de>
36095             Carlos O'Donell  <carlos_odonell@mentor.com>
36096
36097         [BZ #14059]
36098         * sysdeps/x86_64/multiarch/init-arch.h
36099         (bit_YMM_Usable): Rename to...
36100         (bit_AVX_Usable): ... this.
36101         (bit_FMA4_Usable): New macro.
36102         (bit_XMM_state): New macro.
36103         (bit_YMM_state): New macro.
36104         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36105         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36106         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36107         (CPUID_OSXSAVE): New macro.
36108         (CPUID_AVX): New macro.
36109         (CPUID_FMA4): New macro.
36110         (index_YMM_Usable): Rename to...
36111         (index_AVX_Usable): ... this.
36112         (HAS_AVX): Use HAS_ARCH_FEATURE.
36113         (HAS_FMA4): Likewise.
36114         (HAS_YMM_USABLE): Remove.
36115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36116         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36117         are present.
36118         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36119         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36120         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36121         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36122         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36123
36124 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36125
36126         * math/libm-test.c: Support platforms without multiple rounding modes.
36127         * math/bug-nextafter.c: Support platforms without FP exceptions.
36128         * math/bug-nexttoward.c: Likewise.
36129         * math/test-fenv.c: Likewise.
36130         * math/test-misc.c: Likewise.
36131         * stdlib/bug-getcontext.c: Likewise.
36132
36133 2012-05-17  Andreas Jaeger  <aj@suse.de>
36134
36135         * manual/examples/search.c (critter_cmp): Change signature to
36136         avoid warnings.
36137         * manual/string.texi (Collation Functions): Likewise.
36138
36139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36140
36141         * bits/types.h: Fold copyright years.
36142         * bits/typesizes.h: Likewise.
36143         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36144         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36147         * time/time.h: Likewise.
36148
36149 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36150
36151         [BZ #208]
36152         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36153         in instead of returning them.  Return void.
36154         (__libc_mallinfo): Accumulate over all arenas.
36155         (__malloc_stats): Adjust for change in int_mallinfo interface.
36156
36157 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36158
36159         [BZ #10375]
36160         * configure.in (NM): Add AC_CHECK_TOOL for it.
36161         (libc_extra_cflags): New substituted variable.
36162         Check for -fstack-protector being used implicitly.
36163         * configure: Regenerated.
36164         * config.make.in (config-extra-cflags): New variable,
36165         gets @libc_extra_cflags@.
36166         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36167
36168         [BZ #10375]
36169         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36170         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36171         * configure: Regenerated.
36172         * config.make.in (CPPUNDEFS): New substituted variable.
36173         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36174         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36175         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36176
36177 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36178
36179         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36180         (mq_attr): Use __syscall_slong_t.
36181
36182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36183
36184         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36185         Check __x86_64__ instead of __WORDSIZE.
36186         (_STAT_VER_LINUX): Likewise.
36187         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36188         __syscall_ulong_t and __syscall_slong_t.
36189         (stat64): Likewise.
36190
36191 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36192
36193         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36194
36195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36196
36197         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36198
36199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36200
36201         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36202         __syscall_ulong_t.
36203
36204         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36205         include <bits/wordsize.h>.  Check __x86_64__ instead of
36206         __WORDSIZE.
36207         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36208         defined.
36209         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36210
36211         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36212         include <bits/wordsize.h>.  Check __x86_64__ instead of
36213         __WORDSIZE.
36214         (user_regs_struct): Use "__extension__ unsigned long long"
36215         instead of "unsigned long" if __x86_64__ is defined.
36216         (user): Likewise.  Pad after pointer field if __ILP32__ is
36217         defined.
36218
36219 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36220
36221         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36222         versions 5 to 9.
36223         * configure: Regenerated.
36224         * manual/install.texi (texinfo): Increase version requirement to
36225         4.5 or later.
36226         * INSTALL: Regenerated.
36227
36228         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36229
36230 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36231
36232         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36233
36234         * sysdeps/x86_64/x32/ffs.c: New file.
36235
36236         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36237         __syscall_ulong_t.
36238         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36239         defined.  Use __syscall_ulong_t.
36240         (shminfo): Use __syscall_ulong_t.
36241         (shm_info): Likewise.
36242
36243         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36244         __syscall_ulong_t.
36245
36246         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36247         <bits/wordsize.h>.
36248         (msgqnum_t): Use __syscall_ulong_t.
36249         (msglen_t): Likewise.
36250         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36251         __syscall_ulong_t.
36252
36253         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36254         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36255
36256         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36257
36258         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36259         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36260
36261         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36262         __syscall_slong_t.
36263
36264         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36265         include <bits/wordsize.h>.  Check __x86_64__ instead of
36266         __WORDSIZE.
36267
36268         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36269         "unsigned long long int" if __x86_64__ is defined.
36270         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36271
36272         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36273         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36274         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36275
36276         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36277         <stdint.h>.
36278         (GET_PC): Cast to uintptr_t first.
36279         (GET_FRAME): Likewise.
36280         (GET_STACK): Likewise.
36281
36282         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36283         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36284         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36285         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36286         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36287         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36288         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36289         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36290         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36291         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36292         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36294         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36296         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36297         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36298         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36300         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36302         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36303         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36304         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36305         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36306         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36307         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36308         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36310         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36311
36312 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36313
36314         * Makerules (+depfiles): Also collect depfiles from .oS in
36315         $(extra-objs).
36316         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36317         .oS, $(libnldbl-routines)).
36318
36319         * Makerules (native-compile-mkdep-flags): Define.
36320         * sunrpc/Makefile (extra-objs): Add $(addprefix
36321         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36322         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36323         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36324         calling $(make-target-directory).
36325
36326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36327
36328         * bits/types.h (__snseconds_t): Removed.
36329         * time/time.h (struct timespec): Replace __snseconds_t with
36330         __syscall_slong_t.
36331         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36332         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36333         Likewise.
36334         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36335         (__SNSECONDS_T_TYPE): Likewise.
36336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36337         (__SNSECONDS_T_TYPE): Likewise.
36338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36339         (__SNSECONDS_T_TYPE): Likewise.
36340
36341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36342
36343         * sysdeps/mach/hurd/bits/typesizes.h
36344         (__SYSCALL_SLONG_TYPE): New macro.
36345         (__SYSCALL_ULONG_TYPE): Likewise.
36346
36347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36348
36349         * bits/types.h (__syscall_slong_t): New type.
36350         (__syscall_ulong_t): Likewise.
36351
36352         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36353         (__SYSCALL_ULONG_TYPE): Likewise.
36354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36355         (__SYSCALL_SLONG_TYPE): Likewise.
36356         (__SYSCALL_ULONG_TYPE): Likewise.
36357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36358         (__SYSCALL_SLONG_TYPE): Likewise.
36359         (__SYSCALL_ULONG_TYPE): Likewise.
36360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36361         (__SYSCALL_SLONG_TYPE): Likewise.
36362         (__SYSCALL_ULONG_TYPE): Likewise.
36363
36364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36365
36366         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36367         Add sigaltstack-offsets.sym.
36368         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36369         <sigaltstack-offsets.h>.
36370         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36371         longjmp_msg pointer.
36372         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36373         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36374         signal stack.
36375         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36376
36377 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36378
36379         * elf/stackguard-macros.h: Remove file.
36380         * sysdeps/generic/stackguard-macros.h: New file.
36381         * sysdeps/i386/stackguard-macros.h: Likewise.
36382         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36383         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36384         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36385         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36386         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36387         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36388         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36389         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36390         <elf/stackguard-macros.h>.
36391
36392         [BZ #14109]
36393         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36394         __aligned__ in attribute.
36395         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36396         (gregset_t): Likewise.
36397
36398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36399
36400         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36401         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36402         * sysdeps/x86_64/x32/Implies-after: New file.
36403
36404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36405
36406         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36407         and access return value for _dl_profile_fixup.  Use R10_LP to
36408         load frame size.
36409
36410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36411
36412         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36413
36414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36415
36416         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36417         * sysdeps/x86_64/x32/sysdep.h: New file.
36418
36419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36420
36421         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36422         * sysdeps/x86_64/setjmp.S: Likewise.
36423
36424 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36425
36426         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36427         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36428         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36430         remove unused global constant.
36431
36432 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36433
36434         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36435         include of <not-cancel.h>.
36436
36437 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36438
36439         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36440
36441 2012-05-15  Jeff Law  <law@redhat.com>
36442             Andreas Jaeger  <aj@suse.de>
36443
36444         [BZ #13594]
36445         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36446         out from...
36447         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36448         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36449         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36450         code changing __hst_map_handle.map.
36451
36452 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36453
36454         * configure.in (sysnames): Look for Implies-before and Implies-after
36455         files.
36456         * configure: Regenerated.
36457
36458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36459
36460         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36461         8-byte data alignment with LP_SIZE alignment.
36462
36463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36464
36465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36466         into R10_LP.
36467
36468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36469
36470         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36471
36472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36473
36474         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36475         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36476         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36477         Likewise.
36478         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36479
36480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36481
36482         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36483         (stackinfo_sub_sp): Likewise.
36484
36485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36486
36487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36488         RAX_LP.
36489
36490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36491
36492         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36493         into R*_LP.
36494
36495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36496
36497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36498         sizes into R*_LP.
36499
36500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36501
36502         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36503
36504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36505
36506         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36507         into R11_LP and load __x86_64_shared_cache_size_half into
36508         R8_LP.
36509
36510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36511
36512         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36513         R8_LP.
36514
36515 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36516
36517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36518         logb for POWER7.
36519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36520         logbf for POWER7.
36521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36522         logbl for POWER7.
36523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36524         powerpc32/power7/fpu/s_logb.c via #include.
36525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36526         powerpc32/power7/fpu/s_logbf.c via #include.
36527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36528         powerpc32/power7/fpu/s_logbl.c via #include.
36529
36530 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36531
36532         * README.libm: Remove file.
36533
36534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36535
36536         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36537         count for x32.  Use R*_LP and omit operand-size suffix.
36538
36539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36540
36541         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36542         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36543         * sysdeps/x86_64/x32/shlib-versions: New file.
36544
36545 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36546
36547         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36548         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36549         Use _dl_fatal_printf instead.
36550
36551 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36552
36553         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36554         set if not set by the user.  Do not allow for being unset.
36555         * sysdeps/unix/sysv/linux/configure: Regenerated.
36556
36557 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36558
36559         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36560         the `q' suffix from lea and replace .quad with ASM_ADDR.
36561
36562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36563
36564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36565         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36566         instead of $17.
36567         (PTR_DEMANGLE): Likewise.
36568
36569 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36570
36571         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36572         (LP_OP): Likewise.
36573         (ASM_ADDR): Likewise.
36574         (RAX_LP): Likewise.
36575         (RBP_LP): Likewise.
36576         (RBX_LP): Likewise.
36577         (RCX_LP): Likewise.
36578         (RDI_LP): Likewise.
36579         (RSI_LP): Likewise.
36580         (RSP_LP): Likewise.
36581         (R8_LP): Likewise.
36582         (R9_LP): Likewise.
36583         (R10_LP): Likewise.
36584         (R10_LP): Likewise.
36585         (R11_LP): Likewise.
36586         (R12_LP): Likewise.
36587         (R13_LP): Likewise.
36588         (R14_LP): Likewise.
36589         (R15_LP): Likewise.
36590
36591 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36592
36593         * sysdeps/x86_64/x32/dl-machine.h: New file.
36594
36595 2012-05-14  Andreas Jaeger  <aj@suse.de>
36596
36597         * manual/Makefile (subdir): Remove export of subdir.
36598         (all): Remove target.
36599         (.PHONY): Remove all from list.
36600         (mkinstalldirs): Remove.
36601         (.PHONY): Remove installdirs from list.
36602         ($(inst_infodir)/libc.info): Use make-target-directory.
36603         (installdirs): Remove.
36604         (subdir_%): Remove.
36605         (glibc-targets): Remove.
36606         (lib): Remove.
36607         (stubs): Remove.
36608         ($(objpfx)stubs ../po/manual.pot): Remove.
36609         ($(objpfx)stamp%): Remove.
36610         (make-target-directory): Remove.
36611         (subdir_install): Remove.
36612         (routines): Remove.
36613         (aux): Remove.
36614         (sources): Remove.
36615         (objects): Remove.
36616         (headers): Remove.
36617
36618         [BZ #13750]
36619         * manual/.gitignore: Remove, it's not needed anymore.
36620         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36621         all files in it.
36622         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36623         directory.
36624         (texis): Renamed to $(objpfx)texis.
36625         (texis-path): New, contains path to generated files.
36626         (chapters.%): Use texis-path for complete path, add extra argument
36627         libc-texinfo.sh.
36628         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36629         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36630         (summary,texi, stamp-summary): Use complete path of
36631         files. Generate files in build dir.
36632         (dir-add.texi): Build in build dir.
36633         (libm-err.texi,stamp-libm-err): Likewise.
36634         (version.texi, stamp-version): Likewise.
36635         (.%c.texi): Likewise.
36636         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36637         (mostlyclean): Remove target.
36638         (realclean): Remove target.
36639         (generated): Add new variable with contents from mostlyclean and
36640         realclean, remove entries duplicated in common-mostlyclean, add
36641         stamp-libm-err and stamp-version.
36642         (generated-dirs): Add libc directory.
36643         ($(inst_infodir)/libc.info): Install files from build dir.
36644
36645         * manual/install.texi (Configuring and compiling): Adjust since
36646         the info files are not part of the tar ball anymore.
36647
36648 2012-05-14  Andreas Jaeger  <aj@suse.de>
36649
36650         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36651         variable.
36652
36653 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36654
36655         [BZ #13717]
36656         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36657         to 2.2.0 where earlier.
36658         * sysdeps/unix/sysv/linux/configure: Regenerated.
36659         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36660         Remove conditional code.
36661         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36662         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36663         Remove conditional code.
36664         [!__NR_lchown]: Likewise.
36665         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36666         [__NR_lchown]: Likewise.
36667         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36668         comment referencing __ASSUME_LCHOWN_SYSCALL.
36669         * sysdeps/unix/sysv/linux/i386/sigaction.c
36670         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36671         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36672         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36673         Remove conditional code.
36674         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36675         (__protocol_available): Remove #if 0 code.
36676         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36677         conditional code.
36678         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36679         * sysdeps/unix/sysv/linux/kernel-features.h
36680         (__ASSUME_GETCWD_SYSCALL): Don't define.
36681         (__ASSUME_REALTIME_SIGNALS): Likewise.
36682         (__ASSUME_PREAD_SYSCALL): Likewise.
36683         (__ASSUME_PWRITE_SYSCALL): Likewise.
36684         (__ASSUME_POLL_SYSCALL): Likewise.
36685         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36686         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36687         non-SPARC.
36688         (__ASSUME_SIOCGIFNAME): Don't define.
36689         (__ASSUME_MSG_NOSIGNAL): Likewise.
36690         (__ASSUME_SENDFILE): Define unconditionally.
36691         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36692         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36693         conditional code.
36694         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36695         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36696         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36697         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36698         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36699         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36700         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36702         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36703         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36705         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36708         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36711         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36714         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36715         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36717         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36718         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36720         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36721         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36723         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36724         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36725         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36726         Remove conditional code.
36727         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36728         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36729         Remove conditional code.
36730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36731         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36732         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36733         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36734         Remove conditional code.
36735         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36736         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36737         Remove conditional code.
36738         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36739         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36740         Remove conditional code.
36741         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36742         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36743         Remove conditional code.
36744         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36745         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36746         Remove conditional code.
36747         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36748         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36749         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36750         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36751         * sysdeps/unix/sysv/linux/sigaction.c
36752         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36753         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36754         * sysdeps/unix/sysv/linux/sigpending.c
36755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36757         * sysdeps/unix/sysv/linux/sigprocmask.c
36758         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36759         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36760         * sysdeps/unix/sysv/linux/sigsuspend.c
36761         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36762         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36763         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36764         (__libc_missing_rt_sigs): Remove.
36765         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36766         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36767         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36768         Remove conditional code.
36769         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36770         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36771         return 1.
36772         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36773         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36774         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36775         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36776
36777 2012-05-14  Andreas Jaeger  <aj@suse.de>
36778
36779         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36780         it's not used in glibc.
36781         (__coshm1): Likewise.
36782         (__acosh1p): Likewise.
36783         (__sgn): Likewise.
36784
36785         * manual/string.texi (Copying and Concatenation): Add missing
36786         variable in concat example.
36787         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36788
36789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36790
36791         [BZ #14103]
36792         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36793         __builtin_clzl with __builtin_clzll.
36794
36795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36796
36797         [BZ #14104]
36798         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36799         libc_freeres_ptr.
36800
36801 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36802
36803         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36804         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36805         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36806         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36807
36808 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36809
36810         * NEWS: Update ia64 info.
36811
36812 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36813
36814         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36815         used as bcopy.
36816
36817 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36818
36819         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36820         * sysdeps/unix/syscalls.list (dup3): Likewise.
36821         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36822         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36823
36824 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36825
36826         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36827         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36828
36829 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36830
36831         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36832         thread pointer.
36833         (TLS_IE): Use mov/add instead of movq/addq to load thread
36834         pointer.
36835         (TLS_GD_PREFIX): New.
36836         (TLS_GD): Use it.
36837
36838 2012-05-11  David S. Miller  <davem@davemloft.net>
36839
36840         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36841         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36842         (_FPU_SETCW): Likewise.
36843
36844 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36845
36846         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36847         is 32-byte aligned.
36848
36849 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36850
36851         [BZ #11837]
36852         * iconvdata/gb18030.c: Update tables.
36853         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36854         characters specially.
36855         (BODY for TO_LOOP): Add encoding of missing ranges.
36856
36857 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36858
36859         [BZ #13673]
36860         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36861         * sysdeps/mach/hurd/dup3.c: Likewise.
36862         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36863         * sysdeps/powerpc/memmove.c:: Likewise.
36864
36865 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36866
36867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36868         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36869
36870 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36871
36872         * elf/elf.h (R_X86_64_RELATIVE64): New.
36873         (R_X86_64_NUM): Updated.
36874         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36875         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36876         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36877         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36878         tst-quad1pie tst-quad2pie
36879         (modules-names): Add tst-quadmod1 tst-quadmod2.
36880         ($(objpfx)tst-quad1): New dependency.
36881         ($(objpfx)tst-quad2): Likewise.
36882         ($(objpfx)tst-quad1pie): Likewise.
36883         ($(objpfx)tst-quad2pie): Likewise.
36884         * sysdeps/x86_64/tst-quad1.c: New file.
36885         * sysdeps/x86_64/tst-quad1pie.c: New file.
36886         * sysdeps/x86_64/tst-quad2.c: Likewise.
36887         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36888         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36889         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36890         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36891         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36892
36893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36894
36895         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36896         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36897         * streams/stropts.h (t_scalar_t): Define type.
36898
36899         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36900         (_PATH_PRESERVE): Set to "/var/lib".
36901         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36902
36903         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36904         instead of int.
36905
36906         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36907         if __dir_mkfile succeeded.
36908
36909         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36910         checking for _hurd_dtablesize.  Unlock it right after having
36911         finished _hurd_dtable allocation.
36912
36913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36914
36915         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36916         * sysdeps/mach/hurd/configure: Regenerated.
36917         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36918         special-casing to...
36919         * sysdeps/gnu/configure.in: ... this new file.
36920         * sysdeps/unix/sysv/linux/configure: Regenerated.
36921         * sysdeps/gnu/configure: New generated file.
36922
36923         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36924         for Linux: use nsec instead of usec, as well as:
36925         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36926         members of type struct timespec.
36927         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36928         New macros.
36929         (struct stat64): Likewise.
36930         (_STATBUF_ST_NSEC): New macro.
36931         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36932
36933         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36934         __strtoul_internal rather than strtoul.
36935
36936 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36937
36938         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36939         and reject them.
36940
36941 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36942
36943         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36944         which preserves existing values.
36945         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36946
36947 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36948
36949         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36950         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36951         greater than FD_SETSIZE.
36952
36953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36954
36955         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36956         allocated, call __vm_protect to finish enabling the existing space, and
36957         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36958         allocate the remainder.
36959
36960 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36961
36962         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36963         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36964
36965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36966
36967         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36968         sysdeps/mach/hurd/readlink.c.
36969
36970         * posix/tst-sysconf.c (posix_options): Only use
36971         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36972         _POSIX_SYNCHRONIZED_IO when they are defined
36973         * sysdeps/mach/hurd/bits/posix_opt.h:
36974         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36975         (_XOPEN_REALTIME): Undefine macro.
36976         (_XOPEN_REALTIME_THREADS): Undefine macro.
36977         (_XOPEN_SHM): Undefine macro.
36978         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36979         macro to -1.
36980         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36981         macro to -1.
36982         (_POSIX_ASYNC_IO): Undefine macro.
36983         (_POSIX_PRIORITIZED_IO): Undefine macro.
36984         (_POSIX_SPIN_LOCKS): Define macro to -1.
36985
36986         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36987         SA_NODEFER, SA_RESETHAND.
36988         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36989         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36990         F_DUPFD_CLOEXEC.
36991
36992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36993
36994         * elf/Makefile (pldd-modules): Define unconditionally.
36995
36996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36997
36998         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36999
37000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37001
37002         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37003         Return ENOENT when name is empty.
37004         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37005
37006 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37007
37008         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37009
37010         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37011
37012 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37013
37014         Fix mlock in all cases except non-readable pages.
37015         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37016         instead of VM_PROT_ALL as parameter to __vm_wire function.
37017
37018         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37019         (__mkdir): When path is `/', just fail with EEXIST.
37020         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37021
37022 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37023
37024         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37025         <sys/uio.h> (for writev).
37026         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37027         and <sys/param.h> (for MIN).
37028
37029 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37030
37031         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37032         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37033         if interrupted.
37034
37035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37036
37037         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37038         Depend on against $(link-rpcuserlibs).
37039
37040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37041
37042         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37043         (__libc_stack_end): Do not use attribute_relro.
37044         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37045         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37046         to libthread-provided value.
37047         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37048         attribute_relro.
37049
37050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37051
37052         [BZ #3748]
37053         * bits/libc-lock.h (__libc_once_get): New macro.
37054         * sysdeps/mach/bits/libc-lock.h: Likewise.
37055         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37057         instead of using implementation details.
37058
37059         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37060         * libio/freopen.c: Likewise.
37061         * libio/freopen64.c: Likewise.
37062         * misc/syslog.c: Likewise.
37063         * nscd/connections.c: Likewise.
37064         * nscd/netgroupcache.c: Likewise.
37065         * sysdeps/posix/getcwd.c: Likewise.
37066
37067 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37068
37069         * math/w_ilogbf.c: Add #include <limits.h>.
37070
37071 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37072
37073         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37074         path instead of returning without unlocking.
37075
37076         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37077         immediate-write ioctls.
37078         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37079
37080 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37081
37082         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37083         __builtin_frame_address instead of making assumptions about the
37084         location of the return address relative to DATA.  Force early load of
37085         the return address.
37086         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37087         __builtin_frame_address.
37088
37089         dup3 for GNU Hurd.
37090         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37091         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37092         implement dup3 and do some further code clean-ups.
37093         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37094         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37095
37096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37097
37098         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37099
37100         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37101         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37102         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37103         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37104         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37105         d->port.lock.
37106
37107         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37108         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37109         when handler == SIG_ERR, not when handler != SIG_ERR.
37110
37111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37112
37113         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37114         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37115         definitions.
37116
37117         accept4 for GNU Hurd.
37118         * include/sys/socket.h (__libc_accept4): New prototype.
37119         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37120         to implement __libc_accept4.
37121         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37122         __libc_accept4.
37123         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37124
37125         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37126         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37127         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37128         signal-defines.sym.
37129
37130 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37131
37132         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37133
37134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37135
37136         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37137         assertion on O_CLOEXEC flag.
37138         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37139         * hurd/intern-fd.c: Likewise.
37140         * hurd/port2fd.c: Likewise.
37141
37142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37143
37144         [BZ #3906]
37145         * bits/in.h (IPV6_PKTINFO): Define new macro.
37146         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37147
37148 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37149
37150         [BZ #13954]
37151         [BZ #13955]
37152         [BZ #13956]
37153         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37155         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37156         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37158         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37159         * math/libm-test.inc (logb_test) : Additional logb tests.
37160
37161 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37162             Andreas Jaeger  <aj@suse.de>
37163
37164         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37165         * configure: Regenerated.
37166         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37167         * config.make.in (link-obsolete-rpc): New substituted variable.
37168         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37169         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37170         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37171         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37172         so that libc.a contains the symbols.
37173         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37174         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37175         * sunrpc/auth_none.c: Likewise.
37176         * sunrpc/auth_unix.c: Likewise.
37177         * sunrpc/authdes_prot.c: Likewise.
37178         * sunrpc/authuxprot.c: Likewise.
37179         * sunrpc/clnt_gen.c: Likewise.
37180         * sunrpc/clnt_perr.c: Likewise.
37181         * sunrpc/clnt_raw.c: Likewise.
37182         * sunrpc/clnt_simp.c: Likewise.
37183         * sunrpc/clnt_tcp.c: Likewise.
37184         * sunrpc/clnt_udp.c: Likewise.
37185         * sunrpc/clnt_unix.c: Likewise.
37186         * sunrpc/des_crypt.c: Likewise.
37187         * sunrpc/des_soft.c: Likewise.
37188         * sunrpc/get_myaddr.c: Likewise.
37189         * sunrpc/key_call.c: Likewise.
37190         * sunrpc/key_prot.c: Likewise.
37191         * sunrpc/netname.c: Likewise.
37192         * sunrpc/pm_getmaps.c: Likewise.
37193         * sunrpc/pm_getport.c: Likewise.
37194         * sunrpc/pmap_clnt.c: Likewise.
37195         * sunrpc/pmap_prot.c: Likewise.
37196         * sunrpc/pmap_prot2.c: Likewise.
37197         * sunrpc/pmap_rmt.c: Likewise.
37198         * sunrpc/publickey.c: Likewise.
37199         * sunrpc/rpc_cmsg.c: Likewise.
37200         * sunrpc/rpc_common.c: Likewise.
37201         * sunrpc/rpc_dtable.c: Likewise.
37202         * sunrpc/rpc_prot.c: Likewise.
37203         * sunrpc/rpc_thread.c: Likewise.
37204         * sunrpc/rtime.c: Likewise.
37205         * sunrpc/svc.c: Likewise.
37206         * sunrpc/svc_auth.c: Likewise.
37207         * sunrpc/svc_raw.c: Likewise.
37208         * sunrpc/svc_run.c: Likewise.
37209         * sunrpc/svc_tcp.c: Likewise.
37210         * sunrpc/svc_udp.c: Likewise.
37211         * sunrpc/svc_unix.c: Likewise.
37212         * sunrpc/svcauth_des.c: Likewise.
37213         * sunrpc/xcrypt.c: Likewise.
37214         * sunrpc/xdr.c: Likewise.
37215         * sunrpc/xdr_array.c: Likewise.
37216         * sunrpc/xdr_float.c: Likewise.
37217         * sunrpc/xdr_intXX_t.c: Likewise.
37218         * sunrpc/xdr_mem.c: Likewise.
37219         * sunrpc/xdr_rec.c: Likewise.
37220         * sunrpc/xdr_ref.c: Likewise.
37221         * sunrpc/xdr_sizeof.c: Likewise.
37222         * sunrpc/xdr_stdio.c: Likewise.
37223
37224 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37225
37226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37227         change.  Update copyright years.
37228
37229 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37230
37231         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37232
37233 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37234             Joseph Myers  <joseph@codesourcery.com>
37235             Paul Pluzhnikov  <ppluzhnikov@google.com>
37236
37237         [BZ #14012]
37238         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37239         requiring rpcgen.
37240         [cross-compiling] (extra-libs): Likewise.
37241         [cross-compiling] (extra-libs-others): Likewise.
37242         [cross-compiling] (librpcsvc-routines): Likewise.
37243         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37244         [cross-compiling] (omit-deps): Likewise.
37245         (sunrpc-CPPFLAGS): New variable.
37246         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37247         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37248         (cross-rpcgen-objs): New variable.
37249         (extra-objs): Append $(cross-rpcgen-objs).
37250         ($(cross-rpcgen-objs)): New rule.
37251         ($(objpfx)cross-rpcgen): Likewise.
37252         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37253         comment.
37254         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37255         ($(objpfx)x%.stmp): Likewise.
37256         * sunrpc/proto.h [IS_IN_build] (_): Define.
37257         [IS_IN_build] (_libc_intl_domainname): Likewise.
37258
37259 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37260
37261         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37262         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37263         and R_X86_64_TPOFF64.
37264
37265 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37266
37267         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37268         sysdeps/unix/sysv/syscalls.list.
37269         (stime): Likewise.
37270         (utime): Likewise.
37271         * sysdeps/unix/sysv/syscalls.list: Remove file.
37272
37273 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37274
37275         [BZ #3440]
37276         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37277         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37278         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37279         (__LC_IDENTIFICATION): Make these macros useful in #if
37280         expressions, as required by C99.
37281
37282 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37283
37284         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37285         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37286         after this.
37287
37288 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37289
37290         * stdlib/longlong.h: Updated from GCC.
37291
37292 2012-05-09  Andreas Jaeger  <aj@suse.de>
37293
37294         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37295         default is first entry.
37296         (run_mode): Set type.
37297         (main): Remove informal message about syslog.
37298         (options): Fix typo.
37299
37300         [BZ #14053]
37301         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37302         to asm.
37303         (lrint): Likewise.
37304         (llrintf): Likewise.
37305         (llrint): Likewise.
37306         (rint): Likewise.
37307         (rintf): Likewise.
37308         (nearbyint): Likewise.
37309         (nearbyintf): Likewise.
37310
37311 2012-05-09  Andreas Jaeger  <aj@suse.de>
37312             Pedro Alves  <palves@redhat.com>
37313
37314         * nscd/nscd.c (run_mode): Use enum.
37315         (main): Cleanup coding style issue.
37316
37317 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37318             Andreas Jaeger  <aj@suse.de>
37319
37320         * nscd/nscd.c (go_background): Replaced with...
37321         (run_mode): ... this.
37322         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37323         (options): Add -F --foreground.
37324         (main): Implement it.
37325         (parse_opt): Parse it.
37326
37327 2012-05-09  Andreas Jaeger  <aj@suse.de>
37328
37329         [BZ #14083]
37330         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37331         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37332         -Wconversion warning.
37333         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37334         Likewise.
37335
37336 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37337
37338         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37339         == 0.
37340         (LC_ALL): Use macro-int-constant.
37341         (LC_COLLATE): Likewise.
37342         (LC_CTYPE): Likewise.
37343         (LC_MESSAGES): Likewise.
37344         (LC_MONETARY): Likewise.
37345         (LC_NUMERIC): Likewise.
37346         (LC_TIME): Likewise.
37347         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37348         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37350         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37351         Specify type.
37352         [C99-based standards] (float_t): Expect type.
37353         [C99-based standards] (double_t): Expect type.
37354         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37355         type.
37356         [C99-based standards] (HUGE_VALL): Likewise.
37357         [C99-based standards] (INFINITY): Likewise.
37358         [C99-based standards] (NAN): Likewise.
37359         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37360         [C99-based standards] (FP_NAN): Likewise.
37361         [C99-based standards] (FP_NORMAL): Likewise.
37362         [C99-based standards] (FP_SUBNORMAL): Likewise.
37363         [C99-based standards] (FP_ZERO): Likewise.
37364         [C99-based standards] (FP_FAST_FMA): Use
37365         optional-macro-int-constant.  Specify type.  Require == 1.
37366         [C99-based standards] (FP_FAST_FMAF): Likewise.
37367         [C99-based standards] (FP_FAST_FMAL): Likewise.
37368         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37369         [C99-based standards] (FP_ILOGBNAN): Likewise.
37370         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37371         Specify type.
37372         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37373         [C99-based standards] (math_errhandling): Specify type.
37374         [ISO99 || ISO11] (signgam): Do not allow.
37375         [non-C99-based standards] (copysignf): Do not allow.
37376         [non-C99-based standards] (exp2f): Likewise.
37377         [non-C99-based standards] (log2f): Likewise.
37378         [non-C99-based standards] (modff): Allow.
37379         [non-C99-based standards] (erff): Do not allow.
37380         [non-C99-based standards] (erfcf): Likewise.
37381         [non-C99-based standards] (gammaf): Likewise.
37382         [non-C99-based standards] (hypotf): Likewise.
37383         [non-C99-based standards] (j0f): Likewise.
37384         [non-C99-based standards] (j1f): Likewise.
37385         [non-C99-based standards] (jnf): Likewise.
37386         [non-C99-based standards] (lgammaf): Likewise.
37387         [non-C99-based standards] (tgammaf): Likewise.
37388         [non-C99-based standards] (y0f): Likewise.
37389         [non-C99-based standards] (y1f): Likewise.
37390         [non-C99-based standards] (ynf): Likewise.
37391         [non-C99-based standards] (isnanf): Likewise.
37392         [non-C99-based standards] (acoshf): Likewise.
37393         [non-C99-based standards] (asinhf): Likewise.
37394         [non-C99-based standards] (atanhf): Likewise.
37395         [non-C99-based standards] (cbrtf): Likewise.
37396         [non-C99-based standards] (expm1f): Likewise.
37397         [non-C99-based standards] (ilogbf): Likewise.
37398         [non-C99-based standards] (log1pf): Likewise.
37399         [non-C99-based standards] (logbf): Likewise.
37400         [non-C99-based standards] (nextafterf): Likewise.
37401         [non-C99-based standards] (remainderf): Likewise.
37402         [non-C99-based standards] (rintf): Likewise.
37403         [non-C99-based standards] (scalbf): Likewise.
37404         [non-C99-based standards] (copysignl): Likewise.
37405         [non-C99-based standards] (exp2l): Likewise.
37406         [non-C99-based standards] (log2l): Likewise.
37407         [non-C99-based standards] (modfl): Allow.
37408         [non-C99-based standards] (erfl): Do not allow.
37409         [non-C99-based standards] (erfcl): Likewise.
37410         [non-C99-based standards] (gammal): Likewise.
37411         [non-C99-based standards] (hypotl): Likewise.
37412         [non-C99-based standards] (j0l): Likewise.
37413         [non-C99-based standards] (j1l): Likewise.
37414         [non-C99-based standards] (jnl): Likewise.
37415         [non-C99-based standards] (lgammal): Likewise.
37416         [non-C99-based standards] (tgammal): Likewise.
37417         [non-C99-based standards] (y0l): Likewise.
37418         [non-C99-based standards] (y1l): Likewise.
37419         [non-C99-based standards] (ynl): Likewise.
37420         [non-C99-based standards] (isnanl): Likewise.
37421         [non-C99-based standards] (acoshl): Likewise.
37422         [non-C99-based standards] (asinhl): Likewise.
37423         [non-C99-based standards] (atanhl): Likewise.
37424         [non-C99-based standards] (cbrtl): Likewise.
37425         [non-C99-based standards] (expm1l): Likewise.
37426         [non-C99-based standards] (ilogbl): Likewise.
37427         [non-C99-based standards] (log1pl): Likewise.
37428         [non-C99-based standards] (logbl): Likewise.
37429         [non-C99-based standards] (nextafterl): Likewise.
37430         [non-C99-based standards] (remainderl): Likewise.
37431         [non-C99-based standards] (rintl): Likewise.
37432         [non-C99-based standards] (scalbl): Likewise.
37433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37434         [non-C99-based standards] (FP_*): Do not allow.
37435         [C99-based standards] (FP_*): Change to
37436         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37437         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37438         allow.
37439         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37440         (SIG_ERR): Likewise.
37441         [X/Open-based standards] (SIG_HOLD): Likewise.
37442         (SIG_IGN): Likewise.
37443         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37444         positive value.
37445         (SIGFPE): Likewise.
37446         (SIGILL): Likewise.
37447         (SIGINT): Likewise.
37448         (SIGSEGV): Likewise.
37449         (SIGTER): Likewise.
37450         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37451         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37452         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37453         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37454         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37455         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37456         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37457         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37458         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37459         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37460         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37461         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37462         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37463         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37464         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37465         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37466         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37467         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37468         [X/Open-based standards] (SIGTRAP): Likewise.
37469         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37470         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37471         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37472         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37473         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37474         allow.
37475
37476 2012-05-08  Ian Wienand  <ianw@vmware.com>
37477
37478         [BZ #14080]
37479         * time/tzset.c (__tzset_parse_tz): Update default rules for
37480         daylight time changes in the Energy Policy Act of 2005.
37481
37482 2012-05-09  Andreas Jaeger  <aj@suse.de>
37483
37484         [BZ #13983]
37485         * elf/ldconfig.c (parse_conf): Change string to make clear that
37486         ldconfig only issued a warning if ld.so.conf does not exist.
37487
37488 2012-05-08  David S. Miller  <davem@davemloft.net>
37489
37490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37491         movxtod instead of popping the value on the stack.
37492
37493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37494
37495 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37496
37497         * config.h.in: Add HAVE_ARM_PCS_VFP.
37498
37499 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37500
37501         [BZ #13979]
37502         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37503         checking but the checks are disabled for any reason.
37504
37505 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37506
37507         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37508         and ELF64_R_TYPE with ELFW(R_TYPE).
37509
37510 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37511
37512         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37513         (ulimit): Likewise.
37514
37515         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37516         (settimeofday): Likewise.
37517
37518 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37519
37520         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37521         a struct th_u2 inside the union, and move tu_block/tu_code into
37522         a new th_u3 union of tu_block/tu_code inside of that.  Move
37523         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37524         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37525         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37526         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37527         (th_stuff): Change to th_u1.tu_stuff.
37528         (th_data): Define.
37529         (th_msg): Change to th_u1.th_u2.tu_data.
37530
37531 2012-05-07  David S. Miller  <davem@davemloft.net>
37532
37533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37534
37535         [BZ #14074]
37536         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37537         (SETUP_PIC_REG): Use it.
37538         (SETUP_PIC_REG_LEAF): Use it.
37539
37540 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37541
37542         [BZ #13885]
37543         [BZ #13923]
37544         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37545         USE_AS_EXPM1L.
37546         (EXPL_FINITE): Likewise.
37547         (FLDLOG): Likewise.
37548         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37549         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37550         e_expl.S.
37551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37552         USE_AS_EXPM1L.
37553         (EXPL_FINITE): Likewise.
37554         (FLDLOG): Likewise.
37555         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37556         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37557         e_expl.S.
37558         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37559         test of -max_value argument for long double.
37560         * sysdeps/i386/fpu/libm-test-ulps: Update.
37561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37562
37563 2012-05-06  David S. Miller  <davem@davemloft.net>
37564
37565         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37566         quad soft-float symbols whose references which are compiler
37567         generated.
37568         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37569
37570 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37571
37572         [BZ #13884]
37573         [BZ #13914]
37574         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37575         USE_AS_EXP10L.
37576         (EXPL_FINITE): Likewise.
37577         (FLDLOG): Likewise.
37578         (c0): Likewise.
37579         (c1): Likewise.
37580         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37581         Adjust comments for base varying.
37582         (__expl_finite): Change alias to EXPL_FINITE.
37583         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37584         e_expl.S.
37585         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37586         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37587         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37588         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37589         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37590         USE_AS_EXP10L.
37591         (EXPL_FINITE): Likewise.
37592         (FLDLOG): Likewise.
37593         (c0): Likewise.
37594         (c1): Likewise.
37595         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37596         Adjust comments for base varying.
37597         (__expl_finite): Change alias to EXPL_FINITE.
37598         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37599         tests for bugs.
37600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37601
37602         [BZ #14064]
37603         * math/libm-test.inc (check_float_internal): Correct ulp
37604         calculation for subnormal expected results.
37605
37606 2012-05-06  Andreas Jaeger  <aj@suse.de>
37607
37608         * Makeconfig (+math-flags): New, set to -frounding-math.
37609         (+cflags): Add +math-flags so that all of glibc gets compiled with
37610         it.
37611
37612         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37613
37614 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37615
37616         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37617         Disable one test.
37618
37619         [BZ #13787]
37620         [BZ #13922]
37621         [BZ #14036]
37622         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37623         (__ieee754_expl): Allow for and saturate large arguments.
37624         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37625         (u_threshold): Likewise.
37626         (__exp): Call __ieee754_exp before checking for overflow and
37627         underflow.
37628         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37629         (u_threshold): Likewise.
37630         (__expf): Call __ieee754_expf before checking for overflow and
37631         underflow.
37632         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37633         (u_threshold): Likewise.
37634         (__expl): Call __ieee754_expl before checking for overflow and
37635         underflow.
37636         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37637         (__ieee754_expl): Allow for and saturate large arguments.
37638         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37639         missing overflow exception on overflow.
37640         (expm1_test): Do not allow missing overflow exception on overflow.
37641
37642         * sysdeps/i386/fpu/e_expl.c: Move to ...
37643         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37644         rather than using inline asm.
37645         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37646         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37647         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37648
37649         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37650         (nice): Likewise.
37651         (poll): Likewise.
37652         (signal): Likewise.
37653         (time): Likewise.
37654         (times): Likewise.
37655
37656 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37657
37658         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37659         sysdeps/unix/common/syscalls.list.
37660         (fchmod): Likewise.
37661         (fchown): Likewise.
37662         (ftruncate): Likewise.
37663         (getrusage): Likewise.
37664         (gettimeofday): Likewise.
37665         (setpgid): Likewise.
37666         (setregid): Likewise.
37667         (setreuid): Likewise.
37668         (sigaction): Likewise.
37669         (truncate): Likewise.
37670         (vhangup): Likewise.
37671         * sysdeps/unix/common/syscalls.list: Remove file.
37672         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37673         * sysdeps/unix/sysv/linux/Implies: Likewise.
37674
37675 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37676
37677         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37679         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37680         Moved to ...
37681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37682         Here.
37683         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37684         to ...
37685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37686         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37687         to ...
37688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37689         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37690         to ...
37691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37692         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37693         to ...
37694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37695         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37696         to ...
37697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37698         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37699         to ...
37700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37701         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37702         to ...
37703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37704         Here.
37705         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37706         to ...
37707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37708         Here.
37709         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37710         to ...
37711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37712         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37713         Moved to ...
37714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37715         Here.
37716         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37717         to ...
37718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37719
37720 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37721
37722         * sysdeps/unix/common/bits/dirent.h: Remove file.
37723         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37724
37725         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37726         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37727         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37728         * sysdeps/unix/bsd/isatty.c: Likewise.
37729         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37730         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37731         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37732
37733 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37734
37735         [BZ #13563]
37736         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37737         long double comparison inaccuracies.
37738         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37740
37741 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37742
37743         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37745
37746 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37747
37748         [BZ #14049]
37749         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37750         nonzero digits before rounding a hex value.
37751         * stdlib/tst-strtod.c (tests): Add another test.
37752
37753 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37754
37755         * sysdeps/s390/fpu/libm-test-ulps: Update.
37756
37757 2012-05-03  Andreas Jaeger  <aj@suse.de>
37758
37759         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37760         does not get optimized out.
37761         (malloc_opt_barrier): New.
37762
37763 2012-05-03  Andreas Jaeger  <aj@suse.de>
37764             Roland McGrath  <roland@hack.frob.com>
37765
37766         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37767         intermediate file deletion.
37768         (generated): Add .symlist files.
37769
37770 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37771
37772         [BZ #13775]
37773         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37774         Redirect under this condition.
37775         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37776         [__USE_GNU] (__dprintf_chk): Not under this condition.
37777         [__USE_GNU] (__vdprintf_chk): Likewise.
37778         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37779         under this condition.
37780         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37781         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37782         [__USE_XOPEN2K8] (vdprintf): Likewise.
37783         [__USE_GNU] (__dprintf_chk): Not under this condition.
37784         [__USE_GNU] (__vdprintf_chk): Likewise.
37785         [__USE_GNU] (dprintf): Likewise.
37786         [__USE_GNU] (vdprintf): Likewise.
37787
37788 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37789
37790         * elf/Makefile (common-generated): Set this instead of generated for
37791         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37792         $(all-built-dso)-derived lists.
37793
37794 2012-05-03  Andreas Jaeger  <aj@suse.de>
37795
37796         * sysdeps/i386/fpu/libm-test-ulps: Update.
37797
37798         * FAQ: Removed.
37799         * FAQ.in: Likewise.
37800         * scripts/gen-FAQ.pl: Likewise.
37801         * manual/install.texi (Installation): Point to online location of
37802         FAQ.
37803         * Makefile (files-for-dist): Remove FAQ.
37804         (FAQ): Remove.
37805
37806 2012-05-02  Allan McRae  <allan@archlinux.org>
37807
37808         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37809         (LDFLAGS-reldepmod5.so): Likewise.
37810         (LDFLAGS-reldep6mod1.so): Likewise.
37811         (LDFLAGS-reldep6mod4.so): Likewise.
37812         (LDFLAGS-reldep8mod3.so): Likewise.
37813         (LDFLAGS-unload4mod1.so): Likewise.
37814         (LDFLAGS-unload4mod2.so): Likewise.
37815         (LDFLAGS-tst-initorder): Likewise.
37816         (LDFLAGS-tst-initordera2.so): Likewise.
37817         (LDFLAGS-tst-initordera3.so): Likewise.
37818         (LDFLAGS-tst-initordera4.so): Likewise.
37819         (LDFLAGS-tst-initorderb2.so): Likewise.
37820         (LDFLAGS-noload): Likewise.
37821         (LDFLAGS-next): Likewise.
37822         (LDFLAGS-order2mod1.so): Likewise.
37823         (LDFLAGS-order2mod2.so): Likewise.
37824         (LDFLAGS-tst-initorder2): Likewise.
37825         (LDFLAGS-tst-initorder2a.so): Likewise.
37826         (LDFLAGS-tst-initorder2b.so): Likewise.
37827         (LDFLAGS-tst-initorder2c.so): Likewise.
37828         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37829
37830 2012-05-02  David S. Miller  <davem@davemloft.net>
37831
37832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37833
37834 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37835
37836         [BZ #14055]
37837         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37838
37839 2012-05-02  Andreas Jaeger  <aj@suse.de>
37840
37841         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37842         since we manipulate rounding mode.
37843         (CPPFLAGS-test-idouble.c): Likewise.
37844         (CPPFLAGS-test-ifloat.c): Likewise.
37845         (CFLAGS-test-ldouble.c): Likewise.
37846         (CFLAGS-test-double.c): Likewise.
37847         (CFLAGS-test-float.c): Likewise.
37848         (CFLAGS-test-misc.c): Likewise.
37849         (CFLAGS-test-test-fenv.c): Likewise.
37850
37851 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37852
37853         [BZ #2550]
37854         [BZ #2570]
37855         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37856         comparisons to determine direction to adjust input.
37857
37858 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37859
37860         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37861         output to the target.
37862
37863         * scripts/localplt.awk: New file.
37864         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37865         (check-localplt-CFLAGS): Variable removed.
37866         ($(all-built-dso:=.jmprel)): New static pattern rule.
37867         (generated): Add those targets.
37868         (localplt-built-dso): New variable.
37869         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37870
37871         * elf/check-localplt.c: File removed.
37872
37873         * scripts/check-execstack.awk: New file.
37874         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37875         (check-execstack-CFLAGS): Variable removed.
37876         ($(objpfx)check-execstack.h): Target removed.
37877         ($(objpfx)execstack-default): New target.
37878         (generated): Add that instead of check-execstack.h.
37879         ($(all-built-dso:=.phdr)): New static pattern rule.
37880         (generated): Add those targets.
37881         * elf/check-execstack.c: File removed.
37882
37883         * scripts/check-textrel.awk: New file.
37884         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37885         (check-textrel-CFLAGS): Variable removed.
37886         (all-built-dso): Use := to define.o
37887         ($(all-built-dso:=.dyn)): New static pattern rule.
37888         (generated): Add those targets.
37889         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37890         * config.make.in (READELF): New substituted variable.
37891         * elf/check-textrel.c: File removed.
37892
37893 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37894
37895         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37896         allow.
37897         * conform/data/ctype.h-data [C99-based standards] (isblank):
37898         Expect function.
37899         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37900         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37902         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37903         Specify type.  Require positive value.
37904         (EILSEQ): Likewise.
37905         (ERANGE): Likewise.
37906         [ISO || POSIX] (EILSEQ): Do not expect.
37907         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37908         Specify type.  Require positive value.
37909         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37910         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37911         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37912         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37913         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37914         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37915         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37916         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37917         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37918         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37919         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37920         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37921         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37922         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37923         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37924         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37925         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37926         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37927         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37928         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37929         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37930         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37931         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37932         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37933         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37934         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37935         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37936         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37937         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37938         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37939         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37940         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37941         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37942         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37943         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37944         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37945         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37946         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37947         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37948         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37949         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37950         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37951         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37952         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37953         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37954         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37955         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37956         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37957         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37958         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37959         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37960         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37961         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37962         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37963         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37964         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37965         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37966         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37967         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37968         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37969         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37970         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37971         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37972         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37973         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37974         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37975         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37976         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37977         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37978         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37979         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37980         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37981         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37982         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37983         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37984         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37985         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37986         Require >= 2.
37987         (FLT_ROUNDS): Expect as macro, not constant.
37988         (FLT_MANT_DIG): Use macro-int-constant.
37989         (DBL_MANT_DIG): Likewise.
37990         (LDBL_MANT_DIG): Likewise.
37991         (FLT_DIG): Likewise.
37992         (DBL_DIG): Likewise.
37993         (LDBL_DIG): Likewise.
37994         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37995         (DBL_MIN_EXP): Likewise.
37996         (LDBL_MIN_EXP): Likewise.
37997         (FLT_MAX_EXP): Use macro-int-constant.
37998         (DBL_MAX_EXP): Likewise.
37999         (LDBL_MAX_EXP): Likewise.
38000         (FLT_MAX_10_EXP): Likewise.
38001         (DBL_MAX_10_EXP): Likewise.
38002         (LDBL_MAX_10_EXP): Likewise.
38003         (FLT_MAX): Use macro-constant.
38004         (DBL_MAX): Likewise.
38005         (LDBL_MAX): Likewise.
38006         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38007         (DBL_EPSILON): Likewise.
38008         (LDBL_EPSILON): Likewise.
38009         (FLT_MIN): Likewise.
38010         (DBL_MIN): Likewise.
38011         (LDBL_MIN): Likewise.
38012         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38013         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38014         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38015         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38016         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38017         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38018         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38019         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38020         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38021         [ISO11] (FLT_TRUE_MIN): Likewise.
38022         [ISO11] (LDBL_TRUE_MIN): Likewise.
38023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38024         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38025         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38026         (SCHAR_MAX): Likewise.
38027         (UCHAR_MAX): Likewise.
38028         (CHAR_MIN): Likewise.
38029         (CHAR_MAX): Likewise.
38030         (MB_LEN_MAX): Use macro-int-constant.
38031         (SHRT_MIN): Use macro-int-constant.  Specify type.
38032         (SHRT_MAX): Likewise.
38033         (USHRT_MAX): Likewise.
38034         (INT_MAX): Likewise.
38035         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38036         bound negative.
38037         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38038         bound with "U".
38039         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38040         bound with "L".
38041         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38042         bound negative.  Suffix upper bound with "L".
38043         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38044         bound with "UL".
38045         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38046         Specify type.
38047         [C99-based standards] (LLONG_MAX): Likewise.
38048         [C99-based standards] (ULLONG_MAX): Likewise.
38049         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38050         == 0.
38051         [ISO11] (max_align_t): Require type.
38052         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38053
38054         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38055         from $CFLAGS, without defining away __attribute__ calls.
38056         (checknamespace): Use $CFLAGS_namespace.
38057
38058         * conform/conformtest.pl (@keywords): Only include C99 keywords
38059         for standards based on C99 or C11.
38060
38061         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38062         Disable tests.
38063         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38064         UNIX98]: Likewise.
38065
38066         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38067         usability of symbols in #if.
38068
38069         * conform/conformtest.pl: If macro or constant types start
38070         "promoted:", expect the symbol to be of the following type
38071         promoted by the integer promotions.
38072
38073         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38074         in one place.  Also handle "macro-constant".
38075
38076         * conform/conformtest.pl: Only accept expected macro values with
38077         "==".  Parse all "macro" lines in one place.
38078         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38079
38080         * conform/conformtest.pl: Handle braced types on "constant" lines
38081         instead of handling "typed-constant".
38082         * conform/data/signal.h-data: Use "constant" instead of
38083         "typed-constant".
38084
38085         * conform/conformtest.pl: Handle "optional-" at start of lines in
38086         one place rather than duplicating several cases.  Handle each
38087         format of "macro" line with initial "optional-".
38088
38089         * conform/conformtest.pl: Only accept expected constant or
38090         optional-constant values with "==".  Parse all "constant" lines in
38091         one place.  Parse all "optional-constant" lines in one place.
38092         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38093         * conform/data/fmtmsg.h-data: Likewise.
38094         * conform/data/netinet/in.h-data: Likewise.
38095         * conform/data/tar.h-data: Likewise.
38096         * conform/data/limits.h-data: Use "==" form on "constant" and
38097         "optional-constant" lines.
38098
38099         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38100         Use -std=c99 for XOPEN2K.
38101         (@knownproblems): Remove.
38102         (newtoken): Don't check %isknown.
38103
38104         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38105         Do not expect macro.
38106         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38107         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38108         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38109         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38110         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38118         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38119         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38120         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38122         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38123         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38124         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38125         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38126         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38128         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38129         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38130         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38131         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38132         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38133         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38136         [XPG3] (acosh): Likewise.
38137         [XPG3] (asinh): Likewise.
38138         [XPG3] (atanh): Likewise.
38139         [XPG3] (cbrt): Likewise.
38140         [XPG3] (expm1): Likewise.
38141         [XPG3] (ilogb): Likewise.
38142         [XPG3] (log1p): Likewise.
38143         [XPG3] (logb): Likewise.
38144         [XPG3] (nextafter): Likewise.
38145         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38146         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38147         [XPG3] (remainder): Likewise.
38148         [XPG3] (rint): Likewise.
38149         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38150         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38151         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38152         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38153         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38154         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38155         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38156         [UNIX98 || XOPEN2K] (scalb): Expect.
38157         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38158         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38159         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38160         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38161         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38162         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38163         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38164         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38165         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38166         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38167         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38168         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38169         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38170         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38171         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38172         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38173         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38174         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38175         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38176         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38177         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38178         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38179         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38180         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38181         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38182         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38183         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38184         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38185         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38186         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38187         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38188         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38189         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38190         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38191         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38192         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38193         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38194         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38195         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38196         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38197         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38198         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38199         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38200         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38201         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38202         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38203         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38204         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38205         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38206         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38207         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38208         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38209         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38210         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38211         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38212         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38213         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38214         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38215         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38216         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38217         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38218         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38219         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38220         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38221         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38222         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38223         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38224         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38225         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38226         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38227         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38228         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38229         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38230         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38231         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38232         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38233         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38234         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38235         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38236         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38237         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38238         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38239         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38240         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38241         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38242         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38243         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38244         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38245         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38246         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38247         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38248         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38249         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38250         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38251         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38252         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38253         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38254         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38255         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38256         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38257         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38258         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38259         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38260         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38261         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38262         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38263         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38264         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38265         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38266         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38267         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38268         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38269         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38270         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38271         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38272         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38273         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38274         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38275         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38276         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38277         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38278         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38279         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38280         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38281         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38282         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38283         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38284         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38285         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38286         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38287         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38288         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38289         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38290         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38291         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38292         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38293         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38294
38295         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38296         _XOPEN_SOURCE_EXTENDED for XPG4.
38297
38298         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38299
38300         * Makeconfig (localtime): Remove variable.
38301         (inst_localtime-file): Likewise.
38302
38303 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38304
38305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38306         Update.
38307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38308         Update.
38309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38310         Update.
38311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38312         Update.
38313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38314         Update.
38315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38316         Update.
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38318         Update.
38319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38320         Update.
38321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38322         Update.
38323
38324 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38325
38326         [BZ #2550]
38327         [BZ #2570]
38328         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38329         comparisons to determine direction to adjust input.
38330         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38331         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38332         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38333         Likewise.
38334         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38335         Likewise.
38336         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38337         Likewise.
38338         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38339         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38340         Likewise.
38341         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38342         Likewise.
38343         * math/libm-test.inc (nexttoward_test): Add more tests.
38344
38345 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38346
38347         [BZ #14040]
38348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38349         in version GLIBC_2.1, not GLIBC_2.0.
38350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38351         Likewise.
38352
38353 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38354
38355         [BZ #13942]
38356         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38357         (1 - x) * (1 + x).
38358         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38359         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38360         * math/libm-test.inc (acos_test): Add more tests.
38361         (asin_test): Likewise.
38362         * sysdeps/i386/fpu/libm-test-ulps: Update.
38363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38364
38365         [BZ #14034]
38366         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38367         of square root.
38368         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38369         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38370         * math/libm-test.inc (acos_test_tonearest): New function.
38371         (acos_test_towardzero): Likewise.
38372         (acos_test_downward): Likewise.
38373         (acos_test_upward): Likewise.
38374         (asin_test_tonearest): Likewise.
38375         (asin_test_towardzero): Likewise.
38376         (asin_test_downward): Likewise.
38377         (asin_test_upward): Likewise.
38378         (main): Call the new functions.
38379         * sysdeps/i386/fpu/libm-test-ulps: Update.
38380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38381
38382         [BZ #13884]
38383         [BZ #13924]
38384         * math/e_exp10.c: Include <float.h>.
38385         (__ieee754_exp10): Handle underflow here rather than multiplying
38386         large negative argument by M_LN10.
38387         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38388         of __ieee754_expf.
38389         * math/e_exp10l.c: Include <float.h>.
38390         (__ieee754_exp10l): Handle underflow here rather than multiplying
38391         large negative argument by M_LN10l.
38392         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38393         spurious overflow exception on underflow.
38394
38395 2012-04-29  Marek Polacek  <polacek@redhat.com>
38396
38397         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38398         (__fortify_function): New macro.
38399         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38400         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38401         __extern_always_inline.
38402         * libio/bits/stdio2.h: Likewise.
38403         * libio/bits/stdio.h: Likewise.
38404         * string/string.h: Likewise.
38405         * string/bits/string3.h: Likewise.
38406         * include/stdio.h: Likewise.
38407         * stdlib/bits/stdlib.h: Likewise.
38408         * stdlib/stdlib.h: Likewise.
38409         * rt/bits/mqueue2.h: Likewise.
38410         * rt/mqueue.h: Likewise.
38411         * posix/bits/unistd.h: Likewise.
38412         * posix/unistd.h: Likewise.
38413         * io/bits/poll2.h: Likewise.
38414         * io/bits/fcntl2.h: Likewise.
38415         * io/fcntl.h: Likewise.
38416         * io/sys/poll.h: Likewise.
38417         * misc/bits/syslog.h: Likewise.
38418         * misc/bits/syslog-ldbl.h: Likewise.
38419         * misc/sys/syslog.h: Likewise.
38420         * socket/bits/socket2.h: Likewise.
38421         * socket/sys/socket.h: Likewise.
38422         * debug/tst-chk1.c: Likewise.
38423         * wcsmbs/bits/wchar2.h: Likewise.
38424         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38425         * wcsmbs/wchar.h: Likewise.
38426
38427 2012-04-29  Andreas Jaeger  <aj@suse.de>
38428
38429         * Makerules (tests): Remove enable-check-abi protection.
38430         (check-abi-warn): Remove.
38431         (check-abi-%): Remove check-abi-warn usage.
38432
38433         * configure.in: Remove check-abi configure option.
38434         * configure: Regenerated.
38435         * config.make.in (enable-check-abi): Remove.
38436
38437 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38438
38439         [BZ #14033]
38440         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38441         double functions to double *_finite functions.
38442
38443         [BZ #13941]
38444         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38445         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38446         LDBL_MIN_EXP.
38447         * stdio-common/Makefile (tests): Add tst-sprintf3.
38448         * stdio-common/tst-sprintf3.c: New file.
38449
38450         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38451         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38452
38453 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38454
38455         * conform/conformtest.pl: Remove duplicate typed-constant
38456         handling.
38457
38458 2012-04-28  David S. Miller  <davem@davemloft.net>
38459
38460         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38461         (check-abi-%): Remove AWK script prerequisite and explicit
38462         abilist directory.
38463         (check-abi): Rewrite to just diff the symlist with the abilist.
38464         (config-tls, config-abi-config): Delete, no longer used.
38465         (update-abi-%): Remove AWK script and explicit abilist directory.
38466         (update-abi): Rewrite to simply compare and conditionally copy the
38467         symlist and the sysdep abilist file.  Remove update-abi-config
38468         checks.
38469         * abilist/ld.abilist: Remove.
38470         * abilist/libBrokenLocale.abilist: Remove.
38471         * abilist/libanl.abilist: Remove.
38472         * abilist/libcrypt.abilist: Remove.
38473         * abilist/libdl.abilist: Remove.
38474         * abilist/librt.abilist: Remove.
38475         * abilist/libthread_db.abilist: Remove.
38476         * abilist/libutil.abilist: Remove.
38477         * scripts/extract-abilist.awk: Remove.
38478         * scripts/merge-abilist.awk: Remove.
38479         * sysdeps/generic/libcidn.abilist: New file.
38480         * sysdeps/generic/libnss_compat.abilist: New file.
38481         * sysdeps/generic/libnss_db.abilist: New file.
38482         * sysdeps/generic/libnss_dns.abilist: New file.
38483         * sysdeps/generic/libnss_files.abilist: New file.
38484         * sysdeps/generic/libnss_hesiod.abilist: New file.
38485         * sysdeps/generic/libnss_nis.abilist: New file.
38486         * sysdeps/generic/libnss_nisplus.abilist: New file.
38487         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38488         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38489         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38490         file.
38491         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38492         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38493         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38494         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38495         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38496         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38497         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38498         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38499         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38500         file.
38501         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38502         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38503         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38504         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38505         file.
38506         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38507         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38508         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38509         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38510         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38511         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38512         file.
38513         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38514         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38515         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38516         file.
38517         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38519         New file.
38520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38521         New file.
38522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38523         New file.
38524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38525         New file.
38526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38527         New file.
38528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38529         New file.
38530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38531         New file.
38532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38533         New file.
38534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38535         New file.
38536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38537         New file.
38538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38539         New file.
38540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38541         New file.
38542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38543         New file.
38544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38545         file.
38546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38547         New file.
38548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38549         New file.
38550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38551         file.
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38553         New file.
38554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38555         New file.
38556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38557         file.
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38559         New file.
38560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38561         New file.
38562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38563         New file.
38564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38565         New file.
38566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38567         New file.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38569         New file.
38570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38572         file.
38573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38574         New file.
38575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38576         file.
38577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38578         file.
38579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38580         file.
38581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38582         file.
38583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38584         file.
38585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38586         New file.
38587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38588         file.
38589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38590         file.
38591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38592         New file.
38593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38594         file.
38595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38597         file.
38598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38599         New file.
38600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38601         file.
38602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38603         file.
38604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38605         file.
38606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38607         file.
38608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38609         file.
38610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38611         New file.
38612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38613         file.
38614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38615         file.
38616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38617         New file.
38618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38619         file.
38620         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38621         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38622         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38623         file.
38624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38625         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38626         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38627         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38628         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38629         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38630         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38631         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38632         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38633         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38636         file.
38637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38638         New file.
38639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38640         file.
38641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38642         file.
38643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38644         file.
38645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38646         file.
38647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38648         file.
38649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38650         New file.
38651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38652         New file.
38653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38654         file.
38655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38656         New file.
38657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38658         file.
38659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38661         file.
38662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38663         New file.
38664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38665         file.
38666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38667         file.
38668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38669         file.
38670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38671         file.
38672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38673         file.
38674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38675         New file.
38676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38677         New file.
38678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38679         file.
38680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38681         New file.
38682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38683         file.
38684
38685 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38686
38687         * conform/conformtest.pl: Fix typo in handling typed-constant from
38688         allow-header.
38689
38690 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38691
38692         * README: Cut down references to pre-2.6 Linux kernels and
38693         Linuxthreads.  Update lists of configurations in libc and ports
38694         and sort alphabetically.  Say "or newer" with Linux kernel version
38695         requirements.
38696
38697         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38698
38699 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38700
38701         [BZ #887]
38702         * math/libm-test.inc (logb_test_downward): New test to expose
38703         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38704         rounding mode.
38705
38706 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38707
38708         [BZ #14027]
38709         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38710         to be done.
38711         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38712         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38713
38714 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38715
38716         * sysdeps/unix/i386/brk.S: Remove file.
38717         * sysdeps/unix/i386/dl-brk.S: Likewise.
38718         * sysdeps/unix/i386/pipe.S: Likewise.
38719         * sysdeps/unix/i386/sigreturn.S: Likewise.
38720         * sysdeps/unix/i386/syscall.S: Likewise.
38721         * sysdeps/unix/i386/vfork.S: Likewise.
38722         * sysdeps/unix/i386/wait.S: Likewise.
38723
38724         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38725         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38726
38727         * configure.in (arm*-none*): Do not allow without
38728         --enable-hacker-mode.
38729         (netbsd*): Remove case setting base_os.
38730         (386bsd*): Likewise.
38731         (freebsd*): Likewise.
38732         (bsdi*): Likewise.
38733         (osf*): Likewise.
38734         (sunos*): Likewise.
38735         (ultrix*): Likewise.
38736         (newsos*): Likewise.
38737         (dynix*): Likewise.
38738         (*bsd*): Likewise.
38739         (sysv*): Likewise.
38740         (isc*): Likewise.
38741         (esix*): Likewise.
38742         (sco*): Likewise.
38743         (minix*): Likewise.
38744         (irix4*): Likewise.
38745         (irix6*): Likewise.
38746         (solaris[2-9]*): Likewise.
38747         (none): Likewise.
38748         * configure: Regenerated.
38749
38750 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38751
38752         [BZ #11521]
38753         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38754         overflow or cancellation in calculating denominator.
38755         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38757         down expression to avoid unexpected rounding in newer GCCs.
38758         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38759
38760 2012-04-26  David S. Miller  <davem@davemloft.net>
38761
38762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38763         long-double compat symbols.
38764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38777
38778 2012-04-25  David S. Miller  <davem@davemloft.net>
38779
38780         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38781         HWCAP_* values only after the memory barriers have been defined.
38782         (atomic_full_barrier): Define.
38783         (atomic_read_barrier): Define.
38784         (atomic_write_barrier): Define.
38785
38786 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38787
38788         * shlib-versions: Add libgcc_s version information.
38789         * sysdeps/generic/libgcc_s.h: Remove.
38790         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38791         libgcc_s.h.
38792         * sysdeps/gnu/unwind-resume.c: Likewise.
38793         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38794
38795 2012-04-25  David S. Miller  <davem@davemloft.net>
38796
38797         * sysdeps/unix/sparc/brk.S: Delete.
38798         * sysdeps/unix/sparc/dl-brk.S: Delete.
38799         * sysdeps/unix/sparc/pipe.S: Delete.
38800         * sysdeps/unix/sparc/sysdep.S: Delete.
38801         * sysdeps/unix/sparc/sysdep.h: Delete.
38802         * sysdeps/unix/sparc/vfork.S: Delete.
38803         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38804         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38805         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38806         (ret_ERRVAL, r0, r1, MOVE): Define.
38807         (JUMPTARGET): Remove.
38808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38809         sysdeps/unix/sparc/sysdep.h
38810         (ENTRY, END): Remove.
38811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38812
38813 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38814
38815         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38816         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38817         -DIS_IN_build.
38818
38819         * timezone/README: Update upstream location and email address for
38820         tzcode and tzdata.
38821         * timezone/zdump.c: Update from tzcode 2012b.
38822         * timezone/zic.c: Likewise.
38823
38824         * configure.in (libc_cv_as_needed): Remove test.
38825         * configure: Regenerated.
38826         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38827         conditional definition.
38828         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38829         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38830         * config.make.in (have-as-needed): Remove variable.
38831
38832 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38833             Paul Pluzhnikov  <ppluzhnikov@google.com>
38834
38835         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38836         strings correctly.
38837
38838 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38839
38840         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38841         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38842         * sysdeps/sh/strlen.S: Likewise.
38843
38844 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38845
38846         * sysdeps/unix/fork.S: Remove file.
38847         * sysdeps/unix/i386/fork.S: Likewise.
38848         * sysdeps/unix/sparc/fork.S: Likewise.
38849
38850         * sysdeps/unix/system.c: Remove file.
38851         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38852
38853         * sysdeps/unix/getegid.S: Remove file.
38854         * sysdeps/unix/geteuid.S: Likewise.
38855
38856 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38857
38858         * scripts/check-localplt.awk: New file.
38859         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38860         of diff.
38861         * scripts/data/localplt-generic.data: Add a comment.
38862
38863         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38864         NODE when __dir_mkfile failed.
38865         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38866         Reported by Ludovic Courtès <ludo@gnu.org>.
38867
38868 2012-04-24  Andreas Jaeger  <aj@suse.de>
38869
38870         * Makerules (common-clean): Also remove gen-as-const-headers
38871         files.
38872
38873 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38874
38875         * Makerules (native-compile): Do not change working directory for
38876         build.  Use $(OUTPUT_OPTION) in command.
38877         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38878
38879 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880
38881         [BZ #13886]
38882         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38883         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38884         * math/libm-test.inc (floor_test): Add more tests.
38885         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38886
38887 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38888
38889         * sysdeps/unix/getdents.c: Remove file.
38890         * sysdeps/unix/sysv/getdents.c: Likewise.
38891         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38892
38893         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38894         sysdeps/unix/mman/syscalls.list.
38895         (mmap): Likewise.
38896         (mprotect): Likewise.
38897         (msync): Likewise.
38898         (munmap): Likewise.
38899         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38900         * sysdeps/unix/mman/syscalls.list: Remove.
38901         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38902
38903         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38904         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38905         * configure: Regenerated.
38906         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38907         $(libgcc_s_suffix).
38908         * config.make.in (libgcc_s_suffix): Remove variable.
38909
38910 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38911
38912         * sysdeps/unix/sysv/gethostname.c: Move to ...
38913         * sysdeps/posix/gethostname.c: ... here.
38914
38915         * sysdeps/unix/execve.S: Remove file.
38916
38917         * sysdeps/unix/_exit.S: Remove file.
38918
38919 2012-04-23  Andreas Jaeger  <aj@suse.de>
38920
38921         [BZ #13739]
38922         * manual/Makefile: Remove make dist support, there's no
38923         need for a stand-alone documentation tar ball.
38924         (TEXI2DVI): Define always, it's not in Makeconfig.
38925         (dist): Removed.
38926         (tar-it): Removed.
38927         (edition): Removed.
38928         (glibc-doc-$(edition).tar): Removed
38929         (%.Z): Removed.
38930         (%.gz): Removed.
38931         (%.uu): Removed.
38932         (ETAGS): Remove, it's in Makeconfig.
38933         (move-if-change): Remove, it's in Makeconfig.
38934
38935 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38936
38937         [BZ #13970]
38938         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38939         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38940         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38941         (strtod_l, strtof_l, strtold_l): Remove __wur.
38942         It is not necessarily an error to ignore strtol's return value.
38943         One can reliably look at the stored endptr to decide whether
38944         the number had valid syntax.
38945
38946 2012-04-21  Andreas Jaeger  <aj@suse.de>
38947
38948         [BZ #13739]
38949         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38950
38951 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38952
38953         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38954         * sysdeps/unix/sysv/Versions: Remove file.
38955
38956 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38957
38958         [BZ #13927]
38959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38960
38961 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38962
38963         [BZ #7064]
38964         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38965         version from __vm86.
38966
38967 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38968
38969         * sysdeps/unix/common/lxstat.c: Remove file.
38970         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38971
38972         * sysdeps/unix/sysv/Makefile: Remove file.
38973
38974         * sysdeps/unix/sysv/direct.h: Remove file.
38975
38976         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38977         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38978         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38979         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38980         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38981         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38982         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38983
38984         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38985
38986         * sysdeps/unix/xmknod.c: Remove file.
38987         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38988
38989         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38990
38991         * sysdeps/unix/sysv/i386/time.S: Remove file.
38992
38993         * sysdeps/unix/fxstat.c: Remove file.
38994         * sysdeps/unix/xstat.c: Likewise.
38995         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38996
38997         * sysdeps/unix/sysv/sigaction.c: Remove file.
38998
38999         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39000         (sysdep_headers): Remove variable.
39001         [termio.h not in sysdep_headers] (generated): Likewise.
39002         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39003         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39004         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39005         * sysdeps/unix/sysv/tcflow.c: Likewise.
39006         * sysdeps/unix/sysv/tcflush.c: Likewise.
39007         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39008         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39009         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39010         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39011         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39012
39013         * sysdeps/unix/siglist.c: Remove file.
39014
39015         * sysdeps/unix/getppid.S: Remove file.
39016
39017         * sysdeps/unix/mkdir.c: Remove file.
39018         * sysdeps/unix/rmdir.c: Likewise.
39019
39020 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39021
39022         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39023         ERR_MAX value.
39024         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39025         errlist-compat value.
39026
39027 2012-04-18  David S. Miller  <davem@davemloft.net>
39028
39029         * sysdeps/generic/memcopy.h (reg_char): Delete.
39030         * debug/strcat_chk.c: Use char, not reg_char.
39031         * debug/strcpy_chk.c: Likewise.
39032         * debug/strncat_chk.c: Likewise.
39033         * debug/strncpy_chk.c: Likewise.
39034         * string/memchr.c: Likewise.
39035         * string/memrchr.c: Likewise.
39036         * string/rawmemchr.c: Likewise.
39037         * string/strcat.c: Likewise.
39038         * string/strchr.c: Likewise.
39039         * string/strchrnul.c: Likewise.
39040         * string/strcmp.c: Likewise.
39041         * string/strcpy.c: Likewise.
39042         * string/strncat.c: Likewise.
39043         * string/strncmp.c: Likewise.
39044         * string/strncpy.c: Likewise.
39045
39046 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39047
39048         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39049         __builtin_memcopy is called when src and dest ranges are known to not
39050         overlap.
39051
39052 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39053
39054         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39055         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39056         fwd_align_merge macro call.
39057         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39058         bwd_align_merge macro call.
39059         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39060
39061 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39062
39063         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39064         bwd_align_merge macros.
39065         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39066         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39067         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39068
39069 2012-04-18  David S. Miller  <davem@davemloft.net>
39070
39071         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39072
39073 2012-04-18  Andreas Jaeger  <aj@suse.de>
39074
39075         [BZ# 6794]
39076         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39077         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39078         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39079
39080         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39081         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39082         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39083
39084         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39085         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39086         Adjust for changed ldbl-128 files.
39087
39088         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39089         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39090         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39091
39092 2012-04-17  David S. Miller  <davem@davemloft.net>
39093
39094         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39095
39096 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39097
39098         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39099         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39100         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39101         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39102         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39103         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39104
39105 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39106
39107         [BZ #6794]
39108         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39109         * math/libm-test.inc: Add ilogb errno and exception tests.
39110         * math/w_ilogb.c: New file: ilogb wrapper.
39111         * math/w_ilogbf.c: New file: ilogbf wrapper.
39112         * math/w_ilogbl.c: New file: ilogbl wrapper.
39113         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39114         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39115         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39116         exception being thrown with 0.0 as argument.
39117         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39118         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39119         exception being thrown with 0.0 as argument.
39120         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39121         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39122         exception being thrown with 0.0 as argument.
39123         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39124         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39125         exception being thrown with 0.0 as argument.
39126         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39127         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39128         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39129         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39130         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39131         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39132         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39133         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39134         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39135
39136 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39137
39138         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39139         with altivec.
39140
39141 2012-04-16  Marek Polacek  <polacek@redhat.com>
39142
39143         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39144
39145 2012-04-16  Marek Polacek  <polacek@redhat.com>
39146
39147         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39148         operands of fdivp instruction.
39149
39150 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39151
39152         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39153         * elf/tst-auditmod3b.c: Likewise.
39154         * elf/tst-auditmod4b.c: Likewise.
39155         * elf/tst-auditmod5b.c: Likewise.
39156         * elf/tst-auditmod6b.c: Likewise.
39157         * elf/tst-auditmod6c.c: Likewise.
39158         * elf/tst-auditmod7b.c: Likewise.
39159         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39160         * sysdeps/x86_64/preconfigure.in: Likewise.
39161         * sysdeps/x86_64/preconfigure: Regenerated.
39162
39163 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39164
39165         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39166         __ILP32__.
39167
39168 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39169
39170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39171         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39172
39173 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39174
39175         [BZ #13973]
39176         * locale/iso-639.def: Fix gl language name. Spotted by
39177         Yaron Shahrabani.
39178
39179 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39180
39181         [BZ #2074]
39182         * libio/libio.h (__io_write_fn): Update comment.
39183
39184 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39185
39186         [BZ #2074]
39187         * stdio.texi (Hook Functions): The user provided writer function
39188         is not allowed to return -1.
39189
39190 2012-04-11  David S. Miller  <davem@davemloft.net>
39191
39192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39193
39194 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39195
39196         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39197         Add a leading slash to rtkaio.
39198
39199 2012-04-11  Jim Meyering  <meyering@redhat.com>
39200
39201         [BZ #11959]
39202         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39203         It is not necessarily an error to ignore fwrite's return
39204         value.  One can reliably use ferror to test for errors after
39205         the fact.
39206
39207 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39208
39209         * bits/types.h (__snseconds_t): New type.
39210         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39211
39212         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39214         (__SNSECONDS_T_TYPE): Likewise.
39215         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39216         (__SNSECONDS_T_TYPE): Likewise.
39217         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39218         (__SNSECONDS_T_TYPE): Likewise.
39219
39220 2012-04-10  Andreas Jaeger  <aj@suse.de>
39221
39222         [BZ #2636]
39223         * manual/time.texi (Processor Time): Return type of times is
39224         elapsed real time since an arbitrary point in the past.
39225         (CPU Time): Move CLK_TCK from here...
39226         (Processor Time): ...to here.  Correct description.
39227         * manual/conf.texi (Constants for Sysconf): Correct description of
39228         _SC_CLK_TCK.
39229
39230 2012-04-10  David S. Miller  <davem@davemloft.net>
39231
39232         [BZ #13967]
39233         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39234         where the is a gap between DT_REL(A) and DT_JMPREL.
39235
39236 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39237
39238         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39239         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39240         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39241
39242 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39243
39244         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39245         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39246         (dl_main): Handle --inhibit-cache.
39247         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39248         _dl_inhibit_cache.
39249         * elf/dl-load.c (_dl_map_object): Use it.
39250         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39251
39252 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39253
39254         [BZ #13872]
39255         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39256         (__ieee754_powl): Saturate large exponents rather than testing for
39257         overflow of y*log2(x).
39258         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39259         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39260         exceptions.
39261
39262         [BZ #11521]
39263         * math/s_ctan.c: Include <float.h>.
39264         (__ctan): Avoid internal overflow or cancellation in calculating
39265         denominator.
39266         * math/s_ctanf.c: Likewise.
39267         * math/s_ctanl.c: Likewise.
39268         * math/s_ctanh.c: Likewise.
39269         * math/s_ctanhf.c: Likewise.
39270         * math/s_ctanhl.c: Likewise.
39271         * math/libm-test.inc (ctan_test): Add more tests.
39272         (ctanh_test): Likewise.
39273         * sysdeps/i386/fpu/libm-test-ulps: Update.
39274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39275
39276 2012-04-09  Andreas Jaeger  <aj@suse.de>
39277
39278         [BZ #6894]
39279         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39280         is an optional BSD extension.
39281
39282         [BZ #10254]
39283         * manual/stdio.texi (Opening Streams): Document additional fopen
39284         parameters.
39285
39286 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39287
39288         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39289         %eax without telling the compiler.
39290
39291 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39292
39293         [BZ # 13963]
39294         * manual/install.texi: Use sourceware.org.
39295
39296 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39297
39298         [BZ #13873]
39299         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39300         (__ieee754_pow): Generate overflow and underflow using huge*huge
39301         and tiny*tiny rather than just returning constant infinity or zero
39302         for large exponents.
39303         * math/libm-test.inc (pow_test): Require overflow exceptions for
39304         applicable cases of large exponents.
39305
39306         [BZ #706]
39307         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39308         (__ieee754_pow): Use iterative multiplication algorithm only for
39309         integer exponents with absolute value below 1024.  Check for odd
39310         integer exponents when using algorithm for real exponents.
39311         * math/libm-test.inc (pow_test): Add more tests.
39312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39313
39314 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39315
39316         [BZ #13705]
39317         * math/libm-test.inc (exp_test): Do not allow overflow exception
39318         on underflow test.
39319
39320 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39321
39322         [BZ #13705]
39323         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39324         instead of __kernel_standard_f.
39325
39326 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39327
39328         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39329         * sysdeps/x86_64/memset_chk.S: Likewise.
39330
39331 2012-04-08  Andreas Jaeger  <aj@suse.de>
39332
39333         [BZ #10153]
39334         * manual/startup.texi (Environment Access): Describe return value
39335         for putenv and setenv.
39336
39337         [BZ #6895]
39338         * manual/filesys.texi (Directory Entries): Add description for
39339         DT_LNK.
39340
39341         [BZ #6890]
39342         * manual/filesys.texi (Directory Entries): Clarify that it's file
39343         system not operating system in the description of DT_UNKNOWN.
39344
39345         [BZ #6578]
39346         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39347
39348 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39349
39350         [BZ #6649]
39351         * manual/llio.texi (Opening and Closing Files): Add cross
39352         reference to explain mode argument.
39353
39354 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39355
39356         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39357         * sysdeps/x86_64/memset_chk.S: Likewise.
39358
39359 2012-04-07  David S. Miller  <davem@davemloft.net>
39360
39361         * elf/elf.h (R_SPARC_WDISP10): Define.
39362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39363         R_SPARC_SIZE32.
39364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39365         R_SPARC_SIZE64 and R_SPARC_H34.
39366
39367 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39368
39369         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39370         conditions and remove no longer applicable assertion.
39371
39372 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39373
39374         * bits/byteswap.h: Include <features.h>.
39375         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39376         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39377
39378 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39379
39380         * bits/byteswap.h (__bswap_16): Removed.
39381         Include <bits/byteswap-16.h> to get __bswap_16.
39382         * sysdeps/i386/bits/byteswap.h: Likewise.
39383         * sysdeps/s390/bits/byteswap.h: Likewise.
39384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39385         * bits/byteswap-16.h: New file.
39386         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39387         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39388         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39389         * string/Makefile (headers): Add bits/byteswap-16.h.
39390
39391 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39392
39393         [BZ #13895]
39394         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39395         extra indirection.
39396         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39397         * nss/tst-nss-static.c: New.
39398
39399 2012-04-06  Robert Millan  <rmh@gnu.org>
39400
39401         [BZ #6486]
39402         * manual/llio.texi (File Position Primitive): lseek
39403         refers to WHENCE when it really means OFFSET.
39404
39405 2012-04-06  Andreas Jaeger  <aj@suse.de>
39406
39407         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39408         strncmp declarations.
39409
39410         * abilist/libc.abilist: Add __poll and __ppoll.
39411
39412 2012-04-05  David S. Miller  <davem@davemloft.net>
39413
39414         * scripts/check-local-headers.sh: Accept a host triplet in the
39415         path matched by the exclude regexp.
39416
39417         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39418         definition.
39419         * sysdeps/powerpc/powerpc32/dl-machine.h
39420         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39421         * sysdeps/s390/s390-32/dl-machine.h
39422         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39423         * sysdeps/sparc/sparc32/dl-machine.h
39424         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39425         * sysdeps/sparc/sparc64/dl-machine.h
39426         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39427
39428         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39429         lazy binding.
39430         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39431         undefined symbol errors.
39432
39433         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39434         DT_NEEDED entries.
39435
39436 2012-04-05  Michael Matz  <matz@suse.de>
39437
39438         [BZ #13592]
39439         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39440
39441 2012-04-05  Andreas Jaeger  <aj@suse.de>
39442
39443         [BZ #13908]
39444         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39445         comment.
39446
39447 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39448
39449         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39450         which ROUND is no valid rounding mode.
39451
39452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39453
39454         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39455         read again.
39456         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39457
39458 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39459
39460         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39461         an exception using FPU order intentionally.
39462
39463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39464
39465         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39466         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39467         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39468         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39469
39470 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39471
39472         [BZ #12340]
39473         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39474         EINVAL when BUFLEN is too smal.
39475
39476 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39477
39478         [BZ #13553]
39479         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39480         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39481
39482 2012-04-03  Andreas Jaeger  <aj@suse.de>
39483
39484         [BZ #13938]
39485         * manual/setjmp.texi (System V contexts): Fix sentence.
39486
39487         [BZ #13926]
39488         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39489         New macro for this case.
39490         [!__GNUC__] (__bswap_64): New inline function for this case.
39491         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39492         * bits/byteswap.h: Likewise.
39493         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39494         ull, guard with __GLIBC_HAVE_LONG_LONG.
39495
39496         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39497         __GLIBC_HAVE_LONG_LONG.
39498
39499         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39500         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39501
39502 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39503
39504         [BZ #13691]
39505         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39506         inptr and inend, rather than using last_ch.
39507
39508 2012-04-02  David S. Miller  <davem@davemloft.net>
39509
39510         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39511         * stdio-common/printf-parse.h (read_int): Change return type to
39512         'int', return -1 on INT_MAX overflow.
39513         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39514         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39515         overflows INT_MAX.  Check for overflow of in-format-string precision
39516         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39517         SIZE_MAX not INT_MAX for integer overflow test.
39518         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39519         skip the construct in the format string but do not record anything.
39520         * stdio-common/bug22.c: Adjust to test both width/prevision
39521         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39522         explicitly for proper errno values.
39523
39524 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39525
39526         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39527         CHAR_MAX.
39528         * string/test-strcmp.c [! WIDE]: Likewise.
39529         * time/tst-mktime2.c: Likewise for INT_MAX.
39530         * string/test-string.h: #include <sys/param.h> for MIN.
39531
39532         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39533         * sysdeps/i386/init-first.c (init): Likewise.
39534         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39535         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39536         * sysdeps/sh/init-first.c (init): Likewise.
39537
39538 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39539
39540         * po/ru.po: Update from translation team.
39541         * po/vi.po: Likewise.
39542
39543 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39544
39545         * resolv/nss_dns/dns-host.c: Merge copyright years.
39546
39547 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39548
39549         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39550         Optimize memcpy with prefetch if
39551         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39552         src, dst pointers have unequal 16 byte alignments.
39553
39554 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39555
39556         [BZ #13928]
39557         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39558         from a CNAME entry and return the minimum ttl for the query.
39559         (gaih_getanswer_slice): Likewise.
39560
39561 2012-03-30  Jeff Law  <law@redhat.com>
39562
39563         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39564         due to long keys.
39565         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39566         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39567
39568         * resolv/nss_dns/dns-host.c: Update copyright year.
39569
39570 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39571
39572         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39573         requests to save a system call.  Fix check that all bytes are sent.
39574
39575         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39576         comments for sendmmsg.
39577
39578 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39579
39580         [BZ #13691]
39581         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39582         with only 1 character between 0x0041 and 0x01b0.
39583         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39584         * wcsmbs/tst-mbsnrtowcs.c: New file.
39585
39586 2012-03-29  David S. Miller  <davem@davemloft.net>
39587
39588         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39589         small copies by hand.
39590
39591 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39592
39593         [BZ #13761]
39594         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39595         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39596         group memberships.
39597
39598 2012-03-28  David S. Miller  <davem@davemloft.net>
39599
39600         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39601         that branches into memcpy.
39602         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39603         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39605         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39607         bits.
39608         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39609         implementation too.
39610         * sysdeps/sparc/mempcpy.S: New file.
39611
39612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39613         the IFUNC routine in the libc case.
39614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39615
39616         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39617         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39618         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39619         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39620         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39621         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39622         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39623         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39624
39625         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39626         loop to 256 bytes instead of 64 bytes and fix test signedness.
39627
39628         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39629         * sysdeps/sparc/sparc32/Makefile: rather than here...
39630         * sysdeps/sparc/sparc64/Makefile: and here.
39631
39632 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39633
39634         * malloc/mallocbug.c: Avoid warnings about unused variables.
39635
39636 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39637
39638         [BZ #13760]
39639         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39640         in the right place. Discard and retry query if response is
39641         larger than input buffer size.
39642
39643 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39644
39645         [BZ #369]
39646         [BZ #2678]
39647         [BZ #3866]
39648         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39649         x for large integer exponent.
39650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39651         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39652         sign of result as needed afterwards.
39653         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39654         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39655         result for underflowing pow the same as for overflow.
39656         (__kernel_standard_l): Handle powl overflow and underflow here
39657         rather than calling __kernel_standard.
39658         * math/libm-test.inc (pow_test): Add more tests.
39659
39660         [BZ #3868]
39661         [BZ #13879]
39662         [BZ #13910]
39663         [BZ #13911]
39664         [BZ #13912]
39665         [BZ #13913]
39666         [BZ #13915]
39667         [BZ #13916]
39668         [BZ #13917]
39669         [BZ #13918]
39670         [BZ #13919]
39671         [BZ #13920]
39672         [BZ #13921]
39673         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39674         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39675         (__kernel_standard_l): New function.
39676         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39677         __kernel_standard.
39678         * math/w_acosl.c (__acosl): Likewise.
39679         * math/w_asinl.c (__asinl): Likewise.
39680         * math/w_atan2l.c (__atan2l): Likewise.
39681         * math/w_atanhl.c (__atanhl): Likewise.
39682         * math/w_coshl.c (__coshl): Likewise.
39683         * math/w_exp10l.c (__exp10l): Likewise.
39684         * math/w_exp2l.c (__exp2l): Likewise.
39685         * math/w_fmodl.c (__fmodl): Likewise.
39686         * math/w_hypotl.c (__hypotl): Likewise.
39687         * math/w_j0l.c (__j0l, __y0l): Likewise.
39688         * math/w_j1l.c (__j1l, __y1l): Likewise.
39689         * math/w_jnl.c (__jnl, __ynl): Likewise.
39690         * math/w_lgammal.c (__lgammal): Likewise.
39691         * math/w_log10l.c (__log10l): Likewise.
39692         * math/w_log2l.c (__log2l): Likewise.
39693         * math/w_logl.c (__logl): Likewise.
39694         * math/w_powl.c (__powl): Likewise.
39695         * math/w_remainderl.c (__remainderl): Likewise.
39696         * math/w_scalbl.c (sysv_scalbl): Likewise.
39697         * math/w_sinhl.c (__sinhl): Likewise.
39698         * math/w_sqrtl.c (__sqrtl): Likewise.
39699         * math/w_tgammal.c (__tgammal): Likewise.
39700         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39701         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39702         * math/libm-test.inc (acos_test): Add more tests.
39703         (acosh_test): Likewise.
39704         (asin_test): Likewise.
39705         (atanh_test): Likewise.
39706         (exp_test): Likewise.
39707         (exp10_test): Likewise.
39708         (exp2_test): Likewise.
39709         (expm1_test): Likewise.
39710         (lgamma_test): Likewise.
39711         (log_test): Likewise.
39712         (log10_test): Likewise.
39713         (log1p_test): Likewise.
39714         (log2_test): Likewise.
39715         (pow_test): Do not allow some spurious overflow exceptions.
39716         (sqrt_test): Add more tests.
39717         (tgamma_test): Likewise.
39718         (y0_test): Likewise.
39719         (y1_test): Likewise.
39720         (yn_test): Likewise.
39721
39722 2012-03-27  Anton Blanchard  <anton@samba.org>
39723
39724         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39725         MAP_HUGETLB.
39726         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39727         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39728         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39729
39730 2012-03-27  David S. Miller  <davem@davemloft.net>
39731
39732         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39733
39734         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39735         have-as-vis3 check.
39736
39737 2012-03-27  Andreas Jaeger  <aj@suse.de>
39738
39739         * sysdeps/x86_64/elf/configure.in: Moved to ...
39740         * sysdeps/x86_64/configure.in: ... here.
39741         * sysdeps/x86_64/elf/start.S: Moved to ...
39742         * sysdeps/x86_64/start.S: ... here.
39743         * sysdeps/x86_64/elf/configure: Delete.
39744
39745         * sysdeps/x86_64/configure.in: Merge contents from
39746         sysdeps/i386/configure.in (without i686 check).
39747
39748         * sysdeps/i386/elf/Versions: Merge into ...
39749         * sysdeps/i386/Versions: ... this.
39750         * sysdeps/i386/elf/Versions: Delete file.
39751         * sysdeps/i386/elf/start.S: Moved to ...
39752         * sysdeps/i386/start.S: ...here.
39753         * sysdeps/i386/elf/configure.in: Merge into...
39754         * sysdeps/i386/configure.in: ...here.
39755         * sysdeps/i386/elf/configure.in: Delete file.
39756         * sysdeps/i386/elf/configure: Delete file.
39757
39758         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39759         * debug/backtracesyms.c: ... here.
39760         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39761         * debug/backtracesymsfd.c: ... here.
39762         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39763         * sysdeps/generic/ifunc-sel.h: ... here.
39764
39765         * sysdeps/unix/i386/start.c: Delete file.
39766         * sysdeps/unix/sparc/start.c: Delete file.
39767         * sysdeps/unix/start.c: Delete file.
39768
39769         * sysdeps/sh/elf/configure.in: Moved to ...
39770         * sysdeps/sh/configure.in: ... here.
39771         * sysdeps/sh/elf/start.S: Moved to ...
39772         * sysdeps/sh/start.S: ... here.
39773         * sysdeps/sh/elf/configure: Delete file.
39774
39775         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39776         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39777         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39778         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39779         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39780         * sysdeps/powerpc/powerpc64/start.S: here.
39781         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39782         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39783         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39784         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39785         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39786
39787         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39788         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39789         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39790         * sysdeps/powerpc/powerpc32/start.S: ... here.
39791         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39792         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39793         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39794
39795         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39796         * sysdeps/powerpc/ifunc-sel.h: ... here.
39797         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39798         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39799
39800         * sysdeps/sparc/elf/configure.in: Moved to ...
39801         * sysdeps/sparc/configure.in: ... here.
39802         * sysdeps/sparc/elf/configure: Delete file.
39803         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39804         * sysdeps/sparc/sparc32/start.S: ... here.
39805         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39806         * sysdeps/sparc/sparc64/start.S: ... here.
39807         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39808         * sysdeps/sparc/sparc32/Makefile: ... this.
39809         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39810         * sysdeps/sparc/sparc64/Makefile: ... this.
39811
39812         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39813         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39814         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39815         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39816         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39817         * sysdeps/s390/s390-32/setjmp.S: ... here.
39818         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39819         * sysdeps/s390/s390-32/configure.in: ... here.
39820         * sysdeps/s390/s390-32/elf/configure: Delete file.
39821         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39822         * sysdeps/s390/s390-32/start.S: ... here.
39823
39824         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39825         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39826         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39827         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39828         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39829         * sysdeps/s390/s390-64/setjmp.S: ... here.
39830         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39831         * sysdeps/s390/s390-64/configure.in: ... here
39832         * sysdeps/s390/s390-64/elf/configure: Delete file.
39833         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39834         * sysdeps/s390/s390-64/start.S: ... here.
39835         * sysdeps/s390/s390-64/elf/configure: Delete.
39836
39837         * configure.in: Remove support for elf directories in sysdeps.
39838
39839         * configure: Regenerated.
39840         * sysdeps/i386/configure: Regenerated.
39841         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39842         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39843         * sysdeps/s390/s390-32/configure: Regenerated.
39844         * sysdeps/s390/s390-64/configure: Regenerated.
39845         * sysdeps/sh/configure: Regenerated.
39846         * sysdeps/sparc/configure: Regenerated.
39847         * sysdeps/x86_64/configure: Regenerated.
39848
39849 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39850
39851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39852
39853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39854         denormal result into account.
39855
39856 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39857
39858         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39859         Reported by Allan McRae <allan@archlinux.org>.
39860
39861 2012-03-23  Jeff Law  <law@redhat.com>
39862
39863         * nss/getnssent.c (__nss_getent): Fix typo.
39864
39865 2012-03-23  David S. Miller  <davem@davemloft.net>
39866
39867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39868
39869 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39870
39871         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39872         to pad to uint64_t for each field.
39873         (dl_tls_index): Replace unsigned long with uint64_t.
39874
39875 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39876         Paul Pluzhnikov  <ppluzhnikov@google.com>
39877
39878         [BZ #6528]
39879         * grp/Makefile (otherlibs): Don't set it.
39880         * inet/Makefile (otherlibs): Likewise.
39881         * login/Makefile (otherlibs): Likewise.
39882         * nscd/Makefile (otherlibs): Likewise.
39883         * posix/Makefile (otherlibs): Likewise.
39884         * pwd/Makefile (otherlibs): Likewise.
39885         * rt/Makefile (otherlibs): Likewise.
39886         * sunrpc/Makefile (otherlibs): Likewise.
39887         * nss/Makefile (otherlibs): Likewise.
39888         Add libnss_files to routines and static-only-routines.
39889         ($(objpfx)getent): Remove rule.
39890         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39891         static-only-routines.
39892
39893 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39894
39895         [BZ #13892]
39896         * math/s_cexp.c: Include <float.h>.
39897         (__cexp): Handle exp result overflowing not necessarily
39898         overflowing both real and imaginary parts of result.
39899         * math/s_cexpf.c: Likewise.
39900         * math/s_cexpl.c: Likewise.
39901         * math/libm-test.inc (cexp_test): Add more tests.
39902         * sysdeps/i386/fpu/libm-test-ulps: Update.
39903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39904
39905 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39906
39907         * include/link.h (ELFW): New macro.
39908         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39909         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39910
39911 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39912
39913         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39914         with uint64_t.
39915
39916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39917
39918         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39919         declaration.
39920         (struct La_x32_retval): Likewise.
39921
39922 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39923
39924         * sysdeps/x86_64/preconfigure.in: New file.
39925         * sysdeps/x86_64/preconfigure: New generated file.
39926
39927 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39928
39929         [BZ #13824]
39930         * math/e_exp2l.c: Include <float.h>.
39931         (__ieee754_exp2l): Handle overflow and underflow cases
39932         separately.  Only pass fractional part of argument to
39933         __ieee754_expl.
39934         * math/libm-test.inc (exp2_test): Add more tests.
39935
39936         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39937         negating x to take absolute value.
39938         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39939         Likewise.
39940         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39941         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39942         Likewise.
39943         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39944         computing low part if x was negated.
39945         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39946
39947 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39948
39949         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39950         la_x32_gnu_pltexit.
39951         (pltexit): Cast int_retval to ptrdiff_t.
39952         * elf/tst-auditmod3b.c: Likewise.
39953         * elf/tst-auditmod4b.c: Likewise.
39954         * elf/tst-auditmod5b.c: Likewise.
39955         * elf/tst-auditmod6b.c: Likewise.
39956         * elf/tst-auditmod6c.c: Likewise.
39957         * elf/tst-auditmod7b.c: Likewise.
39958
39959         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39960         and x32_gnu_pltexit.
39961
39962         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39963         __ELF_NATIVE_CLASS.
39964         (La_x32_regs): New macro.
39965         (La_x32_retval): Likewise.
39966         (la_x32_gnu_pltenter): New function prototype.
39967         (la_x32_gnu_pltexit): Likewise.
39968
39969 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39970
39971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39972         exponent.
39973
39974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39975
39976         * configure.in (libc_cv_cc_nofma): Check for option to disable
39977         generation of FMA instructions.
39978         * configure: Regenerate.
39979         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39980         * sysdeps/ieee754/dbl-64/Makefile: New file.
39981         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39982         Remove brandred-fma4.
39983         (CFLAGS-brandred-fma4.c): Remove.
39984         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39985         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39986         define.
39987         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39988         define.
39989
39990 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39991
39992         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39993         LLONG_MAX != LONG_MAX.
39994         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39995         (_fitoa_word): Likewise.
39996         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39997         LLONG_MAX != LONG_MAX.
39998         * stdio-common/_itowa.h: Include <_itoa.h>.
39999         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40000         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40001         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40002         only if not defined.
40003         (_ITOA_WORD_TYPE): Likewise.
40004         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40005         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40006
40007 2012-03-21  David S. Miller  <davem@davemloft.net>
40008
40009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40010
40011 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40012
40013         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40014         of x86_64 when setting libc_cv_slibdir, libdir and
40015         libc_cv_localedir.
40016         * sysdeps/unix/sysv/linux/configure: Regenerated.
40017
40018 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40019
40020         * manual/lang.texi (Old Varargs): Remove section.
40021         (How Variadic): Update menu.
40022         (va_start): Do not mention varargs.h.
40023
40024 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40025             Joseph Myers  <joseph@codesourcery.com>
40026
40027         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40028         link test.
40029         * configure: Regenerated.
40030
40031 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40032
40033         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40034         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40035         conformtest.pl
40036
40037 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40038
40039         * NOTES: Remove.
40040         * Makefile (files-for-dist): Remove NOTES.
40041         (NOTES): Remove rule.
40042         * README: Don't refer to NOTES.
40043         * manual/creature.texi: Don't include macros.texi.
40044         * manual/intro.texi (creature.texi): Remove comment referring to
40045         NOTES.
40046
40047         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40048         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40049         * configure: Regenerated.
40050         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40051         LIBC_TRY_CC_OPTION.
40052         (libc_cv_as_i686): Likewise.
40053         (libc_cv_cc_avx): Likewise.
40054         (libc_cv_cc_sse2avx): Likewise.
40055         (libc_cv_cc_fma4): Likewise.
40056         (libc_cv_cc_novzeroupper): Likewise.
40057         * sysdeps/i386/configure: Regenerated.
40058
40059         [BZ #13883]
40060         * sysdeps/i386/fpu/s_cexp.S: Remove.
40061         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40062         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40063         * math/libm-test.inc (cexp_test): Add more tests.
40064         * sysdeps/i386/fpu/libm-test-ulps: Update.
40065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40066
40067 2012-03-21  Allan McRae  <allan@archlinux.org>
40068
40069         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40070
40071 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40072
40073         [BZ #13871]
40074         * math/w_exp2.c: Do not include <float.h>.
40075         (o_threshold, u_threshold): Remove.
40076         (__exp2): Calculate result before checking finiteness and calling
40077         __kernel_standard.
40078         * math/w_exp2f.c: Likewise.
40079         * math/w_exp2l.c: Likewise.
40080         * math/libm-test.inc (exp2_test): Require overflow exception for
40081         1e6 input.
40082
40083         [BZ #3866]
40084         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40085         range of signed 64-bit integers before using fistpll.  Remove
40086         checks for whether integers fit in mantissa bits.
40087         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40088         the range of signed 32-bit integers before using fistpl.  Remove
40089         checks for whether integers fit in mantissa bits.
40090         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40091         (__ieee754_powl): Test for y outside the range of signed 64-bit
40092         integers before using fistpll.  Reduce 64-bit values to 63-bit
40093         ones as needed.
40094         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40095         divide-by-zero is raised for zero to large negative powers.
40096         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40097         (__ieee754_powl): Test for y outside the range of signed 64-bit
40098         integers before using fistpll.  Reduce 64-bit values to 63-bit
40099         ones as needed.
40100         * math/libm-test.inc (pow_test): Add more tests.
40101
40102 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40103
40104         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40105         <stdio-common/_itoa.h>.
40106         * debug/segfault.c: Likewise.
40107         * elf/dl-cache.c: Likewise.
40108         * elf/dl-minimal.c: Likewise.
40109         * elf/dl-misc.c: Likewise.
40110         * elf/dl-sysdep.c: Likewise.
40111         * elf/dl-version.c: Likewise.
40112         * elf/rtld.c: Likewise.
40113         * hurd/hurdsock.c: Likewise.
40114         * hurd/lookup-retry.c: Likewise.
40115         * malloc/malloc.c: Likewise.
40116         * malloc/mtrace.c: Likewise.
40117         * nscd/nscd_getgr_r.c: Likewise.
40118         * nscd/nscd_getpw_r.c: Likewise.
40119         * nscd/nscd_getserv_r.c: Likewise.
40120         * posix/getopt_init.c: Likewise.
40121         * posix/wordexp.c: Likewise.
40122         * stdio-common/_itoa.c: Likewise.
40123         * stdio-common/printf_fphex.c: Likewise.
40124         * stdio-common/vfprintf.c: Likewise.
40125         * string/_strerror.c: Likewise.
40126         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40127         * sysdeps/i386/i686/hp-timing.h: Likewise.
40128         * sysdeps/mach/_strerror.c: Likewise.
40129         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40130         * sysdeps/mach/hurd/sethostid.c: Likewise.
40131         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40132         * sysdeps/mach/xpg-strerror.c: Likewise.
40133         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40134         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40135         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40136         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40137         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40138         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40139         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40140         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40141         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40142         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40143         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40144         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40145         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40146         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40147         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40148         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40149         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40150         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40151         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40152         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40153         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40154
40155         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40156
40157         * stdio-common/_itoa.h: Moved to ...
40158         * sysdeps/generic/_itoa.h: Here.
40159
40160         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40161
40162         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40163         instead of "_itoa.h" and "_itowa.h".
40164         * stdio-common/vfprintf.: Likewise.
40165
40166 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40167
40168         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40169         <bits/wordsize.h>.
40170         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40171         (__signbit): Likwise.
40172         (llrintf): Likwise.
40173         (llrint): Likwise.
40174
40175 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40176
40177         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40178         __WORDSIZE != 64.
40179
40180 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40181
40182         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40183         OVERFLOW_EXCEPTION_OK.
40184         * math/libm-test.inc ("Philosophy"): Update comment about
40185         exception testing.
40186         (OVERFLOW_EXCEPTION): Define.
40187         (OVERFLOW_EXCEPTION_OK): Likewise.
40188         (INVALID_EXCEPTION_OK): Renumber.
40189         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40190         (IGNORE_ZERO_INF_SIGN): Likewise.
40191         (test_exceptions): Handle FE_OVERFLOW.
40192         (exp10_test): Expect overflow exceptions.
40193         (exp2_test): Likewise.
40194         (expm1_test): Likewise.
40195         (nextafter_test): Likewise.
40196         (pow_test): Likewise.
40197         (scalbn_test): Likewise.
40198         (scalbln_test): Likewise.
40199
40200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40201
40202         * sysdeps/x86_64/bits/atomic.h
40203         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40204         64bit integer.
40205         (atomic_exchange_acq): Likewise.
40206         (__arch_exchange_and_add_body): Likewise.
40207         (__arch_add_body): Likewise.
40208         (atomic_add_negative): Likewise.
40209         (atomic_add_zero): Likewise.
40210
40211 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40212
40213         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40214         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40215
40216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40217
40218         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40219         Check __x86_64__ instead of __WORDSIZE.
40220
40221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40222
40223         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40224
40225 2012-03-19  David S. Miller  <davem@davemloft.net>
40226
40227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40228
40229         * sysdeps/sparc/fpu/fenv_private.h: New file.
40230         * sysdeps/sparc/fpu/math_private.h: Use it.
40231         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40232         Remove.
40233         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40234         (libc_feholdexcept_setroundl): Remove.
40235         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40236         Remove.
40237         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40238         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40239
40240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40241
40242         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40243         int64_t instead of long int.
40244         (INSERT_WORDS64): Likwise.
40245
40246 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40247
40248         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40249         _Unwind_GetCFA return to _Unwind_Ptr first.
40250
40251 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40252
40253         [BZ #13629]
40254         * math/s_clog.c: Include <float.h>.
40255         (__clog): Scale large or subnormal inputs.
40256         * math/s_clogf.c: Likewise.
40257         * math/s_clogl.c: Likewise.
40258         * math/s_clog10.c: Include <float.h>.
40259         (M_LOG10_2): Define.
40260         (__clog10): Scale large or subnormal inputs.
40261         * math/s_clog10f.c: Likewise.
40262         * math/s_clog10l.c: Likewise.
40263         * math/libm-test.inc (clog_test): Add more tests.
40264         (clog10_test): Likewise.
40265         * sysdeps/i386/fpu/libm-test-ulps: Update.
40266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40267
40268         [BZ #11451]
40269         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40270         x and y.
40271         * math/libm-test.inc (atan2_test): Add another test.
40272
40273         * Makerules (common-objdir-compile): Remove.
40274         * sysdeps/unix/Makefile (config-generated): Do not add
40275         $(unix-generated) to variable.
40276         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40277         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40278         Remove rule.
40279         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40280         Likewise.
40281         [generic bits/local_lim.h] (before-compile): Do not append to
40282         variable.
40283         [generic bits/local_lim.h] (common-generated): Likewise.
40284         [generic sys/param.h] (before-compile): Do not append to variable.
40285         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40286         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40287         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40288         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40289         include.
40290         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40291         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40292         [generic sys/param.h] ($(addprefix
40293         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40294         [generic sys/param.h] (common-generated): Do not append to
40295         variable.
40296         [generic sys/param.h] (sysdep_headers): Likewise.
40297         [generic bits/errno.h] (before-compile): Do not append to
40298         variable.
40299         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40300         rule.
40301         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40302         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40303         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40304         [generic bits/errno.h] (common-generated): Do not append to
40305         variable.
40306         [generic bits/ioctls.h] (before-compile): Do not append to
40307         variable.
40308         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40309         rule.
40310         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40311         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40312         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40313         rule.
40314         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40315         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40316         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40317         [generic bits/ioctls.h] (common-generated): Do not append to
40318         variable.
40319         [generic sys/syscall.h] (syscall.h): Remove variable.
40320         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40321         rule.
40322         [generic sys/syscall.h] (before-compile): Do not append to
40323         variable.
40324         [generic sys/syscall.h] (common-generated): Likewise.
40325         * sysdeps/unix/errnos-tmpl.c: Remove file.
40326         * sysdeps/unix/errnos.awk: Likewise.
40327         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40328         * sysdeps/unix/ioctls.awk: Likewise.
40329         * sysdeps/unix/mk-local_lim.c: Likewise.
40330         * sysdeps/unix/snarf-ioctls: Likewise.
40331
40332 2012-03-19  Richard Henderson  <rth@twiddle.net>
40333
40334         * sysdeps/i386/fpu/fenv_private.h: New file.
40335         * sysdeps/i386/fpu/math_private.h: Use it.
40336         (math_opt_barrier, math_force_eval): Remove.
40337         (libc_feholdexcept_setround_53bit): Remove.
40338         (libc_feupdateenv_53bit): Remove.
40339         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40340         (math_opt_barrier, math_force_eval): Remove.
40341         (libc_feholdexcept): Remove.
40342         (libc_feholdexcept_setround): Remove.
40343         (libc_fetestexcept, libc_fesetenv): Remove.
40344         (libc_feupdateenv_test): Remove.
40345         (libc_feupdateenv, libc_feholdsetround): Remove.
40346         (libc_feresetround): Remove.
40347
40348         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40349         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40350
40351         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40352         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40353         (libc_feupdateenv_testl): New.
40354         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40355         (libc_feupdateenv_testf): New.
40356         (libc_feupdateenv): Use libc_feupdateenv_test.
40357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40358         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40359
40360         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40361         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40362         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40363         (libc_feresetround_noex): New.
40364         (libc_feresetround_noexf): New.
40365         (libc_feresetround_noexl): New.
40366         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40367         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40368         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40369         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40370         SET_RESTORE_ROUND.
40371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40372         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40373         (__cos): Likewise.
40374         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40375         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40376         SET_RESTORE_ROUND_NOEX.
40377         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40378         SET_RESTORE_ROUND_NOEXF.
40379         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40380         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40381         (libc_feholdsetroundf): New.
40382         (libc_feresetround, libc_feresetroundf): New.
40383
40384         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40385         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40386         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40387
40388         * sysdeps/generic/math_private.h: Include <fenv.h>.
40389         (default_libc_feholdexcept): New.
40390         (default_libc_feholdexcept_setround): New.
40391         (default_libc_fesetenv, default_libc_feupdateenv): New.
40392         (libc_feholdexcept): Only define if undefined.
40393         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40394         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40395         (libc_feholdexcept_setroundl): Likewise.
40396         (libc_feholdexcept_setround_53bit): Likewise.
40397         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40398         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40399         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40400         (libc_feupdateenv_53bit): Likewise.
40401         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40402         (libc_feholdexcept): Convert from macro to inline function.
40403         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40404         (libc_fesetenv, libc_feupdateenv): Likewise.
40405
40406         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40407         not previously defined.
40408         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40409         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40410         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40411         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40412         * sysdeps/ieee754/flt-32/math_private.h: New file.
40413         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40414         math_private.h below SET_FLOAT_WORD.
40415         (__isnan, __isinf_ns, __finite): Remove.
40416         (__isnanf, __isinf_nsf, __finitef): Remove.
40417
40418 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40419
40420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40421
40422 2012-03-17  David S. Miller  <davem@davemloft.net>
40423
40424         [BZ #6471]
40425         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40426         for 2.16.
40427
40428 2012-03-16  David S. Miller  <davem@davemloft.net>
40429
40430         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40431         warnings.
40432
40433         [BZ #6471]
40434         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40435         properly.
40436         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40437         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40438         sysdep_routines when subdir is sysvipc.
40439         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40440         __getshmlba helper.
40441
40442         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40443
40444 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40445
40446         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40447         [__LP64__].
40448
40449 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40450
40451         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40452         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40453         (__lround): Renamed to ...
40454         (__llround): This.  Replace long int with long long int.
40455         Define lround functions as aliases of llround functions.
40456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40457
40458 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40459
40460         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40461         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40462         adresses to uintptr_t.  Replace "long int" and "unsigned long
40463         int" with "greg_t" on va_arg.
40464
40465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40466
40467         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40468         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40469
40470         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40471         Move e_machine check before EI_CLASS check.  Handle x32
40472         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40473         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40474         SKIP_EM_IA_64 and include
40475         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40476
40477         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40478         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40479         (add_system_dir): New macro.
40480
40481         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40482         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40483
40484 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40485
40486         [BZ #2551]
40487         [BZ #2552]
40488         [BZ #2553]
40489         [BZ #2554]
40490         [BZ #2562]
40491         [BZ #2563]
40492         [BZ #2565]
40493         [BZ #2566]
40494         [BZ #2576]
40495         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40496         (y0): Likewise.
40497         * math/w_j0f.c (j0f): Likewise.
40498         (y0f): Likewise.
40499         * math/w_j0l.c (__j0l): Likewise.
40500         (__y0l): Likewise.
40501         * math/w_j1.c (j1): Likewise.
40502         (y1): Likewise.
40503         * math/w_j1f.c (j1f): Likewise.
40504         (y1f): Likewise.
40505         * math/w_j1l.c (__j1l): Likewise.
40506         (__y1l): Likewise.
40507         * math/w_jn.c (jn): Likewise.
40508         (yn): Likewise.
40509         * math/w_jnf.c (jnf): Likewise.
40510         (ynf): Likewise.
40511         * math/w_jnl.c (__jnl): Likewise.
40512         (__ynl): Likewise.
40513         * math/libm-test.inc (j0_test): Add more tests.
40514         (j1_test): Likewise.
40515         (jn_test): Likewise.  Add trailing semicolon to existing test.
40516         (y0_test): Likewise.
40517         (y1_test): Likewise.
40518         * sysdeps/i386/fpu/libm-test-ulps: Update.
40519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40520
40521         [BZ #13851]
40522         [BZ #13854]
40523         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40524         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40525         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40526         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40527         (__tanl): Set errno for infinite argument.
40528         * sysdeps/i386/fpu/mptan.c: Remove.
40529         * sysdeps/i386/fpu/s_tan.S: Likewise.
40530         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40531         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40532         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40533         * math/libm-test.inc (tan_test): Add more tests and enable more
40534         tests for double and long double.
40535         * sysdeps/i386/fpu/libm-test-ulps: Update.
40536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40537
40538 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40539
40540         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40541         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40542
40543 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40544
40545         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40546         * configure.in: Use it for both main tree and add-ons.
40547         * configure: Regenerated.
40548
40549 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40550
40551         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40552
40553 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40554
40555         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40556         in comment.
40557
40558         [BZ #13851]
40559         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40560         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40561         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40562         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40564         infinite argument.
40565         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40567         != 0 for prec == 2.
40568         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40569         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40570         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40571         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40572         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40573         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40574         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40575         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40576         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40577         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40578         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40579         * math/libm-test.inc (cos_test): Add more tests and enable more
40580         tests for long double.
40581         (sin_test): Likewise.
40582         (sincos_test): Likewise.
40583         * sysdeps/i386/fpu/libm-test-ulps: Update.
40584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40585
40586 2012-03-16  David S. Miller  <davem@davemloft.net>
40587
40588         * sysdeps/sparc/fpu/math_private.h: New file.
40589
40590 2012-03-15  David S. Miller  <davem@davemloft.net>
40591
40592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40593         file.
40594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40596         file.
40597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40603         sysdep routines.
40604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40605
40606         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40607         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40608
40609         * sysdeps/sparc/sparc-ifunc.h: New file.
40610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40611         sparc-ifunc.h
40612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40614         Likewise.
40615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40616         Likewise.
40617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40621         Likewise.
40622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40627         Likewise.
40628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40629         Likewise.
40630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40637         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40649         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40651         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40653         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40654
40655 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40656
40657         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40658         scaling.
40659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40660
40661 2012-03-15  Andreas Jaeger  <aj@suse.de>
40662
40663         [BZ #13852]
40664         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40665         ieee754/flt-32 implementation for sin, cos and sincos.
40666         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40667         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40668         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40669         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40670         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40671         ieee754/flt-32 implementation for tan.
40672
40673         * math/libm-test.inc (cos_test): Enable some large input tests for
40674         float as well
40675         (sin_test): Likewise.
40676         (sincos_test): Likewise.
40677         (tan_test): Add tests for large input.
40678
40679         * sysdeps/i386/fpu/libm-test-ulps: Update.
40680
40681 2012-03-15  Andreas Jaeger  <aj@suse.de>
40682
40683         [BZ #13658]
40684         * math/libm-test.inc (cos_test): Add more test cases.
40685         (sin_test): Likewise.
40686         (sincos_test): Likewise.
40687
40688 2012-03-15  Andreas Jaeger  <aj@suse.de>
40689
40690         [BZ #13837]
40691         * math/libm-test.inc (cos_test): Add a test case for large input
40692         value.
40693         (sin_test): Likewise.
40694         (sincos_test): Likewise.
40695
40696 2012-03-15  Andreas Jaeger  <aj@suse.de>
40697             Joseph Myers  <joseph@codesourcery.com>
40698
40699         [BZ #13658]
40700         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40701         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40702         * sysdeps/i386/fpu/branred.c: Likewise.
40703         * sysdeps/i386/fpu/dosincos.c: Likewise.
40704         * sysdeps/i386/fpu/mpa.c: Likewise.
40705         * sysdeps/i386/fpu/s_cos.S: Likewise.
40706         * sysdeps/i386/fpu/s_sin.S: Likewise.
40707         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40708         * sysdeps/i386/fpu/sincos32.c: Likewise.
40709
40710         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40711         Define.
40712         (libc_feupdateenv_53bit): Define.
40713         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40714         Define.
40715         (libc_feupdateenv_53bit): Define.
40716
40717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40718         53 bit (without extend i386 double precision).
40719
40720         * math/libm-test.inc (sincos_test): Add tests for large input.
40721         (sin): Likewise.
40722         (cos): Likewise.
40723
40724         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40725
40726 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40727
40728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40729
40730 2012-03-15  David S. Miller  <davem@davemloft.net>
40731
40732         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40733         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40734         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40735         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40748         file.
40749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40751         file.
40752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40754         file.
40755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40757         file.
40758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40759         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40760         fmin/fmax sysdep routines.
40761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40762
40763 2012-03-14  David S. Miller  <davem@davemloft.net>
40764
40765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40772         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40794         routines.
40795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40796         file.
40797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40799         file.
40800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40802         file.
40803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40805         file.
40806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40808         file.
40809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40811         file.
40812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40813         file.
40814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40815         file.
40816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40817         file.
40818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40819         New file.
40820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40821         file.
40822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40823         file.
40824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40826         file.
40827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40829         file.
40830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40832         file.
40833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40835         VIS3 routines.
40836
40837         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40838         New file.
40839
40840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40841
40842         * sysdeps/sparc/configure.in: New file.
40843         * sysdeps/sparc/configure: Generate.
40844         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40845         * configure: Regenerate.
40846         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40847         * config.make.in (have-as-vis3): New.
40848         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40849         available use -Av9d instead of -Av9a.
40850         * sysdeps/sparc/sparc64/Makefile: Likewise.
40851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40853         New file.
40854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40855         file.
40856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40857         New file.
40858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40859         file.
40860         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40865
40866         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40867         fzeros/fnegs to load 0x80000000 into a float register instead of
40868         using the stack.
40869         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40870
40871 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40872
40873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40874         bits/syscall.h.
40875         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40876         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40877         ($(inst_includedir)/bits/syscall.h): Remove rule.
40878         ($(objpfx)bits/syscall.d): Include instead of
40879         $(objpfx)syscall-list.d.
40880         (generated): Change syscall-list.h and syscall-list.d to
40881         bits/syscall.h and bits/syscall.d.
40882
40883 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40884
40885         [BZ #13846]
40886         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40887
40888 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40889
40890         [BZ #13841]
40891         * math/s_csqrt.c: Include <float.h>.
40892         (__csqrt): Scale large or subnormal inputs.
40893         * math/s_csqrtf.c: Likewise.
40894         * math/s_csqrtl.c: Likewise.
40895         * math/libm-test.inc (csqrt_test): Add more tests.
40896         * sysdeps/i386/fpu/libm-test-ulps: Update.
40897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40898
40899         [BZ #13840]
40900         * math/libm-test.inc (hypot_test): Add more tests.
40901
40902 2012-03-13  David S. Miller  <davem@davemloft.net>
40903
40904         [BZ #13840]
40905         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40906         double-precision for the calculation instead of scaling.
40907
40908 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40909
40910         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40911         manipulate bits before adding and subtracting TWO52[sx].
40912         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40913         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40914         Likewise.
40915         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40916
40917 2012-03-13  David S. Miller  <davem@davemloft.net>
40918
40919         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40920         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40921         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40922         rtld-global-offsets.h
40923         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40924
40925         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40926         large parameters.
40927
40928         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40929
40930         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40931         'err' in the ifdef scope in which it is actually used.
40932
40933         * nss/nss_db/db-init.c: Include string.h
40934
40935 2012-03-12  David S. Miller  <davem@davemloft.net>
40936
40937         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40938         masking out of the most significant byte of random value used.
40939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40940         Fix coding style in previous change.
40941
40942         * sysdeps/unix/sysv/linux/kernel-features.h
40943         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40944         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40945         expression.
40946         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40947         later.
40948
40949 2012-03-11  David S. Miller  <davem@davemloft.net>
40950
40951         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40952         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40953         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40954         for 'resultvar' otherwise things get truncated on 64-bit.
40955
40956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40957         Fix masking out of the most significant byte of random value used.
40958
40959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40960
40961 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40962
40963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40964
40965 2012-03-09  David S. Miller  <davem@davemloft.net>
40966
40967         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40968         variables with appropriate CPP guards.
40969         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40970         from the frame pointer, not the stack pointer.  Correct layout
40971         comments.  Fix test on resulting framesize and the management of
40972         the outregs buffer for pltexit.  Preserve floating point return
40973         values across _dl_call_pltexit call.
40974         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40975         framesize and the management of the outregs buffer for pltexit.
40976         Preserve floating point return values across _dl_call_pltexit
40977         call.
40978         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40979         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40980         (la_sparc64_gnu_pltexit): New functions.
40981         (print_exit): Fix format string for return register value.
40982
40983 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40984
40985         * sunrpc/Makefile (others): Add rpcgen.
40986         ($(objpfx)rpcgen): Remove special build rule and dependency on
40987         libc.
40988         * sunrpc/rpcgen.c: New file.
40989
40990 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40991
40992         [BZ #13673]
40993         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40994         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40995         * sysdeps/i386/crti.S: Likewise.
40996         * sysdeps/i386/crtn.S: Likewise.
40997         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40998         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40999         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41000         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41001         * sysdeps/sh/crti.S: Likewise.
41002         * sysdeps/sh/crtn.S: Likewise.
41003         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41004
41005         [BZ #13673]
41006         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41007         with URL.
41008         * locale/programs/locfile-kw.gperf: Likewise.
41009         * locale/programs/charmap-kw.h: Regenerated.
41010         * locale/programs/locfile-kw.h: Likewise.
41011
41012         [BZ #13673]
41013         * intl/plural.y: Replace FSF snail mail address with URL.
41014         * intl/plural.c: Regenerated.
41015
41016 2012-03-09  Richard Henderson  <rth@twiddle.net>
41017
41018         * include/math_private.h: Remove file.
41019         * math/math_private.h: Move file ...
41020         * sysdeps/generic/math_private.h: ... here.
41021
41022         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41023         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41024         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41025
41026         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41027         and <math_private.h>.
41028         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41029         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41030         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41031         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41032         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41039         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41040         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41042         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41043         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41044         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41045         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41046         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41047         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41050         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41052         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41053         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41054         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41058         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41059         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41060         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41061         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41062         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41063         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41064         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41065         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41066         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41068         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41069         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41070         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41071         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41072         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41073         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41074         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41075         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41076         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41077         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41078         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41079         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41080         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41081         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41082         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41083         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41116         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41117         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41118         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41119         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41120         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41121         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41122         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41123         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41124         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41125         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41126         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41127         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41128         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41129         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41130         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41131         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41132         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41133         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41134         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41135         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41136         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41137         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41138         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41139         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41140         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41141         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41142         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41143         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41144         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41145         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41146         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41147         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41148         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41149         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41150         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41151         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41152         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41153         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41154         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41155         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41156         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41157         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41158         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41159         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41160         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41161         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41162         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41163         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41164         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41165         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41166         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41167         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41168         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41169         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41170         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41171         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41172         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41173         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41174         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41175         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41176         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41177         * sysdeps/ieee754/k_standard.c: Likewise.
41178         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41179         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41182         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41186         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41245         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41249         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41251         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41252         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41254         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41255         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41257         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41260         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41261         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41262         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41263         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41264         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41265         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41266         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41268         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41269         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41270         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41271         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41273         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41274         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41275         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41276         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41277         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41279         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41283         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41285         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41290         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41293         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41295         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41297         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41298         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41300         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41301         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41302         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41304         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41305         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41309         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41310         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41312         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41314         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41315         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41316         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41317         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41318         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41320         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41322         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41323         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41324         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41325         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41326         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41327         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41328         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41329         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41330         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41331         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41332         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41333         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41334         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41335         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41336         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41337         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41338         * sysdeps/ieee754/s_lib_version.c: Likewise.
41339         * sysdeps/ieee754/s_matherr.c: Likewise.
41340         * sysdeps/ieee754/s_signgam.c: Likewise.
41341         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41342         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41343         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41344         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41345         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41346         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41347         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41348         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41349         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41350         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41351         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41352         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41353         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41354         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41355         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41356         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41357         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41358         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41359         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41362
41363 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41364
41365         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41366         * sunrpc/rpc_main.c: Likewise.
41367         * sunrpc/rpc_svcout.c: Likewise.
41368
41369 2012-03-09  David S. Miller  <davem@davemloft.net>
41370
41371         * include/math_private.h: New file.
41372
41373 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41374
41375         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41376         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41377         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41378         from <bits/socket_type.h>.
41379         (enum __socket_type): Don't define here.
41380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41382         bits/socket_type.h.
41383
41384         [BZ #13566]
41385         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41386         checking __USE_GNU.
41387
41388         * Makerules ($(inst_includedir)/%.h): New rule.
41389         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41390         (install-others): Remove variable setting.
41391         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41392
41393 2012-03-08  Richard Henderson  <rth@twiddle.net>
41394
41395         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41396         from macro to inline function; merge with the
41397         !__LIBC_INTERNAL_MATH_INLINES version.
41398         (__ieee754_sqrtf): Likewise.
41399
41400         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41401         to inline function.
41402         (__rintf, __floor, __floorf): Likewise.
41403
41404         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41405         macro to inline function.
41406         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41407
41408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41409         not <math/math_private.h>.
41410
41411 2012-03-08  David S. Miller  <davem@davemloft.net>
41412
41413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41414         copyright year.
41415         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41416
41417 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41418
41419         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41420         normalization.
41421         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41422         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41423
41424 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41425
41426         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41427         be defined individually, they must be defined as a block.  Define
41428         S for printing a string instead of hidint the different by using a
41429         macro for adding the 'l'.
41430         * stdio-common/tst-fphex-wide.c: Adjust.
41431
41432 2012-03-07  Marek Polacek  <polacek@redhat.com>
41433
41434         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41435
41436 2012-03-08  Marek Polacek  <polacek@redhat.com>
41437
41438         [BZ #13806]
41439         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41440         * stdio-common/tst-fphex.c: Define a few macros to make the
41441         test reusable.  Use them.
41442         * stdio-common/tst-fphex-wide.c: New file.
41443
41444 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41445
41446         [BZ #6911]
41447         * manual/macros.texi (gnusystems): New macro.
41448         (nongnusystems): Likewise.
41449         (gnulinuxhurdsystems): Likewise.
41450         (gnuhurdsystems): Likewise..
41451         (gnulinuxsystems): Likewise.
41452         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41453         variants of the GNU system, not "GNU system".
41454         * manual/conf.texi: Likewise.
41455         * manual/errno.texi: Likewise.  Update example of errno macro
41456         expansion.
41457         * manual/filesys.texi: Likewise.
41458         (getumask): Document as specific to GNU/Hurd.
41459         * manual/install.texi: Likewise.  Reword some references to
41460         GNU/Linux.
41461         * manual/intro.texi: Likewise.
41462         * manual/io.texi: Likewise.
41463         (File Name Portability): Detail which constraints are inapplicable
41464         to all GNU systems and which are only inapplicable to GNU/Hurd.
41465         * manual/job.texi: Likewise.
41466         * manual/llio.texi: Likewise.
41467         (O_NOCTTY): Document as present on GNU/Linux.
41468         * manual/maint.texi: Likewise.
41469         * manual/memory.texi: Likewise.
41470         * manual/pattern.texi: Likewise.
41471         * manual/pipe.texi: Likewise.
41472         * manual/process.texi: Likewise.
41473         * manual/resource.texi: Likewise.
41474         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41475         child on GNU/Hurd.
41476         * manual/setjmp.texi: Likewise.
41477         * manual/signal.texi: Likewise.
41478         * manual/startup.texi: Likewise.
41479         * manual/stdio.texi: Likewise.
41480         * manual/terminal.texi: Likewise.
41481         (ONLCR): Document as POSIX.
41482         (OXTABS): Document availability on GNU/Linux as XTABS.
41483         (ONOEOT): Document availability separately from other bits.
41484         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41485         * manual/time.texi: Likewise.
41486         * manual/users.texi: Likewise.
41487         * INSTALL: Regenerated.
41488         * sysdeps/gnu/errlist.c: Regenerated.
41489
41490         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41491         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41492         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41493         puts.
41494         * configure: Regenerated.
41495
41496 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41497
41498         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41499         default includes instead of AC_HEADER_CHECK.
41500         * sysdeps/i386/configure: Regenerated.
41501
41502         [BZ #10716]
41503         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41504         * math/s_cacoshf.c (__cacoshf): Likewise.
41505         * math/s_cacoshl.c (__cacoshl): Likewise.
41506         * math/s_casinh.c (__casinh): Set signs of result from argument.
41507         * math/s_casinhf.c (__casinhf): Likewise.
41508         * math/s_casinhl.c (__casinhl): Likewise.
41509         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41510         (casinh_test): Add more tests.
41511         * sysdeps/i386/fpu/libm-test-ulps: Update.
41512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41513
41514 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41515
41516         * po/zh_TW.po: Update from translation team.
41517
41518         * login/Makefile (distribute): Remove variable.
41519         * catgets/Makefile: Likewise.
41520         * mach/Makefile: Likewise.
41521         * malloc/Makefile: Likewise.
41522         * misc/Makefile: Likewise.
41523         * iconv/Makefile: Likewise.
41524         * nscd/Makefile: Likewise.
41525         * hurd/Makefile: Likewise.
41526         * manual/Makefile: Likewise.
41527         * locale/Makefile: Likewise.
41528         * intl/Makefile: Likewise.
41529         * conform/Makefile: Likewise.
41530         * nss/Makefile: Likewise.
41531         * time/Makefile: Likewise.
41532         * soft-fp/Makefile: Likewise.
41533         * dirent/Makefile: Likewise.
41534         * gmon/Makefile: Likewise.
41535         * po/Makefile: Likewise.
41536         * rt/Makefile: Likewise.
41537         * socket/Makefile: Likewise.
41538         * math/Makefile: Likewise.
41539         * signal/Makefile: Likewise.
41540         * debug/Makefile: Likewise.
41541         * elf/Makefile: Likewise.
41542         * timezone/Makefile: Likewise.
41543         * stdlib/Makefile: Likewise.
41544         * iconvdata/Makefile: Likewise.
41545         * sunrpc/Makefile: Likewise.
41546         * io/Makefile: Likewise.
41547         * argp/Makefile: Likewise.
41548         * inet/Makefile: Likewise.
41549         * hesiod/Makefile: Likewise.
41550         * grp/Makefile: Likewise.
41551         * csu/Makefile: Likewise.
41552         * wctype/Makefile: Likewise.
41553         * crypt/Makefile: Likewise.
41554         * libio/Makefile: Likewise.
41555         * string/Makefile: Likewise.
41556         * nis/Makefile: Likewise.
41557         * resolv/Makefile: Likewise.
41558         * stdio-common/Makefile: Likewise.
41559         * wcsmbs/Makefile: Likewise.
41560         * dlfcn/Makefile: Likewise.
41561         * posix/Makefile: Likewise.
41562
41563         [BZ #6959]
41564         * timezone/Makefile: Don't install timezone files, just the programs
41565         and scripts.
41566
41567 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41568
41569         * nss/databases.def: Add missing gshadow entry.
41570
41571         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41572
41573 2012-03-06  Marek Polacek  <polacek@redhat.com>
41574
41575         [BZ #13726]
41576         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41577         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41578         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41579         * stdio-common/tst-long-dbl-fphex.c: New file.
41580
41581 2012-03-06  David S. Miller  <davem@davemloft.net>
41582
41583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41584         (set_obp_int): New function.
41585         (get_obp_int): New function.
41586         (__get_clockfreq_via_dev_openprom): Likewise.
41587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41588         Avoid unused variable warnings on 'val' and use builtin_expect.
41589         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41590         __builtin_expect.
41591         (INLINE_CLONE_SYSCALL): Likewise.
41592
41593 2012-03-05  David S. Miller  <davem@davemloft.net>
41594
41595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41596
41597 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41598
41599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41600
41601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41602         only for |x| >= 40.
41603         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41604
41605 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41606
41607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41608         Replace gettimeofday with __vdso_gettimeofday.
41609
41610         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41611         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41612         __vdso_clock_gettime and __vdso_getcpu.
41613
41614         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41615         time with __vdso_time.
41616
41617 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41618
41619         * manual/lang.texi (size_t): Note types to which size_t may be
41620         equivalent with the GNU C Library, but do not describe when
41621         differences between them are significant.
41622
41623 2012-03-05  Andreas Jaeger  <aj@suse.de>
41624
41625         * sysdeps/i386/fpu/libm-test-ulps: Update.
41626
41627 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41628
41629         [BZ #3976]
41630         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41631         (__ieee754_pow): Save and restore rounding mode and use
41632         round-to-nearest for main computations.
41633         * math/libm-test.inc (pow_test_tonearest): New function.
41634         (pow_test_towardzero): Likewise.
41635         (pow_test_downward): Likewise.
41636         (pow_test_upward): Likewise.
41637         (main): Call the new functions.
41638         * sysdeps/i386/fpu/libm-test-ulps: Update.
41639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41640
41641         [BZ #3976]
41642         * math/libm-test.inc (cosh_test_tonearest): New function.
41643         (cosh_test_towardzero): Likewise.
41644         (cosh_test_downward): Likewise.
41645         (cosh_test_upward): Likewise.
41646         (sinh_test_tonearest): Likewise.
41647         (sinh_test_towardzero): Likewise.
41648         (sinh_test_downward): Likewise.
41649         (sinh_test_upward): Likewise.
41650         (main): Call the new functions.
41651         * sysdeps/i386/fpu/libm-test-ulps: Update.
41652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41653
41654 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41655
41656         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41657         default stack guard is set in last bytes.
41658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41659
41660 2012-03-05  Kees Cook  <keescook@chromium.org>
41661
41662         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41663
41664         [BZ #13656]
41665         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41666         possibly allocate from heap instead of stack.
41667         * stdio-common/bug-vfprintf-nargs.c: New file.
41668         * stdio-common/Makefile (tests): Add nargs overflow test.
41669
41670 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41671
41672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41673
41674 2012-03-03  Marek Polacek  <polacek@redhat.com>
41675
41676         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41677         * math/math_private.h: Likewise.
41678         * stdlib/tst-strtod.c: Likewise.
41679         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41680         * sysdeps/x86_64/bits/atomic.h: Likewise.
41681
41682 2012-03-02  David S. Miller  <davem@davemloft.net>
41683
41684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41688         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41689         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41690         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41691         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41692
41693 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41694
41695         [BZ #13792]
41696         * manual/examples/README: New file, says the example source files
41697         can be used under GPL>=2.
41698         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41699         line containing just "*/".
41700         * manual/examples/add.c: Add copyright header (GPL>=2).
41701         * manual/examples/argp-ex1.c: Likewise.
41702         * manual/examples/argp-ex2.c: Likewise.
41703         * manual/examples/argp-ex3.c: Likewise.
41704         * manual/examples/argp-ex4.c: Likewise.
41705         * manual/examples/atexit.c: Likewise.
41706         * manual/examples/db.c: Likewise.
41707         * manual/examples/dir.c: Likewise.
41708         * manual/examples/dir2.c: Likewise.
41709         * manual/examples/execinfo.c: Likewise.
41710         * manual/examples/filecli.c: Likewise.
41711         * manual/examples/filesrv.c: Likewise.
41712         * manual/examples/fmtmsgexpl.c: Likewise.
41713         * manual/examples/genpass.c: Likewise.
41714         * manual/examples/inetcli.c: Likewise.
41715         * manual/examples/inetsrv.c: Likewise.
41716         * manual/examples/isockad.c: Likewise.
41717         * manual/examples/longopt.c: Likewise.
41718         * manual/examples/memopen.c: Likewise.
41719         * manual/examples/memstrm.c: Likewise.
41720         * manual/examples/mkfsock.c: Likewise.
41721         * manual/examples/mkisock.c: Likewise.
41722         * manual/examples/mygetpass.c: Likewise.
41723         * manual/examples/pipe.c: Likewise.
41724         * manual/examples/popen.c: Likewise.
41725         * manual/examples/rprintf.c: Likewise.
41726         * manual/examples/search.c: Likewise.
41727         * manual/examples/select.c: Likewise.
41728         * manual/examples/setjmp.c: Likewise.
41729         * manual/examples/sigh1.c: Likewise.
41730         * manual/examples/sigusr.c: Likewise.
41731         * manual/examples/stpcpy.c: Likewise.
41732         * manual/examples/strdupa.c: Likewise.
41733         * manual/examples/strftim.c: Likewise.
41734         * manual/examples/strncat.c: Likewise.
41735         * manual/examples/subopt.c: Likewise.
41736         * manual/examples/swapcontext.c: Likewise.
41737         * manual/examples/termios.c: Likewise.
41738         * manual/examples/testopt.c: Likewise.
41739         * manual/examples/testpass.c: Likewise.
41740         * manual/examples/timeval_subtract.c: Likewise.
41741
41742         [BZ #13792]
41743         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41744         function to ...
41745         * manual/timeval_subtract.c.texi: ... here, new file.
41746
41747 2012-03-02  David S. Miller  <davem@davemloft.net>
41748
41749         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41750
41751 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41752
41753         [BZ #3976]
41754         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41755         (__sin): Save and restore rounding mode and use round-to-nearest
41756         for all computations.
41757         (__cos): Save and restore rounding mode and use round-to-nearest
41758         for all computations.
41759         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41760         <fenv.h>.
41761         (tan): Save and restore rounding mode and use round-to-nearest for
41762         all computations.
41763         * math/libm-test.inc (cos_test_tonearest): New function.
41764         (cos_test_towardzero): Likewise.
41765         (cos_test_downward): Likewise.
41766         (cos_test_upward): Likewise.
41767         (sin_test_tonearest): Likewise.
41768         (sin_test_towardzero): Likewise.
41769         (sin_test_downward): Likewise.
41770         (sin_test_upward): Likewise.
41771         (tan_test_tonearest): Likewise.
41772         (tan_test_towardzero): Likewise.
41773         (tan_test_downward): Likewise.
41774         (tan_test_upward): Likewise.
41775         (main): Call the new functions.
41776         * sysdeps/i386/fpu/libm-test-ulps: Update.
41777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41778
41779         [BZ #10135]
41780         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41781         small n, then large n, before computing and testing k+n.
41782         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41784         Likewise.
41785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41786         Likewise.
41787         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41788         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41790         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41793         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41794         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41795         * math/libm-test.inc (scalbn_test): Add more tests.
41796         (scalbln_test): Likewise.
41797
41798         * manual/filesys.texi (mode_t): Describe constraints on size and
41799         signedness, not exact equivalence to a particular type.
41800         (ino_t): Likewise.
41801         (ino64_t): Likewise.
41802         (dev_t): Likewise.
41803         (nlink_t): Likewise.
41804         (blkcnt_t): Likewise.
41805         (blkcnt64_t): Likewise.
41806         * manual/llio.texi (off_t): Likewise.
41807
41808         [BZ #3976]
41809         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41810         (__ieee754_exp): Save and restore rounding mode and use
41811         round-to-nearest for all computations.
41812         * math/libm-test.inc (exp_test_tonearest): New function.
41813         (exp_test_towardzero): Likewise.
41814         (exp_test_downward): Likewise.
41815         (exp_test_upward): Likewise.
41816         (main): Call the new functions.
41817         * sysdeps/i386/fpu/libm-test-ulps: Update.
41818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41819
41820 2012-03-01  Chris Demetriou  <cgd@google.com>
41821
41822         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41823         have predictable order.
41824
41825 2012-03-01  David S. Miller  <davem@davemloft.net>
41826
41827         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41828
41829         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41830         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41831         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41832         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41833
41834         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41835         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41836         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41838         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41839         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41840         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41841         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41842         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41843
41844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41845
41846         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41847         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41848         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41849
41850         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41851         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41852         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41853         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41854         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41856         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41857         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41858         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41859         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41860         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41861         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41863         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41864         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41866         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41867         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41868         * sysdeps/sparc/elf/configure: Regenerated.
41869
41870 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41871
41872         * configure.in (AS, LD): Require binutils 2.20 or later.
41873         * configure: Regenerated.
41874         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41875         as required minimum version.
41876         * INSTALL: Regenerated.
41877
41878         [BZ #2541]
41879         [BZ #4108]
41880         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41881         before squaring exponent.
41882         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41883         bottom long double and 27 bits of top long double before squaring
41884         exponent.
41885         * math/libm-test.inc (erfc_test): Add more tests.
41886         * sysdeps/i386/fpu/libm-test-ulps: Update.
41887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41889
41890 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41891
41892         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41893         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41894         containing bit-fields.
41895         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41896         * soft-fp/single.h (_FP_UNION_S): Likewise.
41897         * soft-fp/double.h (_FP_UNION_D): Likewise.
41898
41899 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41900
41901         [BZ #13786]
41902         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41903         not include ../strcmp.S.
41904         [USE_AS_STRNCASECMP_L]: Likewise.
41905         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41906         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41907         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41908         (__strncasecmp_l_ia32): Define as alias to
41909         __strncasecmp_l_nonascii.
41910
41911         [BZ #5794]
41912         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41913         * sysdeps/i386/fpu/libm-test-ulps: Update.
41914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41915
41916         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41918
41919 2012-02-29  Jeff Law  <law@redhat.com>
41920
41921         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41922         out of bounds read.
41923
41924 2012-02-29  Marek Polacek  <polacek@redhat.com>
41925
41926         [BZ #13706]
41927         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41928         * elf/Makefile: Add rules to run tst-unused-dep.out.
41929
41930 2012-02-28  David S. Miller  <davem@davemloft.net>
41931
41932         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41933         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41935         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41936         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41937         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41938
41939 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41940
41941         * math/libm-test.inc (llround_test): Move one test from
41942         lround_test.  Use TEST_f_L in moved test.
41943         (lround_test): Move misplaced test to llround_test.  Add testcase
41944         from bug 2561.
41945
41946 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41947
41948         * sysdeps/x86_64/fpu/e_expf.S: New file.
41949         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41950
41951 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41952
41953         [BZ #13637]
41954         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41955         of remain_len that may cause incomplete multi-byte character and
41956         false match.
41957         * posix/bug-regex33.c: New file.
41958         * posix/Makefile (tests): Add bug-regex33.
41959
41960 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41961
41962         * manual/macros.texi: New file.
41963         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41964         * manual/libc.texinfo: Include macros.texi.
41965         * manual/creatute.texi: Likewise.
41966         * manual/install.texi: Likewise.
41967         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41968         @glibcadj{} in references to the GNU C Library.
41969         * manual/charset.texi: Likewise.
41970         * manual/conf.texi: Likewise.
41971         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41972         when not using those macros.
41973         * manual/creature.texi: Likewise.
41974         * manual/crypt.texi: Likewise.
41975         * manual/errno.texi: Likewise.
41976         * manual/filesys.texi: Likewise.
41977         * manual/header.texi: Likewise.
41978         * manual/install.texi: Likewise.
41979         * manual/intro.texi: Likewise.
41980         * manual/io.texi: Likewise.
41981         * manual/job.texi: Likewise.
41982         * manual/lang.texi: Likewise.
41983         * manual/libc.texiinfo: Likewise.
41984         * manual/llio.texi: Likewise.
41985         * manual/locale.texi: Likewise.
41986         * manual/maint.texi: Likewise.
41987         * manual/math.texi: Likewise.
41988         * manual/memory.texi: Likewise.
41989         * manual/message.texi: Likewise.
41990         * manual/nss.texi: Likewise.
41991         * manual/pattern.texi: Likewise.
41992         * manual/process.texi: Likewise.
41993         * manual/resource.texi: Likewise.
41994         * manual/search.texi: Likewise.
41995         * manual/setjmp.texi: Likewise.
41996         * manual/signal.texi: Likewise.
41997         * manual/socket.texi: Likewise.
41998         * manual/startup.texi: Likewise.
41999         * manual/stdio.texi: Likewise.
42000         * manual/string.texi: Likewise.
42001         * manual/sysinfo.texi: Likewise.
42002         * manual/syslog.texi: Likewise.
42003         * manual/terminal.texi: Likewise.
42004         * manual/time.texi: Likewise.
42005         * manual/users.texi: Likewise.
42006         * INSTALL: Regenerated.
42007         * NOTES: Regenerated.
42008         * sysdeps/gnu/errlist.c: Regenerated.
42009
42010 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42011
42012         * include/dirent.h: Include <dirstream.h> before
42013         <dirent/dirent.h>.
42014
42015 2012-02-28  David S. Miller  <davem@davemloft.net>
42016
42017         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42018         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42019         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42020         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42021
42022 2012-02-27  David S. Miller  <davem@davemloft.net>
42023
42024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42026         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42027         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42028
42029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42030         frame pointer instead of stack pointer relative arg slot.
42031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42032         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42033         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42034
42035 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42036
42037         [BZ #3992]
42038         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42039
42040 2012-02-27  David S. Miller  <davem@davemloft.net>
42041
42042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42046         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42047         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42048         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42049         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42050
42051 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42052
42053         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42054         later.  Allow versions 5-9.
42055         * configure: Regenerated.
42056         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42057         required minimum version and 4.6 as recommended version.  Do not
42058         mention bugs in GCC 2.7 and 2.8.
42059         * INSTALL: Regenerated.
42060
42061 2012-02-27  David S. Miller  <davem@davemloft.net>
42062
42063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42067         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42068         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42069         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42070         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42071
42072         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42073         manipulate bits before adding and subtracting TWO112[sx].
42074         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42075
42076 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42077
42078         [BZ #13775]
42079         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42080         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42081         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42082         being in POSIX, because they are in 1003.1-2008.
42083
42084         * rt/tst-aio.c: Include <fcntl.h>.
42085         * rt/tst-aio7.c: Likewise.
42086         * rt/tst-aio64.c: Likewise.
42087
42088         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42089
42090 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42091
42092         * manual/install.texi (--with-headers): Describe headers as
42093         interface headers, not private headers.
42094         (Specific advice for GNU/Linux systems): Describe use of headers
42095         from "make headers_install", not private headers from older
42096         kernels.
42097         * INSTALL: Regenerated.
42098         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42099         Change to 2.6.19.
42100         * sysdeps/unix/sysv/linux/configure: Regenerated.
42101
42102         * manual/llio.texi (fclean): Remove documentation.
42103
42104         * manual/Makefile (libc-texi-generated): New variable.  Include
42105         version.texi.
42106         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42107         $(libc-texi-generated), not duplicated list of files.
42108         (version.texi, stamp-version): New rules.
42109         (realclean): Remove $(libc-texi-generated), not individual files
42110         from that list.  Do not remove dir-add.texinfo.
42111         * manual/libc.texinfo: Comment out uses of edition numbers and
42112         references to printed manual.  Remove last-updated dates.
42113         (EDITION): Comment out.
42114         (ISBN): Likewise.
42115         (VERSION, UPDATED): Remove.
42116         (version.texi): Include.
42117
42118 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42119
42120         * sysdeps/posix/spawni.c: Include <signal.h>.
42121         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42122         * sysdeps/pthread/aio_fsync.c: Likewise.
42123
42124 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42125
42126         * conform/Makefile (tests): Run only when not cross-compiling and
42127         when fast-check is not defined.
42128
42129         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42130         * conform/data/limits.h-data: Fixes for POSIX2008.
42131         * conform/run-conformtest.sh: Run all tests.
42132         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42133         headers.
42134         * include/bits/dlfcn.h: Likewise.
42135         * include/langinfo.h: Likewise.
42136         * include/monetary.h: Likewise.
42137         * include/sys/poll.h: Likewise.
42138
42139         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42140         for __USE_GNU.
42141         * posix/spawn.h: Define __need_sigset_t.
42142         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42143         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42144         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42145         to get sigevent_t only.
42146         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42147         only for __USE_GNU.
42148         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42149         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42150         process_vm_writev only for __USE_GNU.
42151         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42152
42153         * conform/Makefile: For now ignore errors from run-conformtest.
42154         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42155         POSIX to avoid namespace pollution.  Don't prepend headers.
42156         * conform/data/aio.h-data: Fixes for POSIX testing.
42157         * conform/data/fcntl.h-data: Likewise.
42158         * conform/data/glob.h-data: Likewise.
42159         * conform/data/grp.h-data: Likewise.
42160         * conform/data/pthread.h-data: Likewise.
42161         * conform/data/pwd.h-data: Likewise.
42162         * conform/data/signal.h-data: Likewise.
42163         * conform/data/spawn.h-data: Likewise.
42164         * conform/data/stdio.h-data: Likewise.
42165         * conform/data/stdlib.h-data: Likewise.
42166         * conform/data/stropts.h-data: Likewise.
42167         * conform/data/sys/mman.h-data: Likewise.
42168         * conform/data/sys/stat.h-data: Likewise.
42169         * conform/data/sys/types.h-data: Likewise.
42170         * conform/data/sys/wait.h-data: Likewise.
42171         * conform/data/time.h-data: Likewise.
42172         * conform/data/unistd.h-data: Likewise.
42173         * conform/data/utime.h-data: Likewise.
42174
42175         * io/sys/stat.h: fchmod was always in POSIX.
42176         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42177         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42178         * rt/aio.h: Define __need_timespec before including <time.h>.
42179         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42180         struct.  Add forward declaration of pthread_attr_t and use it in
42181         sigevent.
42182         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42184         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42185         always remove CLK_TCK definition.
42186
42187 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42188
42189         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42190
42191 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42192
42193         * conform/run-conformtest.sh: New file.
42194         * conform/Makefile: Run run-conformtest for tests.
42195         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42196         support.
42197
42198         * conform/data/uchar.h-data: New file.
42199         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42200         * conform/data/arpa/inet.h-data: Likewise.
42201         * conform/data/assert.h-data: Likewise.
42202         * conform/data/complex.h-data: Likewise.
42203         * conform/data/cpio.h-data: Likewise.
42204         * conform/data/ctype.h-data: Likewise.
42205         * conform/data/dirent.h-data: Likewise.
42206         * conform/data/dlfcn.h-data: Likewise.
42207         * conform/data/errno.h-data: Likewise.
42208         * conform/data/fcntl.h-data: Likewise.
42209         * conform/data/float.h-data: Likewise.
42210         * conform/data/fmtmsg.h-data: Likewise.
42211         * conform/data/fnmatch.h-data: Likewise.
42212         * conform/data/ftw.h-data: Likewise.
42213         * conform/data/glob.h-data: Likewise.
42214         * conform/data/grp.h-data: Likewise.
42215         * conform/data/iconv.h-data: Likewise.
42216         * conform/data/inttypes.h-data: Likewise.
42217         * conform/data/langinfo.h-data: Likewise.
42218         * conform/data/libgen.h-data: Likewise.
42219         * conform/data/limits.h-data: Likewise.
42220         * conform/data/locale.h-data: Likewise.
42221         * conform/data/math.h-data: Likewise.
42222         * conform/data/monetary.h-data: Likewise.
42223         * conform/data/mqueue.h-data: Likewise.
42224         * conform/data/ndbm.h-data: Likewise.
42225         * conform/data/net/if.h-data: Likewise.
42226         * conform/data/netdb.h-data: Likewise.
42227         * conform/data/netinet/in.h-data: Likewise.
42228         * conform/data/nl_types.h-data: Likewise.
42229         * conform/data/poll.h-data: Likewise.
42230         * conform/data/pthread.h-data: Likewise.
42231         * conform/data/pwd.h-data: Likewise.
42232         * conform/data/regex.h-data: Likewise.
42233         * conform/data/sched.h-data: Likewise.
42234         * conform/data/search.h-data: Likewise.
42235         * conform/data/semaphore.h-data: Likewise.
42236         * conform/data/setjmp.h-data: Likewise.
42237         * conform/data/signal.h-data: Likewise.
42238         * conform/data/spawn.h-data: Likewise.
42239         * conform/data/stdarg.h-data: Likewise.
42240         * conform/data/stdio.h-data: Likewise.
42241         * conform/data/stdlib.h-data: Likewise.
42242         * conform/data/string.h-data: Likewise.
42243         * conform/data/strings.h-data: Likewise.
42244         * conform/data/stropts.h-data: Likewise.
42245         * conform/data/sys/ipc.h-data: Likewise.
42246         * conform/data/sys/mman.h-data: Likewise.
42247         * conform/data/sys/msg.h-data: Likewise.
42248         * conform/data/sys/resource.h-data: Likewise.
42249         * conform/data/sys/select.h-data: Likewise.
42250         * conform/data/sys/sem.h-data: Likewise.
42251         * conform/data/sys/shm.h-data: Likewise.
42252         * conform/data/sys/socket.h-data: Likewise.
42253         * conform/data/sys/stat.h-data: Likewise.
42254         * conform/data/sys/statvfs.h-data: Likewise.
42255         * conform/data/sys/time.h-data: Likewise.
42256         * conform/data/sys/timeb.h-data: Likewise.
42257         * conform/data/sys/times.h-data: Likewise.
42258         * conform/data/sys/types.h-data: Likewise.
42259         * conform/data/sys/uio.h-data: Likewise.
42260         * conform/data/sys/un.h-data: Likewise.
42261         * conform/data/sys/utsname.h-data: Likewise.
42262         * conform/data/sys/wait.h-data: Likewise.
42263         * conform/data/syslog.h-data: Likewise.
42264         * conform/data/tar.h-data: Likewise.
42265         * conform/data/termios.h-data: Likewise.
42266         * conform/data/utime.h-data: Likewise.
42267         * conform/data/utmpx.h-data: Likewise.
42268         * conform/data/varargs.h-data: Likewise.
42269         * conform/data/wchar.h-data: Likewise.
42270         * conform/data/wctype.h-data: Likewise.
42271         * conform/data/wordexp.h-data: Likewise.
42272
42273         * include/stropts.h: New file.
42274         * include/uchar.h: New file.
42275         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42276         * include/assert.h: Likewise.
42277         * include/ctype.h: Likewise.
42278         * include/dirent.h: Likewise.
42279         * include/dlfcn.h: Likewise.
42280         * include/fcntl.h: Likewise.
42281         * include/fnmatch.h: Likewise.
42282         * include/glob.h: Likewise.
42283         * include/grp.h: Likewise.
42284         * include/libio.h: Likewise.
42285         * include/locale.h: Likewise.
42286         * include/math.h: Likewise.
42287         * include/net/if.h: Likewise.
42288         * include/netdb.h: Likewise.
42289         * include/netinet/in.h: Likewise.
42290         * include/pthread.h: Likewise.
42291         * include/pwd.h: Likewise.
42292         * include/regex.h: Likewise.
42293         * include/sched.h: Likewise.
42294         * include/search.h: Likewise.
42295         * include/setjmp.h: Likewise.
42296         * include/signal.h: Likewise.
42297         * include/stdio.h: Likewise.
42298         * include/stdlib.h: Likewise.
42299         * include/string.h: Likewise.
42300         * include/sys/cdefs.h: Likewise.
42301         * include/sys/mman.h: Likewise.
42302         * include/sys/msg.h: Likewise.
42303         * include/sys/resource.h: Likewise.
42304         * include/sys/select.h: Likewise.
42305         * include/sys/socket.h: Likewise.
42306         * include/sys/stat.h: Likewise.
42307         * include/sys/statvfs.h: Likewise.
42308         * include/sys/time.h: Likewise.
42309         * include/sys/times.h: Likewise.
42310         * include/sys/uio.h: Likewise.
42311         * include/sys/utsname.h: Likewise.
42312         * include/sys/wait.h: Likewise.
42313         * include/termios.h: Likewise.
42314         * include/time.h: Likewise.
42315         * include/ulimit.h: Likewise.
42316         * include/unistd.h: Likewise.
42317         * include/utime.h: Likewise.
42318         * include/wchar.h: Likewise.
42319         * include/wctype.h: Likewise.
42320         * include/wordexp.h: Likewise.
42321
42322         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42323
42324         * time/time.h: TIME_UTC must be a macro.
42325         Make timespec_get available for ISO C11 only as well.
42326
42327 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42328
42329         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42330         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42331
42332 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42333
42334         * configure.in: Use -o not -a in test for unsupported multi-arch.
42335
42336 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42337
42338         * manual/texinfo.tex: Update to version 2012-01-19.16.
42339
42340 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42341
42342         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42343
42344 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42345
42346         [BZ #13738]
42347         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42348         * manual/fdl-1.3.texi: New file.
42349         * manual/fdl-1.1.texi: File removed.
42350
42351         [BZ #13738]
42352         * manual/libc.texinfo (FDL_VERSION): New @set.
42353         Use it for mention of FDL in cover text.
42354         (Documentation License): Use it in @include file name.
42355
42356 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42357             Roland McGrath  <roland@hack.frob.com>
42358
42359         [BZ #5461]
42360         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42361         (not LONG_LONG_MAX and LONG_LONG_MIN.
42362         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42363         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42364         name.
42365         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42366
42367 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42368
42369         [BZ #2547]
42370         [BZ #11365]
42371         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42372         manipulate bits before adding and subtracting TWO23[sx].
42373         * math/libm-test.inc (nearbyint_test): Add more tests.
42374
42375 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42376
42377         [BZ #2548]
42378         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42379         bits before adding and subtracting TWO23[sx].
42380         * math/libm-test.inc (rint_test): Add more tests.
42381         (rint_test_tonearest): Likewise.
42382         (rint_test_towardzero): Likewise.
42383         (rint_test_downward): Likewise.
42384         (rint_test_upward: Likewise.
42385
42386 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42387
42388         [BZ #10110]
42389         * include/stdc-predef.h: New file.  Extracted from features.h.
42390         * include/features.h: Include stdc-predef.h.
42391         * Makefile (headers): Add stdc-predef.h.
42392         * CONFORMANCE (Compiler limitations): Update.
42393
42394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42395
42396         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42397
42398 2012-02-21  David S. Miller  <davem@davemloft.net>
42399
42400         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42401         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42402
42403 2012-02-20  David S. Miller  <davem@davemloft.net>
42404
42405         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42406         using a normal save/restore sequence, rather than allocating a
42407         dummy stack frame just to store a frame pointer and restore.
42408         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42409
42410 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42411
42412         * manual/install.texi: Fix stray word in line-wrapped comment.
42413
42414 2012-02-20  David S. Miller  <davem@davemloft.net>
42415
42416         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42417         both binutils and gcc support GOTDATA.
42418
42419         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42420         "rd %pc" in the PIC register setup sequences.
42421
42422         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42423         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42424         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42425         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42426         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42428         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42429         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42430         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42431         (SYSCALL_ERROR_HANDLER): Likewise.
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42433         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42434         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42435         (SYSCALL_ERROR_HANDLER): Likewise.
42436
42437         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42438         (HAVE_GCC_GOTDATA): New.
42439         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42440         relocation support in both binutils and gcc.
42441         * sysdeps/sparc/elf/configure: Regenerate.
42442
42443         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42444         * sysdeps/sparc/sparc32/elf/configure: Delete.
42445         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42446         * sysdeps/sparc/sparc64/elf/configure: Delete.
42447         * sysdeps/sparc/elf/configure.in: New file.
42448         * sysdeps/sparc/elf/configure: Generate.
42449
42450         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42451         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42452         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42453         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42454         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42455
42456 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42457
42458         * manual/install.texi: Do not mention specific glibc version
42459         numbers.
42460         * manual/libc.texinfo (VERSION, UPDATED): Update.
42461         (@copying): Use @copyright{} and range of years.
42462
42463 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42464
42465         [BZ #13695]
42466         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42467         [crti.S not in sysdirs] (generated): Do not append.
42468         [crti.S not in sysdirs] (omit-deps): Likewise.
42469         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42470         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42471         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42472         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42473         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42474         Likewise.
42475         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42476         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42477         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42478         * csu/defs.awk: Remove file.
42479         * sysdeps/generic/initfini.c: Likewise.
42480         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42481         variable.
42482         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42483         Likewise.
42484
42485 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42486
42487         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42488         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42489         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42490         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42491         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42492         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42493         <bits/epoll.h>.
42494         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42495         (__EPOLL_PACKED): Define to empty if not defined by
42496         <bits/epoll.h>.
42497         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42499         bits/epoll.h.
42500
42501 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42502
42503         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42504         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42505         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42506         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42507         <bits/timerfd.h>.
42508         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42510         bits/timerfd.h.
42511
42512 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42513
42514         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42515         in C locale.
42516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42517         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42518         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42520
42521 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42522
42523         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42524         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42525
42526 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42527
42528         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42529         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42530         defined.
42531         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42532         Likewise.
42533         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42534         entry for 2.16.
42535
42536 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42537
42538         * math/w_acos.c: Use non-signaling floating-point comparisons.
42539         * math/w_acosf.c: Likewise.
42540         * math/w_acosh.c: Likewise.
42541         * math/w_acoshf.c: Likewise.
42542         * math/w_acoshl.c: Likewise.
42543         * math/w_acosl.c: Likewise.
42544         * math/w_asin.c: Likewise.
42545         * math/w_asinf.c: Likewise.
42546         * math/w_asinl.c: Likewise.
42547         * math/w_atanh.c: Likewise.
42548         * math/w_atanhf.c: Likewise.
42549         * math/w_atanhl.c: Likewise.
42550         * math/w_exp2.c: Likewise.
42551         * math/w_exp2f.c: Likewise.
42552         * math/w_exp2l.c: Likewise.
42553         * math/w_j0.c: Likewise.
42554         * math/w_j0f.c: Likewise.
42555         * math/w_j0l.c: Likewise.
42556         * math/w_j1.c: Likewise.
42557         * math/w_j1f.c: Likewise.
42558         * math/w_j1l.c: Likewise.
42559         * math/w_jn.c: Likewise.
42560         * math/w_jnf.c: Likewise.
42561         * math/w_log.c: Likewise.
42562         * math/w_log10.c: Likewise.
42563         * math/w_log10f.c: Likewise.
42564         * math/w_log10l.c: Likewise.
42565         * math/w_log2.c: Likewise.
42566         * math/w_log2f.c: Likewise.
42567         * math/w_log2l.c: Likewise.
42568         * math/w_logf.c: Likewise.
42569         * math/w_logl.c: Likewise.
42570         * math/w_sqrt.c: Likewise.
42571         * math/w_sqrtf.c: Likewise.
42572         * math/w_sqrtl.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42575         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42576         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42577         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42578
42579 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42580
42581         [BZ #9739]
42582         * manual/string.texi (strnlen): Use correct parameter name in
42583         equivalent expression.
42584
42585 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42586
42587         [BZ #11174]
42588         * manual/users.texi (seteuid): Consistently use neweuid for
42589         argument name.
42590
42591 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42592
42593         [BZ #13704]
42594         * manual/nss.texi (Services in the NSS configuration): Correct
42595         list of services in example configuration file.
42596
42597 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42598
42599         [BZ #11322]
42600         * manual/arith.texi: Remove statements about negative zero
42601         behaving identically to zero.
42602
42603 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42604
42605         [BZ #5993]
42606         * manual/install.texi: Do not document upgrading from libc5.
42607
42608 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42609
42610         [BZ #4596]
42611         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42612
42613 2012-02-18  David S. Miller  <davem@davemloft.net>
42614
42615         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42616         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42617         %o7 across the call.
42618         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42619         instead.
42620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42621         SETUP_PIC_REG_LEAF.
42622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42623         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42624         * sysdeps/sparc/crtn.S: Likewise.
42625
42626 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42627
42628         * aout/Makefile: Remove.
42629
42630 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42631
42632         [BZ #13058]
42633         * manual/examples/argp-ex1.c (main): Format definition in GNU
42634         style.
42635         * manual/examples/argp-ex2.c (main): Likewise.
42636         * manual/examples/argp-ex3.c (main): Likewise.
42637         * manual/examples/argp-ex4.c (main): Likewise.
42638         * manual/examples/longopt.c (main): Use new-style prototype
42639         definition.
42640         * manual/examples/strncat.c (main): Specify return type and use
42641         (void) for arguments.
42642         * manual/examples/subopt.c (main): Use char **argv argument.
42643
42644 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42645
42646         [BZ #5077]
42647         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42648         rounding modes.
42649
42650 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42651
42652         [BZ #6907]
42653         * manual/string.texi (strchr): Change when strchrnul is
42654         recommended.
42655
42656 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42657
42658         [BZ #174]
42659         * manual/locale.texi (setlocale): Document LOCPATH.
42660
42661 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42662
42663         [BZ #10210]
42664         * manual/process.texi (execle): Move @dots{} before last argument.
42665
42666 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42667
42668         [BZ #12047]
42669         * manual/charset.texi (Generic Charset Conversion): Fix typo
42670         (LC_TYPE -> LC_CTYPE).
42671
42672 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42673
42674         [BZ #5805]
42675         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42676         (scalbnf): Likewise.
42677         (scalbnl): Likewise.
42678         (scalbln): Likewise.
42679         (scalblnf): Likewise.
42680         (scalblnl): Likewise.
42681         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42682         (vwarnx): Likewise.
42683         (verr): Likewise.
42684         (verrx): Likewise.
42685         * manual/filesys.texi (telldir): Use braces around return type.
42686         * manual/llio.texi (mmap): Add space after comma.
42687         (mmap64): Likewise.
42688         * manual/math.texi (jn): Use @var{} on parameter names.
42689         (jnf): Likewise.
42690         (jnl): Likewise.
42691         (yn): Likewise.
42692         (ynf): Likewise.
42693         (ynl): Likewise.
42694         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42695         line.
42696         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42697         "...".
42698         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42699         (sched_get_priority_max): Likewise.
42700         * manual/signal.texi (sigvec): Add space after comma.
42701         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42702         names.
42703         (if_indextoname): Likewise.
42704         (if_freenameindex): Likewise.
42705         (sendto): Use ',' instead of '.' in prototype.
42706         * manual/startup.texi (syscall): Use @dots{} instead of literal
42707         "...".
42708         * manual/stdio.texi (__fpending): Separate initial words of
42709         paragraph from @deftypefun line.
42710         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42711         "...".
42712         (vsyslog): Use @var{} on parameter names.
42713         * manual/terminal.texi (stty): Use @var{} on parameter names.
42714         * manual/users.texi (getutmp): Use @var{} on parameter names.
42715         (getutmpx): Likewise.
42716
42717 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42718
42719         [BZ #6884]
42720         * manual/stdio.texi (fopen): Fix typos in description of
42721         ",ccs=STRING".
42722
42723 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42724
42725         [BZ #4026]
42726         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42727         get clock_id definition.
42728
42729 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42730
42731         [BZ #4822]
42732         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42733         (madvise): Cast every argument to void on its own.
42734
42735 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42736
42737         [BZ #9902]
42738         * manual/startup.texi (Exit Status): Fix typo.
42739
42740 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42741
42742         [BZ #10140]
42743         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42744         * manual/examples/argp-ex2.c: Likewise.
42745         * manual/examples/argp-ex3.c: Likewise.
42746
42747 2012-02-16  Richard Henderson  <rth@redhat.com>
42748
42749         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42750         * sysdeps/s390/s390-32/initfini.c: Remove.
42751         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42752         * sysdeps/s390/s390-64/initfini.c: Remove.
42753
42754 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42755
42756         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42757         compiler output for sysdeps/generic/initfini.c.
42758         * sysdeps/sh/elf/initfini.c: Remove file.
42759
42760 2012-02-16  David S. Miller  <davem@davemloft.net>
42761
42762         [BZ #11494]
42763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42764
42765         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42766         * sysdeps/sparc/crti.S: New file.
42767         * sysdeps/sparc/crtn.S: New file.
42768         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42769         * sysdeps/sparc/sparc64/Makefile: Likewise.
42770
42771 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42772
42773         [BZ #3335]
42774         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42775
42776 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42777
42778         [BZ #4822]
42779         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42780
42781         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42782         (write, read, close): Likewise.
42783         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42784
42785 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42786
42787         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42788         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42789         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42790         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42791         <bits/signalfd.h>.
42792         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42794         bits/signalfd.h.
42795
42796 2012-02-14  Marek Polacek  <polacek@redhat.com>
42797
42798         * sysdeps/x86_64/crti.S: New file.
42799         * sysdeps/x86_64/crtn.S: New file.
42800         * sysdeps/x86_64/elf/initfini.c: Remove file.
42801
42802 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42803
42804         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42805         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42806         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42807         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42808         <bits/inotify.h>.
42809         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42811         bits/inotify.h.
42812
42813 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42814
42815         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42816         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42817         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42818         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42819         <bits/eventfd.h>.
42820         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42822         bits/eventfd.h.
42823
42824 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42825
42826         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42827         __feraiseexcept instead of feraiseexcept.
42828
42829         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42830         nanosleep invocations.
42831         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42832         strings, and add error checking for a nanosleep invocations.
42833
42834 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42835
42836         Replace FSF snail mail address with URLs, as per GNU coding standards.
42837         Most of the snail mail addresses were wrong anyway, and omitting
42838         them makes the source code easier to maintain.  Almost all of the
42839         changes are to license notices and to locale LC_IDENTIFICATION
42840         addresses, except for this one:
42841         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42842         not its snail mail address.
42843
42844 2012-02-09  Richard Henderson  <rth@twiddle.net>
42845
42846         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42847         of kernel-features.h.
42848
42849         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42850
42851 2012-02-08  Marek Polacek  <polacek@redhat.com>
42852
42853         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42854         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42855         * sysdeps/gnu/_G_config.h: Likewise.
42856         * sysdeps/generic/_G_config.h: Likewise.
42857
42858 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42859
42860         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42861         tests.
42862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42863
42864         * sysdeps/powerpc/powerpc32/crti.S: New file.
42865         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42866         * sysdeps/powerpc/powerpc64/crti.S: New file.
42867         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42868
42869         * Makeconfig (have-initfini): Don't set.
42870         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42871         * configure.in (nopic_initfini): Don't substitute.
42872         * config.h.in (HAVE_INITFINI): Don't #undef.
42873         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42874         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42875
42876 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42877
42878         Support crti.S and crtn.S provided directly by architectures.
42879         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42880         [crti.S in sysdirs] (omit-deps): Likewise.
42881         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42882         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42883         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42884         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42885         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42886         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42887         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42888         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42889         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42890         compiler output for sysdeps/generic/initfini.c.
42891         * sysdeps/i386/elf/Makefile: Remove file.
42892         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42893
42894 2012-02-07  Marek Polacek  <polacek@redhat.com>
42895
42896         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42897         * sysdeps/gnu/_G_config.h: Likewise.
42898         * sysdeps/mach/hurd/_G_config.h: Likewise.
42899
42900 2012-02-07  Marek Polacek  <polacek@redhat.com>
42901
42902         * math/Makefile (tests): Add tst-CMPLX2.
42903         * math/tst-CMPLX2.c: New file.
42904
42905 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42906
42907         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42908
42909         * math/libm-test.inc (jn_test): Add missing L suffix.
42910
42911 2012-02-06  Marek Polacek  <polacek@redhat.com>
42912
42913         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42914         * sysdeps/i386/fpu/e_powf.S: Likewise.
42915         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42916         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42917         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42918         * sysdeps/i386/fpu/e_pow.S: Likewise.
42919         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42920         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42921         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42922         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42923         * sysdeps/i386/fpu/e_log2.S: Likewise.
42924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42925         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42926         * sysdeps/i386/fpu/e_powl.S: Likewise.
42927         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42928         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42929         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42930         * sysdeps/i386/fpu/e_logl.S: Likewise.
42931         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42932         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42933         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42934         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42937         * sysdeps/i386/fpu/e_log.S: Likewise.
42938         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42939         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42940         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42941         * sysdeps/i386/fpu/e_logf.S: Likewise.
42942         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42943         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42944         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42945         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42946         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42947         * sysdeps/i386/fpu/e_log10.S: Likewise.
42948         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42949         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42950         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42951         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42952         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42953         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42954         * sysdeps/i386/asm-syntax.h: Likewise.
42955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42958         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42959         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42960         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42961         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42962         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42963         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42964         * sysdeps/powerpc/sysdep.h: Likewise.
42965         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42966         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42967
42968 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42969
42970         [BZ #411]
42971         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42972
42973 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42974
42975         * sysdeps/i386/sysdep.h: Include <features.h>.
42976         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42977         version.
42978
42979 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42980
42981         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42982         Define.
42983         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42984         LOAD_PIC_REG_STR.
42985
42986 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42987
42988         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42989         (SETUP_PIC_REG): Use GET_PC_THUNK.
42990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42991         macro.
42992
42993 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42994
42995         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42996         for non-PIC compilation.
42997         (SETUP_PIC_REG): Add .p2align directive.
42998         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42999         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43000         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43001         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43002         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43003         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43004         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43006         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43007         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43008         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43009         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43010         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43011         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43012         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43013         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43014         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43015         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43016         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43017         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43018         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43019         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43020         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43021         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43022         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43024         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43026         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43027         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43028         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43029         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43030         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43031         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43032         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43033         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43034         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43035         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43036         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43037         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43038         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43039
43040 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43041
43042         * math/tst-CMPLX.c: Include <stdio.h>.
43043
43044 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43045
43046         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43047         float.
43048         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43049         * sysdeps/sparc/bits/mathdef.h: Likewise.
43050
43051 2012-01-31  Marek Polacek  <polacek@redhat.com>
43052
43053         * libio/libio.h: Don't define _PARAMS.
43054         * locale/programs/config.h: Don't define PARAMS.
43055         * stdlib/strtol_l.c: Likewise.
43056         (__strtol_l): Remove PARAMS from the prototype.
43057
43058 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43059
43060         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43061         names.  Just use the correct names.  Remove unnecessary wrapper
43062         functions.
43063         * malloc/arena.c: Likewise.
43064         * malloc/hooks.c: Likewise.
43065
43066         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43067         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43068         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43069
43070 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43071
43072         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43073         into tail calls.
43074         (update_get_addr): New function.
43075         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43076         GET_ADDR_MODULE parameter.
43077
43078 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43079
43080         * crypt/cert.c: Remove __STDC__ conditionals.
43081         * crypt/crypt-entry.c: Likewise.
43082         * crypt/crypt_util.c: Likewise.
43083         * libio/filedoalloc.c: Likewise.
43084         * libio/fileops.c: Likewise.
43085         * libio/genops.c: Likewise.
43086         * libio/iofclose.c: Likewise.
43087         * libio/iofdopen.c: Likewise.
43088         * libio/iofopen.c: Likewise.
43089         * libio/iofopen64.c: Likewise.
43090         * libio/iogetdelim.c: Likewise.
43091         * libio/iopopen.c: Likewise.
43092         * libio/obprintf.c: Likewise.
43093         * libio/oldfileops.c: Likewise.
43094         * libio/oldiofclose.c: Likewise.
43095         * libio/oldiofdopen.c: Likewise.
43096         * libio/oldiofopen.c: Likewise.
43097         * libio/oldiopopen.c: Likewise.
43098         * libio/wfiledoalloc.c: Likewise.
43099         * libio/wgenops.c: Likewise.
43100         * locale/programs/xmalloc.c: Likewise.
43101         * misc/syslog.c: Likewise.
43102         * stdio-common/xbug.c: Likewise.
43103         * string/memchr.c: Likewise.
43104         * string/memcmp.c: Likewise.
43105         * string/memrchr.c: Likewise.
43106         * string/rawmemchr.c: Likewise.
43107         * sysdeps/posix/getcwd.c: Likewise.
43108         * time/strftime_l.c: Likewise.
43109
43110 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43111
43112         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43113         * config.make.in (config-cflags-sse2avx): Define.
43114         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43115         Fix typo.
43116
43117 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43118
43119         * scripts/config.guess: Update from upstream config git repository.
43120         * scripts/config.sub: Likewise.
43121
43122 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43123
43124         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43125         (EM_NUM): Update.
43126         (R_TILEPRO_*, R_TILEGX_*): New macros.
43127
43128         * scripts/firstversions.awk: Fix bug in version range handling.
43129
43130         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43131
43132         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43133
43134         * include/sys/epoll.h: New file.
43135         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43136         libc_hidden_def.
43137
43138 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43139
43140         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43141         Avoid unnecessary __WORDSIZE == 64 test.
43142         (fmaxf): Use VEX format if possible.
43143         (fmax): Likewise.
43144         (fminf): Likewise.
43145         (fmin): Likewise.
43146
43147         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43148         * math/math_private.h: Remove libc_fegetround* and
43149         libc_fesetround*.
43150         * sysdeps/i386/configure.in: Check for -msse2avx.
43151         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43152         also if SSE2AVX is defined.
43153         Remove libc_fegetround* and libc_fesetround*.
43154         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43155         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43156         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43157         of HAS_YMM_USABLE.
43158         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43159         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43160         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43161         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43162         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43163
43164         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43165
43166 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43167
43168         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43169         size is not set.
43170         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43171
43172 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43173
43174         [BZ #13618]
43175         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43176         relocation.
43177         * Makeconfig (libm): Define.
43178         * elf/Makefile: Add rules to build and run tst-relsort1.
43179         * elf/tst-relsort1.c: New file.
43180         * elf/tst-relsort1mod1.c: New file.
43181         * elf/tst-relsort1mod2.c: New file.
43182
43183 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43184
43185         * math/s_ldexp.c: Remove __STDC__ conditionals.
43186         * math/s_ldexpf.c: Likewise.
43187         * math/s_ldexpl.c: Likewise.
43188         * math/s_nextafter.c: Likewise.
43189         * math/s_nexttowardf.c: Likewise.
43190         * math/s_significand.c: Likewise.
43191         * math/s_significandf.c: Likewise.
43192         * math/s_significandl.c: Likewise.
43193         * math/w_jnl.c: Likewise.
43194         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43195         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43196         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43197         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43198         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43199         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43200         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43201         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43202         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43203         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43204         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43206         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43207         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43208         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43209         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43210         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43211         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43213         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43214         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43215         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43216         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43217         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43218         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43219         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43220         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43221         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43222         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43223         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43224         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43225         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43226         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43227         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43228         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43229         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43230         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43231         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43232         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43233         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43234         * sysdeps/ieee754/k_standard.c: Likewise.
43235         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43236         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43237         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43238         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43239         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43241         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43242         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43243         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43244         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43245         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43246         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43247         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43248         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43249         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43250         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43251         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43252         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43253         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43254         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43257         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43258         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43259         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43260         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43264         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43265         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43266         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43267         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43268         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43269         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43270         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43271         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43273         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43275         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43277         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43278         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43279         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43280         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43281         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43282         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43283         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43284         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43285         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43288         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43289         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43290         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43291         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43292         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43293         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43294         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43295         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43296         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43297         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43298         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43299         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43300         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43301         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43302         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43303         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43304         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43305         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43306         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43307         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43308         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43309         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43310         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43311         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43312         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43313         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43314         * sysdeps/ieee754/s_matherr.c: Likewise.
43315         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43316         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43318         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43319
43320 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43321
43322         * crypt/md5.h: Remove __STDC__ conditionals.
43323         * libio/libioP.h: Likewise.
43324         * locale/programs/config.h: Likewise.
43325         * sysdeps/generic/sysdep.h: Likewise.
43326         * sysdeps/i386/asm-syntax.h: Likewise.
43327         * sysdeps/s390/asm-syntax.h: Likewise.
43328         * sysdeps/unix/sysdep.h: Likewise.
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43331
43332 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43333
43334         * libio/libio.h: Remove __STDC__ conditionals.
43335         * malloc/obstack.h: Likewise.
43336         * math/complex.h: Likewise.
43337         * math/math.h: Likewise.
43338         * sysdeps/generic/_G_config.h: Likewise.
43339         * sysdeps/gnu/_G_config.h: Likewise.
43340         * sysdeps/mach/hurd/_G_config.h: Likewise.
43341         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43342         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43343         * sysdeps/sparc/bits/mathdef.h: Likewise.
43344
43345 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43346
43347         [BZ #13583]
43348         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43349         Clean up HAS_* macros.
43350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43351         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43352         possible.
43353         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43354         HAS_AVX.
43355         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43356         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43357         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43358         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43359         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43360
43361 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43362
43363         * elf/tst-unique3.cc (gets): Remove declaration.
43364         * elf/tst-unique3lib.cc (gets): Likewise.
43365         * elf/tst-unique3lib2.cc (gets): Likewise.
43366         * elf/tst-unique4.cc (gets): Likewise.
43367
43368 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43369
43370         * include/stdio.h: Add C++ protection.  Add gets declarations and
43371         definitions.
43372         * debug/tst-chk1.c: Don't declare gets here.
43373         * stdio-common/tst-gets.c: Likewise.
43374
43375 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43376
43377         * posix/glob: Remove directory.
43378
43379 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43380
43381         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43382
43383 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43384
43385         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43386         of the non-standard EPFNOSUPPORT.
43387
43388 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43389
43390         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43391         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43392         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43393
43394 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43395
43396         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43397
43398 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43399
43400         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43401         transient errors.
43402         * nscd/grpcache.c (cache_addgr): Likewise.
43403         * nscd/hstcache.c (cache_addhst): Likewise.
43404         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43405         * nscd/pwdcache.c (cache_addpw): Likewise.
43406         * nscd/servicescache.c (cache_addserv): Likewise.
43407
43408 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43409
43410         * malloc/malloc.c: Various cleanups.
43411         * malloc/hooks.c: Likewise.
43412
43413         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43414         * stdlib/bug-fmtmsg1.c: New file.
43415
43416         * stdlib/fmtmsg.c (init): Add missing unlock.
43417         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43418
43419 2012-01-12  Marek Polacek  <polacek@redhat.com>
43420
43421         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43422         and _GNU_SOURCE.
43423
43424 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43425
43426         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43427         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43428         macro to ensure uniqueness of label name.
43429         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43430         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43431
43432 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43433
43434         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43435
43436         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43438         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43440
43441 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43442
43443         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43444
43445         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43446         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43447         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43448
43449         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43450
43451         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43452         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43453         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43454         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43455
43456         * math/bits/math-finite.h: Add ldexp support.
43457
43458 2012-01-10  Marek Polacek  <polacek@redhat.com>
43459
43460         * locale/programs/localedef.h (show_archive_content): Add noreturn
43461         attribute.
43462
43463 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43464
43465         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43466
43467 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43468
43469         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43470
43471         * io/Makefile (headers): Add bits/poll2.h.
43472
43473 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43474
43475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43476         typo #include statement.
43477
43478 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43479
43480         * include/sys/cdefs.h: Define __attribute_alloc_size.
43481         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43482         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43483         * elf/pldd.c: Likewise.
43484         * iconv/iconv_charmap.c: Likewise.
43485         * iconv/iconvconfig.c: Likewise.
43486         * iconv/strtab.c: Likewise.
43487         * locale/programs/locale.c: Likewise.
43488         * locale/programs/localedef.h: Likewise.
43489         * locale/programs/simple-hash.c: Likewise.
43490         * nscd/nscd.h: Likewise.
43491         * nss/makedb.c: Likewise.
43492         * sysdeps/generic/ldconfig.h: Likewise.
43493         * locale/programs/localedef.c: Remove xmalloc prototype.
43494         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43495
43496 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43497
43498         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43499         appropriate.
43500
43501 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43502
43503         * math/Makefile (tests): Add tst-CMPLX.
43504         * math/tst-CMPLX.c: New file.
43505
43506         * math/complex.h (CMPLXL): Fix typo.
43507
43508         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43509         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43510         GLIBC_2.16.
43511         * debug/tst-chk1.c: Add poll and ppoll tests.
43512         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43513         * include/sys/poll.h: Add hidden proto for ppoll.
43514         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43515         * sysdeps/mach/hurd/ppoll.c: Likewise.
43516         * io/ppoll.c: Likewise.
43517         * debug/poll_chk.c: New file.
43518         * debug/ppoll_chk.c: New file.
43519         * include/bits/poll2.h: New file.
43520         * io/bits/poll2.h: New file.
43521
43522         [BZ #1350]
43523         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43524
43525         * configure.in: static is always set to yes.  Remove.
43526         * config.make.in: Don't set build-static.
43527         * Makeconfig: Remove use of build-static.
43528         * dlfcn/Makefile: Likewise.
43529         * elf/Makefile: Likewise.
43530         * math/Makefile: Likewise.
43531         * misc/Makefile: Likewise.
43532         * nptl/Makefile: Likewise.
43533         * sysdeps/mach/hurd/Makefile: Likewise.
43534
43535         * configure.in: PWD_P is not used anymore.
43536         * config.make.in: Remove PWD_P entry.
43537
43538         * configure.in: Remove last remnants of RANLIB.
43539         No need to check for signed size_t anymore.
43540         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43541         and IA-64.
43542         Remove __builtin_expect test because we require at least gcc 3.4.
43543         * aclocal.m4: Likewise.
43544
43545         * wcsmbs/mbrtoc16.c: Implement using towc function.
43546         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43547         * wcsmbs/wcsmbsload.c: Likewise.
43548         * iconv/gconv_simple.c: Likewise.
43549         * iconv/gconv_int.h: Likewise.
43550         * iconv/gconv_builtin.h: Likewise.
43551         * iconv/iconv_prog.c: Remove CHAR16 handling.
43552
43553         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43554
43555         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43556
43557         * configure.in: Remove --with-elf and --enable-bounded options.
43558         Dont set base_machine for ia64.  More non-ELF conditions removed.
43559         Remove testing and setting of leading underscore information.
43560         * config.make.in (build-bounded): Set to no.
43561         * config.h.in: Remove NO_UNDERSCORES entry.
43562         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43563         them.
43564         * csu/start.c: Remove !NO_UNDERSCORE code.
43565         * locale/localeinfo.h: Likewise.
43566         * sysdeps/generic/machine-gmon.h: Likewise.
43567         * sysdeps/generic/sysdep.h: Likewise.
43568         * sysdeps/i386/sysdep.h: Likewise.
43569         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43570         * sysdeps/mach/sysdep.h: Likewise.
43571         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43572         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43573         * sysdeps/sh/sysdep.h: Likewise.
43574         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43575         * sysdeps/unix/i386/sysdep.S: Likewise.
43576         * sysdeps/unix/sparc/start.c: Likewise.
43577         * sysdeps/unix/sparc/sysdep.S: Likewise.
43578         * sysdeps/unix/sparc/sysdep.h: Likewise.
43579         * sysdeps/unix/start.c: Likewise.
43580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43581         * sysdeps/x86_64/sysdep.h: Likewise.
43582
43583 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43584
43585         [BZ #13553]
43586         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43587         for non-gcc.
43588         * argp/argp-fmtstream.h: Use const instead __const.
43589         * argp/argp.h: Likewise.
43590         * assert/assert.h: Likewise.
43591         * bits/fenv.h: Likewise.
43592         * bits/sched.h: Likewise.
43593         * bits/sigset.h: Likewise.
43594         * bits/sigthread.h: Likewise.
43595         * catgets/nl_types.h: Likewise.
43596         * conform/data/pthread.h-data: Likewise.
43597         * crypt/crypt-private.h: Likewise.
43598         * crypt/crypt.h: Likewise.
43599         * crypt/crypt_util.c: Likewise.
43600         * ctype/ctype.h: Likewise.
43601         * debug/execinfo.h: Likewise.
43602         * debug/mbsnrtowcs_chk.c: Likewise.
43603         * debug/mbsrtowcs_chk.c: Likewise.
43604         * debug/wcsnrtombs_chk.c: Likewise.
43605         * debug/wcsrtombs_chk.c: Likewise.
43606         * debug/wcstombs_chk.c: Likewise.
43607         * dirent/dirent.h: Likewise.
43608         * dlfcn/dlfcn.h: Likewise.
43609         * elf/neededtest4.c: Likewise.
43610         * grp/grp.h: Likewise.
43611         * gshadow/gshadow.h: Likewise.
43612         * iconv/gconv.h: Likewise.
43613         * iconv/gconv_int.h: Likewise.
43614         * iconv/gconv_simple.c: Likewise.
43615         * iconv/iconv.h: Likewise.
43616         * iconv/loop.c: Likewise.
43617         * iconv/skeleton.c: Likewise.
43618         * include/aio.h: Likewise.
43619         * include/aliases.h: Likewise.
43620         * include/argz.h: Likewise.
43621         * include/arpa/inet.h: Likewise.
43622         * include/assert.h: Likewise.
43623         * include/dirent.h: Likewise.
43624         * include/dlfcn.h: Likewise.
43625         * include/execinfo.h: Likewise.
43626         * include/fcntl.h: Likewise.
43627         * include/fenv.h: Likewise.
43628         * include/glob.h: Likewise.
43629         * include/grp.h: Likewise.
43630         * include/libintl.h: Likewise.
43631         * include/mntent.h: Likewise.
43632         * include/netdb.h: Likewise.
43633         * include/pwd.h: Likewise.
43634         * include/rpc/netdb.h: Likewise.
43635         * include/sched.h: Likewise.
43636         * include/search.h: Likewise.
43637         * include/shadow.h: Likewise.
43638         * include/signal.h: Likewise.
43639         * include/stdio.h: Likewise.
43640         * include/stdlib.h: Likewise.
43641         * include/string.h: Likewise.
43642         * include/sys/socket.h: Likewise.
43643         * include/sys/stat.h: Likewise.
43644         * include/sys/statfs.h: Likewise.
43645         * include/sys/statvfs.h: Likewise.
43646         * include/sys/syslog.h: Likewise.
43647         * include/sys/time.h: Likewise.
43648         * include/sys/uio.h: Likewise.
43649         * include/time.h: Likewise.
43650         * include/unistd.h: Likewise.
43651         * include/utmp.h: Likewise.
43652         * include/wchar.h: Likewise.
43653         * include/wctype.h: Likewise.
43654         * inet/aliases.h: Likewise.
43655         * inet/arpa/inet.h: Likewise.
43656         * inet/netinet/ether.h: Likewise.
43657         * inet/netinet/in.h: Likewise.
43658         * intl/libintl.h: Likewise.
43659         * io/bits/fcntl2.h: Likewise.
43660         * io/fcntl.h: Likewise.
43661         * io/ftw.h: Likewise.
43662         * io/sys/poll.h: Likewise.
43663         * io/sys/stat.h: Likewise.
43664         * io/sys/statfs.h: Likewise.
43665         * io/sys/statvfs.h: Likewise.
43666         * io/utime.h: Likewise.
43667         * libio/bits/stdio.h: Likewise.
43668         * libio/bits/stdio2.h: Likewise.
43669         * libio/libio.h: Likewise.
43670         * libio/libioP.h: Likewise.
43671         * libio/stdio.h: Likewise.
43672         * locale/lc-ctype.c: Likewise.
43673         * locale/locale.h: Likewise.
43674         * login/utmp.h: Likewise.
43675         * malloc/arena.c: Likewise.
43676         * malloc/malloc.c: Likewise.
43677         * malloc/malloc.h: Likewise.
43678         * malloc/mcheck.c: Likewise.
43679         * malloc/mtrace.c: Likewise.
43680         * math/bits/mathcalls.h: Likewise.
43681         * math/fenv.h: Likewise.
43682         * math/math_private.h: Likewise.
43683         * misc/bits/error.h: Likewise.
43684         * misc/bits/syslog.h: Likewise.
43685         * misc/err.h: Likewise.
43686         * misc/error.h: Likewise.
43687         * misc/fstab.h: Likewise.
43688         * misc/mntent.h: Likewise.
43689         * misc/regexp.h: Likewise.
43690         * misc/search.h: Likewise.
43691         * misc/sgtty.h: Likewise.
43692         * misc/sys/mman.h: Likewise.
43693         * misc/sys/syslog.h: Likewise.
43694         * misc/sys/uio.h: Likewise.
43695         * misc/sys/xattr.h: Likewise.
43696         * misc/ttyent.h: Likewise.
43697         * nis/rpcsvc/ypclnt.h: Likewise.
43698         * nss/nss.h: Likewise.
43699         * posix/bits/unistd.h: Likewise.
43700         * posix/fnmatch.h: Likewise.
43701         * posix/glob.h: Likewise.
43702         * posix/sched.h: Likewise.
43703         * posix/spawn.h: Likewise.
43704         * posix/sys/wait.h: Likewise.
43705         * posix/unistd.h: Likewise.
43706         * posix/wordexp.h: Likewise.
43707         * pwd/pwd.h: Likewise.
43708         * resolv/netdb.h: Likewise.
43709         * resource/sys/resource.h: Likewise.
43710         * rt/aio.h: Likewise.
43711         * rt/bits/mqueue2.h: Likewise.
43712         * rt/mqueue.h: Likewise.
43713         * shadow/shadow.h: Likewise.
43714         * signal/signal.h: Likewise.
43715         * socket/send.c: Likewise.
43716         * socket/sendto.c: Likewise.
43717         * socket/sys/socket.h: Likewise.
43718         * stdio-common/printf.h: Likewise.
43719         * stdlib/bits/stdlib.h: Likewise.
43720         * stdlib/fmtmsg.h: Likewise.
43721         * stdlib/monetary.h: Likewise.
43722         * stdlib/stdlib.h: Likewise.
43723         * stdlib/ucontext.h: Likewise.
43724         * streams/stropts.h: Likewise.
43725         * string/argz.h: Likewise.
43726         * string/bits/string2.h: Likewise.
43727         * string/string.h: Likewise.
43728         * string/strings.h: Likewise.
43729         * sunrpc/rpc/auth.h: Likewise.
43730         * sunrpc/rpc/auth_des.h: Likewise.
43731         * sunrpc/rpc/clnt.h: Likewise.
43732         * sunrpc/rpc/netdb.h: Likewise.
43733         * sunrpc/rpc/pmap_clnt.h: Likewise.
43734         * sunrpc/rpc/xdr.h: Likewise.
43735         * sysdeps/generic/inttypes.h: Likewise.
43736         * sysdeps/generic/net/if.h: Likewise.
43737         * sysdeps/generic/sys/swap.h: Likewise.
43738         * sysdeps/gnu/net/if.h: Likewise.
43739         * sysdeps/gnu/utmpx.h: Likewise.
43740         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43741         * sysdeps/i386/i486/bits/string.h: Likewise.
43742         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43743         * sysdeps/s390/bits/string.h: Likewise.
43744         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43745         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43746         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43747         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43748         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43749         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43750         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43751         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43752         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43753         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43754         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43755         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43756         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43757         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43758         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43759         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43760         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43765         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43766         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43767         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43768         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43769         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43770         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43771         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43772         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43773         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43774         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43775         * sysvipc/sys/ipc.h: Likewise.
43776         * sysvipc/sys/msg.h: Likewise.
43777         * sysvipc/sys/sem.h: Likewise.
43778         * sysvipc/sys/shm.h: Likewise.
43779         * termios/termios.h: Likewise.
43780         * time/sys/time.h: Likewise.
43781         * time/time.h: Likewise.
43782         * wcsmbs/bits/wchar2.h: Likewise.
43783         * wcsmbs/uchar.h: Likewise.
43784         * wcsmbs/wchar.h: Likewise.
43785         * wctype/wctype.h: Likewise.
43786
43787         [BZ #13551]
43788         * Makeconfig: Remove all but ELF support including AIX support.
43789         * Makerules: Likewise.
43790         * config.h.in: Likewise.
43791         * config.make.in: Likewise.
43792         * configure: Likewise.
43793         * configure.in: Likewise.
43794         * csu/Makefile: Likewise.
43795         * csu/version.c: Likewise.
43796         * debug/Makefile: Likewise.
43797         * dlfcn/Makefile: Likewise.
43798         * elf/Makefile: Likewise.
43799         * extra-lib.mk: Likewise.
43800         * iconv/Makefile: Likewise.
43801         * include/libc-symbols.h: Likewise.
43802         * include/shlib-compat.h: Likewise.
43803         * resolv/Makefile: Likewise.
43804         * resolv/res_libc.c: Likewise.
43805         * rt/Makefile: Likewise.
43806         * sysdeps/i386/asm-syntax.h: Likewise.
43807         * sysdeps/i386/sysdep.h: Likewise.
43808         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43809         * sysdeps/mach/sysdep.h: Likewise.
43810         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43811         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43812         * sysdeps/s390/asm-syntax.h: Likewise.
43813         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43815         * sysdeps/sh/sysdep.h: Likewise.
43816         * sysdeps/unix/sparc/sysdep.h: Likewise.
43817         * sysdeps/wordsize-32/divdi3.c: Likewise.
43818         * sysdeps/x86_64/sysdep.h: Likewise.
43819
43820         * argp/Versions: Remove _argp_unlock_xxx.
43821
43822         [BZ #13559]
43823         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43824         * abilist/libBrokenLocale.abilist: Likewise.
43825         * abilist/libanl.abilist: Likewise.
43826         * abilist/libc.abilist: Likewise.
43827         * abilist/libcrypt.abilist: Likewise.
43828         * abilist/libdl.abilist: Likewise.
43829         * abilist/libm.abilist: Likewise.
43830         * abilist/libnsl.abilist: Likewise.
43831         * abilist/libpthread.abilist: Likewise.
43832         * abilist/libresolv.abilist: Likewise.
43833         * abilist/librt.abilist: Likewise.
43834         * abilist/libthread_db.abilist: Likewise.
43835         * abilist/libutil.abilist: Likewise.
43836         * abilist/libnss_db.abilist: New file.
43837
43838         * scripts/abilist.awk: Add support for indirect functions.
43839
43840         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43841
43842         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43843
43844         * shlib-versions: Remove entries for ports architectures.
43845
43846         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43847         files in ports.
43848         * elf/stackguard-macros.h: Remove support for IA-64.
43849         * elf/tst-auditmod1.c: Likewise.
43850         * sysdeps/generic/ldsodefs.h: Likewise.
43851
43852         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43853         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43854         configure files.
43855
43856         [BZ #13552]
43857         * configure.in: Remove --enable-omitfp support.
43858         * FAQ.in: Adjust.
43859         * config.make.in: Likewise.
43860         * Makeconfig: Likewise.
43861         * manual/install.texi: Likewise.
43862
43863         In case anyone cares, the IA-64 architecture could move to ports.
43864         * sysdeps/ia64/*: Removed.
43865         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43866         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43867
43868         [BZ #13555]
43869         * configure.in: Remove entries for unsupported architectures.
43870
43871         [BZ #13533]
43872         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43873         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43874         routines.
43875         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43876         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43877         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43878         fall back to using wcrtomb.
43879         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43880         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43881         renaming.
43882         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43883         * wcsmbs/tst-c16c32-1.c: New file.
43884
43885         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43886         local variable.
43887
43888         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43889
43890         * elf/tst-unique3.cc: Add explicit declaration of gets.
43891         * elf/tst-unique3lib.cc: Likewise.
43892         * elf/tst-unique3lib2.cc: Likewise.
43893         * elf/tst-unique4.cc: Likewise.
43894
43895         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43896
43897 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43898
43899         [BZ #13566]
43900         * assert/assert.h (static_assert): Don't define for C++.
43901         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43902         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43903
43904 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43905
43906         * iconv/loop.c (single loop): Fix assertion in storing of
43907         remaining bytes.
43908
43909         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43910
43911 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43912
43913         * posix/getconf.c: Update copyright year.
43914         * nss/getent.c: Likewise.
43915         * nss/makedb.c: Likewise.
43916         * iconv/iconvconfig.c: Likewise.
43917         * iconv/iconv_prog.c: Likewise.
43918         * elf/ldconfig.c: Likewise.
43919         * elf/pldd.c: Likewise.
43920         * elf/sotruss.ksh: Likewise.
43921         * catgets/gencat.c: Likewise.
43922         * csu/version.c: Likewise.
43923         * elf/ldd.bash.in: Likewise.
43924         * elf/sprof.c (print_version): Likewise.
43925         * locale/programs/locale.c: Likewise.
43926         * locale/programs/localedef.c: Likewise.
43927         * login/programs/pt_chown.c: Likewise.
43928         * nscd/nscd.c (print_version): Likewise.
43929         * debug/xtrace.sh: Likewise.
43930         * malloc/memusage.sh: Likewise.
43931         * malloc/mtrace.pl: Likewise.
43932         * debug/catchsegv.sh: Likewise.
43933
43934 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43935
43936         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43937         pure attribute.
43938
43939 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43940
43941         [BZ #13533]
43942         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43943         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43944         transformations.
43945         * iconv/gconv_int.h: Likewise.
43946         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43947         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43948         from libc for GLIBC_2.16.
43949         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43950         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43951         * wcsmbs/uchar.h: Really define mbstate_t.
43952         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43953         * wcsmbs/c16rtomb.c: New file.
43954         * wcsmbs/mbrtoc16.c: New file.
43955         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43956         for C/POSIX locale.
43957         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43958         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43959
43960         * wcsmbs/wchar.h: Add missing __restrict.
43961
43962 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43963
43964         [BZ #13532]
43965         * time/Makefile (routines): Add timespec_get.
43966         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43967         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43968         timespec for ISO C11.
43969         * time/timespec_get.c: New file.
43970         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43971         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43972
43973         [BZ #13531]
43974         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43975         * stdlib/stdlib.h: Declare aligned_alloc.
43976         * Versions.def: Add GLIBC_2.16 for libc.
43977         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43978
43979         [BZ 13527]
43980         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43981         ISO C11.
43982
43983         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43984         code.
43985
43986         [BZ #13528]
43987         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43988
43989         [BZ #13529]
43990         * assert/assert.h (static_assert): Define.
43991
43992         * version.h: Update for 2.16 development version.
43993
43994         [BZ #13526]
43995         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43996         _ISOC11_SOURCE.
43997
43998         * version.h (RELEASE): Bump for 2.15 release.
43999         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44000
44001         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44002         Patch by Marek Polacek <mpolacek@redhat.com>.
44003
44004         * bits/byteswap.h: Protect long long constants with __extension__.
44005         * sysdeps/i386/bits/byteswap.h: Likewise.
44006         * sysdeps/ia64/bits/byteswap.h: Likewise.
44007         * sysdeps/s390/bits/byteswap.h: Likewise.
44008         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44009
44010 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44011
44012         [BZ #13540]
44013         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44014         destination buffer.
44015         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44016
44017 2011-12-23  Marek Polacek  <polacek@redhat.com>
44018
44019         * elf/dl-addr.c (determine_info): Add inline keyword.
44020         * elf/tst-auditmod4b.c (check_avx): Likewise.
44021         * elf/tst-auditmod6b.c (check_avx): Likewise.
44022         * elf/tst-auditmod6c.c (check_avx): Likewise.
44023         * elf/tst-auditmod7b.c (check_avx): Likewise.
44024
44025 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44026
44027         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44028         !__SSE_MATH__.
44029
44030 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44031
44032         [BZ #13540]
44033         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44034         processing for last bytes.
44035
44036 2011-08-06  Bruno Haible  <bruno@clisp.org>
44037
44038         [BZ #13061]
44039         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44040         U+0385, not to U+1FEE.
44041
44042         [BZ #13062]
44043         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44044         entry for U+00A5 U+0301.
44045
44046 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44047
44048         [BZ #13166]
44049         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44050         buffer for the output is too small.
44051
44052         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44053         optimization.
44054
44055         [BZ #13185]
44056         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44057         SSE flags if possible.
44058
44059 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44060
44061         [BZ #13540]
44062         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44063         processing for last bytes.
44064
44065 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44066
44067         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44068         (syscall-list-default-options, syscall-list-default-condition)
44069         (syscall-list-includes): Define.
44070         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44071         list of ABIs and options and #if conditions for each ABI.  Do not
44072         handle common syscalls between ABIs specially.
44073         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44074         Remove.
44075         (syscall-list-variants, syscall-list-32bit-options)
44076         (syscall-list-32bit-condition, syscall-list-64bit-options)
44077         (syscall-list-64bit-condition): Define.
44078         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44079         (syscall-list-variants, syscall-list-32bit-options)
44080         (syscall-list-32bit-condition, syscall-list-64bit-options)
44081         (syscall-list-64bit-condition): Define.
44082         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44083         Remove.
44084         (syscall-list-variants, syscall-list-32bit-options)
44085         (syscall-list-32bit-condition, syscall-list-64bit-options)
44086         (syscall-list-64bit-condition): Define.
44087         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44088         Remove.
44089         (syscall-list-variants, syscall-list-32bit-options)
44090         (syscall-list-32bit-condition, syscall-list-64bit-options)
44091         (syscall-list-64bit-condition): Define.
44092
44093 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44094
44095         * locale/iso-639.def: Add brx entry.
44096
44097         [BZ #13328]
44098         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44099         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44100
44101         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44102         __feraiseexcept_renamed.
44103
44104 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44105
44106         [BZ #13538]
44107         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44108         EPOLLET with unsigned values.
44109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44110         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44111
44112         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44113         to large cancellation.
44114         * math/s_cacoshf.c: Likewise.
44115         * math/s_cacoshl.c: Likewise.
44116
44117 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44118
44119         [BZ #13305]
44120         [BZ #12786]
44121         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44122         * math/s_cacoshf.c: Likewise.
44123         * math/s_cacoshl.c: Likewise.
44124
44125 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44126
44127         [BZ #13439]
44128         * iconv/gconv.h: Define __GCONV_SWAP.
44129         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44130         * iconvdata/utf-16.c: Likewise.
44131         * iconvdata/utf-32.c: Likewise.
44132
44133 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44134
44135         [BZ #13524]
44136         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44137         numerator after shifting it by one limb.
44138
44139 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44140
44141         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44142         under [__USE_EXTERN_INLINES].
44143
44144 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44145
44146         [BZ #13446]
44147         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44148
44149 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44150
44151         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44152         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44153         optimized code.
44154         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44155         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44156         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44157         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44158         for strncasecmp/strncasecmp_l compilation.
44159         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44160         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44161
44162 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44163
44164         [BZ #13484]
44165         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44166         of __asm__.
44167
44168 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44169
44170         [BZ #13506]
44171         * time/tzfile.c (__tzfile_read): Check values from file header.
44172
44173 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44174
44175         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44176         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44177         * powerpc/powerpc32/dl-start.S: Likewise.
44178         * powerpc/powerpc32/elf/start.S: Likewise.
44179         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44180         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44181         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44182         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44183         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44184         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44185         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44186         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44187         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44188         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44189         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44190         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44191         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44192         * powerpc/powerpc32/memset.S: Likewise.
44193         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44194         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44195         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44196         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44197         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44198         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44199         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44200         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44201         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44202         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44203         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44204         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44205         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44206
44207 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44208
44209         * math/libm-test.inc: Added more nearbyint tests.
44210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44211         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44213         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44214
44215 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44216
44217         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44218         FD_CLOEXEC.
44219
44220 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44221
44222         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44223         Add wcscpy-ssse3 wcscpy-c.
44224         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44225         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44226         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44227         * sysdeps/x86_64/wcschr.S: New file.
44228         * sysdeps/x86_64/wcsrchr.S: New file.
44229         * string/test-strcmp.c: Remove checking of wcscmp function for
44230         wrong alignments.
44231         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44232         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44233         wcsrchr-sse2 wcsrchr-c.
44234         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44235         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44236         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44237         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44238         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44239         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44240         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44241         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44242         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44243         * wcsmbc/wcschr.c (WCSCHR): New macro.
44244
44245 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44246
44247         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44248         * wcsmbs/test-wcsrchr.c: New file.
44249         * string/test-strrchr.c: Add wcsrchr support.
44250         (WIDE): New macro.
44251         * wcsmbs/test-wcscpy.c: New file.
44252         * string/test-strcpy.c: Add wcscpy support.
44253         (WIDE): New macro.
44254
44255 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44256
44257         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44258         the inner loop.
44259
44260 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44261
44262         [BZ #13472]
44263         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44264
44265 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44266
44267         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44268         Minor optimizations.
44269
44270         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44271         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44272         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44273
44274 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44275
44276         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44277         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44278         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44279         for gcc to avoid warnings.
44280         * inet/Makefile (tests): Add tst-checks.
44281         * inet/tst-checks.c: New file.
44282
44283         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44284         warning.
44285
44286         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44287         __wmemcmp_sse2.
44288
44289         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44290         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44291
44292         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44293
44294 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44295
44296         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44297         problem.
44298
44299         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44300
44301 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44302
44303         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44304         conditional on GCC version.
44305         (__arch_compare_and_exchange_val_8_acq)
44306         (__arch_compare_and_exchange_val_16_acq)
44307         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44308         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44309         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44310
44311 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44312
44313         * sysdeps/sh/backtrace.c: New file.
44314
44315 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44316
44317         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44318         parenthesis.
44319
44320 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44321
44322         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44323         falling back to utime.
44324
44325 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44326
44327         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44328         expectations for float.
44329
44330 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44331
44332         * locale/weight.h (findidx): Add parameter len.
44333         * locale/weightwc.h (findidx): Likewise.
44334         * posix/fnmatch_loop.c (FCT): Adjust caller.
44335         * posix/regcomp.c (build_equiv_class): Likewise.
44336         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44337         * posix/regexec.c (check_node_accept_bytes): Likewise.
44338         * string/strcoll_l.c (STRCOLL): Likewise.
44339         * string/strxfrm_l.c (STRXFRM): Likewise.
44340
44341 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44342
44343         * Makefile.in: Remove CVSOPT handling.
44344         * configure.in: Remove use of AC_REVISION.
44345         * iconvdata/Makefile (distribute): No need to filter out CVS.
44346         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44347         handling.
44348
44349 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44350
44351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44352         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44353         [USE_AS_STRNCASECMP_L]: Likewise.
44354         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44355         NO_TLS_DIRECT_SEG_REFS.
44356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44357         Fix argument offsets for non-PIC.
44358         [USE_AS_STRNCASECMP_L]: Likewise.
44359         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44360         NO_TLS_DIRECT_SEG_REFS.
44361
44362 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44363
44364         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44365         O_CLOEXEC.
44366         * locale/loadlocale.c (_nl_load_locale): Likewise.
44367
44368 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44369
44370         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44371         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44372         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44373         (SYSCALL_GETTIME): Set errno on error.
44374
44375         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44376         count references to noai6ai_cached.
44377
44378 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44379
44380         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44381
44382         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44383         FD_CLOEXEC for /proc/self/maps.
44384
44385         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44386         FD_CLOEXEC for /proc/meminfo.
44387
44388         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44389         gai.conf.
44390
44391         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44392         FD_CLOEXEC for given file.
44393
44394         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44395
44396         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44397         FD_CLOEXEC for /etc/hosts.
44398         (_gethtent): Likewise.
44399
44400         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44401
44402         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44403         cancellation and set FD_CLOEXEC for /etc/netgroup.
44404
44405         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44406         reading /etc/publickey.
44407
44408         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44409         allow cancellation when reading /etc/group.
44410
44411         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44412         cancellation.
44413         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44414
44415         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44416         when using data file.
44417
44418         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44419
44420         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44421         (write_nis_obj): Use "c" and "e" in fopen.
44422
44423         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44424
44425         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44426
44427         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44428
44429         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44430
44431         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44432         locale.alias.
44433
44434         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44435
44436         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44437
44438         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44439
44440         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44441         file parsing and set FD_CLOEXEC.
44442
44443 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44444
44445         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44446
44447 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44448
44449         * malloc/arena.c (arena_get2): Don't call reused_arena when
44450         _int_new_arena failed.
44451
44452 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44453
44454         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44455         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44456         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44457         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44458         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44459         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44460         to compile strcasecmp and strncasecmp.
44461         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44462         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44463
44464         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44465
44466 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44467
44468         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44469         locale-defines.sym to gen-as-const-headers.
44470         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44471         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44473         to compile strcasecmp and strncasecmp.
44474         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44475         strcasecmp_l and strncasecmp_l.
44476         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44477         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44478         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44479         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44480         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44481         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44482         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44483         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44484         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44485         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44486         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44487
44488 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44489
44490         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44491         result of SYSDEP_GETTIME_CPU to retval.
44492         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44493         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44494
44495         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44496         variable.
44497
44498         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44499         mantissa words.
44500         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44501
44502         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44503         from unused variable.
44504
44505         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44506         DWARF definitions.
44507         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44508         for assembling.
44509
44510         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44511         over namespaces.
44512
44513         * sunrpc/rpc_prot.c (rejected): Fix case value.
44514
44515         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44516         unsigned long long int to avoid warnings in shift.
44517
44518         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44519         of use of trans.
44520         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44521         variable tmp.
44522
44523         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44524         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44525         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44526
44527         * nis/nis_table.c (nis_list): Use variable of correct type for
44528         result of __follow_path call.
44529
44530 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44531
44532         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44533         of math functions ceil, trunc, floor, round, and sqrt, when
44534         avaliable on the platform.
44535         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44536         name clash.
44537         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44538         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44539         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44540
44541 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44542
44543         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44544         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44545
44546 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44547
44548         * include/unistd.h: Fix __readlink return type.
44549         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44550
44551 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44552
44553         * stdlib/ucontext.h: Undo last change for makecontext.
44554
44555 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44556
44557         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44558
44559         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44560         * setjmp/setjmp.h: Mark functions as non-leaf.
44561         * setjmp/bits/setjmp2.h: Likewise.
44562         * stdlib/ucontext.h: Likewise.
44563
44564 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44565
44566         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44567         (reused_arena): Don't check arena limit.
44568         (arena_get2): Atomically check arena limit.
44569
44570 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44571
44572         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44573         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44574
44575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44576         instructions.
44577
44578 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44579
44580         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44581         handler when locking.
44582
44583         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44584         Fix size of allocated buffer.
44585
44586 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44587
44588         [BZ #10103]
44589         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44590         declarations for long double functions.
44591         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44592
44593         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44594
44595 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44596
44597         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44598         installed.
44599
44600         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44601         is disabled.
44602
44603 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44604
44605         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44606
44607 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44608
44609         * include/alloca.h (stackinfo_alloca_round): Define.
44610         (extend_alloca): Use it.
44611         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44612         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44613         here.
44614
44615         * scripts/check-local-headers.sh: Ignore libaudit.h.
44616
44617         * nscd/Makefile (extra-objs): Make recursively expanded.
44618
44619 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44620
44621         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44622         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44623
44624         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44625         * posix/tst-rfc3484-2.c: Likewise.
44626         * posix/tst-rfc3484-3.c: Likewise.
44627
44628         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44629         process_vm_writev.
44630         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44631         process_vm_writev.
44632         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44633         process_vm_writev from libc using GLIBC_2.15 version.
44634
44635         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44636
44637 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44638
44639         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44640         stack usage.
44641
44642 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44643
44644         [BZ #13367]
44645         * nss/getent.c (initgroups_keys): Show error message in case no group
44646         names are given.
44647
44648         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44649         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44650         __bump_nl_timestamp.
44651         * nscd/connections (nscd_init): When host database is served open
44652         netlink socket and request notification about configuration changes.
44653         (main_loop_poll): Track netlink file descriptor and bump timestamp
44654         in case data becomes available.
44655         (main_loop_epoll): Likewise.
44656         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44657         (database_pers_head): Add extra_data fileds.
44658         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44659         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44660         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44661         Adjust caller.
44662         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44663         in6ai data, call __free_in6ai.
44664         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44665         Add -DHAVE_NETLINK.
44666         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44667         interface information.  Reuse previous data if netlink timestamp
44668         is not changed.
44669         (__bump_nl_timestamp): New function.
44670         (__free_in6ai): New function.
44671
44672 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44673
44674         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44675         close_not_cancel_no_status here.
44676         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44677
44678 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44679
44680         [BZ #13276]
44681         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44682         return value.
44683
44684         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44685         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44686         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44687
44688 2011-07-03  Andreas Jaeger  <aj@suse.de>
44689
44690         [BZ #10709]
44691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44692         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44693         * math/libm-test.inc (sin_test): Add test case.
44694
44695 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44696
44697         [BZ #13337]
44698         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44699         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44700
44701         * elf/chroot_canon.c (chroot_canon): Cleanups.
44702
44703         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44704
44705         [BZ #13335]
44706         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44707         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44708
44709         * string/test-strchr.c: Make usable for strchrnul testing.
44710         * string/test-strchrnul.c: New file.
44711         * string/Makefile (strop-tests): Add strchrnul.
44712
44713         * po/it.po: Update from translation team.
44714         * po/es.po: Likewise.
44715
44716 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44717
44718         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44719         the three constants needed as parameters.  Drop the others.
44720         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44721         __m128i_strloadu_tolower.
44722         Create and initialize variable zero and use it in all the places
44723         where _mm_setzero_si128 was used.
44724
44725         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44726         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44727         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44728         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44729         anymore.
44730         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44731         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44732         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44733         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44734         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44735         __mpranred, __mptan.
44736         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44737         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44738         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44739         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44740         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44741         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44742         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44743         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44744         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44745
44746 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44747
44748         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44749         redefine if SHARED.
44750         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44751
44752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44753         wide char related routines to wcsmbs subdir.
44754
44755 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44756
44757         [BZ #13344]
44758         * misc/sys/cdefs.h (__THROWNL): Define.
44759         * posix/unistd.h: Use __THREADNL instead of __THREAD
44760         for memory synchronization functions.
44761
44762 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44763
44764         [BZ #13349]
44765         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44766         doesn't exist.
44767         * manual/stdio.texi (Obstack Streams): Node removed.
44768
44769 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44770
44771         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44772         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44773         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44774
44775         * math/math_private.h (math_force_eval): Allow non-addressable
44776         arguments.
44777         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44778
44779 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44780
44781         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44782         file is not needed.
44783
44784         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44786         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44787         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44788         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44791         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44792         Add AVX variants.
44793         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44794         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44795         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44796         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44797         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44798         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44799         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44800         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44801         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44802         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44803         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44804         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44805         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44806         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44807         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44808         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44809         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44810         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44811         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44812
44813         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44814         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44815
44816         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44817         place.  Use VEX encoding when compiling for AVX.
44818
44819 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44820
44821         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44822         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44823
44824         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44825
44826 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44827
44828         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44829         useless if() expression.
44830         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44839         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44840         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44841         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44842         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44843         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44844         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44845         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44846         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44847         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44848         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44849
44850         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44851
44852 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44853
44854         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44855         condition.
44856         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44857
44858 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44859
44860         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44861         .text section.  Avoid duplicate constants.
44862         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44864         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44866         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44870         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44871         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44872         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44874         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44875         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44876         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44877         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44878         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44879         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44880         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44881         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44882         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44883         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44884         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44885         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44886         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44887         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44888         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44889         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44890         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44891         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44892         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44893         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44894         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44895         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44896         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44897         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44898         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44899         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44900         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44901         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44902         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44903         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44904         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44905         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44906         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44907
44908 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44909
44910         * sysdeps/x86_64/dla.h: Move to ...
44911         * sysdeps/x86_64/fpu/dla.h: ...here.
44912         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44913         situations.  Use __builtin_fma only for gcc 4.6 and up.
44914
44915         * config.make.in: Add have-mfma4 entry.
44916         * configure.in: Substitute libc_cv_cc_fma4.
44917         * math/Makefile (dbl-only-routines): Add sincostab.
44918         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44919         Use __sincostab not sincos.
44920         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44921         name is a macro.
44922         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44926         using __copysign.
44927         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44928         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44929         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44930         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44931         and __inv.
44932         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44933         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44934         __copysign.
44935         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44936         define aliases when function name is a macro.
44937         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44938         sysdeps/ieee754/dbl-64/sincos.tbl.
44939         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44940         fma4-enabled routines.
44941         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44942         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44943         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44944         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44945         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44946         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44947         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44948         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44949         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44950         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44951         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44952         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44953         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44954         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44955         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44956         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44957         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44958         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44959         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44960         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44961         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44962         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44963         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44964         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44965         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44966         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44967         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44968         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44969         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44970         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44971
44972         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44973         rename.
44974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44982
44983 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44984
44985         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44986
44987 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44988
44989         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44990
44991         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44992         prediction.
44993         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44994
44995         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44996         Remove unused variable magic_bits.
44997         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44998
44999         * string/strnlen.c: Define and use STRNLEN macro.
45000         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45001         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45002         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45003         * wcsmbs/wcslen.c: Define and use WCSLEN.
45004         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45005         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45006         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45007         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45008         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45009         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45010         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45011
45012 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45013
45014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45015         strnlen-sse2-no-bsf.
45016         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45017         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45018         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45019         Add strnlen support.
45020         (USE_AS_STRNLEN): New macro.
45021         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45022         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45023         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45024         * sysdeps/x86_64/wcslen.S: New file.
45025
45026 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45027
45028         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45029         XMM-moves are used for copying on small sizes.
45030
45031 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45032
45033         * wcsmbs/Makefile (strop-tests): Add wcschr.
45034         * wcsmbs/test-wcschr.c: New file.
45035         * string/test-strchr.c: Update.
45036         Add wcschr support.
45037         (WIDE): New macro.
45038
45039 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45040
45041         * wcsmbs/Makefile (strop-tests): Add wcslen.
45042         * wcsmbs/test-wcslen.c: New file.
45043         * string/test-strlen.c: Update.
45044         Add wcslen support.
45045         (WIDE): New macro.
45046
45047 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45048
45049         * po/it.po: Update from translation team.
45050
45051 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45052
45053         * sysdeps/x86_64/wcscmp.S: Update.
45054         Fix wrong comparison semantics.
45055         wcscmp shall use signed comparison not unsigned.
45056         Don't use substraction to avoid overflow bug.
45057         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45058         * wcsmbc/wcscmp.c: Likewise.
45059         * string/test-strcmp.c: Likewise.
45060         Add new tests to check cases with negative values.
45061
45062 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45063
45064         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45065         * sysdeps/x86_64/dla.h: ...here.  New file.
45066         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45067         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45071         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45075
45076 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45077
45078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45079         __ynl_finite aliases.
45080
45081 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45082
45083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45084
45085         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45086         define DLA_FMA.
45087         [DLA_FMA] (EMULV): Use DLA_FMA.
45088         [DLA_FMA] (MUL12): Use EMULV.
45089         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45090         that are not needed.
45091         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45093         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45098
45099 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45100
45101         * math/s_nan.c: Undef __nan.
45102         * math/s_nanf.c: Undef __nanf.
45103         * math/s_nanl.c: Undef __nanl.
45104         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45105         "math_private.h".
45106
45107 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45108
45109         * math/s_catan.c: Add branch predictions.
45110         * math/s_catanf.c: Likewise.
45111         * math/s_catanh.c: Likewise.
45112         * math/s_catanhf.c: Likewise.
45113         * math/s_catanhl.c: Likewise.
45114         * math/s_catanl.c: Likewise.
45115         * math/s_cexp.c: Likewise.
45116         * math/s_cexpf.c: Likewise.
45117         * math/s_cexpl.c: Likewise.
45118         * math/s_clog.c: Likewise.
45119         * math/s_clog10.c: Likewise.
45120         * math/s_clog10f.c: Likewise.
45121         * math/s_clog10l.c: Likewise.
45122         * math/s_clogf.c: Likewise.
45123         * math/s_clogl.c: Likewise.
45124         * math/s_csqrt.c: Likewise.
45125         * math/s_csqrtf.c: Likewise.
45126         * math/s_csqrtl.c: Likewise.
45127         * math/s_ctanf.c: Likewise.
45128         * math/s_ctanh.c: Likewise.
45129         * math/s_ctanhf.c: Likewise.
45130         * math/s_ctanhl.c: Likewise.
45131         * math/s_ctanl.c: Likewise.
45132
45133         * math/math_private.h: Define __nan, __nanf, __nanl.
45134         * math/s_cacosh.c: Include <math_private.h>.
45135         * math/s_cacoshl.c: Likewise.
45136         * math/s_casinh.c: Likewise.
45137         * math/s_casinhf.c: Likewise.
45138         * math/s_casinhl.c: Likewise.
45139         * math/s_ccos.c: Rely entire on ccosh.
45140         * math/s_ccosf.c: Rely entire on ccoshf.
45141         * math/s_ccosl.c: Rely entirely on ccoshl.
45142         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45143         Remove tests for FE_INVALID.
45144         * math/s_ccoshf.c: Likewise.
45145         * math/s_ccoshl.c: Likewise.
45146         * math/s_csin.c: Likewise.
45147         * math/s_csinf.c: Likewise.
45148         * math/s_csinh.c Likewise.
45149         * math/s_csinhf.c: Likewise.
45150         * math/s_csinhl.c: Likewise.
45151         * math/s_csinl.c: Likewise.
45152         * math/s_ctan.c: Likewise.
45153         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45154         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45155         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45156
45157 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45158
45159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45160         compilation problems.
45161
45162         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45163         __builtin_expect.
45164
45165 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45166
45167         * sysdeps/i386/configure.in: Test for -mfma4 option.
45168         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45169         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45170         COMMON_CPUID_INDEX_80000001.
45171         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45172         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45173         use it if FMA3 is not supported.
45174         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45175
45176         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45177         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45178
45179 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45180
45181         [BZ #12892]
45182         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45183         it would create a cycle with a link time dependency.
45184
45185 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45186
45187         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45188         instruction.
45189         * string/Makefile (strop-tests): Add rawmemchr.
45190         * string/test-rawmemchr.c: New file.
45191
45192         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45194         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45195         when compiling str{,n}casecmp and when AVX is available.  Hook up
45196         new optimized code in initializers.
45197
45198 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45199
45200         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45201         __feraiseexcept instead of feraiseexcept.
45202
45203 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45204
45205         * math/math_private.h: Define defaults for libc_fetestexcept and
45206         libc_feupdateenv.
45207         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45208         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45209         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45210         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45211         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45212         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45213         libc_fetestexcept and libc_feupdateenv.
45214
45215         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45216         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45217         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45218         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45219         libc_feholdexcept_setround.
45220
45221         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45222         Add s_nearbyint-c and s_nearbyintf-c.
45223         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45224         nearbyintf inlines.
45225         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45226         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45228         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45229
45230         * math/math_private.h: Define defaults for libc_fegetround,
45231         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45232         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45233         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45234         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45235         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45236         standard functions.
45237         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45238         Remove comments and hacks for old compiler versions.
45239         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45240         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45241         libc_feholdexceptl.
45242
45243 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45244
45245         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45246         (__feraiseexcept_renamed): Add __NTH.
45247         (feraiseexcept): Add __NTH.  Rename local variables to fix
45248         namespace violations.
45249
45250 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45251
45252         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45253
45254         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45255
45256         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45257         recently added interfaces.
45258         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45259
45260         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45261         about macro parameter expansion.
45262
45263         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45264         __NO_MATH_INLINES is defined.  Cleanups.
45265
45266         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45267         and __floorf is target has SSE4.1.
45268         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45269         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45270         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45271         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45272
45273         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45274         name.
45275         (floorf): Likewise.
45276
45277         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45278
45279 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45280
45281         * misc/sys/cdefs.h: Fix last change.
45282
45283         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45284         database lookup.
45285
45286 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45287
45288         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45289
45290         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45291         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45292         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45293         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45294         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45295         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45296         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45297         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45298         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45299         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45300         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45301         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45302         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45303         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45304         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45305         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45306         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45307         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45308         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45309         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45310         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45311         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45312
45313         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45314         ceil, ceilf, floor, floorf.
45315
45316         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45317         Perform IRELATIVE relocations last.
45318
45319         * elf/do-rel.h: Add another parameter nrelative, replacing the
45320         local variable with the same name.  Change name of the function
45321         to end in Rel or Rela (uppercase).
45322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45323         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45324         elf_dynamic_do_##reloc function.
45325
45326 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45327
45328         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45329         is sufficient, at least on modern CPUs.
45330
45331         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45332
45333         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45334         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45335
45336         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45337         __expl_finite.
45338         * math/bits/math-finite.h: Add entries for exp.
45339         * math/e_expl.c: Add __*_finite alias.
45340         * sysdeps/i386/fpu/e_exp.S: Likewise.
45341         * sysdeps/i386/fpu/e_expf.S: Likewise.
45342         * sysdeps/i386/fpu/e_expl.c: Likewise.
45343         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45344         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45345         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45347         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45348         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45349         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45350
45351         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45352         is sufficient, at least on modern CPUs.
45353
45354         * ctype/ctype-info.c (__ctype_init): Define.
45355         * include/ctype.h (__ctype_init): Declare.
45356         (__ctype_b_loc): The variable is always initialized.
45357         (__ctype_toupper_loc): Likewise.
45358         (__ctype_tolower_loc): Likewise.
45359         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45360         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45361
45362 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45363
45364         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45365
45366         * configure.in: Also look in $cxxmachine/include for C++ system
45367         headers.
45368
45369 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45370
45371         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45372         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45373         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45374         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45375         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45376         (USE_AS_WMEMCMP): New macro.
45377         Fixing indents.
45378         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45379         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45380         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45381         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45383         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45384         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45385         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45386         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45387         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45388         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45389         (USE_AS_WMEMCMP): New macro.
45390         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45391         * sysdeps/string/test-memcmp.c: Update.
45392         Fix simple_wmemcmp.
45393         Add new tests.
45394         * wcsmbs/wmemcmp.c: Update.
45395         (WMEMCMP): New macro.
45396         Fix overflow bug.
45397
45398 2011-10-12  Andreas Jaeger  <aj@suse.de>
45399
45400         [BZ #13268]
45401         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45402
45403 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45404
45405         * libio/iofwide.c (do_length): Avoid warning.
45406
45407         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45408
45409 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45410
45411         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45412
45413         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45414         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45415         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45416         * sysdeps/i386/i686/fpu/e_log.S: New file.
45417         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45418         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45419
45420         * ctype/ctype.h: Add support for inlined isXXX functions when
45421         compiling C++ code.
45422
45423 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45424
45425         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45426
45427         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45428
45429 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45430
45431         [BZ #13291]
45432         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45433
45434 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45435
45436         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45437         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45438         feraiseexcept.
45439
45440         * sysdeps/x86_64/memrchr.S: Check for zero size.
45441
45442         * string/stratcliff.c: Add memrchr tests.
45443
45444 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45445
45446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45447         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45448         rawmemchr-sse2 rawmemchr-sse2-bsf.
45449         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45450         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45451         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45452         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45453         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45454         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45455         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45456         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45457         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45458         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45459         * string/memrchr.c (MEMRCHR): New macro.
45460
45461 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45462
45463         Add integration with gcc's -ffinite-math-only and optimize wrapper
45464         functions in libm.
45465         * Versions.def: Define GLIBC_2.15 version for libm.
45466         * math/Makefile (headers): Add bits/math-finite.h.
45467         * math/bits/math-finite.h: New file.
45468         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45469         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45470         * math/e_acoshl.c: Add __*_finite alias.
45471         * math/e_acosl.c: Likewise.
45472         * math/e_asinl.c: Likewise.
45473         * math/e_atan2l.c: Likewise.
45474         * math/e_atanhl.c: Likewise.
45475         * math/e_coshl.c: Likewise.
45476         * math/e_exp10.c: Likewise.
45477         * math/e_exp10f.c: Likewise.
45478         * math/e_exp10l.c: Likewise.
45479         * math/e_exp2l.c: Likewise.
45480         * math/e_fmodl.c: Likewise.
45481         * math/e_gammal_r.c: Likewise.
45482         * math/e_hypotl.c: Likewise.
45483         * math/e_j0l.c: Likewise.
45484         * math/e_j1l.c: Likewise.
45485         * math/e_jnl.c: Likewise.
45486         * math/e_lgammal_r.c: Likewise.
45487         * math/e_log10l.c: Likewise.
45488         * math/e_log2l.c: Likewise.
45489         * math/e_logl.c: Likewise.
45490         * math/e_powl.c: Likewise.
45491         * math/e_sinhl.c: Likewise.
45492         * math/e_sqrtl.c: Likewise.
45493         * math/e_scalb.c: Completely rewritten and optimized.
45494         * math/e_scalbf.c: Likewise.
45495         * math/e_scalbl.c: Likewise.
45496         * math/w_acos.c: Likewise.
45497         * math/w_acosf.c: Likewise.
45498         * math/w_acosl.c: Likewise.
45499         * math/w_acosh.c: Likewise.
45500         * math/w_acoshf.c: Likewise.
45501         * math/w_acoshl.c: Likewise.
45502         * math/w_asin.c: Likewise.
45503         * math/w_asinf.c: Likewise.
45504         * math/w_asinl.c: Likewise.
45505         * math/w_atan2.c: Likewise.
45506         * math/w_atan2f.c: Likewise.
45507         * math/w_atan2l.c: Likewise.
45508         * math/w_atanh.c: Likewise.
45509         * math/w_atanhf.c: Likewise.
45510         * math/w_atanhl.c: Likewise.
45511         * math/w_exp10.c: Likewise.
45512         * math/w_exp10f.c: Likewise.
45513         * math/w_exp10l.c: Likewise.
45514         * math/w_fmod.c: Likewise.
45515         * math/w_fmodf.c: Likewise.
45516         * math/w_fmodl.c: Likewise.
45517         * math/w_j0.c: Likewise.
45518         * math/w_j0f.c: Likewise.
45519         * math/w_j0l.c: Likewise.
45520         * math/w_j1.c: Likewise.
45521         * math/w_j1f.c: Likewise.
45522         * math/w_j1l.c: Likewise.
45523         * math/w_jn.c: Likewise.
45524         * math/w_jnf.c: Likewise.
45525         * math/w_log.c: Likewise.
45526         * math/w_logf.c: Likewise.
45527         * math/w_logl.c: Likewise.
45528         * math/w_log10.c: Likewise.
45529         * math/w_log10f.c: Likewise.
45530         * math/w_log10l.c: Likewise.
45531         * math/w_log2.c: Likewise.
45532         * math/w_log2f.c: Likewise.
45533         * math/w_log2l.c: Likewise.
45534         * math/w_pow.c: Likewise.
45535         * math/w_powf.c: Likewise.
45536         * math/w_powl.c: Likewise.
45537         * math/w_remainder.c: Likewise.
45538         * math/w_remainderf.c: Likewise.
45539         * math/w_remainderl.c: Likewise.
45540         * math/w_scalb.c: Likewise.
45541         * math/w_scalbf.c: Likewise.
45542         * math/w_scalbl.c: Likewise.
45543         * math/w_sqrt.c: Likewise.
45544         * math/w_sqrtf.c: Likewise.
45545         * math/w_sqrtl.c: Likewise.
45546         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45547         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45548         used.
45549         * math/math_private.h: Declare __kernel_standard_f.
45550         * math/w_cosh.c: Remove cruft and optimize a bit.
45551         * math/w_coshf.c: Likewise.
45552         * math/w_coshl.c: Likewise.
45553         * math/w_exp2.c: Likewise.
45554         * math/w_exp2f.c: Likewise.
45555         * math/w_exp2l.c: Likewise.
45556         * math/w_hypot.c: Likewise.
45557         * math/w_hypotf.c: Likewise.
45558         * math/w_hypotl.c: Likewise.
45559         * math/w_lgamma.c: Likewise.
45560         * math/w_lgamma_r.c: Likewise.
45561         * math/w_lgammaf.c: Likewise.
45562         * math/w_lgammaf_r.c: Likewise.
45563         * math/w_lgammal.c: Likewise.
45564         * math/w_lgammal_r.c: Likewise.
45565         * math/w_sinh.c: Likewise.
45566         * math/w_sinhf.c: Likewise.
45567         * math/w_sinhl.c: Likewise.
45568         * math/w_tgamma.c: Likewise.
45569         * math/w_tgammaf.c: Likewise.
45570         * math/w_tgammal.c: Likewise.
45571         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45572         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45573         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45574         Minor optimizations.  Pretty printing.  Remove cruft.
45575         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45576         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45577         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45578         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45579         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45580         * sysdeps/i386/fpu/e_asin.S: Likewise.
45581         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45582         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45583         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45584         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45585         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45586         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45587         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45588         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45589         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45590         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45591         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45592         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45593         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45594         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45595         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45596         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45597         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45598         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45599         * sysdeps/i386/fpu/e_log.S: Likewise.
45600         * sysdeps/i386/fpu/e_log10.S: Likewise.
45601         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45602         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45603         * sysdeps/i386/fpu/e_log2.S: Likewise.
45604         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45605         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45606         * sysdeps/i386/fpu/e_logf.S: Likewise.
45607         * sysdeps/i386/fpu/e_logl.S: Likewise.
45608         * sysdeps/i386/fpu/e_pow.S: Likewise.
45609         * sysdeps/i386/fpu/e_powf.S: Likewise.
45610         * sysdeps/i386/fpu/e_powl.S: Likewise.
45611         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45612         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45613         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45614         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45615         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45616         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45617         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45618         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45619         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45625         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45629         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45630         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45631         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45633         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45634         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45636         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45637         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45638         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45639         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45640         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45641         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45642         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45643         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45644         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45645         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45646         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45647         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45648         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45649         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45650         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45651         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45652         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45653         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45654         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45655         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45656         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45657         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45658         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45659         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45660         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45661         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45662         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45663         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45664         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45665         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45666         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45670         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45672         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45676         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45677         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45680         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45681         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45682         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45683         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45684         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45685         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45686         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45687         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45688         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45689         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45690         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45691         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45692         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45696         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45697         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45699         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45700         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45701         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45702         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45703         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45704         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45705         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45706         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45707         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45708         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45709         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45710         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45711         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45712         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45713         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45714         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45715         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45716         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45717         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45718         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45719         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45720         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45721         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45722         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45723         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45724         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45725         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45726         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45728         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45729         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45730         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45731         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45732         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45733         (__isnanf): Likewise.
45734         (__isinf_ns): Likewise.
45735         (__isinf_nsf): Likewise.
45736         (__finite): Likewise.
45737         (__finitef): Likewise.
45738         (__ieee754_sqrt): Define as macro.
45739         (__ieee754_sqrtf): Define as macro.
45740         (__ieee754_sqrtl): Define as macro.
45741         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45742         inlined copy.
45743         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45744         __FINITE_MATH_ONLY__ consistent.
45745         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45746
45747 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45748
45749         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45750         of rawmemchr.
45751
45752         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45753
45754 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45755
45756         * po/ja.po: Update from translation team.
45757
45758 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45759
45760         * locale/programs/locarchive.c (prepare_address_space): New function.
45761         (create_archive, enlarge_archive, open_archive): Use it.
45762
45763         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45764         inside [SHARED], where it is used.
45765
45766         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45767
45768         * nss/getent.c (netgroup_keys): Remove unused variable.
45769         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45770
45771 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45772
45773         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45774         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45776         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45777         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45778         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45779         * math/Makefile (libm-calls): Add s_isinf_ns.
45780         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45781         * math/multc3.c: Likewise.
45782         * math/s_casin.c: Likewise.
45783         * math/s_casinf.c: Likewise.
45784         * math/s_casinl.c: Likewise.
45785         * math/s_ccos.c: Likewise.
45786         * math/s_ccosf.c: Likewise.
45787         * math/s_ccosl.c: Likewise.
45788         * math/s_ctan.c: Likewise.
45789         * math/s_ctanf.c: Likewise.
45790         * math/s_ctanh.c: Likewise.
45791         * math/s_ctanhf.c: Likewise.
45792         * math/s_ctanhl.c: Likewise.
45793         * math/s_ctanl.c: Likewise.
45794         * math/w_fmod.c: Likewise.
45795         * math/w_fmodf.c: Likewise.
45796         * math/w_fmodl.c: Likewise.
45797         * math/w_remainder.c: Likewise.
45798         * math/w_remainderf.c: Likewise.
45799         * math/w_remainderl.c: Likewise.
45800         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45801         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45804         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45805         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45806         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45807         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45808
45809         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45810         of the number.
45811         * stdio-common/printf_fphex.c: Likewise.
45812         * stdio-common/printf_size.c: Likewise.
45813
45814         * math/e_exp10.c: Include math_private.h using <...> not "...".
45815         * math/e_exp10f.c: Likewise.
45816         * math/e_exp10l.c: Likewise.
45817         * math/e_exp2l.c: Likewise.
45818         * math/e_j0l.c: Likewise.
45819         * math/e_j1l.c: Likewise.
45820         * math/e_jnl.c: Likewise.
45821         * math/e_lgammal_r.c: Likewise.
45822         * math/e_rem_pio2l.c: Likewise.
45823         * math/e_scalb.c: Likewise.
45824         * math/e_scalbf.c: Likewise.
45825         * math/e_scalbl.c: Likewise.
45826         * math/k_cosl.c: Likewise.
45827         * math/k_sinl.c: Likewise.
45828         * math/k_tanl.c: Likewise.
45829         * math/s_cacoshf.c: Likewise.
45830         * math/s_catan.c: Likewise.
45831         * math/s_catanf.c: Likewise.
45832         * math/s_catanh.c: Likewise.
45833         * math/s_catanhf.c: Likewise.
45834         * math/s_catanhl.c: Likewise.
45835         * math/s_catanl.c: Likewise.
45836         * math/s_ccosh.c: Likewise.
45837         * math/s_ccoshf.c: Likewise.
45838         * math/s_ccoshl.c: Likewise.
45839         * math/s_cexp.c: Likewise.
45840         * math/s_cexpf.c: Likewise.
45841         * math/s_cexpl.c: Likewise.
45842         * math/s_clog.c: Likewise.
45843         * math/s_clog10.c: Likewise.
45844         * math/s_clog10f.c: Likewise.
45845         * math/s_clog10l.c: Likewise.
45846         * math/s_clogf.c: Likewise.
45847         * math/s_clogl.c: Likewise.
45848         * math/s_csin.c: Likewise.
45849         * math/s_csinf.c: Likewise.
45850         * math/s_csinh.c: Likewise.
45851         * math/s_csinhf.c: Likewise.
45852         * math/s_csinhl.c: Likewise.
45853         * math/s_csinl.c: Likewise.
45854         * math/s_csqrt.c: Likewise.
45855         * math/s_csqrtf.c: Likewise.
45856         * math/s_csqrtl.c: Likewise.
45857         * math/s_ctan.c: Likewise.
45858         * math/s_ctanf.c: Likewise.
45859         * math/s_ctanh.c: Likewise.
45860         * math/s_ctanhf.c: Likewise.
45861         * math/s_ctanhl.c: Likewise.
45862         * math/s_ctanl.c: Likewise.
45863         * math/s_ldexp.c: Likewise.
45864         * math/s_ldexpf.c: Likewise.
45865         * math/s_ldexpl.c: Likewise.
45866         * math/s_significand.c: Likewise.
45867         * math/s_significandf.c: Likewise.
45868         * math/s_significandl.c: Likewise.
45869         * math/w_acos.c: Likewise.
45870         * math/w_acosf.c: Likewise.
45871         * math/w_acosh.c: Likewise.
45872         * math/w_acoshf.c: Likewise.
45873         * math/w_acoshl.c: Likewise.
45874         * math/w_acosl.c: Likewise.
45875         * math/w_asin.c: Likewise.
45876         * math/w_asinf.c: Likewise.
45877         * math/w_asinl.c: Likewise.
45878         * math/w_atan2.c: Likewise.
45879         * math/w_atan2f.c: Likewise.
45880         * math/w_atan2l.c: Likewise.
45881         * math/w_atanh.c: Likewise.
45882         * math/w_atanhf.c: Likewise.
45883         * math/w_atanhl.c: Likewise.
45884         * math/w_cosh.c: Likewise.
45885         * math/w_coshf.c: Likewise.
45886         * math/w_coshl.c: Likewise.
45887         * math/w_dremf.c: Likewise.
45888         * math/w_exp10.c: Likewise.
45889         * math/w_exp10f.c: Likewise.
45890         * math/w_exp10l.c: Likewise.
45891         * math/w_exp2.c: Likewise.
45892         * math/w_exp2f.c: Likewise.
45893         * math/w_fmod.c: Likewise.
45894         * math/w_fmodf.c: Likewise.
45895         * math/w_fmodl.c: Likewise.
45896         * math/w_hypot.c: Likewise.
45897         * math/w_hypotf.c: Likewise.
45898         * math/w_hypotl.c: Likewise.
45899         * math/w_j0.c: Likewise.
45900         * math/w_j0f.c: Likewise.
45901         * math/w_j0l.c: Likewise.
45902         * math/w_j1.c: Likewise.
45903         * math/w_j1f.c: Likewise.
45904         * math/w_j1l.c: Likewise.
45905         * math/w_jn.c: Likewise.
45906         * math/w_jnf.c: Likewise.
45907         * math/w_jnl.c: Likewise.
45908         * math/w_lgamma.c: Likewise.
45909         * math/w_lgamma_r.c: Likewise.
45910         * math/w_lgammaf.c: Likewise.
45911         * math/w_lgammaf_r.c: Likewise.
45912         * math/w_lgammal.c: Likewise.
45913         * math/w_lgammal_r.c: Likewise.
45914         * math/w_log.c: Likewise.
45915         * math/w_log10.c: Likewise.
45916         * math/w_log10f.c: Likewise.
45917         * math/w_log10l.c: Likewise.
45918         * math/w_log2.c: Likewise.
45919         * math/w_log2f.c: Likewise.
45920         * math/w_log2l.c: Likewise.
45921         * math/w_logf.c: Likewise.
45922         * math/w_logl.c: Likewise.
45923         * math/w_pow.c: Likewise.
45924         * math/w_powf.c: Likewise.
45925         * math/w_powl.c: Likewise.
45926         * math/w_remainder.c: Likewise.
45927         * math/w_remainderf.c: Likewise.
45928         * math/w_remainderl.c: Likewise.
45929         * math/w_scalb.c: Likewise.
45930         * math/w_scalbf.c: Likewise.
45931         * math/w_scalbl.c: Likewise.
45932         * math/w_sinh.c: Likewise.
45933         * math/w_sinhf.c: Likewise.
45934         * math/w_sinhl.c: Likewise.
45935         * math/w_sqrt.c: Likewise.
45936         * math/w_sqrtf.c: Likewise.
45937         * math/w_sqrtl.c: Likewise.
45938         * math/w_tgamma.c: Likewise.
45939         * math/w_tgammaf.c: Likewise.
45940         * math/w_tgammal.c: Likewise.
45941
45942         * po/ja.po: Update from translation team.
45943
45944 2011-09-29  Andreas Jaeger  <aj@suse.de>
45945
45946         [BZ #13179]
45947         * sunrpc/netname.c (netname2host): Fix logic.
45948
45949         [BZ #6779]
45950         [BZ #6783]
45951         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45952         correctly.
45953         * math/w_remainder.c (__remainder): Likewise.
45954         * math/w_remainderf.c (__remainderf): Likewise.
45955         * math/libm-test.inc (remainder_test): Add test cases.
45956
45957 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45958
45959         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45960         sdiv_qrnnd.
45961
45962 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45963
45964         * string/test-memcmp.c: Avoid unncessary #defines.
45965         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45966
45967 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45968
45969         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45970         Use new sse2 version for core i3 - i7 as it's faster
45971         than sse42 version.
45972         (bit_Prefer_PMINUB_for_stringop): New.
45973         * sysdeps/x86_64/rawmemchr.S: Update.
45974         Replace with faster SSE2 version.
45975         * sysdeps/x86_64/memrchr.S: New file.
45976         * sysdeps/x86_64/memchr.S: Update.
45977         Replace with faster SSE2 version.
45978
45979 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45980
45981         * elf/dl-load.c (lose): Add cast to avoid warning.
45982
45983 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45984
45985         * po/ca.po: Update from translation team.
45986
45987         * inet/getnetgrent_r.c: Hook up nscd.
45988         * nscd/Makefile (routines): Add nscd_netgroup.
45989         (nscd-modules): Add netgroupcache.
45990         (CFLAGS-netgroupcache.c): Define.
45991         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45992         (cache_search): Add const to second parameter.
45993         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45994         INNETGR.
45995         (dbs): Add netgrdb entry.
45996         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45997         (verify_persistent_db): Handle netgrdb.
45998         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45999         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46000         GETFDNETGR.
46001         (netgroup_response_header): Define.
46002         (innetgroup_response_header): Define.
46003         (datahead): Add netgroup_response_header and innetgroup_response_header
46004         elements.
46005         * nscd/nscd.conf: Add entries for netgroup cache.
46006         * nscd/nscd.h (dbtype): Add netgrdb.
46007         (_PATH_NSCD_NETGROUP_DB): Define.
46008         (netgroup_iov_disabled): Declare.
46009         (xmalloc, xcalloc, xrealloc): Move declarations here.
46010         (cache_search): Adjust prototype.
46011         Add netgroup-related prototypes.
46012         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46013         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46014         (__nscd_innetgr): Declare.
46015         * nscd/selinux.c (perms): Use access_vector_t as element type and
46016         add netgroup-related initializers.
46017         * nscd/netgroupcache.c: New file.
46018         * nscd/nscd_netgroup.c: New file.
46019         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46020         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46021         For four parameters use innetgr.
46022         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46023         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46024         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46025         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46026
46027         * nscd/connections.c (register_traced_file): Don't register file
46028         for disabled databases.
46029
46030 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46031
46032         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46033
46034         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46035         from tree and freeing node.
46036
46037 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46038
46039         * nss/nsswitch.c (__nss_database_lookup): Handle
46040         nss_parse_service_list out of memory case.
46041
46042 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46043
46044         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46045         out of memory case.
46046
46047 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46048
46049         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46050         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46051         pass it down.
46052         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46053         elf_machine_rela, elf_machine_lazy_rel.
46054         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46055         (ELF_DYNAMIC_DO_REL): Likewise.
46056         (ELF_DYNAMIC_DO_RELA): Likewise.
46057         (ELF_DYNAMIC_RELOCATE): Likewise.
46058         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46059         to ELF_DYNAMIC_DO_REL.
46060         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46061         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46062         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46063         elf_machine_rela.
46064         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46065         skip_ifunc, don't call ifunc function if non-zero.
46066         (elf_machine_rela): Likewise.
46067         (elf_machine_lazy_rel): Likewise.
46068         (elf_machine_lazy_rela): Likewise.
46069         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46070         (elf_machine_lazy_rel): Likewise.
46071         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46072         Likewise.
46073         (elf_machine_lazy_rel): Likewise.
46074         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46075         Likewise.
46076         (elf_machine_lazy_rel): Likewise.
46077         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46078         (elf_machine_lazy_rel): Likewise.
46079         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46080         (elf_machine_lazy_rel): Likewise.
46081         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46082         (elf_machine_lazy_rel): Likewise.
46083         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46084         (elf_machine_lazy_rel): Likewise.
46085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46086         (elf_machine_lazy_rel): Likewise.
46087         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46088         (elf_machine_lazy_rel): Likewise.
46089
46090 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46091
46092         * nss/nss_files/files-init.c (_nss_files_init): Use static
46093         initialization for all the *_traced_file variables.
46094
46095 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46096
46097         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46098
46099 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46100
46101         [BZ #13226]
46102         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46103
46104 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46105
46106         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46107         Reread the line before reparsing it.
46108
46109 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46110
46111         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46112
46113 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46114             Maxim Kuvyrkov  <maxim@codesourcery.com>
46115             Joseph Myers  <joseph@codesourcery.com>
46116
46117         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46118         if needed for __stack_chk_guard.
46119
46120 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46121
46122         * sysdeps/posix/spawni.c (script_execute): Always define it.
46123         It will be optimized away if unused.
46124         (maybe_script_execute): New function.
46125         (__spawni): Call it.
46126
46127         * Makerules: Don't include tls.make.
46128         (config-tls): Always set to thread.
46129         * tls.make.c: File removed.
46130
46131 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46132
46133         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46134         * config.make.in (CPPFLAGS-config): New substituted variable.
46135
46136 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46137
46138         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46139
46140         [BZ #13192]
46141         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46142         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46143
46144 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46145
46146         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46147         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46148         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46149         (CALL_FAIL): Likewise.
46150         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46151         (CALL_FAIL): Macro removed.
46152         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46153
46154 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46155
46156         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46157         for __FINITE_MATH_ONLY__ == 1.
46158
46159 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46160
46161         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46162         __ieee754_sqrt instead of sqrt.
46163         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46164         __ieee754_sqrtf instead of sqrtf.
46165         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46166         __floorf instead of floorf.
46167         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46168         __floorf, __truncf instead of floorf, truncf.
46169
46170 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46171
46172         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46173
46174         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46175         __extern_always_inline.
46176         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46177         32-bit.
46178
46179 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46180
46181         * elf/rtld.c (dl_main): Also relocate in dependency order when
46182         doing symbol dependency testing.
46183
46184 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46185
46186         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46187         Always define `refsym'.
46188
46189 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46190
46191         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46192         (__FD_ELT): Renamed from __FDELT.
46193         * misc/bits/select2.h (__FD_ELT): Likewise.
46194         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46195         __FD_MASK instead of __FDELT, __FDMASK.
46196         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46197         Likewise.
46198         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46199         Likewise.
46200
46201         * elf/Makefile (gen-ldd): Fix pattern.
46202
46203         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46204         (init_tls): Likewise.
46205
46206 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46207
46208         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46209
46210 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46211
46212         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46213         `struct cmsghdr *' instead of `void *'.
46214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46215         Likewise.
46216
46217 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46218
46219         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46220         if non-absolute.
46221         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46222         ldd_rewrite_script.
46223
46224 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46225
46226         * configure.in: Remove --with-tls option.
46227         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46228         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46229         out in case it is missing.
46230         * sysdeps/ia64/elf/configure.in: Likewise.
46231         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46232         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46233         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46234         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46235         * sysdeps/sh/elf/configure.in: Likewise.
46236         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46237         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46238         * sysdeps/x86_64/elf/configure.in: Likewise.
46239         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46240         * sysdeps/mach/hurd/tls.h: Likewise.
46241
46242         [BZ #13067]
46243         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46244
46245         [BZ #13090]
46246         * configure.in: Fix use of AC_INIT.
46247
46248         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46249
46250 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46251
46252         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46253         __set_errno.
46254         * malloc/hooks.c: Likewise.
46255
46256         [BZ #11929]
46257         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46258         variables statically.
46259         (narenas): Initialize.
46260         (list_lock): Initialize.
46261         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46262         initializtion of main_arena and list_lock.  Small cleanups.
46263         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46264         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46265         Add initializers to main_arena and mp_.
46266         (malloc_state): Remove pagesize member.  Change all users to use
46267         GLRO(dl_pagesize).
46268
46269         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46270         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46271         is always initialized.
46272
46273         * malloc/malloc.c: Removed unused configurations and dead code.
46274         * malloc/arena.c: Likewise.
46275         * malloc/hooks.c: Likewise.
46276         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46277
46278         * include/tls.h: Removed.  USE___THREAD must always be defined.
46279         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46280         * elf/dl-libc.c: Likewise.
46281         * elf/dl-tsd.c: Likewise.
46282         * include/errno.h: Likewise.
46283         * include/netdb.h: Likewise.
46284         * include/resolv.h: Likewise.
46285         * inet/herrno-loc.c: Likewise.
46286         * inet/herrno.c: Likewise.
46287         * malloc/arena.c: Likewise.
46288         * malloc/hooks.c: Likewise.
46289         * malloc/malloc.c: Likewise.
46290         * resolv/res-state.c: Likewise.
46291         * resolv/res_libc.c: Likewise.
46292         * sysdeps/i386/dl-machine.h: Likewise.
46293         * sysdeps/ia64/dl-machine.h: Likewise.
46294         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46295         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46296         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46297         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46298         * sysdeps/sh/dl-machine.h: Likewise.
46299         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46300         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46301         * sysdeps/unix/i386/sysdep.S: Likewise.
46302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46303         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46308         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46310         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46312         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46313         * sysdeps/x86_64/dl-machine.h: Likewise.
46314         * tls.make.c: Likewise.
46315
46316         * configure.in: Remove --with-__thread option.  Make tests for
46317         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46318         tls_model attribute fail if no support is available.  Remove
46319         USE_IN_LIBIO.
46320         * Makeconfig: Adjust for dropped configure option.  All features are
46321         now mandatory.
46322         * Makerules: Likewise.
46323         * Versions.def: Likewise.
46324         * argp/argp-fmtstream.c: Likewise.
46325         * argp/argp-fmtstream.h: Likewise.
46326         * argp/argp-help.c: Likewise.
46327         * assert/assert.c: Likewise.
46328         * config.h.in: Likewise.
46329         * config.make.in: Likewise.
46330         * configure: Likewise.
46331         * configure.in: Likewise.
46332         * csu/Versions: Likewise.
46333         * csu/init.c: Likewise.
46334         * elf/tst-audit2.c: Likewise.
46335         * elf/tst-tls10.c: Likewise.
46336         * elf/tst-tls10.h: Likewise.
46337         * elf/tst-tls11.c: Likewise.
46338         * elf/tst-tls12.c: Likewise.
46339         * elf/tst-tls14.c: Likewise.
46340         * elf/tst-tlsmod11.c: Likewise.
46341         * elf/tst-tlsmod12.c: Likewise.
46342         * elf/tst-tlsmod13.c: Likewise.
46343         * elf/tst-tlsmod13a.c: Likewise.
46344         * elf/tst-tlsmod14a.c: Likewise.
46345         * elf/tst-tlsmod15b.c: Likewise.
46346         * elf/tst-tlsmod16a.c: Likewise.
46347         * elf/tst-tlsmod16b.c: Likewise.
46348         * elf/tst-tlsmod7.c: Likewise.
46349         * elf/tst-tlsmod8.c: Likewise.
46350         * elf/tst-tlsmod9.c: Likewise.
46351         * gmon/gmon.c: Likewise.
46352         * grp/fgetgrent_r.c: Likewise.
46353         * grp/putgrent.c: Likewise.
46354         * hurd/fopenport.c: Likewise.
46355         * include/libc-symbols.h: Likewise.
46356         * include/tls.h: Likewise.
46357         * intl/gettextP.h: Likewise.
46358         * intl/loadinfo.h: Likewise.
46359         * locale/global-locale.c: Likewise.
46360         * locale/localeinfo.h: Likewise.
46361         * mach/devstream.c: Likewise.
46362         * malloc/arena.c: Likewise.
46363         * malloc/set-freeres.c: Likewise.
46364         * misc/err.c: Likewise.
46365         * misc/getttyent.c: Likewise.
46366         * misc/mntent_r.c: Likewise.
46367         * posix/getopt.c: Likewise.
46368         * posix/wordexp.c: Likewise.
46369         * pwd/fgetpwent_r.c: Likewise.
46370         * resolv/Versions: Likewise.
46371         * resolv/res_hconf.c: Likewise.
46372         * shadow/fgetspent_r.c: Likewise.
46373         * shadow/putspent.c: Likewise.
46374         * stdio-common/printf_fphex.c: Likewise.
46375         * stdio-common/tmpfile.c: Likewise.
46376         * stdlib/abort.c: Likewise.
46377         * stdlib/fmtmsg.c: Likewise.
46378         * sunrpc/auth_unix.c: Likewise.
46379         * sunrpc/clnt_perr.c: Likewise.
46380         * sunrpc/clnt_tcp.c: Likewise.
46381         * sunrpc/clnt_udp.c: Likewise.
46382         * sunrpc/clnt_unix.c: Likewise.
46383         * sunrpc/openchild.c: Likewise.
46384         * sunrpc/svc_simple.c: Likewise.
46385         * sunrpc/svc_tcp.c: Likewise.
46386         * sunrpc/svc_udp.c: Likewise.
46387         * sunrpc/svc_unix.c: Likewise.
46388         * sunrpc/xdr.c: Likewise.
46389         * sunrpc/xdr_array.c: Likewise.
46390         * sunrpc/xdr_rec.c: Likewise.
46391         * sunrpc/xdr_ref.c: Likewise.
46392         * sunrpc/xdr_stdio.c: Likewise.
46393
46394 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46395
46396         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46397
46398 2011-07-03  Andreas Jaeger  <aj@suse.de>
46399
46400         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46401         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46402         regenerate with gen-libm-tests.pl.
46403
46404 2010-05-12  Petr Baudis  <pasky@suse.cz>
46405
46406         [BZ #11589]
46407         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46408         around j0() zero points by switching to j1().
46409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46410         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46413
46414 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46415
46416         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46417         instead of 0.
46418         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46419         instead of 0.
46420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46421         Patch in part by Pavel Roskin <proski@gnu.org>.
46422
46423         [BZ #13138]
46424         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46425         realloc.
46426         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46427         Free memory block if necessary.
46428
46429         [BZ #12847]
46430         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46431         be NULL.  Don't lock in this case.
46432
46433 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46434
46435         * elf/elf.h (ELFOSABI_GNU): New macro.
46436         (ELFOSABI_LINUX): Define to that.
46437
46438 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46439
46440         * string/strncat.c (strncat): Undef the symbol in case it has been
46441         defined in bits/string.h.
46442
46443 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46444
46445         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46446
46447         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46448         link map.
46449
46450 2011-08-17  Andreas Jaeger  <aj@suse.de>
46451
46452         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46453
46454 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46455             Ian Lance Taylor  <iant@google.com>
46456
46457         * math/libm-test.inc (lround_test): New testcase.
46458         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46459
46460 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46461
46462         * Makefile: Remove support for automatic cvs check-ins.
46463         * Makerules: Likewise.
46464         * config.make.in: Likewise.
46465         * configure.in: Likewise.
46466         * intl/Makefile: Likewise.
46467         * locale/Makefile: Likewise.
46468         * po/Makefile: Likewise.
46469         * posix/Makefile: Likewise.
46470         * sysdeps/gnu/Makefile: Likewise.
46471         * sysdeps/mach/hurd/Makefile: Likewise.
46472         * sysdeps/sparc/sparc32/Makefile: Likewise.
46473
46474         [BZ #13118]
46475         * posix/Makefile (bug-regex32-ENV): Define.
46476         Patch by John Stanley <jpsinthemix@verizon.net>.
46477
46478         * misc/Makefile (headers): Add bits/select2.h.
46479         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46480         * misc/bits/select2.h: New file.
46481         * include/bits/select2.h: New file.
46482         * debug/Makefile (routines): Add fdelt_chk.
46483         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46484         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46485         FD_ISSET.
46486         * debug/fdelt_chk.c: New file.
46487
46488         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46489         * wcsmbs/test-wmemcmp.c: Likewise.
46490         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46491         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46492
46493 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46494
46495         * string/Makefile (strop-tests): Add memcmp.
46496         * string/test-wmemcmp.c: New file.
46497         * string/test-memcmp.c: Add wmemcmp support.
46498
46499 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46500
46501         [BZ #13153]
46502         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46503         2011-07-19 change.
46504
46505         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46506         garbage value in a __mach_port_mod_refs call in the cases of the
46507         task-self and thread-self ports.
46508
46509 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46510
46511         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46512
46513 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46514
46515         * elf/dl-load.c (lose): Check for non-null L.
46516
46517 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46518
46519         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46520
46521         * elf/dl-libc.c (dlerror_run): Pass back error code from
46522         dl_catch_error.
46523
46524         [BZ #13123]
46525         * elf/dl-load.c (lose): Free l_origin if it is valid.
46526
46527         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46528         names.
46529         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46530         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46531         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46532         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46533         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46534         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46535
46536 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46537
46538         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46539         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46540         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46541         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46542         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46543         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46544         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46545         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46546         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46547         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46548
46549 2011-08-15  Alan Modra  <amodra@gmail.com>
46550
46551         [BZ #13092]
46552         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46553         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46554         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46555         ppc_mcount to static-only-routines.
46556         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46557         __mcount_internal.
46558         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46559         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46560
46561 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46562
46563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46564         for finite and infinity parameters.
46565
46566 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46567
46568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46569         and add nop instructions for throughput optimization.
46570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46571
46572 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46573
46574         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46575         aligned copy for power7 with vector-scalar instructions.
46576         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46577
46578 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46579
46580         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46581         AVX check.
46582
46583 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46584
46585         [BZ #13144]
46586         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46587         last change.
46588
46589 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46590
46591         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46592         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46593         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46594         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46595         clock_gettime.
46596
46597 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46598
46599         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46600         Forgot to demangle the pointer.
46601
46602         * sysdeps/i386/sysdep.h: Define atom_text_section.
46603         * sysdeps/x86_64/sysdep.h: Likewise.
46604         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46605         section with atom_text_section.
46606         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46607         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46608         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46609         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46610         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46611
46612         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46613         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46614         already be defined.  Change to take two parameters and don't assign
46615         result to variable.  Adjust all users.
46616         Define INTERNAL_GETTIME if not already defined.
46617         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46618         call.
46619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46620         HAVE_CLOCK_GETTIME_VSYSCALL.
46621         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46622
46623         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46624         gettimeofday vsyscall, just use time.
46625
46626 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46627
46628         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46629         <errno.h>.
46630
46631 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46632
46633         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46634         syscall on x86-64.
46635         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46636         syscall.
46637         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46639         syscall if possible.
46640
46641 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46642
46643         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46644         e_ident.  Don't pass to find_mapsXX.
46645         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46646
46647 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46648
46649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46650         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46651         * sysdeps/x86_64/multiarch/strchr.S: Update.
46652         Check bit_slow_BSF bit.
46653         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46654         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46655         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46656
46657 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46658
46659         [BZ #13134]
46660         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46661         before glibc 2.15.
46662         (tryshell): Define.
46663         (__spawni): Change last parameter to be flag.  Test
46664         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46665         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46666         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46667         * posix/spawni.c: Likewise.
46668         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46669         * posix/spawnp.c: Likewise.  Change normal version to use
46670         SPAWN_XFLAGS_USE_PATH.
46671         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46672         SPAWN_XFLAGS_TRY_SHELL.
46673
46674         [BZ #13150]
46675         * posix/glob.h: Remove gcc 1.x support.
46676
46677         [BZ #13068]
46678         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46679
46680 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46681
46682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46683         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46684         strrchr-sse2-bsf
46685         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46686         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46687         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46688         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46689         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46690         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46691
46692 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46693
46694         * sysdeps/x86_64/wcscmp.S: New file.
46695
46696         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46697         wcscmp-c wcscmp-sse2
46698         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46699         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46700         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46701         * wcsmbs/wcscmp.c: Allow renaming.
46702
46703 2011-09-05  David S. Miller  <davem@davemloft.net>
46704
46705         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46706         stack slot, rather than the struct return pointer slot.
46707         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46708         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46710         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46711
46712 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46713
46714         * po/ja.po: Update from translation team.
46715
46716         [BZ #13144]
46717         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46718         kernel in 64-bit binaries.
46719
46720 2011-09-01  David S. Miller  <davem@davemloft.net>
46721
46722         * elf/elf.h (HWCAP_SPARC_*): Move to..
46723         * sysdeps/sparc/sysdep.h: this new file and add new values.
46724         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46725         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46726         _DL_HWCAP_COUNT to 24.
46727         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46728         entries.
46729         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46730         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46731         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46733         instead of magic constants.
46734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46735
46736 2011-08-31  David S. Miller  <davem@davemloft.net>
46737
46738         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46740         Reimplement to do errno handling inline.
46741         (SYSCALL_ERROR_HANDLER): New macro.
46742         (__SYSCALL_STRING): Do not do errno handling in asm.
46743         (__CLONE_SYSCALL_STRING): Delete.
46744         (__INTERNAL_SYSCALL_STRING): Delete.
46745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46746         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46747         (PSEUDO): Reimplement to do errno handling inline.
46748         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46749         (SYSCALL_ERROR_HANDLER): New macro.
46750         (__SYSCALL_STRING): Do not do errno handling in asm.
46751         (__CLONE_SYSCALL_STRING): Delete.
46752         (__INTERNAL_SYSCALL_STRING): Delete.
46753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46754         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46755         i386.
46756         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46757         (inline_syscall*): Add 'err' argument.
46758         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46759         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46760         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46761         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46762
46763         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46764         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46765
46766 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46767
46768         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46769
46770 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46771
46772         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46773         directive.
46774
46775 2011-08-24  David S. Miller  <davem@davemloft.net>
46776
46777         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46778
46779 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46780
46781         * elf/Makefile: Add rules to build and run unload8 test.
46782         * elf/unload8.c: New file.
46783         * elf/unload8mod1.c: New file.
46784         * elf/unload8mod1x.c: New file.
46785         * elf/unload8mod2.c: New file.
46786         * elf/unload8mod3.c: New file.
46787
46788         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46789         it wasn't used.
46790
46791 2011-08-23  David S. Miller  <davem@davemloft.net>
46792
46793         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46794         subtract stack bias.
46795         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46796         %sp not %fp in calculations.
46797         (_JMPBUF_UNWINDS_ADJ): Likewise.
46798
46799         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46800         (aio_suspend): Call it to force an exception region around the
46801         AIO_MISC_WAIT() invocation.
46802
46803 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46804
46805         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46806         backslash.
46807
46808 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46809
46810         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46811         protection macro.
46812         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46813         and <dl-machine.h>.
46814         (Elf64_FuncDesc): Remove.
46815
46816 2011-08-22  David S. Miller  <davem@davemloft.net>
46817
46818         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46819         sigaltstack check, add missing cfi directives.
46820         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46821         missing cfi directives, and sigaltstack handling.
46822
46823 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46824
46825         [BZ #11724]
46826         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46827         object is seen twice.
46828         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46829
46830         * elf/Makefile (distribute): Add tst-initorder2.c.
46831         (tests): Add tst-initorder2.
46832         (modules-names): Add tst-initorder2a tst-initorder2b
46833         tst-initorder2c tst-initorder2d.  Add rules to build them.
46834         ($(objpfx)tst-initorder2.out): New rule.
46835         * elf/tst-initorder2.c: New file.
46836         * elf/tst-initorder2.exp: New file.
46837
46838 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46839
46840         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46841
46842         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46843         dependencies back to end of function.
46844
46845         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46846         $(elfobjdir)/ld.so.
46847
46848 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46849
46850         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46851         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46853         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46854         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46855         of __vdso_gettimeofday.
46856         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46857         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46858         attribute_hidden.
46859         (_libc_vdso_platform_setup): Remove initialization of
46860         __vdso_gettimeofday and __vdso_time.
46861
46862 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46863
46864         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46865         and fgetc_unlocked.
46866         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46867         getc_unlocked.
46868
46869         * elf/dl-open.c (add_to_global): Report additions to the global scope
46870         for LD_DEBUG=scopes.
46871         (dl_open_worker): Also print scope of newly loaded dependencies.
46872         (_dl_show_scope): Indicate if there is no scope.
46873
46874         [BZ #13114]
46875         * stdio-common/Makefile (tests): Add bug24.
46876         * stdio-common/bug24.c: New file.
46877
46878 2011-08-19  Andreas Jaeger  <aj@suse.de>
46879
46880         [BZ #13114]
46881         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46882         non-existant file when using close-on-exec mode.
46883
46884 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46885
46886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46887         the very first instruction.
46888
46889         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46890         the CFI state in the end.
46891         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46892         inclusion of dl-trampoline.h.
46893         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46894
46895 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46896
46897         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46898         expectations for long double.
46899
46900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46901         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46902
46903 2011-08-14  David S. Miller  <davem@davemloft.net>
46904
46905         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46906         artificual limit depends upon the system page size.
46907
46908 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46909
46910         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46911         * resolv/Makefile: Define CFLAGS-libresolv.
46912
46913 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46914
46915         * nss/makedb.c (compute_tables): Make variables used in nested
46916         function static.
46917
46918 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46919
46920         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46921         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46922         if buffer was too small.
46923
46924         * elf/pldd.c (main): Attach to all threads in the process.
46925         Rewrite /proc handling to use *at functions.
46926
46927 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46928
46929         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46930         specifies first scope to show.
46931         (dl_open_worker): Update callers.  Move printing scope of new
46932         object to before the relocation.
46933         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46934         * sysdeps/generic/ldsodefs.h: Update declaration.
46935
46936         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46937         string for the scope number.
46938
46939 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46940
46941         * nscd/servicescache.c (cache_addserv): Make sure written is always
46942         initialized.
46943
46944 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46945
46946         * sysdeps/i386/i486/bits/atomic.h
46947         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46948         statement expression, so as to suppress "set but not used" warning.
46949         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46950
46951         * string/strncat.c (STRNCAT): Use prototype definition.
46952
46953         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46954         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46955         -Iprograms here.
46956         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46957         (localedef-modules): Add localedef.
46958         (locale-modules): Add locale.
46959
46960         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46961         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46962         to avoid a warning.
46963
46964 2011-08-14  David S. Miller  <davem@davemloft.net>
46965
46966         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46967         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46968
46969 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46970
46971         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46972         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46973         * elf/rtld.c (dl_main): Set l_name of vDSO.
46974         Call _dl_show_scope when DL_DEBUG_SCOPES.
46975         (process_dl_debug): Recognize scopes flag and also set it for all.
46976         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46977         Declare _dl_show_scope.
46978
46979         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46980         (do_dlopen): Pass caller_dlopen to dl_open.
46981         (__libc_dlopen_mode): Initialize caller_dlopen.
46982
46983         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46984         of libc.  Make tolower call locale-independent.  Optimize a bit by
46985         using isdigit instead of isalnum.
46986         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46987
46988 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46989
46990         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46991         was a dependency or dynamically loaded.
46992
46993 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46994
46995         * intl/l10nflist.c: Allow architecture-specific pop function.
46996         * sysdeps/x86_64/l10nflist.c: New file.
46997
46998         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46999         classification.
47000
47001 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47002
47003         * include/dirent.h: Add libc_hidden_proto for scandirat and
47004         scandirat64.  Don't declare __scandirat64.
47005         * dirent/scandirat.c: Add libc_hidden_def.
47006         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47007         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47008
47009 2011-08-10  David S. Miller  <davem@davemloft.net>
47010
47011         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47012         enum.
47013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47014         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47016
47017 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47018
47019         * Versions.def [libc]: Add GLIBC_2.15.
47020         * dirent/Makefile (routines): Add scandirat and scandirat64.
47021         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47022         GLIBC_2.15.
47023         * dirent/dirent.h: Declare scandirat and scandirat64.
47024         * dirent/scandirat.c: New file.
47025         * dirent/scandirat64.c: New file.
47026         * sysdeps/wordsize-64/scandirat.c: New file.
47027         * sysdeps/wordsize-64/scandirat64.c: New file.
47028         * dirent/opendir.c: Define opendirat.
47029         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47030         using scandirat.
47031         * dirent/scandir64.c: Adjust for scandir.c change.
47032         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47033         __scandirat64, and __scandir_cancel_handler.
47034         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47035         additional parameter and use openat instead of open (outside of ld.so).
47036         Add new __opendir as wrapper around __opendirat.
47037         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47038         here without requiring old scandirat implementation.
47039
47040 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47041
47042         * dirent/scandir.c (cancel_handler): Renamed to
47043         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47044         defined.  Adjust users.
47045         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47046         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47047
47048 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47049
47050         * string/test-string.h (IMPL): Use __STRING to expand name and then
47051         stringify it.
47052
47053         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47054         of cleanups.
47055
47056 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47057
47058         * string/Makefile: Update.
47059         (strop-tests): Append strncat.
47060         * string/test-wcscmp.c: New file.
47061         New comprehensive test for wcscmp.
47062         * string/test-strcmp.c: Update.
47063         (WIDE): New define.
47064
47065 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47066
47067         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47068         line.
47069
47070 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47071
47072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47073         encoding to ACE if AI_IDN.
47074
47075 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47076
47077         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47078         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47079
47080 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47081
47082         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47083         Fix overflow bug in strncat.
47084         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47085
47086         * string/test-strncat.c: Update.
47087         Add new tests for checking overflow bugs.
47088
47089 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47090
47091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47092         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47093         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47094         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47095         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47096         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47097         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47098         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47099         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47100
47101         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47102         (USE_AS_STRCAT): Define.
47103         Add strcat and strncat support.
47104         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47105
47106 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47107
47108         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47109         __n bigger than INT_MAX+1.
47110         (__strncmp_g): Likewise.
47111
47112 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47113
47114         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47115         * libio/stido.h: Likewise.
47116
47117         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47118         (AF_NFC): Define.
47119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47120         (AF_NFC): Define.
47121
47122         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47123         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47124         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47125         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47126         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47127
47128         [BZ #13021]
47129         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47130         installed.
47131
47132         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47133         typo.
47134         (_dl_x86_64_save_sse): Likewise.
47135
47136 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47137
47138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47139         OSXSAVE.
47140         (_dl_x86_64_save_sse): Likewise.
47141
47142         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47143
47144         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47145
47146 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47147
47148         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47149         change.
47150         (_dl_x86_64_save_sse): Use correct AVX check.
47151
47152 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47153
47154         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47155         bug in strncpy/strncat.
47156         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47157
47158 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47159
47160         * string/tester.c (test_strcat): Add tests for different alignments
47161         of source and destination.
47162         (test_strncat): Likewise.
47163
47164 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47165
47166         [BZ #12852]
47167         * posix/glob.c (glob): Check passed in values before using them in
47168         expressions to avoid some overflows.
47169         (glob_in_dir): Likewise.
47170
47171         [BZ #13007]
47172         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47173         check for AVX enablement so that we don't crash with old kernels and
47174         new hardware.
47175         * elf/tst-audit4.c: Add same checks here.
47176         * elf/tst-audit6.c: Likewise.
47177
47178         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47179
47180 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47181
47182         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47183
47184 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47185
47186         * po/cs.po: Update from translation team.
47187         * po/bg.po: Likewise.
47188
47189 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47190
47191         * misc/sys/cdefs.h: Add support for const attribute.
47192         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47193         to gnu_dev_{major,minor,makedev} functions.
47194
47195 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47196
47197         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47198
47199 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47200
47201         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47202         strlen results.
47203
47204 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47205
47206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47207         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47208         register in order to avoid conflicts with the soft frame pointer
47209         being held in r11 when necessary.
47210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47211         (INTERNAL_VSYSCALL_NCS): Likewise.
47212
47213 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47214
47215         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47216         * elf/dl-fini.c (_dl_fini): Adjust caller.
47217         * elf/dl-close.c (_dl_close_worker): Likewise.
47218         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47219
47220 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47221
47222         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47223         "aux_cache->nlibs < 0".
47224
47225         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47226         in the reload-count case.
47227
47228 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47229
47230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47231         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47232         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47233         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47234         * sysdeps/x86_64/multiarch/strcat.S: New file.
47235         * sysdeps/x86_64/multiarch/strncat.S: New file.
47236         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47237         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47238         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47239         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47240         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47241         (USE_AS_STRCAT): Define.
47242         Add strcat and strncat support.
47243         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47244         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47245         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47246         * string/strncat.c: Update.
47247         (USE_AS_STRNCAT): Define.
47248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47249         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47250         and i7.
47251         * sysdeps/x86_64/multiarch/init-arch.h
47252         (bit_Prefer_PMINUB_for_stringop): New.
47253         (index_Prefer_PMINUB_for_stringop): Likewise.
47254         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47255         bit_Prefer_PMINUB_for_stringop.
47256
47257 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47258
47259         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47260         buffer64.
47261         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47262         of casting of buffer.
47263         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47264         buffer32 and buffer64.
47265         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47266         writes instead of casting of buffer.
47267         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47268         buffer32.
47269         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47270         casting of buffer.
47271
47272 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47273
47274         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47275
47276 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47277
47278         * nscd/nscd.c (termination_handler): Don't do anything for a database
47279         if it has not yet been initialized.
47280
47281 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47282
47283         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47284
47285 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47286
47287         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47288
47289 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47290
47291         * po/nl.po: Update from translation team.
47292         * po/sv.po: Likewise.
47293
47294 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47295
47296         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47297         now disallowed by GCC.
47298
47299         * configure.in (use-default-link): Default to yes if a test -shared
47300         link meets our qualifications.
47301         * configure: Regenerated.
47302
47303         * config.make.in (output-format): New variable.
47304         * configure.in: Check for ld --print-output-format support.
47305         * configure: Regenerated.
47306         * Makerules ($(common-objpfx)format.lds)
47307         [$(output-format) != unknown]: Just use $(output-format),
47308         instead of the linker-script munging.
47309
47310 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47311
47312         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47313         of $(common-objpfx)shlib.lds.
47314         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47315
47316         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47317         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47318
47319         * configure.in (-z relro check): Adjust test code to add a large
47320         writable data section after it.
47321         * configure: Regenerated.
47322
47323 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47324
47325         * configure.in (-z relro check): Fix test code to make the variable
47326         truly const.
47327         * configure: Regenerated.
47328
47329 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47330
47331         * nscd/nscd.h (struct traced_file): Define.
47332         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47333         elements.  Add traced_files.
47334         (inotify_fd): Declare.
47335         (register_traced_file): Declare.
47336         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47337         (inotify_fd): Export.
47338         (resolv_conf_descr): Remove.
47339         (nscd_init): Move inotify descriptor creation to main.
47340         Don't register files for notification here.
47341         (register_traced_file): New function.
47342         (invalidate_cache): Don't use reset_res to determine whether to call
47343         res_init, go through the list of registered files.
47344         (main_loop_poll): The inotify descriptors are now stored in the
47345         structures for the traced files.
47346         (main_loop_epoll): Likewise
47347         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47348         to __nss_disable_nscd.
47349         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47350         for a database anymore.  Check the records for all the registered
47351         files instead.
47352         * nss/Makefile (libnss_files-routines): Add files-init.
47353         (libnss_db-routines): Add db-init.
47354         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47355         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47356         * nss/nss_db/db-init.c: New file.
47357         * nss/nss_files/files-init.c: New file.
47358         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47359         __nss_lookup_function.
47360         (__nss_lookup_function): Call nss_load_library.
47361         (nss_load_all_libraries): New function.
47362         (__nss_disable_nscd): Take parameter with callback function for files
47363         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47364         used for the cached services.
47365         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47366         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47367         options for features to all the files in nscd.
47368
47369         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47370
47371 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47372
47373         * csu/elf-init.c (__libc_csu_init): Comment typo.
47374
47375 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47376
47377         * po/pl.po: Update from translation team.
47378         * po/ja.po: Likewise.
47379         * po/ru.po: Likewise.
47380         * po/ko.po: Likewise.
47381         * po/fr.po: Likewise.
47382
47383 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47384
47385         * configure.in (.ctors/.dtors header and trailer check):
47386         Use an empirical test on a built program.
47387         * configure: Regenerated.
47388
47389         * configure.in (-z relro check): Use an empirical test on a built DSO.
47390         Detect, but do not require, on ia64.
47391         * configure: Regenerated.
47392
47393         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47394         Update tests that use readelf to use $READELF instead.
47395         * configure: Regenerated.
47396
47397 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47398
47399         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47400         if the result is not used.
47401
47402 2011-07-05  Andreas Jaeger  <aj@suse.de>
47403
47404         [BZ#9696]
47405         * stdlib/tst-strtod.c: Add testcase.
47406
47407 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47408
47409         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47410         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47411         The latter has a higher limit.  Take additional parameter to pass to
47412         the new function.
47413         (__pathconf): Pass file to __statfs_link_max.
47414         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47415         __statfs_link_max.
47416         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47417         __statfs_link_max.
47418
47419         [BZ #12868]
47420         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47421         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47422         Handle Lustre.
47423         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47424         (__statfs_filesize_max): Likewise.
47425         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47426
47427 2011-07-05  Andreas Jaeger  <aj@suse.de>
47428
47429         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47430
47431 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47432
47433         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47434         `status' variable.
47435         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47436         Likewise.
47437
47438 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47439
47440         * Makefile (strop-tests): Add strncat.
47441         * string/test-strncat.c: New file.
47442
47443 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47444
47445         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47446
47447 2011-06-21  Andreas Jaeger  <aj@suse.de>
47448
47449         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47450         Copy rule from iconvdata/Makefile.
47451
47452 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47453
47454         [BZ #12922]
47455         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47456         but no long options are defined, just return 'W'.
47457
47458 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47459
47460         [BZ #9696]
47461         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47462
47463 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47464
47465         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47466         netgroups to read.
47467         (innetgr): Likewise.
47468
47469 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47470
47471         * config.make.in (install_root): Default to $(DESTDIR).
47472
47473 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47474
47475         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47476
47477 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47478
47479         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47480
47481         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47482         containing directory rather than embedding absolute directory names.
47483
47484         * scripts/check-local-headers.sh: Rewritten using awk.
47485         Match by word, not by line.  Print error messages for matches.
47486         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47487
47488         * Makerules [shlib-lds-flags empty]:
47489         ($(common-objpfx)libc_pic.opts): New target.
47490         ($(common-objpfx)libc_pic.os.clean): New target.
47491         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47492
47493         * config.make.in (OBJCOPY): New variable.
47494         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47495         * configure: Regenerated.
47496
47497         * config.make.in (use-default-link): New variable.
47498         * configure.in (use_default_link): Grok --with-default-link to set it.
47499         * configure: Regenerated.
47500         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47501         (shlib-lds, shlib-lds-flags): Define to empty.
47502
47503         * Makerules (shlib-lds): New variable.
47504         (shlib-lds-flags): New variable.
47505         (build-shlib, build-moduile, build-module-asneeded): Use it.
47506         ($(common-objpfx)libc.so): Use $(shlib-lds).
47507         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47508         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47509
47510         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47511         DT_FLAGS/DT_FLAGS_1 with zero flags.
47512
47513         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47514         linker script munging.
47515
47516 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47517
47518         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47519         as 128-bit value.
47520         * crypt/sha512.c (sha512_process_block): Perform total addition using
47521         128-bit if possible.
47522         (__sha512_finish_ctx): Likewise.
47523         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47524         as 64-bit value.
47525         * crypt/sha256.c (SWAP64): Define.
47526         (sha256_process_block): Perform total addition using 64-bit if
47527         possible.
47528         (__sha256_finish_ctx): Likewise.
47529
47530 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47531
47532         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47533         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47534         * nscd/hstcache.c (cache_addhst): Likewise.
47535         * nscd/grpcache.c (cache_addgr): Likewise.
47536         * nscd/aicache.c (addhstaiX): Likewise
47537         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47538
47539 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47540
47541         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47543         * nscd/hstcache.c (cache_addhst): Likewise.
47544         * nscd/grpcache.c (cache_addgr): Likewise.
47545         * nscd/aicache.c (addhstaiX): Likewise
47546
47547 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47548
47549         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47550         domain only when needed.
47551
47552 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47553
47554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47555         is always restored.
47556
47557 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47558
47559         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47560         are re-adding the entry.
47561         * nscd/servicescache.c (cache_addserv): Likewise.
47562
47563 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47564
47565         * sysdeps/generic/dl-irel.h: fix protection against multiple
47566         inclusions.
47567         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47568
47569 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47570
47571         [BZ #12935]
47572         * malloc/memusage.sh: Fix quoting in message.
47573         * debug/xtrace.sh: Likewise.
47574
47575         * configure.in: Remove support for --experimental-malloc option, make
47576         it the default.
47577         * config.make.in: Likewise.
47578         * malloc/Makefile: Likewise.
47579
47580 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47581
47582         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47583         two-byte characters.
47584
47585 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47586
47587         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47588         AC_CACHE_CHECK invocation.
47589         * configure: Regenerated.
47590
47591         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47592
47593 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47594
47595         [BZ #12350]
47596         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47597         bit from old_res_options.
47598
47599         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47600
47601         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47602         value type for setfct.
47603
47604 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47605
47606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47607         __gettimeofday instead of gettimeofday.
47608
47609 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47610
47611         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47612
47613 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47614
47615         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47616
47617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47618         info.
47619
47620 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47621
47622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47623         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47624         strcpy-sse2-unaligned strncpy-sse2-unaligned
47625         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47626         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47627         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47628         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47629         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47630         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47631         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47632         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47633         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47634         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47635         (STRCPY): Support SSE2 and SSSE3 versions.
47636
47637 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47638
47639         [BZ #12874]
47640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47641         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47642         kernels which artificially limit size of requests.
47643
47644 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47645
47646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47647         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47648         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47649         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47650         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47651         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47652         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47653         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47654         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47655         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47656         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47657         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47658         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47659         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47660         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47662         Enable unaligned load optimization for Intel Core i3, i5 and i7
47663         processors.
47664         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47665         Define.
47666         (index_Fast_Unaligned_Load): Define.
47667         (HAS_FAST_UNALIGNED_LOAD): Define.
47668
47669 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47670
47671         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47672
47673 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47674
47675         [BZ #12907]
47676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47677         until it is clear that the information is realy needed.
47678         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47679
47680 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47681
47682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47683
47684 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47685
47686         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47687         /sys/devices/system/cpu/online if it is usable.
47688
47689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47690         reading the information from the /proc filesystem to once a second.
47691
47692 2011-06-21  Andreas Jaeger  <aj@suse.de>
47693
47694         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47695         NULL after inclusion of kernel headers.
47696
47697 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47698
47699         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47700         calls to internal_setent.
47701
47702         [BZ #12885]
47703         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47704         addresses using gethostbyname4_r ignore IPv4 addresses.
47705
47706         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47707         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47708
47709         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47710
47711 2011-06-20  David S. Miller  <davem@davemloft.net>
47712
47713         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47714         inclusions.
47715         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47716
47717         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47718         (elf_irel): Use it.
47719         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47720         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47721         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47722         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47723         * sysdeps/x86_64/dl-irel.h: Likewise.
47724
47725         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47726         * elf/dl-sym.c: Likewise.
47727
47728 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47729
47730         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47731         need to dereference resplen2.
47732
47733 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47734
47735         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47736
47737 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47738
47739         * Makeconfig: Define vardbdir and inst_vardbdir.
47740         * nss/Makefile: Add rules to install db-Makefile.
47741
47742         * nss/nss_db/db-XXX.c: Cleanup.
47743
47744         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47745         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47746         GLIBC_PRIVATE.
47747         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47748         * nss/makedb.c: Implement -g option to specify that value strings
47749         are generated and should not be added to table iterated over for
47750         get*ent calls.
47751         * nss/nss_db/db-initgroups.c: New file.
47752
47753         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47754         interface.
47755
47756         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47757         (internal_getgrouplist): Adjust to name change.
47758         Update use_initgroups_entry if this is not the first call.
47759         * nss/databases.def: Add initgroups entry.
47760
47761         * nss/makedb.c (compute_tables): Check result of multiple hash table
47762         sizes to minimize maximum chain length.
47763
47764 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47765
47766         * Versions.def: Add entry for libnss_db.
47767         * shlib-versions: Likewise.
47768         * nss/Makefile: Add rules to build libnss_db.
47769         * nss/Versions: Add libnss_db information.  Organize libnss_files
47770         entries better.
47771         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47772         makedb progra.  Some minor improvements to generate smaller files.
47773         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47774         here from...
47775         * nss/makedb.c: ...here.
47776         Improve database format to be smaller and require less memory at
47777         runtime.
47778         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47779         db anymore.
47780         * nss/nss_db/db-netgrp.c: Likewise.
47781         * nss/nss_db/db-open.c: Likewise.
47782         * nss/nss_files/flies-XXX.x: Adjust comments.
47783         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47784         * nss/nss_files/files-grp.c: Likewise.
47785         * nss/nss_files/files-hosts.c: Likewise.
47786         * nss/nss_files/files-network.c: Likewise.
47787         * nss/nss_files/files-proto.c: Likewise.
47788         * nss/nss_files/files-pwd.c: Likewise.
47789         * nss/nss_files/files-rpc.c: Likewise.
47790         * nss/nss_files/files-service.c: Likewise.
47791         * nss/nss_files/files-sgrp.c: Likewise.
47792         * nss/nss_files/files-spwd.c: Likewise.
47793         * nss/nss_db/db-alias.c: Removed.
47794         * nss/nss_db/dummy-db.h: Removed.
47795
47796 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47797
47798         * nss/makedb.c: Rewritten to not use database library.
47799         * nss/Makefile: Update to build new makedb program.
47800
47801 2011-06-14  Andreas Jaeger  <aj@suse.de>
47802
47803         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47804         memset declaration.
47805
47806 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47807
47808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47809         tmpbuf.
47810
47811 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47812
47813         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47814         * elf/Makefile ($(objpfx)ld.so): Likewise.
47815
47816         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47817         Don't list ld.so twice in dependencies.
47818
47819         * posix/bug-regex31.c: Include <stdlib.h>.
47820
47821         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47822
47823         * nis/nss_compat/compat-spwd.c
47824         (getspent_next_nss_netgr): Remove unused variable.
47825         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47826
47827         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47828         nonmembers" output to use the right array.
47829
47830         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47831
47832         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47833
47834         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47835         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47836         * catgets/gencat.c (read_input_file): Likewise.
47837         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47838
47839         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47840         variable definition inside #if's controlling its use.
47841
47842         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47843
47844         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47845
47846         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47847
47848         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47849         unreachable code.
47850
47851         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47852
47853         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47854         * configure: Regenerated.
47855
47856         * Makerules: Revert last change.
47857         * elf/Makefile: Likewise.
47858
47859 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47860
47861         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47862         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47863         (reloc-link): Likewise.
47864
47865 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47866
47867         * elf/Makefile: Add rules to build pldd.
47868         * elf/pldd.c: New file.
47869         * elf/pldd-xx.c: New file.
47870
47871 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47872
47873         * version.h: Update for 2.15 development version.
47874
47875 2011-06-07  David S. Miller  <davem@davemloft.net>
47876
47877         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47878         ifuncs.
47879         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47880         elf_machine_lazy_rel): Likewise.
47881         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47883         elf_machine_lazy_rel): Likewise.
47884         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47885         dl_hwcap via passed in argument.
47886         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47887         Likewise.
47888
47889 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47890
47891         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47892
47893 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47894
47895         [BZ #12849]
47896         * manual/fdl-1.1.texi: New file, verbatim from:
47897         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47898         * manual/lgpl-2.1.texi: New file, verbatim from:
47899         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47900         * manual/Makefile (licenses): New variable, list those new file names.
47901         (texis): Use it.
47902         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47903
47904         * manual/fdl.texi: File removed.
47905         * manual/lesser.texi: File removed.
47906         * manual/libc.texinfo (Copying, Documentation License):
47907         Use new @include file names, put @appendix directive before @include.
47908
47909 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47910
47911         [BZ #12841]
47912         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47913         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47914         (mq_open): Add __NTH.
47915
47916 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47917
47918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47919         Assume Intel Core i3/i5/i7 processor if AVX is available.
47920
47921 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47922
47923         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47924         typo.
47925
47926 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47927
47928         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47929         memory.  Use alloca_account.  Fix memory leak when retrying.
47930
47931 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47932
47933         * version.h (RELEASE): Bump for 2.14 release.
47934         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47935
47936         * config.make.in (RANLIB): Remove entry.
47937
47938 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47939
47940         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47941         (libc.pot): Work around missing support for .ksh extension in xgettext.
47942
47943         [BZ #12684]
47944         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47945         if both request failed.
47946         (send_dg): In case of server errors clear resplen or *resplen2.
47947
47948         [BZ #12454]
47949         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47950         when there are multiple maps.
47951         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47952         (_dl_fini): Remove test here.
47953
47954         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47955
47956 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47957
47958         [BZ #12350]
47959         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47960         bit from old_res_options.
47961         (gaih_inet): Likewise.
47962
47963         [BZ #11099]
47964         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47965         as signed.
47966
47967         * resolv/res_init.c (res_setoptions): Make the code more compact.
47968
47969         [BZ #11558]
47970         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47971         set RES_USEVC.
47972
47973         [BZ #11634]
47974         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47975
47976         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47977
47978         [BZ #11781]
47979         * malloc/malloc.h: Declare malloc hook variables as volatile.
47980
47981         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47982         in last patch.
47983
47984         [BZ #11799]
47985         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47986         raise in the comment.
47987         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47988         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47989         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47990
47991 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47992
47993         [BZ #12811]
47994         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47995         grow the buffers more if it already has to be sufficient.
47996         (build_wcs_upper_buffer): Likewise.
47997         * posix/regexec.c (check_matching): Likewise.
47998         (clean_state_log_if_needed): Likewise.
47999         (extend_buffers): Don't enlarge buffers beyond size of the input
48000         buffer.
48001         Patches mostly by Emil Wojak <emil@wojak.eu>.
48002         * posix/bug-regex32.c: New file.
48003         * posix/Makefile (tests): Add bug-regex32.
48004
48005         * locale/findlocale.c (_nl_find_locale): Return right away if
48006         _nl_explode_name failed.
48007         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48008
48009         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48010
48011         * debug/xtrace.sh: Unify messages.
48012         * malloc/memusage.sh: Likewise.
48013
48014         [BZ #12813]
48015         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48016         time symbol from vDSO.  Substitute with vsyscall if not available.
48017         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48018         __vdso_time.
48019
48020         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48021         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48022         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48023         Add sendmmsg and internal_sendmmsg.
48024         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48025         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48026         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48027
48028         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48029         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48030         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48031
48032 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48033
48034         [BZ #12813]
48035         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48036         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48037         available.
48038         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48039         __vdso_getcpu.
48040
48041         [BZ #12814]
48042         * iconvdata/Makefile (tests): Add bug-iconv9.
48043         * iconvdata/bug-iconv9.c: New file.
48044
48045 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48046
48047         [BZ #12814]
48048         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48049
48050 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48051
48052         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48053         (struct user_regs_struct): Change intcs field back to cs.
48054
48055 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48056
48057         * po/ja.po: Update from translation team.
48058
48059 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48060
48061         [BZ #12795]
48062         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48063         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48064
48065 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48066
48067         * stdlib/longlong.h: Update from GCC.
48068
48069 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48070
48071         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48072         parameter name.
48073         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48074         Add parameter name.
48075         (__sysconf): Pass it down.
48076
48077 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48078
48079         [BZ #12671]
48080         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48081         some situations.
48082         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48083         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48084         add in in __libc_use_alloca calls.  Adjust callers.
48085         (glob): Use malloc in some situations.
48086
48087         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48088         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48089         pltexit.
48090
48091 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48092
48093         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48094         and CLOCK_BOOTTIME_ALARM.
48095
48096         [BZ #12782]
48097         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48098         is returned.
48099
48100         * string/_strerror.c (__strerror_r): Print negative errors as signed
48101         numbers.
48102
48103         [BZ #12777]
48104         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48105         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48106         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48107
48108         * configure.in: Fix typo in redirection and correct removal of test
48109         files in two cases.
48110
48111         [BZ #12788]
48112         * locale/setlocale.c (new_composite_name): Fix test to check for
48113         identical name of all categories.
48114
48115         [BZ #12792]
48116         * libio/filedoalloc.c (local_isatty): New function.
48117         (_IO_file_doallocate): Use local_isatty.
48118         * stdio-common/perror.c (perror): In case a new stream is used
48119         forward the stream error.
48120         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48121         error flag.
48122
48123 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48124
48125         [BZ #11869]
48126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48127         alloca.
48128         * include/alloca.h (extend_alloca_account): Define.
48129
48130         [BZ #11857]
48131         * posix/regex.h: Fix comments with documentation of user-accessible
48132         fields after compilation and describe correct free'ing of pattern
48133         after re_compile_pattern.
48134         Patch by Reuben Thomas <rrt@sc3d.org>.
48135
48136 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48137
48138         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48139         and -mno-altivec to prevent the compiler from using Altivec and/or
48140         VSX instructions when the corresponding registers are not available.
48141
48142 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48143
48144         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48145
48146 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48147
48148         * libio/freopen.c (freopen): Use __dup2, not dup2.
48149         * libio/freopen64.c (freopen64): Likewise.
48150
48151 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48152
48153         [BZ #12775]
48154         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48155         * math/Makefile (tests): Add test-powl.
48156         (CFLAGS-test-powl.c): Define.
48157         * math/test-powl.c: New file.
48158
48159 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48160
48161         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48162
48163 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48164
48165         [BZ #11837]
48166         * iconvdata/gb18030.c: Update to GB18020-2005.
48167
48168 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48169
48170         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48171         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48172         Patch by Aharon Robbins <arnold@skeeve.com>.
48173
48174         [BZ #11892]
48175         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48176         on the stack.
48177
48178         [BZ #11895]
48179         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48180         through underflows.
48181
48182         [BZ #12766]
48183         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48184         point to strings before performing equality test for error_one_per_line
48185         mode.
48186
48187         [BZ #11697]
48188         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48189
48190         [BZ #11820]
48191         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48192         (struct user_fpregs_struct): Avoid __uint*_t types.
48193
48194         [BZ #6420]
48195         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48196         symbol info.  Use it instead of calling _dl_addr locally.
48197         (lock_and_info): New function.
48198         (tr_freehook): Call lock_and_info and pass symbol info as additional
48199         parameter to tr_where.
48200         (tr_mallochook): Likewise.
48201         (tr_reallochook): Likewise.
48202         (tr_memalignhook): Likewise.
48203
48204         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48205         used and couldn't be at all thread-safe.
48206
48207 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48208
48209         * libio/freopen.c (freopen): Don't close old file descriptor
48210         before the new one is opened.  Instead dup the new file descriptor
48211         to the old one after the new stream is created.
48212         * libio/freopen64.c (freopen64): Likewise.
48213         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48214         * libio/fileops.c (_IO_new_file_close_it): Handle new
48215         _IO_FLAGS2_NOCLOSE flag.
48216         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48217         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48218         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48219         _IO_FLAGS2_NOCLOSE flag.
48220         * include/unistd.h: Add hidden_proto for dup3.
48221         Define __have_dup3.
48222         * io/dup3.c: Define hidden symbol.
48223         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48224
48225         [BZ #7101]
48226         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48227         when an incomplete long option is used.
48228         * posix/tst-getopt_long1.c: New file.
48229         * posix/Makefile (tests): Add tst-getopt_long1.
48230
48231         [BZ #10138]
48232         * scripts/config.guess: Update from autoconf-2.68.
48233         * scripts/config.sub: Likewise.
48234
48235         [BZ #10157]
48236         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48237         tests into ...
48238         (has_cpuclock): ...this.  New function.
48239         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48240         macro here based on has_cpuclock code.
48241
48242         [BZ #10149]
48243         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48244         First byte (not low byte) is now always NUL.
48245         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48246
48247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48248         Use non-cancelable interfaces.
48249
48250         [BZ #9809]
48251         * locale/iso-639.def: Add entry for Sorani.
48252
48253         [BZ #11901]
48254         * include/stdlib.h: Move include protection to the right place.
48255         Define abort_msg_s.  Declare __abort_msg with it.
48256         * stdlib/abort.c (__abort_msg): Adjust type.
48257         * assert/assert.c (__assert_fail_base): New function.  Majority
48258         of code from __assert_fail.  Allocate memory for __abort_msg with
48259         mmap.
48260         (__assert_fail): Now call __assert_fail_base.
48261         * assert/assert-perr.c: Remove bulk of implementation.  Use
48262         __assert_fail_base.
48263         * include/assert.hL Declare __assert_fail_base.
48264         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48265         mmap.
48266         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48267
48268 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48269
48270         [BZ #11952]
48271         [BZ #12453]
48272         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48273         until all modules are registered in the DTV.
48274         * elf/Makefile: Add rules to build and run tst-tls19.
48275         * elf/tst-tls19.c: New file.
48276         * elf/tst-tls19mod1.c: New file.
48277         * elf/tst-tls19mod2.c: New file.
48278         * elf/tst-tls19mod3.c: New file.
48279         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48280
48281         [BZ #12083]
48282         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48283         correctly.
48284
48285         [BZ #12601]
48286         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48287         two-byte sequence errors.
48288         * iconvdata/Makefile (tests): Add bug-iconv8.
48289         * iconvdata/bug-iconv8.c: New file.
48290
48291         [BZ #12626]
48292         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48293         buf2 definition.
48294
48295         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48296
48297         [BZ #12432]
48298         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48299         (dummy_getcfa): New function.
48300         (init): Get _Unwind_GetCFA address, use dummy if not found.
48301         (backtrace_helper): In recursion check, also check whether CFA changes.
48302         (__backtrace): Completely initialize arg.
48303
48304         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48305         storing incomplete byte sequence in state object.  Avoid testing for
48306         guaranteed too small input if we know there is enough data available.
48307
48308 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48309
48310         * Makeconfig (+link-pie): Indent.
48311         * Rules (binaries-pie): Define if $(have-fpie) and
48312         $(build-shared).
48313         (binaries-shared): Also filter out $(binaries-pie).
48314         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48315         * nscd/Makefile (others-pie): Add nscd.
48316         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48317         ($(objpfx)nscd): Remove command override.
48318         * login/Makefile (others-pie): Add pt_chown.
48319         ($(objpfx)pt_chown): Remove command override.
48320         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48321         remove command overrides.
48322
48323 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48324
48325         * libio/tst_putwc.c: Fix error messages.
48326
48327         [BZ #12724]
48328         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48329         currently writing and seek to current position when not.
48330         * libio/Makefile (tests): Add bug-fclose1.
48331         * libio/bug-fclose1.c: New file.
48332
48333 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48334
48335         [BZ #12511]
48336         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48337         don't set DF_1_NODELETE here.
48338         (do_lookup_x): When entering new entry test for copy relocation
48339         and if necessary set DF_1_NODELETE flag.
48340         * elf/tst-unique4.cc: New file.
48341         * elf/tst-unique4.h: New file.
48342         * elf/tst-unique4lib.cc: New file.
48343         * elf/Makefile: Add rules to build and run tst-unique4.
48344         Patch by Piotr Bury <pbury@goahead.com>.
48345
48346 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48347
48348         [BZ #12052]
48349         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48350
48351         [BZ #12625]
48352         * misc/mntent_r.c (addmntent): Flush the stream after the output
48353
48354         [BZ #12393]
48355         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48356         (is_trusted_path_normalize): Skip initial colon.  Append slash
48357         to empty buffer.  Duplicate is_trusted_path code but allow
48358         constructed patch to be prefix.
48359         (is_dst): Allow $ORIGIN followed by /.
48360         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48361         Correct testing of result of is_trusted_path_normalize
48362         (decompose_rpath): Fix warning.
48363
48364 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48365
48366         [BZ #11257]
48367         * grp/initgroups.c (internal_getgrouplist): When we found the service
48368         list through the initgroups entry in nsswitch.conf do not always
48369         continue on a successful lookup.  Don't always use the
48370         __nss_group_database value if it is set.
48371         * nss/nsswitch.conf (initgroups): Change action for successful db
48372         lookup to continue for compatibility.
48373
48374 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48375
48376         [BZ #11532]
48377         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48378         and CP774 modules.
48379         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48380         and CP774 modules.
48381         * iconvdata/tst-tables.sh: Likewise.
48382         * iconvdata/cp770.c: New file.
48383         * iconvdata/cp771.c: New file.
48384         * iconvdata/cp772.c: New file.
48385         * iconvdata/cp773.c: New file.
48386         * iconvdata/cp774.c: New file.
48387         * iconvdata/testdata/CP770: New file.
48388         * iconvdata/testdata/CP770..UTF8: New file.
48389         * iconvdata/testdata/CP771: New file.
48390         * iconvdata/testdata/CP771..UTF8: New file.
48391         * iconvdata/testdata/CP772: New file.
48392         * iconvdata/testdata/CP772..UTF8: New file.
48393         * iconvdata/testdata/CP773: New file.
48394         * iconvdata/testdata/CP773..UTF8: New file.
48395         * iconvdata/testdata/CP774: New file.
48396         * iconvdata/testdata/CP774..UTF8: New file.
48397
48398         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48399         END CHARMAP line.
48400         * iconvdata/gen-8bit-gap.sh: Likewise.
48401         * iconvdata/gen-8bit.sh: Likewise.
48402
48403         * locale/iso-639.def: Add ary entry.
48404
48405         [BZ #11258]
48406         * locale/C-translit.h.in: Add U20A1 transliteration.
48407
48408         [BZ #12178]
48409         * locale/iso-639.def: Add wae entry.
48410         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48411
48412         [BZ #12545]
48413         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48414         for n.
48415
48416         [BZ #12711]
48417         * locale/C-translit.h.in: Add entry for U20B9.
48418         Patch by pravin.d.s@gmail.com.
48419
48420 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48421
48422         [BZ #12713]
48423         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48424         ENAMETOOLONG use generic getcwd.
48425         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48426         in rtld.  Use *stat64.
48427         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48428         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48429         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48430         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48431         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48432         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48433         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48434         __fstatat64 macros.
48435         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48436         * dirent/rewinddir.c: Add libc_hidden_def.
48437         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48438         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48439
48440         * include/dirent.h (__alloc_dir): Add flags parameter.
48441         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48442         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48443         __alloc_dir.
48444         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48445         from fdopendir if O_CLOEXEC is already set.
48446
48447 2011-03-15  Alan Modra  <amodra@gmail.com>
48448
48449         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48450         l_tls_firstbyte_offset non-zero.  Save padding offset in
48451         l_tls_firstbyte_offset for later use.
48452         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48453         freeing static tls block.
48454
48455 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48456
48457         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48458         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48459         being defined by the kernel headers.
48460
48461 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48462
48463         [BZ #12734]
48464         * resolv/resolv.h: Define RES_NOTLDQUERY.
48465         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48466         no-tld-query and set RES_NOTLDQUERY.
48467         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48468         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48469         modern BIND to search name as TLD unless forbidden.
48470
48471 2011-05-07  Petr Baudis  <pasky@suse.cz>
48472             Ulrich Drepper  <drepper@gmail.com>
48473
48474         [BZ #12393]
48475         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48476         (is_trusted_path): ...to here.
48477         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48478         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48479         using is_trusted_path_normalize() in setuid scripts.
48480
48481 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48482
48483         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48484         __BEGIN/__END_DECLS.
48485
48486 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48487
48488         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48489         NSS_STATUS_NOTFOUND if no record was found.
48490
48491 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48492
48493         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48494         (headers-not-in-tirpc): Remove rpc/netdb.h
48495         * resolv/netdb.h: Revert last change.
48496
48497 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48498
48499         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48500         circular dependency between libgcc.a and libc.a.
48501
48502 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48503
48504         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48505         * nis/Makefile: Don't install rpcsvc/*.
48506         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48507         instead of <rpc/types.h>.
48508         (MAXHOSTNAMELEN): Define.
48509
48510 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48511
48512         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48513
48514 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48515
48516         [BZ #12714]
48517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48518         gethostbyname4_r when IPv6 results are possible.
48519
48520 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48521
48522         [BZ #12723]
48523         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48524         _PC_PIPE_BUF handling.
48525
48526 2011-04-30  Bruno Haible  <bruno@clisp.org>
48527
48528         [BZ #12717]
48529         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48530         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48531         to 'int'.
48532         * inet/getnameinfo.c (getnameinfo): Likewise.
48533
48534 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48535
48536         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48537         to groups setting in database lookup.
48538         * nss/nsswitch.conf: Add initgroups entry.
48539
48540 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48541
48542         [BZ #12685]
48543         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48544         mode string.
48545         Patch by Eric Blake <eblake@redhat.com>.
48546
48547 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48548
48549         * sunrpc/Makefile (need-export-routines): Add svc_run.
48550         (routines): Remove svc_run.
48551         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48552         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48553         * sunrpc/svc_run.c (svc_run): Likewise.
48554         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48555
48556 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48557
48558         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48559         problem in reallocation in last patch.
48560
48561 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48562
48563         * sunrpc/Makefile: Move inclusion of Rules.
48564
48565 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48566
48567         * nss/nss_files/files-initgroups.c: New file.
48568         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48569         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48570         _nss_files_initgroups_dyn.
48571
48572 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48573
48574         * elf/elf.h (R_ARM_IRELATIVE): Define.
48575
48576 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48577
48578         * po/ru.po: Update from translation team.
48579
48580 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48581
48582         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48583         dependencies.
48584
48585 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48586
48587         [BZ #12653]
48588         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48589         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48590         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48591         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48593
48594 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48595
48596         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48597         differing bytes.
48598         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48599         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48600         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48601
48602 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48603
48604         [BZ #12420]
48605         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48606         storing it.
48607         * stdlib/bug-getcontext.c: New file.
48608         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48609
48610 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48611
48612         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48613         instructions into .machine "z9-109".
48614         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48615         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48616
48617 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48618
48619         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48620         between environment variables and auxiliary vector.
48621
48622 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48623
48624         * Makefile: Add rules to build linkobj/libc.so.
48625         * include/libc-symbols.h: Define libc_hidden_nolink.
48626         * include/rpc/auth.h: Mark functions which are to be hidden.
48627         * include/rpc/auth_des.h: Likewise.
48628         * include/rpc/auth_unix.h: Likewise.
48629         * include/rpc/clnt.h: Likewise.
48630         * include/rpc/des_crypt.h: Likewise.
48631         * include/rpc/key_prot.h: Likewise.
48632         * include/rpc/pmap_clnt.h: Likewise.
48633         * include/rpc/pmap_prot.h: Likewise.
48634         * include/rpc/pmap_rmt.h: Likewise.
48635         * include/rpc/rpc_msg.h: Likewise.
48636         * include/rpc/svc.h: Likewise.
48637         * include/rpc/svc_auth.h: Likewise.
48638         * include/rpc/xdr.h: Likewise.
48639         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48640         * nss/Makefile: Likewise.
48641         * sunrpc/Makefile: Don't install headers.  Build library with normal
48642         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48643         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48644         for the compat linking library.  Remove use of INTDEF/INTUSE.
48645         * sunrpc/auth_none.c: Likewise.
48646         * sunrpc/auth_unix.c: Likewise.
48647         * sunrpc/authdes_prot.c: Likewise.
48648         * sunrpc/authuxprot.c: Likewise.
48649         * sunrpc/clnt_gen.c: Likewise.
48650         * sunrpc/clnt_perr.c: Likewise.
48651         * sunrpc/clnt_raw.c: Likewise.
48652         * sunrpc/clnt_simp.c: Likewise.
48653         * sunrpc/clnt_tcp.c: Likewise.
48654         * sunrpc/clnt_udp.c: Likewise.
48655         * sunrpc/clnt_unix.c: Likewise.
48656         * sunrpc/des_crypt.c: Likewise.
48657         * sunrpc/des_soft.c: Likewise.
48658         * sunrpc/get_myaddr.c: Likewise.
48659         * sunrpc/key_call.c: Likewise.
48660         * sunrpc/key_prot.c: Likewise.
48661         * sunrpc/netname.c: Likewise.
48662         * sunrpc/pm_getmaps.c: Likewise.
48663         * sunrpc/pm_getport.c: Likewise.
48664         * sunrpc/pmap_clnt.c: Likewise.
48665         * sunrpc/pmap_prot.c: Likewise.
48666         * sunrpc/pmap_prot2.c: Likewise.
48667         * sunrpc/pmap_rmt.c: Likewise.
48668         * sunrpc/publickey.c: Likewise.
48669         * sunrpc/rpc_cmsg.c: Likewise.
48670         * sunrpc/rpc_common.c: Likewise.
48671         * sunrpc/rpc_dtable.c: Likewise.
48672         * sunrpc/rpc_prot.c: Likewise.
48673         * sunrpc/rpc_thread.c: Likewise.
48674         * sunrpc/rtime.c: Likewise.
48675         * sunrpc/svc.c: Likewise.
48676         * sunrpc/svc_auth.c: Likewise.
48677         * sunrpc/svc_authux.c: Likewise.
48678         * sunrpc/svc_raw.c: Likewise.
48679         * sunrpc/svc_run.c: Likewise.
48680         * sunrpc/svc_simple.c: Likewise.
48681         * sunrpc/svc_tcp.c: Likewise.
48682         * sunrpc/svc_udp.c: Likewise.
48683         * sunrpc/svc_unix.c: Likewise.
48684         * sunrpc/svcauth_des.c: Likewise.
48685         * sunrpc/xcrypt.c: Likewise.
48686         * sunrpc/xdr.c: Likewise.
48687         * sunrpc/xdr_array.c: Likewise.
48688         * sunrpc/xdr_float.c: Likewise.
48689         * sunrpc/xdr_intXX_t.c: Likewise.
48690         * sunrpc/xdr_mem.c: Likewise.
48691         * sunrpc/xdr_rec.c: Likewise.
48692         * sunrpc/xdr_ref.c: Likewise.
48693         * sunrpc/xdr_sizeof.c: Likewise.
48694         * sunrpc/xdr_stdio.c: Likewise.
48695
48696 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48697
48698         [BZ #12650]
48699         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48700         * sysdeps/ia64/dl-tls.h: Likewise.
48701         * sysdeps/powerpc/dl-tls.h: Likewise.
48702         * sysdeps/s390/dl-tls.h: Likewise.
48703         * sysdeps/sh/dl-tls.h: Likewise.
48704         * sysdeps/sparc/dl-tls.h: Likewise.
48705         * sysdeps/x86_64/dl-tls.h: Likewise.
48706         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48707
48708 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48709
48710         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48711         rpath element also skip the following colon.
48712         (expand_dynamic_string_token): Add is_path parameter and pass
48713         down to DL_DST_REQUIRED and _dl_dst_substitute.
48714         (decompose_rpath): Call expand_dynamic_string_token with
48715         non-zero is_path.  Ignore empty rpaths.
48716         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48717         with zero is_path.
48718
48719 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48720
48721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48722         Make cancelable.
48723
48724 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48725
48726         [BZ #12655]
48727         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48728         Patch by Filipe David Manana <fdmanana@apache.org>.
48729
48730 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48731
48732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48733         Maintain aligned stack.
48734         (CHECK_RSP): Remove unused macro.
48735
48736 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48737
48738         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48739         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48740
48741 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48742
48743         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48744
48745         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48746
48747 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48748
48749         [BZ #12518]
48750         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48751         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48752         * sysdeps/x86_64/memmove.c: New file.
48753         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48754         (memcpy): Renamed to ...
48755         (__new_memcpy): This.
48756         (memcpy): Provide GLIBC_2_14 memcpy.
48757         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48758         (memcpy): Provide GLIBC_2_2_5 memcpy.
48759
48760 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48761
48762         [BZ #12631]
48763         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48764
48765 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48766
48767         * misc/syncfs.c: New file.
48768         * misc/Makefile (routines): Add syncfs.
48769         * posix/unistd.h: Declare syncfs.
48770         * sysdeps/unix/syscalls.list: Add syncfs.
48771
48772 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48773
48774         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48775         open_by_handle_at.
48776         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48781         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48782         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48783
48784 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48785
48786         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48787         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48788         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48790         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48791         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48793
48794         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48795         sync_file_range.c with -fexceptions.
48796         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48797         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48798         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48799         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48800         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48801         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48803         sync_file_range as cancellation point
48804         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48805         now a wrapper around __call_sync_file_range with cancellation handling.
48806         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48807         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48808         function name to __call_sync_file_range.
48809         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48810         Add call_sync_file_range.
48811
48812 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48813
48814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48815         bits/timex.h.
48816
48817 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48818
48819         * iconv/iconv.h: Fix typo in comment.
48820         * io/fcntl.h: Likewise.
48821         * libio/stdio.h: Likewise.
48822         * posix/spawn.h: Likewise.
48823         * posix/unistd.h: Likewise.
48824         * stdlib/stdlib.h: Likewise.
48825         * time/time.h: Likewise.
48826         * wcsmbs/wchar.h: Likewise.
48827
48828         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48829         open_by_handle): Add.
48830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48831         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48832         Augment a few comments.
48833         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48835         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48837         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48838         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48839         open_by_handle.
48840
48841         * io/fcntl.h (AT_EMPTY_PATH): Define.
48842
48843 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48844
48845         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48846         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48847         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48848         to...
48849         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48850         * Versions.def: Add GLIBC_2.14.
48851         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48852         Export.
48853
48854 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48855
48856         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48857         round counter.
48858         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48859
48860 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48861
48862         [BZ #12597]
48863         * string/test-strncmp.c (do_page_test): New function.
48864         (check2): Likewise.
48865         (test_main): Call check2.
48866         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48867
48868 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48869
48870         [BZ #12587]
48871         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48872         Handle cache information in CPU leaf 4.
48873         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48874
48875 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48876
48877         [BZ #12583]
48878         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48879         character representation.
48880         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48881
48882 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48883
48884         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48885         END(__isnan) to END(__isnanf) to match function entry point/label
48886         EALIGN(__isnanf,...).
48887
48888 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48889
48890         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48891
48892 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48893
48894         [BZ #12510]
48895         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48896         copy from the symbol referenced in the relocation to initialize the
48897         used variable.
48898         Patch by Piotr Bury <pbury@goahead.com>.
48899         * elf/Makefile: Add rules to build and tst-unique3.
48900         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48901         * elf/tst-unique3.cc: New file.
48902         * elf/tst-unique3.h: New file.
48903         * elf/tst-unique3lib.cc: New file.
48904         * elf/tst-unique3lib2.cc: New file.
48905
48906         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48907
48908 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48909
48910         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48911         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48912         to _start.
48913
48914 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48915
48916         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48917         to-be-loaded object along a path to loader is ld.so.
48918
48919 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48920             Ulrich Drepper  <drepper@gmail.com>
48921
48922         * sysdeps/x86_64/memset.S: After aligning destination, code
48923         branches to different locations depending on the value of
48924         misalignment, when multiarch is enabled. Fix this.
48925
48926 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48927
48928         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48929         Set _x86_64_preferred_memory_instruction for AMD processsors.
48930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48931         Set bit_Prefer_SSE_for_memop for AMD processors.
48932
48933 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48934
48935         * libio/fmemopen.c (fmemopen): Optimize a bit.
48936
48937 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48938
48939         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48940
48941 2011-03-03  Roland McGrath  <roland@redhat.com>
48942
48943         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48944
48945 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48946
48947         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48948         __bzero_ultra1 instead of __memset_ultra1.
48949
48950 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48951             Ulrich Drepper  <drepper@gmail.com>
48952
48953         [BZ #12509]
48954         * include/link.h (struct link_map): Add l_orig_initfini.
48955         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48956         returning unsuccessfully.
48957         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48958         close of a file loaded at startup, restore the original l_initfini
48959         list.
48960         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48961         list, store the pointer.
48962         * elf/Makefile ($(objpfx)noload-mem): New rule.
48963         (noload-ENV): Define.
48964         (tests): Add $(objpfx)noload-mem.
48965         * elf/noload.c: Include <memcheck.h>.
48966         (main): Call mtrace.  Close all opened handles.
48967
48968 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48969
48970         [BZ #12454]
48971         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48972         dependencies are missing.
48973
48974 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48975
48976         Fix __if_freereq crash: Unlike the generic version which uses free,
48977         Hurd needs munmap.
48978         * sysdeps/mach/hurd/ifreq.h: New file.
48979
48980 2011-01-27  Petr Baudis  <pasky@suse.cz>
48981             Ulrich Drepper  <drepper@gmail.com>
48982
48983         [BZ 12445]#
48984         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48985         to extend_alloca().
48986         * stdio-common/bug23.c: New file.
48987         * stdio-common/Makefile (tests): Add bug23.
48988
48989 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48990             Ulrich Drepper  <drepper@gmail.com>
48991
48992         [BZ #12489]
48993         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48994         before performing relro protection.  At old place add assertion
48995         to make sure nothing changed.
48996
48997 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48998             Glauber de Oliveira Costa  <glommer@gmail.com>
48999
49000         * elf/elf.h: Add new ARM TLS relocs.
49001
49002 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49003
49004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49005         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49006         cast from r3.
49007         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49008         'tests' variable.
49009         * sysdeps/wordsize-64/tst-writev.c: New file.
49010
49011 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49012
49013         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49014         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49015         insns in _dl_start to prevent a TOC reference before relocs are
49016         resolved.
49017
49018 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49019
49020         [BZ #12469]
49021         * Makeconfig: Remove RANLIB definition.
49022         * Makerules: Don't use RANLIB.
49023         * aclocal.m4: Remove ranlib test.
49024         * configure.in: No need to check for ranlib.
49025         * elf/rtld-Rules: Don't use RANLIB.
49026
49027 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49028
49029         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49030         protection macro.
49031         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49032         inclusion protection macro.
49033
49034         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49035         SIGRTMIN and SIGRTMAX and print information in that case only when
49036         SIGRTMIN is defined.
49037
49038 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49039
49040         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49041         arginfo fn returning -1.
49042
49043         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49044         and thousands string is zero terminated.
49045
49046 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49047
49048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49049         sysdeps/unix/sysv/linux/bits/socket.h.
49050
49051 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49052
49053         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49054         (__CPU_COUNT): Remove old macros.
49055         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49056         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49057         (__CPU_ALLOC, __CPU_FREE): Add macros.
49058         (__sched_cpualloc, __sched_cpufree): Add declarations.
49059
49060 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49061
49062         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49063         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49064         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49065         (readdhstai): Return value of addhstaiX call.
49066         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49067         (addgrbyX): Return value returned by cache_addgr.
49068         (readdgrbyname): Return value returned by addgrbyX.
49069         (readdgrbygid): Likewise.
49070         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49071         (addpwbyX): Return value returned by cache_addpw.
49072         (readdpwbyname): Return value returned by addhstbyX.
49073         (readdpwbyuid): Likewise.
49074         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49075         (addservbyX): Return value returned by cache_addserv.
49076         (readdservbyname): Return value returned by addservbyX:
49077         (readdservbyport): Likewise.
49078         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49079         (addhstbyX): Return value returned by cache_addhst.
49080         (readdhstbyname): Return value returned by addhstbyX.
49081         (readdhstbyaddr): Likewise.
49082         (readdhstbynamev6): Likewise.
49083         (readdhstbyaddrv6): Likewise.
49084         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49085         (readdinitgroups): Return value returned by addinitgroupsX.
49086         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49087         (prune_cache): Keep track of timeout value of re-added entries.
49088         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49089         * nscd/nscd.h: Adjust prototypes of readd* functions.
49090
49091 2011-02-04  Roland McGrath  <roland@redhat.com>
49092
49093         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49094         (nis_stats): Likewise.
49095         * nis/nis_modify.c (nis_modify): Likewise.
49096         * nis/nis_remove.c (nis_remove): Likewise.
49097         * nis/nis_add.c (nis_add): Likewise.
49098
49099         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49100
49101         * posix/fnmatch_loop.c: Add some consts.
49102
49103         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49104
49105 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49106
49107         [BZ #12460]
49108         * config.make.in (config-cflags-novzeroupper): Define.
49109         * configure.in: Substitute libc_cv_cc_novzeroupper.
49110         * elf/Makefile (AVX-CFLAGS): Define.
49111         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49112         (CFLAGS-tst-auditmod4a.c): Likewise.
49113         (CFLAGS-tst-auditmod4b.c): Likewise.
49114         (CFLAGS-tst-auditmod6b.c): Likewise.
49115         (CFLAGS-tst-auditmod6c.c): Likewise.
49116         (CFLAGS-tst-auditmod7b.c): Likewise.
49117         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49118
49119 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49120
49121         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49122         function to the callback.
49123         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49124
49125 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49126
49127         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49128         of errno.
49129
49130 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49131
49132         [BZ #11724]
49133         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49134         of constructors.
49135         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49136         of destructors.
49137         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49138
49139         [BZ #11724]
49140         * elf/Makefile: Add rules to build and run new test.
49141         * elf/tst-initorder.c: New file.
49142         * elf/tst-initorder.exp: New file.
49143         * elf/tst-initordera1.c: New file.
49144         * elf/tst-initordera2.c: New file.
49145         * elf/tst-initordera3.c: New file.
49146         * elf/tst-initordera4.c: New file.
49147         * elf/tst-initorderb1.c: New file.
49148         * elf/tst-initorderb2.c: New file.
49149         * elf/tst-order-a1.c: New file.
49150         * elf/tst-order-a2.c: New file.
49151         * elf/tst-order-a3.c: New file.
49152         * elf/tst-order-a4.c: New file.
49153         * elf/tst-order-b1.c: New file.
49154         * elf/tst-order-b2.c: New file.
49155         * elf/tst-order-main.c: New file.
49156         New test case by George Gensure <werkt0@gmail.com>.
49157
49158 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49159
49160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49161         decoding ACE if AI_CANONIDN.
49162
49163 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49164
49165         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49166
49167 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49168
49169         * version.h (RELEASE): Bump for 2.13 release.
49170         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49171
49172         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49173
49174         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49175         MADV_NOHUGEPAGE.
49176         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49177         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49178         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49179         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49180         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49181         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49182
49183         * posix/getconf.c: Update copyright year.
49184         * catgets/gencat.c: Likewise.
49185         * csu/version.c: Likewise.
49186         * debug/catchsegv.sh: Likewise.
49187         * debug/xtrace.sh: Likewise.
49188         * elf/ldconfig.c: Likewise.
49189         * elf/ldd.bash.in: Likewise.
49190         * elf/sprof.c (print_version): Likewise.
49191         * iconv/iconv_prog.c: Likewise.
49192         * iconv/iconvconfig.c: Likewise.
49193         * locale/programs/locale.c: Likewise.
49194         * locale/programs/localedef.c: Likewise.
49195         * malloc/memusage.sh: Likewise.
49196         * malloc/mtrace.pl: Likewise.
49197         * nscd/nscd.c (print_version): Likewise.
49198         * nss/getent.c: Likewise.
49199
49200         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49201         PF_CAIF, and PF_ALG.
49202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49203
49204 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49205
49206         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49207         (modules-names): Use them.
49208         (ifunc-test-modules, ifunc-pie-tests): Define.
49209         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49210         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49211         (test-extras): Likewise.
49212         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49213         $(compile-command.c).
49214         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49215         (all-built-dso): Define.
49216         (check-textrel.out, check-execstack.out): Depend on it.
49217
49218         * configure.in: Don't override --enable-multi-arch.
49219
49220 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49221
49222         [BZ #6812]
49223         * nscd/hstcache.c (tryagain): Define.
49224         (cache_addhst): Return tryagain not notfound for temporary errors.
49225         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49226         failed.
49227
49228 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49229
49230         [BZ #10563]
49231         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49232         to make the syscall.
49233         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49234
49235         [BZ #12378]
49236         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49237         and fall back to matching as normal character if the string ends before
49238         the matching ']' is found.  This is what POSIX requires.
49239         * posix/testfnm.c: Adjust test result.
49240         * posix/globtest.sh: Adjust test result.  Add new test.
49241         * posix/tst-fnmatch.input: Likewise.
49242         * posix/tst-fnmatch2.c: Add new test.
49243
49244 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49245
49246         * elf/Makefile (check-execstack): Revert last change.  Depend on
49247         check-execstack.h.
49248         (check-execstack.h): New target.
49249         (generated): Add check-execstack.h.
49250         * elf/check-execstack.c: Include "check-execstack.h".
49251         (main): Revert last change.
49252         (handle_file): Return zero if GNU_STACK is absent and
49253         DEFAULT_STACK_PERMS doesn't include PF_X.
49254
49255 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49256
49257         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49258         in child fails because the descriptor is already closed.
49259         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49260         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49261         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49262
49263         [BZ #12397]
49264         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49265         syscall.
49266
49267         [BZ #10484]
49268         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49269         temporary buffer used to handle multi lookups locally.
49270         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49271
49272 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49273
49274         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49275         loader is ld.so.
49276
49277 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49278
49279         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49280         alignment for SSE2.
49281
49282 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49283
49284         [BZ #12394]
49285         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49286         characters.  When rounding increased number of integer digits recompute
49287         number of groups.
49288         * stdio-common/tst-grouping.c: New file.
49289         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49290
49291 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49292
49293         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49294         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49295
49296         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49297         void.
49298         * bits/select.h: Likewise.
49299
49300 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49301
49302         * po/ja.po: Update from translation team.
49303
49304 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49305
49306         [BZ #11155]
49307         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49308         implementation just like for lxstat, fxstatat, et al.
49309
49310 2010-12-27  Jim Meyering  <meyering@redhat.com>
49311
49312         [BZ #12348]
49313         * posix/regexec.c (build_trtable): Return failure indication upon
49314         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49315
49316 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49317
49318         [BZ #12201]
49319         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49320         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49321         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49322         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49323
49324         [BZ #12207]
49325         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49326
49327         [BZ #12204]
49328         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49329         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49330
49331 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49332
49333         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49334         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49335         script has SORT_BY_INIT_PRIORITY.
49336         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49337         NO_CTORS_DTORS_SECTIONS is defined.
49338         * elf/soinit.c: Likewise.
49339         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49340         NO_CTORS_DTORS_SECTIONS is defined.
49341         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49342         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49343         * sysdeps/sh/init-first.c: Likewise.
49344         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49345
49346 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49347
49348         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49349         always use the slow path.
49350
49351 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49352
49353         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49354         similar rule which adds the sysdep directories to the header search in
49355         order to pick up the correct platform stackinfo.h.
49356         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49357         perform test if it is, otherwise return successfully without testing.
49358         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49359         DEFAULT_STACK_PERMS define in stackinfo.h.
49360         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49361         defined in stackinfo.h.
49362         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49363         DEFAULT_STACK_PERMS defined in stackinfo.h.
49364         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49365         * sysdeps/ia64/stackinfo.h: Likewise.
49366         * sysdeps/s390/stackinfo.h: Likewise.
49367         * sysdeps/sh/stackinfo.h: Likewise.
49368         * sysdeps/sparc/stackinfo.h: Likewise.
49369         * sysdeps/x86_64/stackinfo.h: Likewise.
49370         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49371         PF_X for powerpc64.  Retain PF_X for powerpc32.
49372
49373 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49374
49375         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49376         accurately.
49377         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49378         GETDENTS_64BIT_ALIGNED.
49379
49380 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49381
49382         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49383
49384 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49385
49386         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49387         _GNU_SOURCE.
49388
49389         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49390         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49391         Remove __restrict.
49392         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49393         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49394
49395 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49396
49397         [BZ #11655]
49398         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49399         are initialized.
49400
49401 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49402
49403         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49404
49405 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49406
49407         * po/it.po: Update from translation team.
49408
49409 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49410
49411         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49412         unused codes.
49413
49414 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49415
49416         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49417
49418 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49419
49420         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49421         specially.
49422         (gaih_getanswer_slice): Likewise.
49423
49424 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49425
49426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49427
49428 2010-05-31  Petr Baudis  <pasky@suse.cz>
49429
49430         [BZ #11149]
49431         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49432         silently even in the chroot mode.
49433
49434 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49435
49436         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49437         last patch a bit.  Pretty printing
49438
49439 2010-05-31  Petr Baudis <pasky@suse.cz>
49440
49441         [BZ #10085]
49442         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49443         initialization of skip_initgroups_dyn.
49444
49445 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49446
49447         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49448         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49449
49450 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49451
49452         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49453
49454 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49455
49456         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49457         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49458         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49459         ($(objpfx)tst-fnmatch-mem): New rule.
49460         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49461         * posix/tst-fnmatch.c (main): Call mtrace.
49462
49463 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49464
49465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49466         Support Intel processor model 6 and model 0x2c.
49467
49468 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49469
49470         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49471           signed comparison.
49472
49473 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49474
49475         [BZ #12205]
49476         * string/test-strncasecmp.c (check_result): New function.
49477         (do_one_test): Use it.
49478         (check1): New function.
49479         (test_main): Use it.
49480         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49481         Support strcasecmp and strncasecmp.
49482
49483 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49484
49485         [BZ #12194]
49486         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49487         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49488
49489 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49490
49491         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49492         IFUNC support.
49493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49494         memset-x86-64.
49495         * sysdeps/x86_64/multiarch/bzero.S: New file.
49496         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49497         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49498         * sysdeps/x86_64/multiarch/memset.S: New file.
49499         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49501         Set bit_Prefer_SSE_for_memop for Intel processors.
49502         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49503         Define.
49504         (index_Prefer_SSE_for_memop): Define.
49505         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49506
49507 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49508
49509         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49510         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49511
49512 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49513
49514         [BZ #12191]
49515         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49516         (__x86_64_raw_data_cache_size_half): Likewise.
49517         (__x86_64_raw_shared_cache_size): Likewise.
49518         (__x86_64_raw_shared_cache_size_half): Likewise.
49519
49520         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49521         (__x86_64_raw_data_cache_size_half): Likewise.
49522         (__x86_64_raw_shared_cache_size): Likewise.
49523         (__x86_64_raw_shared_cache_size_half): Likewise.
49524         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49525         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49526         and __x86_64_raw_shared_cache_size_half.  Round
49527         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49528         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49529         to multiple of 256 bytes.
49530
49531 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49532
49533         [BZ #12167]
49534         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49535         of inacessible symlinks.  Verify result of symlink before returning it.
49536         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49537         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49538
49539 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49540
49541         * math/math.h (isinf): Fix typo in comment.
49542
49543 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49544
49545         * po/da.po: Update from translation team.
49546
49547 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49548
49549         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49550         is added to the list.
49551
49552 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49553             Ulrich Drepper  <drepper@gmail.com>
49554
49555         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49556         the global list here.  Move code to...
49557         (_dl_add_to_namespace_list): ...here.  New function.
49558         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49559         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49560         * elf/dl-load.c (lose): Don't remove the element from the list.
49561         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49562         (_dl_map_object): Likewise.
49563
49564 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49565
49566         [BZ #12159]
49567         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49568         into all bytes of SSE register.
49569         Patch by Richard Li <richardpku@gmail.com>.
49570
49571 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49572
49573         [BZ #12140]
49574         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49575         perturbing.
49576
49577 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49578
49579         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49580         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49581         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49582         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49584         submachine.
49585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49586
49587 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49588
49589         * include/dlfcn.h (__RTLD_SECURE): Define.
49590         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49591         mode & __RTLD_SECURE instead.
49592         (open_path): Rename preloaded parameter to secure.
49593         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49594         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49595         * elf/dl-deps.c (openaux): Likewise.
49596         * elf/rtld.c (struct map_args): Remove is_preloaded.
49597         (map_doit): Don't use it.
49598         (dl_main): Likewise.
49599         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49600         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49601
49602 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49603
49604         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49605         (sysd-rules-targets): Remove duplicates.
49606         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49607         rtld-%.$o dependency.
49608
49609 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49610
49611         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49612         _dl_map_object do it.
49613
49614 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49615
49616         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49617         fast fma builtins, define the macros in the C99 standard.
49618         (FP_FAST_FMAF): Likewise.
49619         (FP_FAST_FMAL): Likewise.
49620         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49621
49622         * bits/mathdef.h: Update copyright year.
49623         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49624
49625 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49626
49627         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49628         builtins, define the macros in the C99 standard.
49629         (FP_FAST_FMAF): Likewise.
49630         (FP_FAST_FMAL): Likewise.
49631         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49632         multiply/add.
49633         (FP_FAST_FMAF): Likewise.
49634
49635 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49636
49637         [BZ #3268]
49638         * math/libm-test.inc (fma_test): Some new testcases.
49639         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49640         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49641         y and infinite z.  Do multiplication by C already in long double.
49642         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49644         y and infinite z.  Do bitwise or of inexact bit into u.d.
49645         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49646         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49647         * sysdeps/i386/fpu/s_fma.S: Removed.
49648         * sysdeps/i386/fpu/s_fmal.S: Removed.
49649
49650 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49651
49652         [BZ #3268]
49653         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49655         computation is not scheduled after fetestexcept.  Fix value
49656         of minimum denormal long double.
49657
49658 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49659
49660         [BZ #3268]
49661         * math/libm-test.inc (fma_test): Add some more tests.
49662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49663         correctly.
49664
49665 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49666
49667         * scripts/data/localplt-s390-linux-gnu.data: New file.
49668         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49669
49670 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49671
49672         [BZ #3268]
49673         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49674         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49675         instead of dbl-64.
49676         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49677         inlines.
49678         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49680         if one of x and y is very large and the other is subnormal.
49681         * sysdeps/s390/fpu/s_fmaf.c: New file.
49682         * sysdeps/s390/fpu/s_fma.c: New file.
49683         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49684         * sysdeps/powerpc/fpu/s_fma.S: New file.
49685         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49686         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49687         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49688
49689 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49690
49691         [BZ #3268]
49692         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49693         fma tests.
49694         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49695         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49696         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49697         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49698         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49699         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49700         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49701
49702 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49703
49704         [BZ #12078]
49705         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49706         * posix/bug-regex31.input: Add test case.
49707
49708 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49709
49710         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49711         * posix/bug-regex31.input: New file.
49712
49713         [BZ #12078]
49714         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49715         (parse_sub_exp): Fix last change, use postorder.
49716
49717         * posix/bug-regex31.c: New file.
49718         * posix/Makefile: Add rules to build and run bug-regex31.
49719
49720         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49721
49722         [BZ #12078]
49723         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49724
49725         [BZ #12108]
49726         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49727         to have entries in sys_siglist.
49728
49729         [BZ #12093]
49730         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49731         be NULL.
49732
49733 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49734
49735         [BZ #3268]
49736         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49737         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49738         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49739         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49740         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49741         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49742         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49743         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49744         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49745         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49746         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49747         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49748         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49749         * math/ftestexcept.c (fetestexcept): Likewise.
49750         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49751         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49752         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49753         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49754         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49755         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49756         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49757
49758 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49759
49760         [BZ #12107]
49761         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49762         newline.
49763
49764 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49765
49766         * string/bug-strstr1.c: New file.
49767         * string/Makefile: Add rules to build and run bug-strstr1.
49768
49769 2010-10-05  Eric Blake  <eblake@redhat.com>
49770
49771         [BZ #12092]
49772         * string/str-two-way.h (two_way_long_needle): Always clear memory
49773         when skipping input due to the shift table.
49774
49775 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49776
49777         [BZ #12005]
49778         * malloc/mcheck.c: Handle large requests.
49779
49780         [BZ #12077]
49781         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49782         for strncmp and strncasecmp.
49783         * string/stratcliff.c: Add tests for strcmp and strncmp.
49784         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49785
49786 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49787
49788         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49789         __set_fpscr.
49790
49791 2010-09-30  Andreas Jaeger  <aj@suse.de>
49792
49793         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49794         (CGROUP_SUPER_MAGIC): Define.
49795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49796         Handle btrfs and cgroup file systems.
49797         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49798         Likewise.
49799
49800 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49801
49802         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49803         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49804
49805 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49806
49807         [BZ #12067]
49808         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49809         trying to locate the ELF header.
49810
49811 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49812
49813         [BZ #11611]
49814         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49815         Mask out sign-bit copies when constructing f_fsid.
49816
49817 2010-09-24  Petr Baudis <pasky@suse.cz>
49818
49819         * debug/stack_chk_fail_local.c: Add missing licence exception.
49820         * debug/warning-nop.c: Likewise.
49821
49822 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49823
49824         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49825         implementing getdents64 using getdents syscall, set d_type if
49826         __ASSUME_GETDENTS32_D_TYPE.
49827
49828 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49829
49830         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49831         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49832
49833 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49834
49835         [BZ #12037]
49836         * posix/unistd.h: Undo change of feature selection for ftruncate from
49837         2010-01-11.
49838
49839 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49840
49841         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49842         detection.
49843
49844 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49845
49846         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49847         fanotify_mark.
49848         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49849
49850 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49851
49852         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49853         variables after CHECK_SP call.
49854         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49855
49856 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49857             Ulrich Drepper  <drepper@redhat.com>
49858
49859         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49860         re-relocationg ld.so.
49861         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49862         _dl_init_paths call.
49863         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49864         here anymore.
49865
49866 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49867
49868         * resolv/res_init.c (__res_vinit): Count the default server we added.
49869
49870 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49871             Ulrich Drepper  <drepper@redhat.com>
49872
49873         [BZ #11968]
49874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49875         (____longjmp_chk): Use %ebx for saving value across system call.
49876         Add unwind info.
49877
49878 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49879
49880         * manual/Makefile: Don't mix pattern rules with normal rules.
49881
49882 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49883
49884         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49885         operation.
49886         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49887         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49888         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49889         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49891         Likewise.
49892
49893 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49894
49895         [BZ #11979]
49896         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49897         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49898
49899 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49900
49901         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49902         * sysdeps/x86_64/addmul_1.S: Likewise.
49903         * sysdeps/x86_64/lshift.S: Likewise.
49904         * sysdeps/x86_64/mul_1.S: Likewise.
49905         * sysdeps/x86_64/rshift.S: Likewise.
49906         * sysdeps/x86_64/sub_n.S: Likewise.
49907         * sysdeps/x86_64/submul_1.S: Likewise.
49908
49909 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49910
49911         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49912         Define __sched_param instead of SCHED_* and sched_param when
49913         <bits/sched.h> is included with __need_schedparam defined.
49914         * bits/sched.h [__need_schedparam]
49915         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49916         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49917         (__defined_schedparam): Define to 1.
49918         (__sched_param): New structure, identical to sched_param.
49919         (__need_schedparam): Undefine.
49920
49921 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49922
49923         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49924         (epoll_create1): Declare.
49925
49926         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49927
49928 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49929
49930         [BZ #7066]
49931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49932         shifting retval into place.
49933
49934 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49935
49936         * nis/rpcsvc/nis.h: Update copyright notice.
49937         * nis/rpcsvc/nis.x: Likewise.
49938         * nis/rpcsvc/nis_callback.h: Likewise.
49939         * nis/rpcsvc/nis_callback.x: Likewise.
49940         * nis/rpcsvc/nis_object.x: Likewise.
49941         * nis/rpcsvc/nis_tags.h: Likewise.
49942         * nis/rpcsvc/yp.h: Likewise.
49943         * nis/rpcsvc/yp.x: Likewise.
49944         * nis/rpcsvc/ypupd.h: Likewise.
49945         * nis/yp_xdr.c: Likewise.
49946         * nis/ypupdate_xdr.c: Likewise.
49947
49948         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49949         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49950         (pmap_getport): Use __libc_rpc_getport.
49951         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49952         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49953         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49954
49955 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49956
49957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49958         fanotify_mark.
49959
49960 2010-08-27  Roland McGrath  <roland@redhat.com>
49961
49962         * sysdeps/i386/i686/multiarch/Makefile
49963         (CFLAGS-varshift.c): New variable.
49964
49965 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49966
49967         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49968         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49969
49970         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49971
49972         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49973
49974 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49975
49976         * sysdeps/x86_64/strlen.S: Unroll the loop.
49977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49978         strlen-sse2 strlen-sse2-bsf.
49979         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49980         __strlen_no_bsf if bit_Slow_BSF is set.
49981         (__strlen_sse42): Removed.
49982         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49983         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49984
49985 2010-08-25  Roland McGrath  <roland@redhat.com>
49986
49987         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49988         * sysdeps/x86_64/multiarch/varshift.c: New file.
49989         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49990         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49991         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49992         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49993
49994 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49995
49996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49997         strlen-sse2 strlen-sse2-bsf.
49998         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49999         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50000         (__strlen_sse2): Removed.
50001         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50002         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50004         bit_Slow_BSF for Atom.
50005         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50006         (index_Slow_BSF): Define.
50007         (HAS_SLOW_BSF): Define.
50008
50009 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50010
50011         [BZ #10851]
50012         * resolv/res_init.c (__res_vinit): When no server address at all
50013         is given default to loopback.
50014
50015 2010-08-24  Roland McGrath  <roland@redhat.com>
50016
50017         * configure.in: Remove config-name.h generation.
50018         * configure: Regenerated.
50019         * config-name.in: File removed.
50020         * scripts/config-uname.sh: New file.
50021         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50022         ($(objdir)config-name.h): New target.
50023
50024         * sunrpc/rpc_parse.h: Avoid nested comment.
50025
50026 2010-08-24  Richard Henderson  <rth@redhat.com>
50027             Ulrich Drepper  <drepper@redhat.com>
50028             H.J. Lu  <hongjiu.lu@intel.com>
50029
50030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50032         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50033         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50034         _mm_alignr_epi8 with _mm_loadu_si128.
50035         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50036         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50037         (__m128i_shift_right): Removed.
50038         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50039         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50040         * sysdeps/x86_64/multiarch/varshift.h: New file.
50041         * sysdeps/x86_64/multiarch/varshift.S: New file.
50042
50043 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50044
50045         * configure.in: Move assembler checks to before sysdep dir checking.
50046
50047 2010-08-20  Petr Baudis  <pasky@suse.cz>
50048
50049         * LICENSES: Sync the sunrpc license.
50050
50051 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50052
50053         * sunrpc/auth_des.c: Update copyright notice once again.
50054         * sunrpc/auth_none.c: Likewise.
50055         * sunrpc/auth_unix.c: Likewise.
50056         * sunrpc/authdes_prot.c: Likewise.
50057         * sunrpc/authuxprot.c: Likewise.
50058         * sunrpc/bindrsvprt.c: Likewise.
50059         * sunrpc/clnt_gen.c: Likewise.
50060         * sunrpc/clnt_perr.c: Likewise.
50061         * sunrpc/clnt_raw.c: Likewise.
50062         * sunrpc/clnt_simp.c: Likewise.
50063         * sunrpc/clnt_tcp.c: Likewise.
50064         * sunrpc/clnt_udp.c: Likewise.
50065         * sunrpc/clnt_unix.c: Likewise.
50066         * sunrpc/des_crypt.c: Likewise.
50067         * sunrpc/des_soft.c: Likewise.
50068         * sunrpc/get_myaddr.c: Likewise.
50069         * sunrpc/getrpcport.c: Likewise.
50070         * sunrpc/key_call.c: Likewise.
50071         * sunrpc/key_prot.c: Likewise.
50072         * sunrpc/openchild.c: Likewise.
50073         * sunrpc/pm_getmaps.c: Likewise.
50074         * sunrpc/pm_getport.c: Likewise.
50075         * sunrpc/pmap_clnt.c: Likewise.
50076         * sunrpc/pmap_prot.c: Likewise.
50077         * sunrpc/pmap_prot2.c: Likewise.
50078         * sunrpc/pmap_rmt.c: Likewise.
50079         * sunrpc/rpc/auth.h: Likewise.
50080         * sunrpc/rpc/auth_unix.h: Likewise.
50081         * sunrpc/rpc/clnt.h: Likewise.
50082         * sunrpc/rpc/des_crypt.h: Likewise.
50083         * sunrpc/rpc/key_prot.h: Likewise.
50084         * sunrpc/rpc/netdb.h: Likewise.
50085         * sunrpc/rpc/pmap_clnt.h: Likewise.
50086         * sunrpc/rpc/pmap_prot.h: Likewise.
50087         * sunrpc/rpc/pmap_rmt.h: Likewise.
50088         * sunrpc/rpc/rpc.h: Likewise.
50089         * sunrpc/rpc/rpc_des.h: Likewise.
50090         * sunrpc/rpc/rpc_msg.h: Likewise.
50091         * sunrpc/rpc/svc.h: Likewise.
50092         * sunrpc/rpc/svc_auth.h: Likewise.
50093         * sunrpc/rpc/types.h: Likewise.
50094         * sunrpc/rpc/xdr.h: Likewise.
50095         * sunrpc/rpc_clntout.c: Likewise.
50096         * sunrpc/rpc_cmsg.c: Likewise.
50097         * sunrpc/rpc_common.c: Likewise.
50098         * sunrpc/rpc_cout.c: Likewise.
50099         * sunrpc/rpc_dtable.c: Likewise.
50100         * sunrpc/rpc_hout.c: Likewise.
50101         * sunrpc/rpc_main.c: Likewise.
50102         * sunrpc/rpc_parse.c: Likewise.
50103         * sunrpc/rpc_parse.h: Likewise.
50104         * sunrpc/rpc_prot.c: Likewise.
50105         * sunrpc/rpc_sample.c: Likewise.
50106         * sunrpc/rpc_scan.c: Likewise.
50107         * sunrpc/rpc_scan.h: Likewise.
50108         * sunrpc/rpc_svcout.c: Likewise.
50109         * sunrpc/rpc_tblout.c: Likewise.
50110         * sunrpc/rpc_util.c: Likewise.
50111         * sunrpc/rpc_util.h: Likewise.
50112         * sunrpc/rpcinfo.c: Likewise.
50113         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50114         * sunrpc/rpcsvc/key_prot.x: Likewise.
50115         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50116         * sunrpc/rpcsvc/mount.x: Likewise.
50117         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50118         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50119         * sunrpc/rpcsvc/rex.x: Likewise.
50120         * sunrpc/rpcsvc/rstat.x: Likewise.
50121         * sunrpc/rpcsvc/rusers.x: Likewise.
50122         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50123         * sunrpc/rpcsvc/spray.x: Likewise.
50124         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50125         * sunrpc/rtime.c: Likewise.
50126         * sunrpc/svc.c: Likewise.
50127         * sunrpc/svc_auth.c: Likewise.
50128         * sunrpc/svc_authux.c: Likewise.
50129         * sunrpc/svc_raw.c: Likewise.
50130         * sunrpc/svc_run.c: Likewise.
50131         * sunrpc/svc_simple.c: Likewise.
50132         * sunrpc/svc_tcp.c: Likewise.
50133         * sunrpc/svc_udp.c: Likewise.
50134         * sunrpc/svc_unix.c: Likewise.
50135         * sunrpc/svcauth_des.c: Likewise.
50136         * sunrpc/xcrypt.c: Likewise.
50137         * sunrpc/xdr.c: Likewise.
50138         * sunrpc/xdr_array.c: Likewise.
50139         * sunrpc/xdr_float.c: Likewise.
50140         * sunrpc/xdr_mem.c: Likewise.
50141         * sunrpc/xdr_rec.c: Likewise.
50142         * sunrpc/xdr_ref.c: Likewise.
50143         * sunrpc/xdr_sizeof.c: Likewise.
50144         * sunrpc/xdr_stdio.c: Likewise.
50145
50146         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50147         handling.
50148
50149 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50150
50151         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50152
50153 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50154
50155         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50156         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50157         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50158         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50159         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50160         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50161         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50162         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50163         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50164         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50165         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50166         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50167         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50168         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50169
50170 2010-07-26  Anton Blanchard  <anton@samba.org>
50171
50172         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50173         * malloc/arena.c (heap_trim): Likewise.
50174
50175 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50176
50177         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50178         here.  Not...
50179         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50180         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50181
50182 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50183
50184         * sysdeps/i386/elf/Makefile: New file.
50185
50186 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50187
50188         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50189         from fanotify_init.
50190         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50192
50193 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50194
50195         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50196         of strncasecmp_l.
50197         * sysdeps/multiarch/strcmp.S: Likewise.
50198
50199 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50200
50201         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50202         strncase_l-nonascii.
50203         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50204         Add strncase_l-ssse3.
50205         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50206         * sysdeps/x86_64/strcmp.S: Likewise.
50207         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50208         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50209         * sysdeps/x86_64/strncase.S: New file.
50210         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50211         * sysdeps/x86_64/strncase_l.S: New file.
50212         * string/Makefile (strop-tests): Add strncasecmp.
50213         * string/test-strncasecmp.c: New file.
50214
50215         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50216         warning.
50217
50218         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50219         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50220
50221 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50222
50223         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50224
50225 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50226
50227         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50228         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50229         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50230
50231 2010-05-01  Alan Modra  <amodra@gmail.com>
50232
50233         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50234         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50235         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50236         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50237         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50238         tidying.  Don't tail-call __sigjmp_save for static lib.
50239         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50240         save location.
50241         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50242         (CALL_MCOUNT): Add eh info, and nop after bl.
50243         (TAIL_CALL_SYSCALL_ERROR): New macro.
50244         (PSEUDO_RET): Use it.
50245         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50246         Correct save location of integer regs and cr.
50247         (_dl_profile_resolve): Correct cr save location.  Delete nops
50248         after bl when SHARED.  Reduce cfi size a little by better
50249         placement of cfi directives.
50250         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50251         make a stack frame.  Instead use parm save area as a temp.
50252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50253         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50255         Don't make a stack frame for parent, use parm save area.
50256         Increase child stack frame to 112 bytes.  Don't save unused reg,
50257         and adjust reg usage.  Set up cfi on error recovery and
50258         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50260         (__makecontext): Add dummy nop after jump to exit.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50262         Use correct parm save area and cr save, reduce stack frame.
50263         Correct cfi for possible PSEUDO_RET frame setup.
50264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50265         Branch to local label emitted by PSEUDO_RET rather than
50266         __syscall_error.
50267
50268 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50269
50270         [BZ #11904]
50271         * locale/programs/locale.c (print_assignment): New function.
50272         (show_locale_vars): Use it.
50273
50274 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50275
50276         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50277         field.
50278         (struct statfs64): Likewise.
50279         (_STATFS_F_FLAGS): Define.
50280         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50281         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50282         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50283         (ST_VALID): Define locally.
50284         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50285         __statvfs_getflags, use the provided value.
50286         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50287         __ASSUME_STATFS_F_FLAGS.
50288
50289         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50290
50291         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50292         Add sys/fanotify.h.
50293         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50294         fanotify_mask for GLIBC_2.13.
50295         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50296         fanotify_init and fanotify_mark.
50297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50298         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50299
50300         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50301         Add prlimit.
50302         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50303         prlimit64 for GLIBC_2.13.
50304         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50305         prlimit64.
50306         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50307         syscall.
50308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50309         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50310         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50311         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50313         add prlimit alias.
50314         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50315
50316         [BZ #11903]
50317         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50318         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50319
50320         * nss/Makefile: Add rules to build and run tst-nss-test1.
50321         * shlib-versions: Add entry for libnss_test1.
50322         * nss/nss_test1.c: New file.
50323         * nss/tst-nss-test1.c: New file.
50324
50325         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50326         (__nss_configure_lookup): Set appropriate entry in
50327         __nss_configure_lookup to true.
50328         * nss/nsswitch.h: Define enum with indeces of databases in
50329         databases and __nss_database_custom arrays.  Declare
50330         __nss_database_custom.
50331         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50332         to avoid using nscd when custom rules are installed.
50333         * nss/getXXbyYY_r.c: Likewise.
50334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50335
50336         * nss/nss_files/files-parse.c: Whitespace fixes.
50337
50338 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50339
50340         [BZ #11883]
50341         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50342         * posix/fnmatch_loop.c: Likewise.
50343
50344 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50345
50346         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50347         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50348         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50349         * Versions.def [GLIBC_2.13]: Add.
50350
50351 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50352
50353         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50354         Also fail if tpwd after pwuid call is NULL.
50355
50356 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50357
50358         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50359         when converting to ms.
50360
50361 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50362
50363         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50364         EOPNOTSUPP errors with ENOTTY.
50365         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50366         EOPNOTSUPP errors with ENOTTY.
50367
50368 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50369
50370         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50371         Add strcasecmp_l-ssse3.
50372         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50373         strcasecmp.
50374         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50375         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50376         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50377
50378 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50379
50380         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50381
50382         * string/Makefile (strop-tests): Add strcasecmp.
50383         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50384         strcasecmp_l-nonascii.
50385         (gen-as-const-headers): Add locale-defines.sym.
50386         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50387         * sysdeps/x86_64/strcasecmp.S: New file.
50388         * sysdeps/x86_64/strcasecmp_l.S: New file.
50389         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50390         * sysdeps/x86_64/locale-defines.sym: New file.
50391         * string/test-strcasecmp.c: New file.
50392
50393         * string/test-strcasestr.c: Test both ends of the range of characters.
50394         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50395
50396 2010-07-29  Roland McGrath  <roland@redhat.com>
50397
50398         [BZ #11856]
50399         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50400
50401 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50402
50403         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50404         for ld.so.
50405
50406 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50407
50408         * manual/memory.texi (Malloc Tunable Parameters): Document
50409         M_PERTURB.
50410
50411 2010-07-26  Roland McGrath  <roland@redhat.com>
50412
50413         [BZ #11840]
50414         * configure.in (-fgnu89-inline check): Set and substitute
50415         gnu89_inline, not libc_cv_gnu89_inline.
50416         * configure: Regenerated.
50417         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50418
50419 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50420
50421         * string/test-strnlen.c: New file.
50422         * string/Makefile (strop-tests): Add strnlen.
50423         * string/tester.c (test_strnlen): Add a few more test cases.
50424         * string/tst-strlen.c: Better error reporting.
50425
50426         * sysdeps/x86_64/strnlen.S: New file.
50427
50428 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50429
50430         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50431         lower-latency instructions.
50432
50433 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50434
50435         * string/test-strcasestr.c: New file.
50436         * string/test-strstr.c: New file.
50437         * string/Makefile (strop-tests): Add strstr and strcasestr.
50438         * string/str-two-way.h: Don't undefine MAX.
50439         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50440
50441 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50442
50443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50444         strcasestr-nonascii.
50445         (CFLAGS-strcasestr-nonascii.c): Define.
50446         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50448         Remove unused attribute.
50449
50450 2010-07-20  Roland McGrath  <roland@redhat.com>
50451
50452         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50453         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50454         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50455         like LD_HWCAP_MASK can disable hwcaps.
50456
50457 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50458
50459         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50460
50461 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50462
50463         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50464         call in strcasestr.
50465         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50466         __strcasestr_sse42_nonascii.
50467         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50468         strcasestr-nonascii.c.
50469         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50470
50471 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50472
50473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50474         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50475         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50476         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50477
50478 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50479
50480         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50481         fcntl.
50482
50483 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50484
50485         [BZ #11577]
50486         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50487         dl_signal_cerror.
50488
50489 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50490
50491         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50492         _PC_PIPE_BUF using F_GETPIPE_SZ.
50493
50494 2010-07-05  Roland McGrath  <roland@redhat.com>
50495
50496         * manual/arith.texi (Rounding Functions): Fix rint description
50497         implicit in round description.
50498
50499 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50500
50501         * elf/Makefile: Fix linking for a few tests to make recent linker
50502         happy.
50503
50504 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50505
50506         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50507         $(common-objpfx)libc_nonshared.a.
50508
50509 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50510
50511         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50512         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50513         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50514         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50515         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50516         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50517         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50518         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50533         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50534         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50535         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50536         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50537         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50538         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50539         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50540         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50541         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50542         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50543         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50544         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50559
50560 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50561
50562         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50563         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50564         * string/memmove.c (memmove): Renamed to ...
50565         (MEMMOVE): ...this.  Default to memmove.
50566         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50567         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50568         (END_CHK): Define.
50569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50570         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50571         mempcpy-ssse3-back memmove-ssse3-back.
50572         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50573         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50574         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50575         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50576         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50577         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50578         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50579         * sysdeps/x86_64/multiarch/memmove.c: New file.
50580         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50581         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50582         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50583         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50584         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50585         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50586         Define.
50587         (index_Fast_Copy_Backward): Define.
50588         (HAS_ARCH_FEATURE): Define.
50589         (HAS_FAST_REP_STRING): Define.
50590         (HAS_FAST_COPY_BACKWARD): Define.
50591
50592 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50593
50594         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50595         Restore proper fallback handling.
50596
50597 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50598
50599         [BZ #11701]
50600         * posix/group_member.c (__group_member): Correct checking loop.
50601
50602         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50603         OOM in getpwuid_r correctly.  Return error number when the caller
50604         should return, otherwise -1.
50605         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50606         call returning > 0 value.
50607         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50608
50609 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50610
50611         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50612         libc_nonshared.a from targets in modules-names.
50613
50614 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50615
50616         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50617         requires it.
50618
50619 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50620
50621         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50622         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50623         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50625
50626 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50627
50628         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50629
50630 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50631
50632         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50633         and F_GETPIPE_SZ.
50634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50637         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50638         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50639         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50640
50641 2010-06-14  Roland McGrath  <roland@redhat.com>
50642
50643         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50644
50645 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50646
50647         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50648         __REDIRECT followed by __THROW.
50649         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50650         * posix/getopt.h (getopt): Likewise.
50651
50652 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50653
50654         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50655         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50656         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50657         in AT_FLAGS.
50658         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50659         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50660
50661 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50662
50663         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50664
50665 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50666
50667         [BZ #11640]
50668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50669         Properly check family and model.
50670
50671 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50672
50673         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50674
50675 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50676
50677         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50678
50679 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50680
50681         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50682         symbol reference.
50683
50684 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50685
50686         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50687         symbol reference.
50688
50689 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50690
50691         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50692         and internal_recvmmsg.
50693         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50694         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50695         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50696         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50697
50698         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50699         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50700         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50701
50702 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50703
50704         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50705
50706 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50707
50708         POWER7 optimizations.
50709         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50710         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50711
50712 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50713
50714         * version.h: Update for 2.13 development version.
50715
50716 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50717
50718         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50719         exceptions.  Return 0.
50720
50721 2010-05-07  Roland McGrath  <roland@redhat.com>
50722
50723         * elf/ldconfig.c (main): Add a const.
50724
50725 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50726
50727         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50728         (args_options): Add no-idn option.
50729         (ahosts_keys_int): Add idn_flags to ai_flags.
50730         (parse_option): Handle 'i' option to clear idn_flags.
50731
50732         * malloc/malloc.c (_int_free): Possible race in the most recently
50733         added check.  Only act on the data if no current modification
50734         happened.
50735
50736 See ChangeLog.17 for earlier changes.